Port-xen archive

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

Re: grub/Xen2 and having SCSI and SATA disks



On Wed, Jun 13, 2007 at 05:35:05PM +0200, Christoph Badura wrote:
> I am struggling with a Dell PowerEdge that has 2 SCSI disks hanging
> off the on-board controller and SATA disks connected to a SiL 3112
> based PCI adaptor.  It boots from SCSI and the DOM0 is installed on the
> SCSI disks.  I use NetBSD 3.1_STABLE and Xen2.
> 
> When the machine boots the SCSI BIOS is run first and registers.  The
> SATA BIOS is run after that and registers the SATA disks.  Therefore I assume
> that the SCSI disks are registered as BIOS disks 0x80 and 0x81 and the SATA
> disk as BIOS disk 0x82.
> 
> The first annoyance is that the DOM0 kernel thinks wd0 is the boot device
> and can't find the root fs on it.  It seems to me that the call to
> determine the BIOS geometry from the bootinfo in matchbiosdisks() fails.

NetBSD doesn't get bootinfo from grub. This is what the bootdev=
boot line option is for (in your case you probably want bootdev=ld0)

> 
> When I run grub(1) from the command line it comes up with the following
> drive mapping:
> 
> (hd0)   /dev/wd0d
> (hd1)   /dev/sd0d
> (hd2)   /dev/sd1d
> 
> This is to be expected, because grub(1) first probes the IDE/ATA disks and
> then the SCSI disks.  (I believe it fails to probe the ld(4) disks on NetBSD.)

works for me ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index