Skip to contentSkip to conversation

SATA ICH5/PIIX and Combined mode

Linux 2.4.32 Paul Rolland 6 participants 10 messages Dec 21, 2005 – Dec 25, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I have a machine with two SATA HDD, and one PATA CDRom. Bios is configured for combined mode, and installing a RedHat ES3 (Kernel 2.4.21-ELsmp) is fine, the two HDD are up, the installation is fine and the CDRom is working.

Then, upgrading to a vanilla 2.4.32, the ata_piix.c file contains a "combined mode not supported" and booting the machine hangs, as no VFS are up for root device.

Of course, I can disable the Combined setup in the BIOS, then I have my two HDD, but no CDRom...

What is the "trick" to have a 2.4.32 be able to do what a 2.4.21 was doing ?

Thanks in advance,
Regards,
Paul

Paul Rolland, [email protected]

#1 lore raw
Quoted 9 lines · Paul Rolland

I have a machine with two SATA HDD, and one PATA CDRom. Bios is configured for combined mode, and installing a RedHat ES3 (Kernel 2.4.21-ELsmp) is fine, the two HDD are up, the installation is fine and the CDRom is working.

Then, upgrading to a vanilla 2.4.32, the ata_piix.c file contains a "combined mode not supported" and booting the machine hangs, as no VFS are up for root device.

Quoted 5 lines

Of course, I can disable the Combined setup in the BIOS, then I have my two HDD, but no CDRom...

What is the "trick" to have a 2.4.32 be able to do what a 2.4.21 was doing ?

Apply all the Red Hat-specific patches that you ditched, when you switched to a vanilla kernel... The patch that supported combined mode for you is in there.

Jeff

#2 lore raw

Hi Jeff,

Quoted 4 lines

Apply all the Red Hat-specific patches that you ditched, when you switched to a vanilla kernel... The patch that supported combined mode for you is in there.

Just had a quick look at everything that contains "SATA" or ICH in the patch list from RedHat, and there are two :
- one concerns pci_quirks and pci_irqs,
- one concerns ata_piix.c and libata.c

If the first one seems quite OK, the second one implies going back to libata 0.93 and switching to the "old" ata_piix.c, as the one in the 2.4.32 kernel contains :

	if (combined) {
		...
		return ENODEV;
	}

thus clearly preventing devices from being detected when combined more is there.

Do you really think such a big step back is required ?

Regards,
Paul

#3 lore raw
In reply to Paul Rolland
Quoted 10 lines · Paul Rolland

Hello,

I have a machine with two SATA HDD, and one PATA CDRom. Bios is configured for combined mode, and installing a RedHat ES3 (Kernel 2.4.21-ELsmp) is fine, the two HDD are up, the installation is fine and the CDRom is working.

Then, upgrading to a vanilla 2.4.32, the ata_piix.c file contains a "combined mode not supported" and booting the machine hangs, as no VFS are up for root device.

you can't reliably run a non-NPTL kernel on RHES3. Really. Are you really sure you want to ?

#4 lore raw

Hello,

Quoted 11 lines
Quoted 8 lines

I have a machine with two SATA HDD, and one PATA CDRom. Bios is configured for combined mode, and installing a RedHat ES3 (Kernel 2.4.21-ELsmp) is fine, the two HDD are up, the installation is fine and the CDRom is working.

Then, upgrading to a vanilla 2.4.32, the ata_piix.c file contains a "combined mode not supported" and booting the machine hangs, as no VFS are up for root device.

you can't reliably run a non-NPTL kernel on RHES3. Really. Are you really sure you want to ?

Well, the other way around is to upgrade e1000 driver in the 2.4.21EL-smp, as the machine I'm using is quite new, and RHES3 kernel can't find the Ethernet device, so the machine has no network.
My first idea was to consider this as an opportunity to upgrade to the latest 2.4.x kernel, but reading you, this looks like a bad idea... 2.6.x would be better ?

Regards,
Paul

#5 lore raw
Quoted 11 lines · Paul Rolland

Hello,

Quoted 9 lines
Quoted 8 lines

I have a machine with two SATA HDD, and one PATA CDRom. Bios is configured for combined mode, and installing a RedHat ES3 (Kernel 2.4.21-ELsmp) is fine, the two HDD are up, the installation is fine and the CDRom is working.

Then, upgrading to a vanilla 2.4.32, the ata_piix.c file contains a "combined mode not supported" and booting the machine hangs, as no VFS are up for root device.

Quoted 6 lines
Quoted 2 lines

you can't reliably run a non-NPTL kernel on RHES3. Really. Are you really sure you want to ?

Well, the other way around is to upgrade e1000 driver in the 2.4.21EL-smp, as the machine I'm using is quite new, and RHES3 kernel can't find the Ethernet device, so the machine has no network.

AFAIR, RedHat still adds support for new hardware to RHES3.

You should contact the RedHat support you are paying for for getting help with RHES3 running on your hardware.

Quoted 3 lines

My first idea was to consider this as an opportunity to upgrade to the latest 2.4.x kernel, but reading you, this looks like a bad idea... 2.6.x would be better ?

RHES3 doesn't support kernel 2.6.

Quoted 2 lines

Regards,
Paul

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#6 lore raw
Quoted 7 lines · Adrian Bunk
Quoted 3 lines · Paul Rolland

My first idea was to consider this as an opportunity to upgrade to the latest 2.4.x kernel, but reading you, this looks like a bad idea... 2.6.x would be better ?

RHES3 doesn't support kernel 2.6.

Kernel 2.6.x will boot just fine, on RHEL3 userland.

It is not -supported- in the commercial sense, however.

Jeff

#9 lore raw
In reply to Paul Rolland
Quoted 6 lines · Paul Rolland

Well, the other way around is to upgrade e1000 driver in the 2.4.21EL-smp, as the machine I'm using is quite new, and RHES3 kernel can't find the Ethernet device, so the machine has no network.
My first idea was to consider this as an opportunity to upgrade to the latest 2.4.x kernel, but reading you, this looks like a bad idea... 2.6.x would be better ?

the latest e1000-6.3.9 driver from http://sf.net/projects/e1000 should work fine with that original 2.4 kernel and will definitely support your new network hardware.

let us know how that goes

#8 lore raw
In reply to Adrian Bunk

Hello,

Quoted 4 lines

AFAIR, RedHat still adds support for new hardware to RHES3.

You should contact the RedHat support you are paying for for getting help with RHES3 running on your hardware.

Sure, but I really don't like all the changes RH brings into the kernel (as many vendors do), and I've always been running vanilla kernels on top of the distribs, once the installation in completed.

Paul

Quoted 20 lines
Quoted 1 line

My first idea was to consider this as an opportunity to

upgrade to the

Quoted 2 lines

latest 2.4.x kernel, but reading you, this looks like a bad idea... 2.6.x would be better ?

RHES3 doesn't support kernel 2.6.

Quoted 2 lines

Regards,
Paul

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#7 lore raw
In reply to Jeff Garzik
Quoted 5 lines
Quoted 1 line

RHES3 doesn't support kernel 2.6.

Kernel 2.6.x will boot just fine, on RHEL3 userland.

It is not -supported- in the commercial sense, however.

Yes, but I don't intend to ask RH for any support on a 2.6 vanilla kernel on top of a RHES3 distro. ;)

I've installed 2.6.14.4, and it is really nice to have all this running fine, both SATA and PATA connected to the same controler.

Regards,
Paul