Date: Tue, 03 May 2005 11:28:00 -0600 From: Scott Long <scottl@samsco.org> To: Marcus Grando <marcus@corp.grupos.com.br> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: panic on RELENG_5_4 Message-ID: <4277B4A0.9060601@samsco.org> In-Reply-To: <42777AE4.4000900@corp.grupos.com.br> References: <42777AE4.4000900@corp.grupos.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcus Grando wrote: > Hi, > > Panic on RELENG_5_4 (cvsup yesterday). > > Waiting 5 seconds for SCSI devices to settle > panic: mutex Giant not owned at /usr/src/cam/cam_xpt.c:4825 > cpuid = 0 > KDB: enter: panic > [thread pid 35 tid 100031 ] > Stopped at kdb_enter+0x2b: nop > db> where > Tracing pid 35 tid 100031 td 0xc22fb180 > kdb_enter(c06e73f5) at kdb_enter+0x2b > panic(c06e68be,c06f7be6,c06c08da,12d9,c2608800) at panic+0x127 > _mtx_assert(c074c660,1,c06c08da,12d9) at _mtx_assert+0x5c > xpt_done(c2608800,c23b6138,c23af000,c23af000,e4df8c54) at xpt_done+0x1d > amr_cam_complete_extcdb(c23b6138)at amr_cam_complete_extcdb+0c3 > amr_complete(c23af000,0,54e3,0,d79200) at amr_complete+0x5e > amr_done(c23af000,c23af94c,0,c06dbc1d,1ae) at amr_done+0xb2 > amr_pci_intr(c23af000) at amr_pci_intr+0x26 > ithread_loop(c2306a00,e4df8d48,c2306a00,c0534f64,0) at ithread_loop+0x124 > fork_exit(c0534f64,c2306a00,e4df8d48) at fork_exit+0xa4 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xe4df8d7c, ebp = 0 --- > db> > > I need more information, please ask. > > Regards > Could you try the patch at http://people.freebsd.org/~scottl/amr_cam.5.4.diff I'll make sure to get it into the release if it works. It looks like I had wanted to fix this exact problem in 6-current several months ago, but chose to fix xpt_done() instead (something that I don't want to merge back to 5-stable right now). Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4277B4A0.9060601>