Re: Querying the bios from booted linux kernel?

From: Alan Cox
Date: Fri Jan 04 2008 - 21:16:42 EST


> Unfortunately, it is not trivial to produce a mapping from EDD data to
> real-life disks. Your best bet is if the disks have an MBR signature,

Untrue for all but the very earliest EDD. True for our kernel support
which wants improving some day

> in which case the EDD code will capture those; you can then correlate
> them to real disks.

EDD 1 provides the I/O base of each BIOS device so you can cross corelate
at least each IDE device with the BIOS identifier. EDD 3 provides paths
in multiple forms including PCI identifiers which serve the same purpose.

Unfortunately our EDD boot code doesn't capture the right bits in all
these cases.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/