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.
Hi Barry,
When I upgraded to 2.6.19 (i think) all my PATA devices changed from being hd(abcd) to sd devices.. which sounds very much like what you're experiencing. I ended up booting a boot cd and changing my fstab and grub files and then it all worked again.
Rob.
On 13/02/07, Barry Samuels bjsamuels@beenthere-donethat.org.uk wrote:
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.
-- Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
Rob
On 13/02/07 14:28:51, Rob Page wrote:
Hi Barry,
When I upgraded to 2.6.19 (i think) all my PATA devices changed from being hd(abcd) to sd devices.. which sounds very much like what you're experiencing. I ended up booting a boot cd and changing my fstab and grub files and then it all worked again.
No - my devices are staying as hdx. I have both IDE and PATA/SATA settings in the kernel enabled.
I was thinking of changing to only PATA/SATA but can't think of a way of doing it. The device names in the lilo.conf must be changed, I assume, from hdx to sdx but I can't do that unless I can boot with only PATA/SATA support otherwise lilo complains (sdx doesn't yet exist) and I can't boot with PATA/SATA support only until I change my lilo configuration. Chicken and egg really! Changing fstab from a boot CD is easy.
I've tried booting with Knoppix 5.1, the latest version, but my drives appear as hdx IDE drives so I still can't change things from there.
On Tue, 13 Feb 2007, Barry Samuels wrote:
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?
Hi Barry,
I've got the Asus P5B with that nasty JMicron controller on it.
I bought an SATA-> IDE adaptor, connected one end to the Intel AHCI controller and the other to the DVD drive. It works fine with my NEC ND4520. Also, cdrecord doesn't bitch now about "opening device by name is not supproted and may not work!"
http://www.scan.co.uk/Products/ProductInfo.asp?WebProductID=176415
Hope that helps
Chris ---------------------------------- E Mail: chris@glovercc.plus.com SIP: 84411389@voiptalk.org IAXTEL: 17003366726
Chris On 13/02/07 14:55:13, Chris Glover wrote:
On Tue, 13 Feb 2007, Barry Samuels wrote:
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?
Hi Barry,
I've got the Asus P5B with that nasty JMicron controller on it.
I bought an SATA-> IDE adaptor, connected one end to the Intel AHCI controller and the other to the DVD drive. It works fine with my NEC ND4520. Also, cdrecord doesn't bitch now about "opening device by name is not supproted and may not work!"
http://www.scan.co.uk/Products/ProductInfo.asp?WebProductID=176415
Hope that helps
Chris
I had thought of that but I would like to try and get the current configuration working if possible. I'll give it a little more time but many thanks for the suggestion.
On Tue, Feb 13, 2007 at 01:53:02PM +0000, Barry Samuels wrote:
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?
I have a 2.6.18.1 kernel and that recognises my JMicron IDE drives OK (just a CD/DVD like yours).
It only worked with the release version of 2.6.18 though, it was fixed very late in the development cycle.
Chris
On 13/02/07 15:36:42, Eur Ing Chris Green wrote:
On Tue, Feb 13, 2007 at 01:53:02PM +0000, Barry Samuels wrote:
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?
I have a 2.6.18.1 kernel and that recognises my JMicron IDE drives OK (just a CD/DVD like yours).
It only worked with the release version of 2.6.18 though, it was fixed very late in the development cycle.
Now that is interesting! I'm using kernel 2.6.20 - so why doesn't mine work? Did you have to change any settings in the BIOS and, if not, why does yours work and mine doesn't?
Life is unfair :-))
On Tue, Feb 13, 2007 at 03:58:59PM +0000, Barry Samuels wrote:
Chris
On 13/02/07 15:36:42, Eur Ing Chris Green wrote:
On Tue, Feb 13, 2007 at 01:53:02PM +0000, Barry Samuels wrote:
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?
I have a 2.6.18.1 kernel and that recognises my JMicron IDE drives OK (just a CD/DVD like yours).
It only worked with the release version of 2.6.18 though, it was fixed very late in the development cycle.
Now that is interesting! I'm using kernel 2.6.20 - so why doesn't mine work? Did you have to change any settings in the BIOS and, if not, why does yours work and mine doesn't?
I don't think I did anything particularly clever in the BIOS. To see my Abit AB9 Pro installation saga take a look at:-
http://home.isbd.net/twiki/bin/view/Main/ChrisDesktop
I actually bought a SATA CD/DVD to overcome the JMicron problem initially and then built a 2.6.18.1 kernel after installing a lesser 2.6.18 kernel.
I can look at my BIOS settings when I get home if you want.
Chris
On 13/02/07 16:11:27, Eur Ing Chris Green wrote:
I don't think I did anything particularly clever in the BIOS. To see my Abit AB9 Pro installation saga take a look at:-
http://home.isbd.net/twiki/bin/view/Main/ChrisDesktop
I actually bought a SATA CD/DVD to overcome the JMicron problem initially and then built a 2.6.18.1 kernel after installing a lesser 2.6.18 kernel.
Could it be that the 2.6.18.1 kernel would work where a later kernel won't?
I can look at my BIOS settings when I get home if you want.
I would appreciate details of the IDE settings in your BIOS. You could, if you want, email me directly at barry@ the url below if you think it's not relevant to this list.
I had a look at your page and notice that you list your JMicron interface as JM363. If that's not a mistake then mine is slightly different - JMB363. I have 1 x JMicron interface and 1 x Intel interface.