Hi,

> I'm not sure what a SCSI rom would do with a CD drive.  My guess is
> that it wouldn't map it to a BIOS visible drive id at all, as there's
> no way to select an id with any assurance that it wont conflict with
> one chosen by the BIOS or another rom.  If QEMU can simulate this (and
> someone knows the command-line to do such) it would be an interesting
> test to see what the rom does.

The lsi rom (8xx_64.rom) seems to prioritize cdroms.  Maybe that is
something configurable in the option rom setup.  When a cdrom drive with
a bootable cd inserted is present the boot looks like this:

=======================================================================
SeaBIOS (version 0.6.1.2-20120105_124702-rincewind.home.kraxel.org)


iPXE v1.0.0-591-g7aee315
iPXE (http://ipxe.org) 00:03.0 CB00 PCI2.10 PnP PMM+1FFD9190+1FF99190 CB00



LSI Logic Corp. Symbios SDMS (TM) V4.0 PCI SCSI BIOS, PCI Rev. 2.0, 2.1
Copyright 1995-2001 LSI Logic Corp.
PCI-4.19.00

HBA ID LUN VENDOR   PRODUCT          REV  SYNC  WIDE  CYL/ HD/SEC
--- -- --- -------- ---------------- ---- ----- ---- ------------
 0   0  0  QEMU     QEMU HARDDISK    1.0.   NO    8  1024/255/63
 0   1  0  QEMU     QEMU HARDDISK    1.0.   NO    8  1008/ 33/63
 0   4  0  QEMU     QEMU CD-ROM      1.0.   NO    8
 0   7  0  LSILogic 53C895A          0000  10.0   8

LSI Logic Corp. PCI boot ROM successfully installed!
Press F12 for boot menu.

Select boot device:

1. #28 ID04 LUN0 QEMU     QEMU CD-ROM
2. USB Drive USB      Flash Disk       2.00
3. iPXE (PCI 00:03.0)
=======================================================================

whereas without bootable cd (drive still present but no disk inserted)
the boot menu looks like this:

=======================================================================
Select boot device:

1. #28 ID00 LUN0 QEMU     QEMU HARDDISK
2. USB Drive USB      Flash Disk       2.00
3. iPXE (PCI 00:03.0)
4. #28 ID01 LUN0 QEMU     QEMU HARDDISK
=======================================================================

cheers,
  Gerd

Reply via email to