I have recently changed my mainboard to an Asus P5W DH Deluxe which includes both SATA and IDE interfaces. There are 2 IDE connectors of which one is controlled by an Intel chip and the other by a JMicron chip.
I have two IDE hard drives (hda and hdb) both on the same cable and connected to the Intel interface. I also have an IDE DVD Writer connected to the JMicron interface.
When Linux (kernel 2.6.20) boots it does not recognise the DVD Writer although I can get Knoppix 5.1 to boot from the DVD drive if I append irqpoll at the boot prompt after which everything seems to work. If I append irqpoll at the normal Linux boot prompt I get 'lost interrupt' messages when the system is starting and it seems to hang.
It also lists, in the logs, a device sda which does not exist. There is a SCSI card installed which drives a DAT tape drive but nothing else.
There are no SATA devices connected.
Is there a way around this JMicron problem (DVD not recognised) or do I have to wait for the JMicron drivers in the kernel to be improved?
What is this spurious sda device?
Kernel settings:
# # ATA/ATAPI/MFM/RLL support # CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y
# # Serial ATA (prod) and Parallel ATA (experimental) drivers # CONFIG_ATA=y CONFIG_SATA_AHCI=y CONFIG_ATA_PIIX=y CONFIG_SATA_INTEL_COMBINED=y CONFIG_ATA_GENERIC=y CONFIG_PATA_JMICRON=y CONFIG_PATA_MPIIX=y
Log extract:
kernel: ahci 0000:02:00.0: version 2.0 kernel: ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 18 kernel: PCI: Setting latency timer of device 0000:02:00.0 to 64 kernel: ahci 0000:02:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode kernel: ahci 0000:02:00.0: flags: 64bit ncq pm led clo pmp pio slum part kernel: ata1: SATA max UDMA/133 cmd 0xF8824100 ctl 0x0 bmdma 0x0 irq 18 kernel: ata2: SATA max UDMA/133 cmd 0xF8824180 ctl 0x0 bmdma 0x0 irq 18 kernel: scsi2 : ahci kernel: ata1: SATA link down (SStatus 0 SControl 300) kernel: scsi3 : ahci kernel: ata2: SATA link down (SStatus 0 SControl 300) kernel: ata_piix 0000:00:1f.1: version 2.00ac7 kernel: ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 22 (level, low) -> IRQ 19 kernel: ata: 0x1F0 IDE port busy kernel: ata: conflict with ide0 kernel: PCI: Setting latency timer of device 0000:00:1f.1 to 64 kernel: ata3: DUMMY kernel: ata4: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xFFA8 irq 15 kernel: scsi4 : ata_piix kernel: scsi5 : ata_piix kernel: ATA: abnormal status 0x7F on port 0x177 kernel: ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ] kernel: ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 23 (level, low) -> IRQ 20 kernel: PCI: Setting latency timer of device 0000:00:1f.2 to 64 kernel: ata5: SATA max UDMA/133 cmd 0xE400 ctl 0xE082 bmdma 0xD880 irq 20 kernel: ata6: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD888 irq 20 kernel: scsi6 : ata_piix kernel: ATA: abnormal status 0x7F on port 0xE407 kernel: scsi7 : ata_piix kernel: ata6.00: ATA-6, max UDMA/133, 640 sectors: LBA kernel: ata6.00: ata6: dev 0 multi count 1 kernel: ata6.00: Drive reports diagnostics failure. This may indicate a drive kernel: ata6.00: fault or invalid emulation. Contact drive vendor for information. kernel: ata6.00: configured for UDMA/133 kernel: scsi 7:0:0:0: Direct-Access ATA Config Disk RGL1 PQ: 0 ANSI: 5 kernel: ACPI: PCI Interrupt 0000:02:00.1[B] -> GSI 16 (level, low) -> IRQ 16 kernel: PCI: Setting latency timer of device 0000:02:00.1 to 64 kernel: ata7: PATA max UDMA/100 cmd 0xAC00 ctl 0xA882 bmdma 0xA400 irq 16 kernel: ata8: PATA max UDMA/100 cmd 0xA800 ctl 0xA482 bmdma 0xA408 irq 16 kernel: scsi8 : pata_jmicron kernel: ata7.00: ATAPI, max UDMA/33 kernel: ata7.00: qc timeout (cmd 0xef) kernel: ata7.00: failed to set xfermode (err_mask=0x4) kernel: ata7.00: limiting speed to UDMA/25 kernel: ata7: failed to recover some devices, retrying in 5 secs kernel: ata7.00: qc timeout (cmd 0xef) kernel: ata7.00: failed to set xfermode (err_mask=0x4) kernel: ata7.00: limiting speed to PIO0 kernel: ata7: failed to recover some devices, retrying in 5 secs kernel: ata7.00: qc timeout (cmd 0xef) kernel: ata7.00: failed to set xfermode (err_mask=0x4) kernel: ata7.00: disabled kernel: scsi9 : pata_jmicron kernel: ATA: abnormal status 0x7F on port 0xA807 kernel: serio: i8042 KBD port at 0x60,0x64 irq 1 kernel: serio: i8042 AUX port at 0x60,0x64 irq 12 kernel: mice: PS/2 mouse device common for all mice kernel: input: AT Translated Set 2 keyboard as /class/input/input0 kernel: TCP cubic registered kernel: Starting balanced_irq kernel: Using IPI Shortcut mode kernel: Time: tsc clocksource has been installed. kernel: kjournald starting. Commit interval 5 seconds kernel: EXT3-fs: mounted filesystem with ordered data mode. kernel: VFS: Mounted root (ext3 filesystem) readonly. kernel: Freeing unused kernel memory: 188k freed kernel: NET: Registered protocol family 1 kernel: SCSI device sda: 640 512-byte hdwr sectors (0 MB) kernel: sda: Write Protect is off kernel: sda: Mode Sense: 00 3a 00 00 kernel: SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA kernel: SCSI device sda: 640 512-byte hdwr sectors (0 MB) kernel: sda: Write Protect is off kernel: sda: Mode Sense: 00 3a 00 00 kernel: SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA kernel: sda: unknown partition table kernel: sd 7:0:0:0: Attached scsi disk sda kernel: st: Version 20061107, fixed bufsize 32768, s/g segs 256 kernel: st 1:0:6:0: Attached scsi tape st0 kernel: st 1:0:6:0: st0: try direct i/o: yes (alignment 512 B)
After reading a lot on the Internet and seeing other people with similar problems with JMicron and no solutions I'm not expecting much but there's no harm in asking.
Suggestions will be very much appreciated.