]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[x86 setup] Don't use EDD to get the MBR signature
authorH. Peter Anvin <hpa@zytor.com>
Mon, 13 Aug 2007 23:27:42 +0000 (16:27 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 15 Aug 2007 00:54:47 +0000 (17:54 -0700)
commitc1a6e2b082a7cefe58315af7a461bbf2f33221a3
tree81fbc5ec4232118b33e1e5acf5704462fe3c23d1
parent362cea339a34e04caae6cad67ea9bde5c100d12b
[x86 setup] Don't use EDD to get the MBR signature

At least one machine has been identified in the field which advertises
EDD for all drives but locks up if one attempts an extended read from
a non-primary drive.

The MBR is always at CHS 0-0-1, so there is no reason to use an
extended read, other than the possibility that the BIOS cannot handle
it.

Although this might break as many machines as it fixes (a small number
either way), the current state is a regression but the reverse is not.
Therefore revert to the previous state of not using extended read.

Quite probably the Right Thing to do is to read using plain (CHS) read
and extended read on failure, but that change would definitely have to
go through -mm first.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/i386/boot/edd.c