mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Gene Heskett <gene.heskett@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Querying the bios from booted linux kernel?
Date: Sat, 5 Jan 2008 02:14:49 +0000	[thread overview]
Message-ID: <20080105021449.2af7a429@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <477ED3B5.7070009@zytor.com>

> 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.

  reply	other threads:[~2008-01-05  2:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05  0:13 Gene Heskett
2008-01-05  0:47 ` H. Peter Anvin
2008-01-05  2:14   ` Alan Cox [this message]
2008-01-05  2:45     ` H. Peter Anvin
2008-01-05  4:18 ` Matt Domsch
2008-01-05 19:47   ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080105021449.2af7a429@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=gene.heskett@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®