Most recent kernel where this bug did not occur: 2.6.19 Distribution: Ubuntu 7.10 Gutsy (testing) Hardware Environment: Lenovo 3000 V200 notebook Software Environment: Linux OS Problem Description: After installation of Ubuntu 7.10 I noted that the CDROM was not accessible. An entry in fstab was created poiting the CDROM drive to /dev/hda. But there was no such device. I could access the drive with "modprobe ide-generic", but then I can't set DMA to the drive. This problem happens with last kernel versions from Ubuntu (2.6.20 and 2.6.22) and also with the last official stable kernel (2.6.22.1). The problem doesn't occur with Knoppix (kernel 2.6.19). Also, Fedora 7 cannot be installed from the cdrom drive. After booting the installation system, it stops saying that it cannot find the "installation image", which is in the CD/DVD disk. Steps to reproduce: Install a recent Linux distribution on his notebook. This bug report is a follow-up of bug #8784 Log files with system details follows.
Created attachment 12225 [details] Output of dmesg
Created attachment 12226 [details] Output of lspci -nnvvv
Created attachment 12227 [details] Output of cat /proc/ioports
What does 'modinfo ata_piix' say?
Here it goes: modinfo ata_piix filename: /lib/modules/2.6.22-9-generic/kernel/drivers/ata/ata_piix.ko version: 2.11 license: GPL description: SCSI low-level driver for Intel PIIX/ICH ATA controllers author: Andre Hedrick, Alan Cox, Andrzej Krzysztofowicz, Jeff Garzik srcversion: DBBE3C8B8C2097262F3303F alias: pci:v00008086d0000292Esv*sd*bc*sc*i* alias: pci:v00008086d0000292Dsv*sd*bc*sc*i* alias: pci:v00008086d00002928sv*sd*bc*sc*i* alias: pci:v00008086d00002926sv*sd*bc*sc*i* alias: pci:v00008086d00002921sv*sd*bc*sc*i* alias: pci:v00008086d00002920sv*sd*bc*sc*i* alias: pci:v00008086d00002828sv*sd*bc*sc*i* alias: pci:v00008086d00002825sv*sd*bc*sc*i* alias: pci:v00008086d00002820sv*sd*bc*sc*i* alias: pci:v00008086d00002680sv*sd*bc*sc*i* alias: pci:v00008086d000027C4sv*sd*bc*sc*i* alias: pci:v00008086d000027C0sv*sd*bc*sc*i* alias: pci:v00008086d00002653sv*sd*bc*sc*i* alias: pci:v00008086d00002652sv*sd*bc*sc*i* alias: pci:v00008086d00002651sv*sd*bc*sc*i* alias: pci:v00008086d000025B0sv*sd*bc*sc*i* alias: pci:v00008086d000025A3sv*sd*bc*sc*i* alias: pci:v00008086d000024DFsv*sd*bc*sc*i* alias: pci:v00008086d000024D1sv*sd*bc*sc*i* alias: pci:v00008086d0000811Asv*sd*bc*sc*i* alias: pci:v00008086d0000269Esv*sd*bc*sc*i* alias: pci:v00008086d000027DFsv*sd*bc*sc*i* alias: pci:v00008086d0000266Fsv*sd*bc*sc*i* alias: pci:v00008086d000025A2sv*sd*bc*sc*i* alias: pci:v00008086d0000245Bsv*sd*bc*sc*i* alias: pci:v00008086d000024DBsv*sd*bc*sc*i* alias: pci:v00008086d000024CBsv*sd*bc*sc*i* alias: pci:v00008086d000024CAsv*sd*bc*sc*i* alias: pci:v00008086d0000248Bsv*sd*bc*sc*i* alias: pci:v00008086d0000248Asv*sd*bc*sc*i* alias: pci:v00008086d0000244Bsv*sd*bc*sc*i* alias: pci:v00008086d0000244Asv*sd*bc*sc*i* alias: pci:v00008086d00002421sv*sd*bc*sc*i* alias: pci:v00008086d00002411sv*sd*bc*sc*i* alias: pci:v00008086d000084CAsv*sd*bc*sc*i* alias: pci:v00008086d00007601sv*sd*bc*sc*i* alias: pci:v00008086d00007199sv*sd*bc*sc*i* alias: pci:v00008086d00007111sv*sd*bc*sc*i* alias: pci:v00008086d00007010sv*sd*bc*sc*i* depends: libata vermagic: 2.6.22-9-generic SMP mod_unload 586
Created attachment 12232 [details] Add-a-PCI-ID-for-santa-rosa-s-PATA-controller.patch Right, that's commit c1e6f28cc5de37dcd113b9668a185c0b9334ba8a which was added after 2.6.22 is released. The attached patch adds PCI ID for the controller. You've got a very new machine there. I'll forward the patch to -stable such that it can be included in the next stable release.
Closing.
Thank you very much for the patch. I will try it. Can I compile only the ata_piix module or I should recompile the full kernel? In the first case, how to do that such that I can use it with the installed Gutsy kernel?
You can compile only the ata_piix module if you have the exact source and config file of your running kernel.
It worked! Thanks again, Persio