Subject: Re: CVS commit: src/sys/arch/x86/x86
To: Jason Thorpe <>
From: Christos Zoulas <>
List: source-changes
Date: 08/14/2006 15:40:10
On Aug 14, 11:42am, (Jason Thorpe) wrote:
-- Subject: Re: CVS commit: src/sys/arch/x86/x86

| > Module Name:	src
| > Committed By:	christos
| > Date:		Sat Aug 12 21:45:22 UTC 2006
| >
| > Modified Files:
| > 	src/sys/arch/x86/x86: x86_autoconf.c
| >
| > Log Message:
| > - Check if a disk has wedges, and use the wedge device corresponding  
| > to the
| >   root partition, instead of punting. This makes booting work
| >   with traditional disklabel disks and wedge autoconfiguration.
| Why was this change necessary?  I had booting from wedges working ...  
| a long time ago.

Have you tried booting from a disk with a regular disklabel on and
a kernel that has DKWEDGE_* turned on? What happens is that there
is only the non-wedge bootinfo information passed from the boot
blocks.  After that, the wedge code discovers all the wedges and
generates dkN from wd?x. Then the autoconfig mechanism tries to
open partitions wd?x from the old disklabel and it fails with EBUSY,
since that disk has wedges. How did you test?