Skip to contentSkip to conversation

CDROM support in ata_piix?

DISCUSSION Doug McNaught 2 participants 3 messages Oct 11, 2004 – Oct 15, 2004

lore
Share & tools
lore
#0 lore raw

I have an IBM server with a SATA controller listed as:

0000:00:1f.2 IDE interface: Intel Corp. 6300ESB SATA Storage Controller (rev 02)

Debian's 2.6.8 kernel with libata works fine, except that the CDROM (which is on a PATA port) does not appear as a SCSI device. It's also not seen by the regular IDE driver, because ata_piix has already grabbed the i/o resources--I get:

ide0: I/O resource 0x1F0-0x1F7 not free.
ide0: ports already in use, skipping probe
ide1: I/O resource 0x170-0x177 not free.
ide1: ports already in use, skipping probe

Is there any way to get ata_piix to register my CDROM, or alternatively to have the regular IDE driver handle it?

This seems to be a known problem (it's filed as a Debian bug)--is it fixed in 2.6.9-rc4? I had a look at the -rc4 patch but couldn't tell from the diff whether there's anything CDROM-related in there...

Thanks,
Doug

#1 lore raw
Quoted 14 lines · Doug McNaught

I have an IBM server with a SATA controller listed as:

0000:00:1f.2 IDE interface: Intel Corp. 6300ESB SATA Storage Controller (rev 02)

Debian's 2.6.8 kernel with libata works fine, except that the CDROM (which is on a PATA port) does not appear as a SCSI device. It's also not seen by the regular IDE driver, because ata_piix has already grabbed the i/o resources--I get:

ide0: I/O resource 0x1F0-0x1F7 not free.
ide0: ports already in use, skipping probe
ide1: I/O resource 0x170-0x177 not free.
ide1: ports already in use, skipping probe

Quoted 6 lines

Is there any way to get ata_piix to register my CDROM, or alternatively to have the regular IDE driver handle it?

This seems to be a known problem (it's filed as a Debian bug)--is it fixed in 2.6.9-rc4? I had a look at the -rc4 patch but couldn't tell from the diff whether there's anything CDROM-related in there...

Well, two things are going on:

You may need to set CONFIG_BLK_DEV_SATA (or unset it) depending on your configuration.

Once you get past that, you need to apply the latest libata patch to fix a related combined mode bug.

http://lkml.org/lkml/2004/10/14/336

Jeff

#2 lore raw
Quoted 11 lines · Jeff Garzik
Quoted 5 lines · Doug McNaught

Is there any way to get ata_piix to register my CDROM, or alternatively to have the regular IDE driver handle it? This seems to be a known problem (it's filed as a Debian bug)--is it fixed in 2.6.9-rc4? I had a look at the -rc4 patch but couldn't tell from the diff whether there's anything CDROM-related in there...

Well, two things are going on:

You may need to set CONFIG_BLK_DEV_SATA (or unset it) depending on your configuration.

I will look into this.

Quoted 4 lines

Once you get past that, you need to apply the latest libata patch to fix a related combined mode bug.

http://lkml.org/lkml/2004/10/14/336

I will probably wait until this trickles into a Linus kernel--I don't have an immediate need for the CDROM (and I can boot 2.4 if I have to).

Thanks very much for the response!

-Doug

Signature · 2 lines
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863