Re: hard disk dirver

2013-02-06 Thread horseriver
On Wed, Feb 06, 2013 at 02:35:47AM -0500, valdis.kletni...@vt.edu wrote: On Wed, 06 Feb 2013 05:37:41 +0800, horseriver said: After grub load kernel and initrd , it get around root filesystem mounting , but failed with no finding root device ,from which kernel and initrd have been

Re: hard disk dirver

2013-02-06 Thread horseriver
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?

Re: hard disk dirver

2013-02-06 Thread Valdis . Kletnieks
On Wed, 06 Feb 2013 12:30:37 +0800, horseriver said: root = ? You mean the aasignment at grub command line ? For instance, the grub entry for the kernel I'm running right now: title 3.8.0-rc6-next-20130206 kernel /vmlinuz-3.8.0-rc6-next-20130206 ro

Re: hard disk dirver

2013-02-06 Thread Valdis . Kletnieks
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

Re: hard disk dirver

2013-02-06 Thread Greg Freemyer
On Wed, Feb 6, 2013 at 12:50 PM, valdis.kletni...@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

Re: hard disk dirver

2013-02-06 Thread Valdis . Kletnieks
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

Re: hard disk dirver

2013-02-06 Thread Peter Teoh
On Wed, Feb 6, 2013 at 1:21 PM, horseriver horseriv...@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

Re: hard disk dirver

2013-02-05 Thread Valdis . Kletnieks
On Wed, 06 Feb 2013 02:53:11 +0800, horseriver said: At booting time ,bootloader loads kernel from hard disk too memory. During this period,does it need hd driver's support . Think for a bit - at that point, the hd driver hasn't been loaded yet, so it *can't* need the hd driver's support.

Re: hard disk dirver

2013-02-05 Thread horseriver
Thanks for your reply! After grub load kernel and initrd , it get around root filesystem mounting , but failed with no finding root device ,from which kernel and initrd have been located . ls /dev/ ; there is no disk device node . Why?

Re: hard disk dirver

2013-02-05 Thread Valdis . Kletnieks
On Wed, 06 Feb 2013 05:37:41 +0800, horseriver said: After grub load kernel and initrd , it get around root filesystem mounting , but failed with no finding root device ,from which kernel and initrd have been located . ls /dev/ ; there is no disk device node . Why? Any number