LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   The kernel I compiled reads my sata drives as hda even though the rpm kernel read sda (https://www.linuxquestions.org/questions/linux-software-2/the-kernel-i-compiled-reads-my-sata-drives-as-hda-even-though-the-rpm-kernel-read-sda-462399/)

abefroman 07-09-2006 04:06 PM

The kernel I compiled reads my sata drives as hda even though the rpm kernel read sda
 
The kernel I compiled reads my sata drives as hda even though the rpm kernel reads it as sda

I have both of these enabled:[*] Serial ATA (SATA) support <M> Intel PIIX/ICH SATA support

Why wont it read it as /dev/sda?

Gethyn 07-09-2006 06:57 PM

Is this a 2.4.x kernel?

abefroman 07-09-2006 08:28 PM

Yes, the RPM is 2.4.21-32.0.1.ELsmp
the one from kernel.org is 2.4.32

Gethyn 07-10-2006 05:33 AM

Well, as far as I remember, kernel 2.4 lists sata drives as hdx. The change to sdx came with kernel 2.6. Is this a problem?

abefroman 07-10-2006 08:39 AM

When it reads it as hda its not finding my swap space even if I chnage the fstab to say hda.

Any ideas?

Gethyn 07-10-2006 04:42 PM

Just in case you've not already done this: it should be hda# where # is the number of the partition that your swap is on. For example, mine is on /dev/hda7.


All times are GMT -5. The time now is 10:39 PM.