Most recent kernel where this bug did *NOT* occur: with 2.6.18 the problem is less serious. Distribution: Debian 4.0 Hardware Environment: PC Intel PIII(coppermine 866 MHz), ASUS CUSL2-C, BIOS rev 1007. I have 2 cdrom attached on first IDE bus, like hda and hdb( the second is a CD burner by LG); also I have a controller with a chip HPT370A on INT 9; one HD is attached on the second IDE bus and 3 on the PCI controller. Software Environment: Problem Description: About half an hour past the sistem boot, KDE says that it recognised an audio CD and ask about what to do with it; from this moment I get a lot of lines like this, in the console and in the system log (dmesg): hdb: drive not ready for command hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest } The system stops emitting messages if I insert a CD in the drive; however DMA on that drive is disabled. Using the default Debian kernel 2.6.18, the problem disappears; however I can see in dmesg the lines : hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. That messages are present with the most recent kernel too, but with the 2.6.18 version the drive works with no other problem and with DMA enabled. dmesg (kernel 2.6.18): Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12etch2) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed May 9 23:03:12 UTC 2007 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009e800 (usable) BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000ffeb000 (usable) BIOS-e820: 000000000ffeb000 - 000000000ffef000 (ACPI data) BIOS-e820: 000000000ffef000 - 000000000ffff000 (reserved) BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 255MB LOWMEM available. On node 0 totalpages: 65515 DMA zone: 4096 pages, LIFO batch:0 Normal zone: 61419 pages, LIFO batch:15 DMI 2.3 present. ACPI: RSDP (v000 ASUS ) @ 0x000f77c0 ACPI: RSDT (v001 ASUS CUSL2-CA 0x30303031 MSFT 0x31313031) @ 0x0ffeb000 ACPI: FADT (v001 ASUS CUSL2-CA 0x30303031 MSFT 0x31313031) @ 0x0ffeb080 ACPI: BOOT (v001 ASUS CUSL2-CA 0x30303031 MSFT 0x31313031) @ 0x0ffeb040 ACPI: DSDT (v001 ASUS CUSL2-CA 0x00001000 MSFT 0x0100000b) @ 0x00000000 ACPI: PM-Timer IO Port: 0xe408 Allocating PCI resources starting at 20000000 (gap: 10000000:efff0000) Detected 871.064 MHz processor. Built 1 zonelists. Total pages: 65515 Kernel command line: root=/dev/hdc3 ro irqpoll Misrouted IRQ fixup and polling support enabled This may significantly impact system performance Local APIC disabled by BIOS -- you can enable it with "lapic" mapped APIC to ffffd000 (01209000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 1024 (order: 10, 4096 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 252204k/262060k available (1544k kernel code, 9348k reserved, 577k data, 196k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 1752.21 BogoMIPS (lpj=3504429) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Compat vDSO mapped to ffffe000. Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 16k freed ACPI: Core revision 20060707 ACPI: setting ELCR to 0200 (from 0e00) CPU0: Intel Pentium III (Coppermine) stepping 06 SMP motherboard not detected. Local APIC not detected. Using dummy APIC emulation. Brought up 1 CPUs migration_cost=0 checking if image is initramfs... it is Freeing initrd memory: 4412k freed NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xf0da0, last bus=2 PCI: Using configuration type 1 Setting up standard PCI resources ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) ACPI: Assume root bridge [\_SB_.PCI0] bus is 0 PCI quirk: region e400-e47f claimed by ICH4 ACPI/GPIO/TCO PCI quirk: region ec00-ec3f claimed by ICH4 GPIO Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT] Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 15 devices PnPBIOS: Disabled by ACPI PNP PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report pnp: 00:03: ioport range 0xe400-0xe47f could not be reserved pnp: 00:03: ioport range 0xec00-0xec3f has been reserved PCI: Bridge: 0000:00:01.0 IO window: d000-dfff MEM window: f7000000-f7dfffff PREFETCH window: f7f00000-fbffffff PCI: Bridge: 0000:00:1e.0 IO window: 9000-bfff MEM window: f6000000-f6ffffff PREFETCH window: f7e00000-f7efffff PCI: Setting latency timer of device 0000:00:01.0 to 64 PCI: Setting latency timer of device 0000:00:1e.0 to 64 NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 4096) TCP reno registered Simple Boot Flag at 0x3a set to 0x1 audit: initializing netlink socket (disabled) audit(1181550131.480:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 mice: PS/2 mouse device common for all mice TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 8 NET: Registered protocol family 20 Using IPI No-Shortcut mode ACPI: (supports S0 S1 S4 S5<6>Time: tsc clocksource has been installed. ) Freeing unused kernel memory: 196k freed input: AT Translated Set 2 keyboard as /class/input/input0 ACPI: Invalid PBLK length [5] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH2: IDE controller at PCI slot 0000:00:1f.1 ICH2: chipset revision 2 ICH2: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0x8808-0x880f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v3.0 8139too Fast Ethernet driver 0.9.27 hda: CD-ROM Drive/F5B, ATAPI CD/DVD-ROM drive hdb: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: IC35L060AVV207-0, ATA DISK drive ide1 at 0x170-0x177,0x376 on irq 15 HPT370A: IDE controller at PCI slot 0000:02:0b.0 ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9 PCI: setting IRQ 9 as level-triggered ACPI: PCI Interrupt 0000:02:0b.0[A] -> Link [LNKH] -> GSI 9 (level, low) -> IRQ 9 HPT370A: chipset revision 4 HPT370A: 100% native mode on irq 9 HPT37X: using 33MHz PCI clock ide2: BM-DMA at 0x9800-0x9807, BIOS settings: hde:DMA, hdf:pio HPT37X: using 33MHz PCI clock ide3: BM-DMA at 0x9808-0x980f, BIOS settings: hdg:DMA, hdh:DMA Probing IDE interface ide2... hda: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 hdb: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) hdc: max request size: 512KiB hdc: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(66) hdc: cache flushes supported hdc: hdc1 hdc2 hdc3 hde: QUANTUM FIREBALLP LM10.2, ATA DISK drive irq 9: nobody cared (try booting with the "irqpoll" option) [<c0140353>] __report_bad_irq+0x2b/0x69 [<c0140540>] note_interrupt+0x1af/0x1e7 [<c013fc30>] __do_IRQ+0xb3/0xe8 [<c01050e5>] do_IRQ+0x43/0x52 [<c01036b6>] common_interrupt+0x1a/0x20 [<c012182f>] __do_softirq+0x51/0xbb [<c01218cf>] do_softirq+0x36/0x3a [<c01050ea>] do_IRQ+0x48/0x52 [<c01036b6>] common_interrupt+0x1a/0x20 [<c014007b>] free_irq+0xe1/0xeb [<c0281470>] _spin_unlock_irqrestore+0x8/0x9 [<d085387e>] probe_hwif+0x556/0x627 [ide_core] [<d0854167>] probe_hwif_init_with_fixup+0xb/0x63 [ide_core] [<d0855f29>] ide_setup_pci_device+0x3c/0x6d [ide_core] [<d083aed0>] init_setup_hpt366+0x136/0x13e [hpt366] [<c0210b68>] __driver_attach+0x0/0x5d [<d083a0b4>] hpt366_init_one+0xf/0x10 [hpt366] [<c01c18a8>] pci_device_probe+0x36/0x57 [<c0210ac9>] driver_probe_device+0x42/0x8b [<c0210ba0>] __driver_attach+0x38/0x5d [<c02105ea>] bus_for_each_dev+0x33/0x55 [<c0210a33>] driver_attach+0x11/0x13 [<c0210b68>] __driver_attach+0x0/0x5d [<c0210303>] bus_add_driver+0x64/0xfd [<c01c19e4>] __pci_register_driver+0x47/0x63 [<c01358c1>] sys_init_module+0x16c3/0x1846 [<c0161b4c>] cp_new_stat64+0xfd/0x10f [<d0833000>] uhci_fixup_toggles+0x0/0xbe [uhci_hcd] [<c0102c7b>] syscall_call+0x7/0xb handlers: [<c01d5f9a>] (acpi_irq+0x0/0x14) Disabling IRQ #9 ide2 at 0xb000-0xb007,0xa802 on irq 9 hde: max request size: 128KiB hde: 20066251 sectors (10273 MB) w/1900KiB Cache, CHS=19906/16/63, UDMA(66) hde: cache flushes not supported hde: hde1 hde2 Probing IDE interface ide3... hdg: QUANTUM FIREBALLlct10 15, ATA DISK drive hdh: QUANTUM FIREBALLP LM10.2, ATA DISK drive ide3 at 0xa400-0xa407,0xa002 on irq 9 hdg: max request size: 128KiB hdg: 29336832 sectors (15020 MB) w/418KiB Cache, CHS=29104/16/63, UDMA(33) hdg: cache flushes not supported hdg: hdg1 hdh: max request size: 128KiB hdh: 20066251 sectors (10273 MB) w/1900KiB Cache, CHS=19906/16/63, UDMA(66) hdh: cache flushes not supported hdh: hdh1 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9 ACPI: PCI Interrupt 0000:00:1f.2[D] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 PCI: Setting latency timer of device 0000:00:1f.2 to 64 uhci_hcd 0000:00:1f.2: UHCI Host Controller uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1f.2: irq 9, io base 0x00008400 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1f.4[C] -> Link [LNKH] -> GSI 9 (level, low) -> IRQ 9 PCI: Setting latency timer of device 0000:00:1f.4 to 64 uhci_hcd 0000:00:1f.4: UHCI Host Controller uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1f.4: irq 9, io base 0x00008000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected PCI: Enabling device 0000:02:0d.0 (0004 -> 0007) ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11 PCI: setting IRQ 11 as level-triggered ACPI: PCI Interrupt 0000:02:0d.0[A] -> Link [LNKF] -> GSI 11 (level, low) -> IRQ 11 eth0: RealTek RTL8139 at 0x9400, 00:50:bf:5a:5f:84, IRQ 11 eth0: Identified 8139 chip type 'RTL-8139C' PCI: Enabling device 0000:02:0e.0 (0004 -> 0007) ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI Interrupt 0000:02:0e.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 eth1: RealTek RTL8139 at 0x9000, 00:06:4f:01:3b:d6, IRQ 11 eth1: Identified 8139 chip type 'RTL-8139C' 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004) Attempting manual resume ReiserFS: hdc3: found reiserfs format "3.6" with standard journal ReiserFS: hdc3: using ordered data mode ReiserFS: hdc3: journal params: device hdc3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: hdc3: checking transaction log (hdc3) ReiserFS: hdc3: Using r5 hash to sort names pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 Linux agpgart interface v0.101 (c) Dave Jones agpgart: Detected an Intel i815 Chipset. agpgart: AGP aperture is 32M @ 0xfc000000 input: PC Speaker as /class/input/input1 intel_rng: FWH not detected ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10 PCI: setting IRQ 10 as level-triggered ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 logips2pp: Detected unknown logitech mouse model 34 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 Real Time Clock Driver v1.12ac parport: PnPBIOS parport detected. parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] PCI: Enabling device 0000:02:0a.1 (0004 -> 0005) gameport: EMU10K1 is pci0000:02:0a.1/gameport0, io 0xb400, speed 1125kHz input: ImExPS/2 Logitech Explorer Mouse as /class/input/input2 ts: Compaq touchscreen protocol output PCI: Enabling device 0000:02:0a.0 (0004 -> 0005) ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11 ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNKG] -> GSI 11 (level, low) -> IRQ 11 Adding 1510100k swap on /dev/hdc2. Priority:-1 extents:1 across:1510100k loop: loaded (max 8 devices) device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com NET: Registered protocol family 15 eth1: link down eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 NET: Registered protocol family 10 lo: Disabled Privacy Extensions ADDRCONF(NETDEV_UP): eth1: link is not ready IPv6 over IPv4 tunneling driver eth0: no IPv6 routers present ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] lp0: using parport0 (interrupt-driven). ppdev: user-space parallel port driver [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 [drm] Initialized r128 2.5.0 20030725 on minor 0 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0. agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode dmesg (kernel 2.6.21.4): Linux version 2.6.21.4-08-06-2007 (root@Lorenzo) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 PREEMPT Mon Jun 11 11:59:44 CEST 2007 BIOS-provided physical RAM map: sanitize start sanitize end copy_e820_map() start: 0000000000000000 size: 000000000009e800 end: 000000000009e800 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 000000000009e800 size: 0000000000001800 end: 00000000000a0000 type: 2 copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2 copy_e820_map() start: 0000000000100000 size: 000000000feeb000 end: 000000000ffeb000 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 000000000ffeb000 size: 0000000000004000 end: 000000000ffef000 type: 3 copy_e820_map() start: 000000000ffef000 size: 0000000000010000 end: 000000000ffff000 type: 2 copy_e820_map() start: 000000000ffff000 size: 0000000000001000 end: 0000000010000000 type: 4 copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end: 0000000100000000 type: 2 BIOS-e820: 0000000000000000 - 000000000009e800 (usable) BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000ffeb000 (usable) BIOS-e820: 000000000ffeb000 - 000000000ffef000 (ACPI data) BIOS-e820: 000000000ffef000 - 000000000ffff000 (reserved) BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 255MB LOWMEM available. Entering add_active_range(0, 0, 65515) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 4096 Normal 4096 -> 65515 early_node_map[1] active PFN ranges 0: 0 -> 65515 On node 0 totalpages: 65515 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 479 pages used for memmap Normal zone: 60940 pages, LIFO batch:15 DMI 2.3 present. ACPI: RSDP 000F77C0, 0014 (r0 ASUS ) ACPI: RSDT 0FFEB000, 002C (r1 ASUS CUSL2-CA 30303031 MSFT 31313031) ACPI: FACP 0FFEB080, 0074 (r1 ASUS CUSL2-CA 30303031 MSFT 31313031) ACPI: DSDT 0FFEB100, 351D (r1 ASUS CUSL2-CA 1000 MSFT 100000B) ACPI: FACS 0FFFF000, 0040 ACPI: BOOT 0FFEB040, 0028 (r1 ASUS CUSL2-CA 30303031 MSFT 31313031) ACPI: PM-Timer IO Port: 0xe408 Allocating PCI resources starting at 20000000 (gap: 10000000:efff0000) Built 1 zonelists. Total pages: 65004 Kernel command line: root=/dev/hdc3 ro irqpoll hda=cdrom hdb=noprobe hdb=cdrom Misrouted IRQ fixup and polling support enabled This may significantly impact system performance ide_setup: hda=cdrom ide_setup: hdb=noprobe ide_setup: hdb=cdrom Local APIC disabled by BIOS -- you can enable it with "lapic" mapped APIC to ffffd000 (01201000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 1024 (order: 10, 4096 bytes) Detected 871.070 MHz processor. Console: colour VGA+ 80x25 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 255708k/262060k available (2627k kernel code, 5876k reserved, 618k data, 180k init, 0k highmem) virtual kernel memory layout: fixmap : 0xfffb8000 - 0xfffff000 ( 284 kB) vmalloc : 0xd0800000 - 0xfffb6000 ( 759 MB) lowmem : 0xc0000000 - 0xcffeb000 ( 255 MB) .init : 0xc042e000 - 0xc045b000 ( 180 kB) .data : 0xc0390edb - 0xc042b8d4 ( 618 kB) .text : 0xc0100000 - 0xc0390edb (2627 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 1744.51 BogoMIPS (lpj=872257) Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: Intel Pentium III (Coppermine) stepping 06 Checking 'hlt' instruction... OK. ACPI: Core revision 20070126 ACPI: setting ELCR to 0200 (from 0e00) NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xf0da0, last bus=2 Setting up standard PCI resources ACPI: Interpreter enabled ACPI: (supports S0 S1 S4 S5) ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI quirk: region e400-e47f claimed by ICH4 ACPI/GPIO/TCO PCI quirk: region ec00-ec3f claimed by ICH4 GPIO Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 15 devices usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report Time: tsc clocksource has been installed. pnp: 00:00: iomem range 0x0-0x9ffff could not be reserved pnp: 00:00: iomem range 0xf0000-0xfffff could not be reserved pnp: 00:00: iomem range 0x100000-0xfffffff could not be reserved pnp: 00:00: iomem range 0xffb80000-0xffbfffff has been reserved pnp: 00:03: ioport range 0xe400-0xe47f has been reserved pnp: 00:03: ioport range 0xec00-0xec3f has been reserved PCI: Bridge: 0000:00:01.0 IO window: d000-dfff MEM window: f7000000-f7dfffff PREFETCH window: f7f00000-fbffffff PCI: Bridge: 0000:00:1e.0 IO window: 9000-bfff MEM window: f6000000-f6ffffff PREFETCH window: f7e00000-f7efffff PCI: Setting latency timer of device 0000:00:01.0 to 64 PCI: Setting latency timer of device 0000:00:1e.0 to 64 NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered Simple Boot Flag at 0x3a set to 0x1 audit: initializing netlink socket (disabled) audit(1181591784.171:1): initialized io scheduler noop registered io scheduler cfq registered (default) input: Power Button (FF) as /class/input/input0 ACPI: Power Button (FF) [PWRF] input: Power Button (CM) as /class/input/input1 ACPI: Power Button (CM) [PWRB] ACPI: Invalid PBLK length [5] lp: driver loaded but no devices found intel_rng: FWH not detected Linux agpgart interface v0.102 (c) Dave Jones [drm] Initialized drm 1.1.0 20060810 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A parport: PnPBIOS parport detected. parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE] lp0: using parport0 (interrupt-driven). Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 PPP generic driver version 2.4.2 8139too Fast Ethernet driver 0.9.28 PCI: Enabling device 0000:02:0d.0 (0004 -> 0007) ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11 PCI: setting IRQ 11 as level-triggered ACPI: PCI Interrupt 0000:02:0d.0[A] -> Link [LNKF] -> GSI 11 (level, low) -> IRQ 11 eth0: RealTek RTL8139 at 0xd080a000, 00:50:bf:5a:5f:84, IRQ 11 eth0: Identified 8139 chip type 'RTL-8139C' PCI: Enabling device 0000:02:0e.0 (0004 -> 0007) ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI Interrupt 0000:02:0e.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 eth1: RealTek RTL8139 at 0xd080c000, 00:06:4f:01:3b:d6, IRQ 11 eth1: Identified 8139 chip type 'RTL-8139C' Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH2: IDE controller at PCI slot 0000:00:1f.1 ICH2: chipset revision 2 ICH2: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0x8808-0x880f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... hda: CD-ROM Drive/F5B, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Switched to NOHz mode on CPU #0 hdc: IC35L060AVV207-0, ATA DISK drive ide1 at 0x170-0x177,0x376 on irq 15 HPT370A: IDE controller at PCI slot 0000:02:0b.0 ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9 PCI: setting IRQ 9 as level-triggered ACPI: PCI Interrupt 0000:02:0b.0[A] -> Link [LNKH] -> GSI 9 (level, low) -> IRQ 9 HPT370A: chipset revision 4 HPT370A: DPLL base: 48 MHz, f_CNT: 137, assuming 33 MHz PCI HPT370A: using 33 MHz PCI clock HPT370A: 100% native mode on irq 9 ide2: BM-DMA at 0x9800-0x9807, BIOS settings: hde:DMA, hdf:pio ide3: BM-DMA at 0x9808-0x980f, BIOS settings: hdg:DMA, hdh:DMA Probing IDE interface ide2... hde: QUANTUM FIREBALLP LM10.2, ATA DISK drive irq 9: nobody cared (try booting with the "irqpoll" option) [<c0143234>] [<c01434e9>] [<c0215d40>] [<c0143ed2>] [<c01068fb>] [<c0104a63>] [<c011f8fd>] [<c011f986>] [<c011fbe5>] [<c0106900>] [<c0104a63>] [<c014007b>] [<c01400d8>] [<c0142ee6>] [<c01ff41f>] [<c0289ac9>] [<c028c7fa>] [<c028a64e>] [<c028cbf3>] [<c0280ff0>] [<c02805e0>] [<c0280ec0>] [<c0281340>] [<c0281c00>] [<c0280c70>] [<c0446069>] [<c04460ab>] [<c0445996>] [<c042e7a0>] [<c0103f72>] [<c042e720>] [<c042e720>] [<c0104be3>] ======================= handlers: [<c0210d6e>] Disabling IRQ #9 ide2 at 0xb000-0xb007,0xa802 on irq 9 Probing IDE interface ide3... hdg: QUANTUM FIREBALLlct10 15, ATA DISK drive hdh: QUANTUM FIREBALLP LM10.2, ATA DISK drive ide3 at 0xa400-0xa407,0xa002 on irq 9 Probing IDE interface ide4... Probing IDE interface ide5... hdc: max request size: 512KiB hdc: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(66) hdc: cache flushes supported hdc: hdc1 hdc2 hdc3 hde: max request size: 128KiB hde: 20066251 sectors (10273 MB) w/1900KiB Cache, CHS=19906/16/63, UDMA(66) hde: cache flushes not supported hde: hde1 hde2 hdg: max request size: 128KiB hdg: 29336832 sectors (15020 MB) w/418KiB Cache, CHS=29104/16/63, UDMA(33) hdg: cache flushes not supported hdg: hdg1 hdh: max request size: 128KiB hdh: 20066251 sectors (10273 MB) w/1900KiB Cache, CHS=19906/16/63, UDMA(66) hdh: cache flushes not supported hdh: hdh1 hda: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 hdb: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache ieee1394: raw1394: /dev/raw1394 device initialized usbmon: debugfs is not available USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9 ACPI: PCI Interrupt 0000:00:1f.2[D] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 PCI: Setting latency timer of device 0000:00:1f.2 to 64 uhci_hcd 0000:00:1f.2: UHCI Host Controller uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1f.2: irq 9, io base 0x00008400 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1f.4[C] -> Link [LNKH] -> GSI 9 (level, low) -> IRQ 9 PCI: Setting latency timer of device 0000:00:1f.4 to 64 uhci_hcd 0000:00:1f.4: UHCI Host Controller uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1f.4: irq 9, io base 0x00008000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected usbcore: registered new interface driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /class/input/input2 input: PC Speaker as /class/input/input3 logips2pp: Detected unknown logitech mouse model 34 input: ImExPS/2 Logitech Explorer Mouse as /class/input/input4 Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC). PCI: Enabling device 0000:02:0a.0 (0004 -> 0005) ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11 ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNKG] -> GSI 11 (level, low) -> IRQ 11 ALSA device list: #0: SBLive! Value [CT4832] (rev.6, serial:0x80271102) at 0xb800, irq 11 NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI Shortcut mode ReiserFS: hdc3: found reiserfs format "3.6" with standard journal ReiserFS: hdc3: using ordered data mode ReiserFS: hdc3: journal params: device hdc3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: hdc3: checking transaction log (hdc3) ReiserFS: hdc3: Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly. Freeing unused kernel memory: 180k freed hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. agpgart: Detected an Intel i815 Chipset. agpgart: AGP aperture is 32M @ 0xfc000000 PCI: Enabling device 0000:02:0a.1 (0004 -> 0005) gameport: EMU10K1 is pci0000:02:0a.1/gameport0, io 0xb400, speed 1125kHz ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10 PCI: setting IRQ 10 as level-triggered ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 Adding 1510100k swap on /dev/hdc2. Priority:-1 extents:1 across:1510100k loop: loaded (max 8 devices) NET: Registered protocol family 15 eth1: link down eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 NET: Registered protocol family 10 lo: Disabled Privacy Extensions ADDRCONF(NETDEV_UP): eth1: link is not ready eth0: no IPv6 routers present hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 [drm] Initialized r128 2.5.0 20030725 on minor 0 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0. agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode If you need some other files, like the .config (kernel configuration), lspci or something other please ask for it and suggest a more efficient method to attach them. Thank you for your work.
So we seem to have a couple of regressions here. I worked out a patch for the "drive appears confused" thing a year or two ago, but Jens didn't like it and I appear to have lost it. It seems to be a pretty popular problems though. google for "The drive appears confused (ireason ="...
I saw it's an old problem; however it seem to be still not resolved. I have this issue on the most recent kernel and only a dubt with the 2.6.18, so I thought I can help getting more elements. Thanks.
Re-assigning to ide-cd Maintainer. Alan, please take a look. BTW it also seems that there is (unrelated) IRQ routing problem on IRQ #9 (affected device is on ICH2 using IRQ #14)...
any news? I can't boot 2.6.22 because of bug #8896
hm. Bart "reassigned" this to Alan but afaict nobody told him.
I'm not ide-cd maintainer. AFAIK the old ide-cd code isn't formally maintained so it should be assigned to Bart still I guess.
Therefore the destiny of this bug will be of being assigned and reassigned, in order to remain NEW and then to change in CLOSED because of the inactivity. Although nobody complains, because all we know that code is developed by volunteers, I need to confirm that for some people this is a serious issue and someone has a nonrunning system cause of this. Thanks anyway.
We now have: * an active ide-cd Maintainer * rewritten ide-cd driver (debugging the old version was _really_ difficult) so this bug should (hopefully) get fixed soon.
*** Bug 6481 has been marked as a duplicate of this bug. ***
Lorenzo, i have a report to a similar bug stating that the problem has been resolved with 2.6.25-rc2. Care to test to see whether this works for you too? Thanks, Boris.
Created attachment 14928 [details] dmesg output
Created attachment 14929 [details] config file used to compile the 2.6.24rc2 kernel
Hello Boris, sorry for the confusion: I downloaded and used the 2.6.25-rc2 kernel but I wrote the wrong number in the attachment's name, since the kernel itself have the 2.6.24 version number. Lorenzo:/home/lorenzo# uname -a Linux Lorenzo 2.6.2421-02-2008 #1 PREEMPT Thu Feb 21 01:44:54 CET 2008 i686 GNU/Linux And I'm sorry because the new kernel has the same problem: lorenzo@Lorenzo:~$ dmesg | grep hd[ab] ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:DMA, hdb:DMA hdb: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive hda: HL-DT-STDVD-RAM GSA-H55N, ATAPI CD/DVD-ROM drive hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hda: host side 80-wire cable detection failed, limiting max speed to UDMA33 hda: UDMA/33 mode selected hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hdb: UDMA/33 mode selected hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache hdb: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. Thank you. Lorenzo.
Hi Lorenzo, are you sure you're using 25-rc2? Your uname -a output returns 2.6.24? Or is that because the Makefile contains the wrong kernel version? >Lorenzo:/home/lorenzo# uname -a >Linux Lorenzo 2.6.2421-02-2008 #1 PREEMPT Thu Feb 21 01:44:54 CET 2008 i686 >GNU/Linux Thanks, Boris.
Ok Boris, you are right. I downloaded the prepatch version named "2.6.25-rc2" but the file was named "linux-2.6.24.tar.bz2" and it's the wrong one. I need the snapshot version, named "2.6.25-rc2-git5". I'm going to compile it. Lorenzo.
Hello Boris, I've been running the 2.6.25-rc2 for 6 hours and I see it's ok. lorenzo@Lorenzo:~$ uname -a Linux Lorenzo 2.6.25-rc2-int1 #1 PREEMPT Thu Feb 21 16:41:07 CET 2008 i686 GNU/Linux lorenzo@Lorenzo:~$ dmesg | grep hd[ab] ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:DMA, hdb:DMA hdb: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive hda: HL-DT-STDVD-RAM GSA-H55N, ATAPI CD/DVD-ROM drive hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hda: host side 80-wire cable detection failed, limiting max speed to UDMA33 hda: UDMA/33 mode selected hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4 hdb: UDMA/33 mode selected hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache hdb: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache Please let me say if you need some information. I don't know if I have to close the bug since for me is resolved. Thank you. Lorenzo.
Hi Lorenzo, thanks for testing. Let us know should this issue reappear; however i think this is unlikely. Regards, Boris.