You are not logged in.

#1 2007-09-06 06:05:44

FirstWizardZorander
Member
Registered: 2007-01-29
Posts: 21

ATA: /dev/sda vs. /dev/hda

Hi!
After one of the kernel upgrades (can't remember which), my laptop IDE hard drive started using /dev/sda as device node instead of /dev/hda. While this may not be a problem, it's confusing to me when I build a custom kernel from the latest kernel sources. My new kernel, despite built with Intel PIIX ATA support, has the hard drive located at /dev/hda. While this is OK for one kernel, I need two kernels, one of which needs to have advanced partition support/atari partitions.

How can I make the new kernel use /dev/sda instead of /dev/hda? Have I missed something crucial?

Regards,
Fredrik

Last edited by FirstWizardZorander (2007-09-06 06:06:43)

Offline

#2 2007-09-06 09:34:05

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: ATA: /dev/sda vs. /dev/hda

You need to use ata_piix module instead of piix.

If you built these as modules, and use an initrd just like arch default kernel, I have this in mkinitcpio.conf :
MODULES="ata_generic ahci ata_piix"

If you have both modules built in, check ata_piix is enabled :
CONFIG_ATA_PIIX
Device Drivers -> Serial ATA -> Intel PATA / SATA support

and that piix is disabled :
CONFIG_BLK_DEV_PIIX
Device Drivers -> ATA/ATAPI support -> Intel PIIXn chipsets support


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB