Hello!
As Anton Anisimov <[EMAIL PROTECTED]> has told me, his Linux determines a
UDMA/66 IDE drive as /dev/hde (at least on that machine). The BIOS
considers the same drive as 0x80.
Currently GRUB doesn't even probe more than 4 IDE devices. If it did,
/dev/hde would become (0x80) which is correct.
I don't know how many IDE and SCSI devices should be probed. Either it
should be 26 (from a to z) or the number of the devices that normally
exist in /dev (8 for IDE and 16 for SCSI). Some other OS'es may require
additional limits in get_{id,scsi}e_disk_name
The limitation for the number of found devices (8) doesn't need to be
increased. The problem in not that there are too many drives, but rather
that few drives use high device names (/dev/hde instead of the usual
/dev/hda).
The attached patch makes GRUB probe 8 IDE disks and 16 SCSI disks.
ChangeLog:
* grub/asmstub.c (init_device_map): increase the number of
devices to be probed to 8 for IDE disks and 16 for SCSI
disks. Reported by Anton Anisimov <[EMAIL PROTECTED]>
Pavel Roskin
Index: grub/asmstub.c
--- grub/asmstub.c Sat Dec 11 00:06:19 1999
+++ grub/asmstub.c Sat Dec 11 00:14:09 1999
@@ -355,7 +355,7 @@
}
/* IDE disks. */
- for (i = 0; i < 4; i++)
+ for (i = 0; i < 8; i++)
{
char name[16];
@@ -373,7 +373,7 @@
}
/* The rest is SCSI disks. */
- for (i = 0; i < 8; i++)
+ for (i = 0; i < 16; i++)
{
char name[16];