Date: Tue, 20 May 2014 18:19:38 +0200 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org> To: Nathaniel W Filardo <nwf@cs.jhu.edu> Cc: freebsd-sparc64@freebsd.org Subject: Re: FreeBSD 10-STABLE/sparc64 panic Message-ID: <4C91E9C5-8529-40F9-99C3-E89E14FA1CFF@FreeBSD.org> In-Reply-To: <20140520153753.GV24043@gradx.cs.jhu.edu> References: <20140518083413.GK24043@gradx.cs.jhu.edu> <751F7778-95CE-40FC-857F-222FB37737C0@distal.com> <20140518235853.GM24043@gradx.cs.jhu.edu> <20140519145222.GN24043@gradx.cs.jhu.edu> <A092DFEB-D5CF-473E-88BD-81B005C26C57@distal.com> <20140519193529.GO24043@gradx.cs.jhu.edu> <20140519205047.GP24043@gradx.cs.jhu.edu> <CA75738D-066D-4EDC-9018-89936EE861C6@distal.com> <AB5649B5-BBFB-4284-9CFF-4784D28A18F3@distal.com> <20140520153753.GV24043@gradx.cs.jhu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Wiadomo=B6=E6 napisana przez Nathaniel W Filardo w dniu 20 maj 2014, o = godz. 17:37: > Well, I am having a bad day; I tried to roll back to 9 but ended up = building > a 10 kernel again (too many source checkouts, sigh). In any case, I = kicked > WITNESS and INVARIANTS on this time and, while I cannot say for sure = that > it is related, early in boot I am told >=20 > lock order reversal: > 1st 0xc0756998 entropy harvest mutex (entropy harvest mutex) @ = /systank/src-git/sys/dev/random/random_harvestq.c:198 > 2nd 0xfffff800055c7c38 uart_hwmtx (uart_hwmtx) @ = /systank/src-git/sys/dev/uart/uart_cpu.h:94 > KDB: stack backtrace: > _witness_debugger() at _witness_debugger+0x38 > witness_checkorder() at witness_checkorder+0xea0 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0x134 > uart_cnputc() at uart_cnputc+0x60 > cnputc() at cnputc+0xac > putchar() at putchar+0xe8 > kvprintf() at kvprintf+0x88 > _vprintf() at _vprintf+0x38 > vprintf() at vprintf+0x10 > printf() at printf+0x20 > witness_checkorder() at witness_checkorder+0xbf8 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0x134 I think I've seen this on 10.0/amd64. This was caused by not having = this: options WITNESS_SKIPSPIN # Don't run witness on spinlocks = for speed in the kernel config. Basically, WITNESS without WITNESS_SKIPSPIN was unbootable. I didn't investigate this further; just added that = option.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C91E9C5-8529-40F9-99C3-E89E14FA1CFF>