All of lore.kernel.org
 help / color / mirror / Atom feed
From: htmldeveloper@gmail.com (Peter Teoh)
To: kernelnewbies@lists.kernelnewbies.org
Subject: hard disk dirver
Date: Thu, 7 Feb 2013 09:24:56 +0800	[thread overview]
Message-ID: <CAHnt0GVeucmOZdY11RXdOtrofc8MSUANkWiOPyfAsP5mjPSAyA@mail.gmail.com> (raw)
In-Reply-To: <20130206052117.GD2474@debian.localdomain>

On Wed, Feb 6, 2013 at 1:21 PM, horseriver <horserivers@gmail.com> wrote:

> hi:)
>
>    I have a newbie question about hard ware.
>    At booting stage,kernel need to detect the hard device before mount it,
>    does this work  need pci's surport?
>

>    At loading stage ,boot loader need to move binaries from hard disk
> partition
>    to ram,does this work need pci's surport?
>

hard disk I/O is in ATA bus, and PCI has it own bus on the chipset (see
page 69):

http://downloadmirror.intel.com/19123/eng/d525mw_d525mwv_techprodspec.pdf

and page 14:

http://download.intel.com/support/motherboards/desktop/d865gsa/sb/d5600601us.pdf

But these are terminologies.   At the source code level, (and tools as
well), PCI and ATA are not differentiated much:

in drivers/ata/ata_piix.c, and in drivers/pci/quirks.c both directory u can
see 82801 symbols exists.

For your problem i think it is a BOCHS problem...mixing with recent linux
kernel (older kernel should be fine)...eg,

http://forums.gentoo.org/viewtopic-t-915210-view-previous.html?sid=a003ebbc022d7f23399fc7f1c5dad424

(notice the 3.2 kernel) which is resolved via setting the PCI configuration
in BOCHS as well.   take a look.


> thanks!
>



-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130207/efd285c9/attachment.html 

  parent reply	other threads:[~2013-02-07  1:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-05 18:53 hard disk dirver horseriver
2013-02-06  4:51 ` Valdis.Kletnieks at vt.edu
2013-02-05 21:37   ` horseriver
     [not found]     ` <CAHnt0GW9kQFei0wU+3WahtPaqMX-VRCwedXBGY2dbEwhQ_7J8w@mail.gmail.com>
2013-02-06  5:21       ` horseriver
2013-02-06 17:50         ` Valdis.Kletnieks at vt.edu
2013-02-06 18:20           ` Greg Freemyer
2013-02-06 20:28             ` Valdis.Kletnieks at vt.edu
2013-02-07  1:24         ` Peter Teoh [this message]
2013-02-06  7:35     ` Valdis.Kletnieks at vt.edu
2013-02-06  4:30       ` horseriver
2013-02-06 17:50         ` Valdis.Kletnieks at vt.edu

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=CAHnt0GVeucmOZdY11RXdOtrofc8MSUANkWiOPyfAsP5mjPSAyA@mail.gmail.com \
    --to=htmldeveloper@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.