Skip to contentSkip to conversation

Schedule for adding pata to kernel?

DISCUSSION Robert Hancock 4 participants 6 messages Mar 29, 2006 – Mar 31, 2006 5 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 7 lines · James Cloos

Incidently, on that front, what is the magic to make it work?

I've not yet tried with 2.6.16 final, but I didn't have any luck with earlier versions.

I have a:

Quoted 8 lines

,----[lspci]
| 00:1f.1 0101: 8086:244a (rev 03)
| 00:1f.1 IDE interface: Intel Corporation 82801BAM IDE U100 (rev 03) `----

but never managed to determine the CONFIG that used ata_piix rather than the old ide drivers. Each attempt left me with a kernel which could not mount its root....

What distribution? If you're building ata_piix and the other drivers (scsi, sd, etc.) as modules you'll have to play with your initrd to get it to load the correct modules on startup. If you build them into the kernel, it should just work..

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/
#6 lore raw
Quoted 13 lines · Robert Hancock
Quoted 12 lines · James Cloos

Incidently, on that front, what is the magic to make it work?

I've not yet tried with 2.6.16 final, but I didn't have any luck with earlier versions.

I have a:

,----[lspci]
| 00:1f.1 0101: 8086:244a (rev 03)
| 00:1f.1 IDE interface: Intel Corporation 82801BAM IDE U100 (rev 03) `----

Quoted 5 lines
Quoted 3 lines

but never managed to determine the CONFIG that used ata_piix rather than the old ide drivers. Each attempt left me with a kernel which could not mount its root....

What distribution? If you're building ata_piix and the other drivers (scsi, sd, etc.) as modules you'll have to play with your initrd to get it to load the correct modules on startup. If you build them into the kernel, it should just work..

Normally you add the requisite drivers to /etc/modprobe.conf, and mkinitrd should select the correct modules from there.

Jeff

#7 lore raw
In reply to Robert Hancock
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Robert" == Robert Hancock <[email protected]> writes:

JimC> but [I] never managed to determine the CONFIG that used ata_piix rather JimC> than the old ide drivers. Each attempt left me with a kernel which JimC> could not mount its root....

Robert> If you build them into the kernel, it should just work..

Agreed. It should.

But if I leave in CONFIG_IDE=y, CONFIG_BLK_DEV_PIIX=y I get root on 0x0302 rather than 0x0802 even when I also have CONFIG_SCSI_SATA=y and CONFIG_SCSI_ATA_PIIX=y.

If the first two are not set then the kernel cannot find anything.

My understanding is that with Alan's patch everything should be using major 8, and that CONFIG_IDE is no longer required, yes?

-JimC

Signature · 1 line
James H. Cloos, Jr. <[email protected]>
#8 lore raw
Quoted 10 lines · James Cloos
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Robert" == Robert Hancock <[email protected]> writes:

JimC> but [I] never managed to determine the CONFIG that used ata_piix rather JimC> than the old ide drivers. Each attempt left me with a kernel which JimC> could not mount its root....

Robert> If you build them into the kernel, it should just work..

Agreed. It should.

Quoted 8 lines

But if I leave in CONFIG_IDE=y, CONFIG_BLK_DEV_PIIX=y I get root on 0x0302 rather than 0x0802 even when I also have CONFIG_SCSI_SATA=y and CONFIG_SCSI_ATA_PIIX=y.

If the first two are not set then the kernel cannot find anything.

My understanding is that with Alan's patch everything should be using major 8, and that CONFIG_IDE is no longer required, yes?

You should be able to set CONFIG_IDE=n and have it work. That PCI ID is listed in the ata_piix device table so I should think it would work.. can you post the output?

#9 lore raw

I did try it again with 2.6.16.

And now it does work.

Even seems faster than 2.6.16 w/o Alan's patch. :>

But that is probably just the short uptime.

(The laptop has always slowed down after being up for a few days....)

-JimC

Signature · 1 line
James H. Cloos, Jr. <[email protected]>
#10 lore raw
In reply to James Cloos
Quoted 2 lines · James Cloos

My understanding is that with Alan's patch everything should be using major 8, and that CONFIG_IDE is no longer required, yes?

This is correct both if you are just using the existing SATA drivers or if you are using the libata patch to drive older chips via libata.

You can mix and match but don't compile in two drivers for the same chip

Alan