Subject: kern/6024: msdosfs_root panics
To: None <gnats-bugs@gnats.netbsd.org>
From: Ronald Khoo <ronald@chersonese.com>
List: netbsd-bugs
Date: 08/25/1998 02:19:38
>Number:         6024
>Category:       kern
>Synopsis:       msdosfs_root panics
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 24 11:35:00 1998
>Last-Modified:
>Originator:     Ronald Khoo
>Organization:
	At Home
>Release:        19980822
>Environment:
	
System: NetBSD leek.chersonese.com 1.3G NetBSD 1.3G (LEEK) #0: Sat Aug 22 13:52:50 MYT 1998 root@leek.chersonese.com:/usr/src/sys/arch/i386/compile/LEEK i386


>Description:
	Trying to root on an msdosfs partition panics before it
	gets anywhere.  Here's a backtrace copied by hand.

	>       panic+0x55
	>       lockmgr+0x2af
	>       msdosfs_lock+0x22
	>       vn_lock+0x3f
	>       deget+0xcc
	>       msdosfs_root+0x23
	>       main+0x3eb
	> 

>How-To-Repeat:
	Find a machine with an msdos partition on it,
	(doesn't have to contain any netbsd files AFAICS)
	Ensure that the msdosfs partition is correctly
	labelled (mine's wd0e, and I checked by mounting and
	using it)

	boot -a netbsd.GENERIC

	at the root device prompt, say wd0e and watch it go bang.
>Fix:
	
>Audit-Trail:
>Unformatted: