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: <freebsd-current@...>
Date: Saturday, January 26, 2008 - 12:15 am

On 1/24/08, Attilio Rao <attilio@freebsd.org> wrote:

I added the above options to my kernel, and performed a scripted textdump.

/sbin/ddb script lockinfo="show locks; show alllocks; show lockedvnods"
/sbin/ddb script kdb.enter.panic="textdump set; capture on; show ktr ;
run lockinfo ; show pcpu; bt; ps; alltrace; capture off; call doadump;
reset"

After the kernel paniced, the kdb.enter.panic script ran and created a
textdump.  When I extracted the 2.7M ddb.txt file, it didn't show any
calls to lockmgr_disown in the ktr trace.

Let me know if there is anything else that I can do.

To get this dump, DB_CAPTURE_MAXBUFSIZE (sys/ddb/db_capture.c) needed
to be increased from its default of 512K to 5M, and then setting the
debug.ddb.capure.bufsize to 5M after rebooting with the new kernel.

See PR 119993 (http://www.freebsd.org/cgi/query-pr.cgi?pr=119993)
which adds two new kernel options to allow the capture buffer size to
be changed at compile time.

Scot
_______________________________________________
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, Scot Hetzel, (Sat Jan 26, 12:15 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)