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? thanks!
On Wed, 06 Feb 2013 13:21:17 +0800, horseriver said:
At booting stage,kernel need to detect the hard device before mount it, does this work need pci's surport?
That depends. Is the controller for the hard drive a PCI-based controller? On most x86-based boxes, it is (and I'm not sure it's even possible to build an x86 kernel that doesn't have PCI as a =y in the config). However, very old units may still have ISA based disk controllers, and other archs may have other I/O buses.
At loading stage ,boot loader need to move binaries from hard disk partition to ram,does this work need pci's surport?
Same as above.
On Wed, Feb 6, 2013 at 12:50 PM, <Valdis.Kletnieks@vt.edu> wrote:
On Wed, 06 Feb 2013 13:21:17 +0800, horseriver said:
At booting stage,kernel need to detect the hard device before mount it, does this work need pci's surport?
That depends. Is the controller for the hard drive a PCI-based controller? On most x86-based boxes, it is (and I'm not sure it's even possible to build an x86 kernel that doesn't have PCI as a =y in the config). However, very old units may still have ISA based disk controllers, and other archs may have other I/O buses.
Most new MB's have a SATA controller directly on the MB connected directly to either the North or South bridge (I don't know which). I don't think any PCI is support needed to talk to the boot disk. Greg
On Wed, 06 Feb 2013 13:20:13 -0500, Greg Freemyer said:
Most new MB's have a SATA controller directly on the MB connected directly to either the North or South bridge (I don't know which).
I don't think any PCI is support needed to talk to the boot disk.
Yes, but said SATA controller and north/southbridge are usually emulating a PCI: % lspci 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) .... 00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 03) So no actual PCI slots involved there, but that PCI bridge is going to require PCI support to program all the BARs and other stuff to talk to that 82801.
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... 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=a003ebbc0... (notice the 3.2 kernel) which is resolved via setting the PCI configuration in BOCHS as well. take a look.
thanks!
-- Regards, Peter Teoh
participants (4)
-
Greg Freemyer -
horseriver -
Peter Teoh -
Valdis.Kletnieks@vt.edu