Re: bios kernel HD swap

From: Robert Hancock
Date: Sun Aug 15 2010 - 23:27:46 EST


On 08/05/2010 11:28 PM, alto.tom@xxxxxxxxx wrote:
kernel swap the drivers passed by BIOS

Configuration:
1 sata driver
1 IDE driver primary
PC dell optiplex 280
boot loader LILO MBR

The problem:
Bios set sata as primary driver (/dav/sda), when the kernel start it maps
/dev/hda as dev/sda and move the sata into /dev/sdb the system fails
to boot if hda does not have OS, otherwise start the OS (linux) on hda
if present but it fails due to version compatibility.

Main OS is on the sata driver

Kernel effeted 2.6.33 (Slackware 13.1) and 2.6.35 (latest downloaded from web).

Kernel that work fine 2.6.24, 2.6.27, sata maps into /dev/sda , ide into /dev/hda.

Supected: libsata

Depending on the configuration the distribution has used it's likely expected that ata_piix (which I assume is the driver in question) is running that drive in current kernel versions. You likely need to update your boot configuration to point to the correct device. (The kernel device ordering is not related to what boot order you selected in the BIOS.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/