Re: panic: System call lstat returning with 1 locks held

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Attilio Rao <attilio@...>
Cc: Kostik Belousov <kostikbel@...>, <freebsd-current@...>
Date: Friday, January 25, 2008 - 3:55 am

On Thu, Jan 24, 2008 at 04:07:43PM +0100, Attilio Rao wrote:

I don't deserve these kind words because I disinformed you seriously.

My panic appears to be related not to UFS, but to NTFS.  Namely I
have an NTFS volume mounted read-only at /ntfs.  I have no idea why
the ports framework touches the /ntfs sub-tree, but not mounting
it in the first place makes the panic go away.  (I still wonder why
my system would also panic during buildworld, which should not touch
my /ntfs at all...  Now I'll try to do a buildworld w/o /ntfs mounted.)

At the same time, dismounting the NTFS volume leads to an instant
panic of a similar kind:

	panic: System call unmount returning with 5 locks held

More debug output is attached.

So at least UFS doesn't seem affected by the panic.  Excuse me for
my having provided wrong info.

-- 
Yar

panic: System call unmount returning with 5 locks held
cpuid = 0
KDB: enter: panic
[thread pid 985 tid 100085 ]
Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
db> show lockedvn
Locked vnodes
db> sh ktr
678 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
677 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
676 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
675 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
674 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
673 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
672 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
671 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
670 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
669 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
668 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
667 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
666 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
665 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
664 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
663 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
662 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
661 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
660 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of -1 td_locks
659 (0xc37dd000:cpu0): _lockmgr: 0xc37dd000 bumping of 1 td_locks
db> where
Tracing pid 985 tid 100085 td 0xc37dd000
kdb_enter(c0b0c893,c0b0c893,c0b3ce37,d639cc8c,0,...) at kdb_enter+0x3a
panic(c0b3ce37,c0b2b59e,5,c0b2b59e,c0bbef10,...) at panic+0x12c
syscall(d639cd38) at syscall+0x46e
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (0, FreeBSD ELF32, nosys), eip = 0x280c4bbb, esp = 0xbfbfe59c, ebp = 0xbfbfe658 ---
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
panic: System call lstat returning with 1 locks held, Scot Hetzel, (Tue Jan 15, 9:52 am)
Re: panic: System call lstat returning with 1 locks held, Kostik Belousov, (Tue Jan 15, 10:39 am)
Re: panic: System call lstat returning with 1 locks held, Yar Tikhiy, (Fri Jan 25, 3:55 am)
Re: panic: System call lstat returning with 1 locks held, Pawel Jakub Dawidek, (Thu Jan 17, 7:40 am)
Re: panic: System call lstat returning with 1 locks held, Norikatsu Shigemura, (Fri Jan 18, 12:55 pm)
Re: panic: System call lstat returning with 1 locks held, Kris Kennaway, (Wed Jan 16, 5:55 am)
Re: panic: System call lstat returning with 1 locks held, John Baldwin, (Wed Jan 16, 11:11 am)