On Mon, 27 Dec 1999 10:22:12 +0900, OKUJI Yoshinori wrote:
>From: Zack Weinberg <[EMAIL PROTECTED]>
>Subject: Bug#53507: grub: needs fallback from LBA to CHS enabled
>Date: Sun, 26 Dec 1999 00:41:18 -0500
>
>> I have a buggy BIOS that supports the extended drive information call, but
>> not LBA read. Grub can't read anything from the disk if NO_INT13_FALLBACK
>> is defined. I see no reason not to enable the fallback all the time; the
>> appended patch for bios.c does that, and cleans up the logic a bit.
>
> That was because we didn't know if the LBA support code would work
>fine in all environments, so we decided not to define the macro until
>0.6.
Ah, I see.
> Anyway, I don't think the fallback is good, and get_diskinfo should
>make sure that LBA read/write is really functional instead. I'll do a
>different fix for it.
Perhaps grub ought to print warning messages if it finds BIOS bugs so people
are aware of them. (Below the menu, probably, and let us turn them off in
the config file.)
>> Incidentally, shouldn't grub use the cylinder/head/sector values from the
>> extended drive info call if available?
>
> No. CHS values returned by LBA are all meaningless.
Huh - what's the point of those fields in the block, then?
zw