NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mutex lock panic on halt/shutdown unmounting GPT/RAID filesystem



On Tue, Jul 05, 2011 at 10:57:48AM -0500, John D. Baker wrote:
> I'm building (built, rather, now testing) a machine to be my new file
> server.  I'm using a NetBSD-5.1_STABLE/i386 kernel made from GENERIC
> plus "options RF_RAID5_RS=1" to get RAID-5 w/rotated sparing.  The raid
> is built across 8 1TB Hitachi SATA drives using a 4-port siisata
> (sii3124-based) PCIe card and the onboard ahcisata ports of an intel
> D945GCL board.  The system disk is on the parallel ATA bus.
> 
> The machine has 4GB of RAM, although only a little over 3.5GB is
> actually visible, naturally.  As such, I only defined a token 2GB
> of swap space.
> 
> I have the RAID in a single filesystem defined using GPT and wedges.
> All file systems are mounted with the "log" option.
> 
> Prior to having the RAID intialized, newfs'ed and mounted, nothing
> appeared amiss.
> 
> Once the big filesystem was online, the system will panic when shutting
> down (e.g.: shutdown -r now) with "mutex lock error: locking against
> myself".  Unfortunately it all goes by too fast to read.  It saves the
> crashdump, but I think the subsequent savecore has problems--the memory
> image is there, but the kernel image is only 10 bytes in size.  It
> displays "(null) bad address".

Can you 'sysctl -w ddb.onpanic=1; shutdown -r now' and type 'bt' for a
backtrace?

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 344-0444 x24


Home | Main Index | Thread Index | Old Index