Subject: port-i386/518: kernel panics on bootup as a result of recent disklabel changes
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Andrew Herbert <andrew@werple.apana.org.au>
List: netbsd-bugs
Date: 10/17/1994 03:20:12
>Number: 518
>Category: port-i386
>Synopsis: kernel panics on bootup as a result of recent disklabel changes
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 17 03:20:06 1994
>Originator: Andrew Herbert
>Organization:
n/a
>Release: 17 Oct '94 sup
>Environment:
System: NetBSD eplet.apana.org.au 1.0A NetBSD 1.0A (EPLET) #0: Mon Oct 17 15:50:19 EST 1994 andrew@eplet.apana.org.au:/src/netbsd/sys/arch/i386/compile/EPLET i386
>Description:
cgd's recent disklabel modifications have resulted in kernels for my
i386-arch + scsi machines crashing during ffs_mountroot(). More precisely,
they die in sdminphys() <- sdstrategy() <- readdisklabel() <-
sdgetdisklabel() <- sdopen() <- ... <- ffs_mountroot().
>How-To-Repeat:
Build a kernel for a scsi-based i386 system and boot.
>Fix:
I "fixed" the problem by reversing out cgd's recent disklabel changes from
the following files:
sys/disklabel.h, scsi/{sd.c,cd.c}, arch/i386/i386/disksubr.c,
arch/i386/include/{disklabel.h,param.h}
Unfortunately I haven't yet had time to sit down and locate the problem in
the new disklabel code.
>Audit-Trail:
>Unformatted: