-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, On Jan 5, 2010, at 1:53 PM, Manuel Bouyer wrote:
On Mon, Jan 04, 2010 at 10:28:19PM -0500, Michael wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, On Jan 4, 2010, at 10:04 PM, matthew green wrote:hmm, maybe that panic from scsipi wasn't all that unrelated after all - - I got another one: sdstart(): dequeued wrong buf scsipi_put_xs() scsipi_complete() scsipi_done() ncr53c9x_done() ncr53c9x_intr() hmmm..i don't have any disks or cdrom in my sparc box..hmm, it took an interrupt in uvm_fault_internal() - is that supposed to happen? Also, the MP kernel made it all the way through filesystem checks / log replays and only crapped out when sshd started. Any idea what's happening here?Maybe something fails to grab the kernel_lock ?
Sounds likely.
Can you add a check (KASSERT or something) that the kernel_lock is held in ncr53c9x_intr() and ncr53c9x_scsipi_request() ? Maybe something like KASSERT(__SIMPLELOCK_LOCKED_P(kernel_lock) or KASSERT(ci->ci_biglock_count > 0) will work to check this.
I'll try that, thanks! have fun Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iQEVAwUBS0OXVMpnzkX8Yg2nAQIz9gf7BBXqPpfO32UWziaZk0c3PQ7DPviOaaAg CmXbN1zkncmnph+fulWXFDUopc4n9Y0wNaOenSK+nofhPzfcUL4yxUDtU5p2rC4s N8/IOFNJSdlov1V6J6bGEa5TYBrV06iQc+/RylU+Vs6nmilhdJuKeQu+4YCpAbkc gGm1Z83tY66cyO+O1x5S9iC/8j2e7RROr6Pe9QyDxSJcNthsTAd6P575UZaWf8MD f3J4z0bELZPvjU6ANpnnepPvwCsYtQEVcSUf89PXiDuIr/X05cKFVmWOVwMejF56 0tRTcbxmxOxX4LFElKKvvOxf+Cid9APW5GzXtA0QZEbcu9xKXjBTBA== =zR5G -----END PGP SIGNATURE-----