Latest working kernel version: 2.6.20 Earliest failing kernel version: 2.6.25 Distribution: Debian Lenny Hardware Environment: - CPU Intel Pentium 4 2.40GHz - 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: ASUSTeK Computer Inc. Device 80a6 Flags: bus master, medium devsel, latency 0 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at fc00 [size=16] Memory at 70100000 (32-bit, non-prefetchable) [disabled] [size=1K] 02:09.0 RAID bus controller: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01) Subsystem: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 21 I/O ports at df80 [size=16] Memory at fe6fbc00 (32-bit, non-prefetchable) [size=16] Memory at fd800000 (32-bit, non-prefetchable) [size=8M] Expansion ROM at 70020000 [disabled] [size=64K] Capabilities: [40] Power Management version 1 Kernel driver in use: 3w-xxxx Problem Description: Hi, I have a server with a Intel 82801EB/ER (ICH5/ICH5R) chipset and 3ware 7506-4LP PATA RAID controller. The hard disks are connected to the RAID card, the cdrom is connected to the ICH5 IDE controller on the motherboard. - With the kernel 2.6.20 and IDE support (CONFIG_IDE, CONFIG_BLK_DEV_IDECD) and 3Ware support (CONFIG_BLK_DEV_3W_XXXX_RAID) all works, cdrom is detected (/dev/hdd). - With the kernel 2.6.25 without the IDE support, with libata support (CONFIG_ATA, CONFIG_ATA_PIIX) and 3ware support (CONFIG_BLK_DEV_3W_XXXX_RAID), RAID array is detected and the system boot without problems, but the cdrom is not detected. Below the config files and dmesg for kernels 2.6.20 and 2.6.25. Regards.
Created attachment 16390 [details] Config file for kernel 2.6.20
Created attachment 16391 [details] Config file for kernel 2.6.25
Created attachment 16392 [details] dmesg for kernel 2.6.20
Created attachment 16393 [details] dmesg for kernel 2.6.25
Created attachment 16394 [details] lspci -v output
You changed two things at the same time: - kernel version - CONFIG_IDE -> CONFIG_ATA Does 2.6.25 with CONFIG_IDE instead of CONFIG_ATA work?
Reply-To: akpm@linux-foundation.org (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 4 Jun 2008 11:06:34 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=10854 > > Summary: CDROM is nor detected with libata and 3Ware. > Product: IO/Storage > Version: 2.5 > KernelVersion: 2.6.20 and 2.6.25 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: Serial ATA > AssignedTo: jgarzik@pobox.com > ReportedBy: frederic@juliana-multimedia.com > > > Latest working kernel version: 2.6.20 > Earliest failing kernel version: 2.6.25 > Distribution: Debian Lenny > Hardware Environment: > - CPU Intel Pentium 4 2.40GHz > > - 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE > Controller (rev 02) (prog-if 8a [Master SecP PriP]) > Subsystem: ASUSTeK Computer Inc. Device 80a6 > Flags: bus master, medium devsel, latency 0 > I/O ports at 01f0 [size=8] > I/O ports at 03f4 [size=1] > I/O ports at 0170 [size=8] > I/O ports at 0374 [size=1] > I/O ports at fc00 [size=16] > Memory at 70100000 (32-bit, non-prefetchable) [disabled] [size=1K] > > 02:09.0 RAID bus controller: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev > 01) > Subsystem: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 21 > I/O ports at df80 [size=16] > Memory at fe6fbc00 (32-bit, non-prefetchable) [size=16] > Memory at fd800000 (32-bit, non-prefetchable) [size=8M] > Expansion ROM at 70020000 [disabled] [size=64K] > Capabilities: [40] Power Management version 1 > Kernel driver in use: 3w-xxxx > > Problem Description: > > Hi, > > I have a server with a Intel 82801EB/ER (ICH5/ICH5R) chipset and 3ware > 7506-4LP > PATA RAID controller. The hard disks are connected to the RAID card, the > cdrom > is connected to the ICH5 IDE controller on the motherboard. > > - With the kernel 2.6.20 and IDE support (CONFIG_IDE, CONFIG_BLK_DEV_IDECD) > and > 3Ware support (CONFIG_BLK_DEV_3W_XXXX_RAID) all works, cdrom is detected > (/dev/hdd). > > - With the kernel 2.6.25 without the IDE support, with libata support > (CONFIG_ATA, CONFIG_ATA_PIIX) and 3ware support > (CONFIG_BLK_DEV_3W_XXXX_RAID), > RAID array is detected and the system boot without problems, but the cdrom is > not detected. > > Below the config files and dmesg for kernels 2.6.20 and 2.6.25. >
Please provide an lspci -vvxxx, I need to see the numeric PCI identifiers as your trace shows the libata driver is never being called at all from the PCI layer - which might be an id problem or might be something else.
Created attachment 16401 [details] The lspci -vvxxx output
Hi, Below the dmesg for kernel 2.6.25 with CONFIG_IDE instead of CONFIG_ATA, the cdrom is detected (/dev/hdd). A few weeks ago I re-open the bug report 7997, there may be a relationship: http://bugzilla.kernel.org/show_bug.cgi?id=7997 Regards.
Created attachment 16402 [details] dmesg for kernel 2.6.25 with CONFIG_IDE instead of CONFIG_ATA
Thanks. Doesn't make any sense at all but is does confirm the PCI identifiers are present in the upstream kernel and the driver is not getting loaded on your system.
recategorizing as this looks like a PCI layer bug not an ATA one. Most odd
Can you attach /proc/ioports and /proc/iomem (from either kernel)
Created attachment 16448 [details] The iomem
Created attachment 16449 [details] The ioports
Another bug reported by Frederic MASSOT regarding PIIX4. The device ID is there and everything should work but it just never gets attached to the controller. What the hell is going on? http://bugzilla.kernel.org/show_bug.cgi?id=7997
Hi, I updated the server to the kernel 2.6.32 and the CDROM is still not detected, yet it is clearly visible in the BIOS. In attachment the dmesg and config file. Regards.
Created attachment 25120 [details] config file for kernel 2.6.32 without CONFIG_IDE and with CONFIG_ATA
Created attachment 25121 [details] dmesg for kernel 2.6.32 without CONFIG_IDE and with CONFIG_ATA
Can you please turn off CONFIG_PATA_ACPI and try again?
Hi, I turn off CONFIG_PATA_ACPI and the CDROM is still not detected. Regards.
Can you please post kernel log w/o PATA_ACPI?
Created attachment 25182 [details] config file for kernel 2.6.32 without CONFIG_PATA_ACPI
Created attachment 25183 [details] dmesg for kernel 2.6.32 without CONFIG_PATA_ACPI
Weird, the driver probe routine is not being called at all even though the driver registers the PCI ID and the device isn't attached to any other driver. cc'ing Jesse Barnes. Hi, Jesse, any ideas?
Hi, I test the new kernel 2.6.33 and the CDROM is alive. :o) Regards.
Created attachment 25210 [details] config file for kernel 2.6.33 with CONFIG_PATA_ACPI
Created attachment 25211 [details] dmesg for kernel 2.6.33 with CONFIG_PATA_ACPI