JMicron motherboards do not work right with PATA DVD Drives in Mageia 4 and 5 The last time they did was with Mageia 3. The Drives are not visible to the OS and dmesg displays the following: [ 2.120589] ata3.00: ATAPI: HL-DT-ST DVDRAM_GSA-H40N, RA00, max UDMA/66 [ 2.126551] ata3.00: configured for UDMA/66 [ 7.126031] ata3.00: qc timeout (cmd 0xa0) [ 7.126036] ata3.00: TEST_UNIT_READY failed (err_mask=0x5) [ 7.286544] ata3.00: configured for UDMA/66 [ 12.286037] ata3.00: qc timeout (cmd 0xa0) [ 12.286042] ata3.00: TEST_UNIT_READY failed (err_mask=0x5) [ 12.286046] ata3.00: limiting speed to UDMA/66:PIO3 [ 12.446544] ata3.00: configured for UDMA/66 [ 17.446033] ata3.00: qc timeout (cmd 0xa0) [ 17.446037] ata3.00: TEST_UNIT_READY failed (err_mask=0x5) [ 17.446040] ata3.00: disabled [ 17.446062] ata3: soft resetting link [ 17.597088] ata3: EH complete This fault appears to be in the para_jmicron module included with the kernel. Versions of Mageia 4 and 5 cannot be installed on PATA systems with these drives, only Mageia 3 and lower. Under Mageia 4, you can boot the last Mageia 3 Kernel and the device will function.
if you blacklist pata_jmicron, does it work then ?
CC: (none) => tmb
also, please add lspcidrake -v for the controller in question...
Assignee: bugsquad => kernel
No, and dmesg displays nothing about the driver. lspcidrake does not detect the device because pata_jmicron isn't loaded.
hm, lspcidrake -v should list anything on the pci bus, regardless of loaded driver or not...
# lspcidrake -v cx8802 : Conexant Systems, Inc.|CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] [MULTIMEDIA_OTHER] (vendor:14f1 device:8802 subv:11bd subd:0051) (rev: 05) cx88_alsa : Conexant Systems, Inc.|CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] [MULTIMEDIA_OTHER] (vendor:14f1 device:8801 subv:11bd subd:0051) (rev: 05) cx8800 : Conexant Systems, Inc.|CX23880/1/2/3 PCI Video and Audio Decoder [MULTIMEDIA_VIDEO] (vendor:14f1 device:8800 subv:11bd subd:0051) (rev: 05) firewire_ohci : JMicron Technology Corp.|IEEE 1394 Host Controller [SERIAL_FIREWIRE] (vendor:197b device:2380 subv:1043 subd:8313) pata_jmicron : JMicron Technology Corp.|JMB361 AHCI/IDE [STORAGE_IDE] (vendor:197b device:2361 subv:1043 subd:8387) (rev: 02) unknown : JMicron Technology Corp.|JMB361 AHCI/IDE [STORAGE_SATA] (vendor:197b device:2361 subv:1043 subd:8387) (rev: 02) atl1e : Qualcomm Atheros|AR8121/AR8113/AR8114 Gigabit or Fast Ethernet [NETWORK_ETHERNET] (vendor:1969 device:1026 subv:1043 subd:831c) (rev: b0) snd_hda_intel : NVIDIA Corporation|GF119 HDMI Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:10de device:0e08 subv:10de subd:0915) (rev: a1) Card:NVIDIA GeForce 420 series and later: NVIDIA Corporation|GF119 [GeForce GT 610] [DISPLAY_VGA] (vendor:10de device:104a subv:10de subd:0915) (rev: a1) ata_piix : Intel Corporation|82801JI (ICH10 Family) 2 port SATA IDE Controller #2 [STORAGE_IDE] (vendor:8086 device:3a26 subv:1043 subd:82d4) i2c_i801 : Intel Corporation|82801JI (ICH10 Family) SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:3a30 subv:1043 subd:82d4) ata_piix : Intel Corporation|82801JI (ICH10 Family) 4 port SATA IDE Controller #1 [STORAGE_IDE] (vendor:8086 device:3a20 subv:1043 subd:82d4) lpc_ich : Intel Corporation|82801JIR (ICH10R) LPC Interface Controller [BRIDGE_ISA] (vendor:8086 device:3a16 subv:1043 subd:82d4) unknown : Intel Corporation|82801 PCI Bridge [BRIDGE_PCI] (vendor:8086 device:244e) (rev: 90) ehci_pci : Intel Corporation|82801JI (ICH10 Family) USB2 EHCI Controller #1 [SERIAL_USB] (vendor:8086 device:3a3a subv:1043 subd:82d4) uhci_hcd : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #3 [SERIAL_USB] (vendor:8086 device:3a36 subv:1043 subd:82d4) uhci_hcd : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #2 [SERIAL_USB] (vendor:8086 device:3a35 subv:1043 subd:82d4) uhci_hcd : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #1 [SERIAL_USB] (vendor:8086 device:3a34 subv:1043 subd:82d4) shpchp : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 6 [BRIDGE_PCI] (vendor:8086 device:3a4a subv:0002 subd:0000) shpchp : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 5 [BRIDGE_PCI] (vendor:8086 device:3a48 subv:0002 subd:0000) shpchp : Intel Corporation|82801JI (ICH10 Family) PCI Express Port 2 [BRIDGE_PCI] (vendor:8086 device:3a42 subv:0002 subd:0000) shpchp : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:3a40) snd_hda_intel : Intel Corporation|82801JI (ICH10 Family) HD Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:3a3e subv:1043 subd:837b) ehci_pci : Intel Corporation|82801JI (ICH10 Family) USB2 EHCI Controller #2 [SERIAL_USB] (vendor:8086 device:3a3c subv:1043 subd:82d4) uhci_hcd : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #6 [SERIAL_USB] (vendor:8086 device:3a39 subv:1043 subd:82d4) uhci_hcd : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #5 [SERIAL_USB] (vendor:8086 device:3a38 subv:1043 subd:82d4) uhci_hcd : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #4 [SERIAL_USB] (vendor:8086 device:3a37 subv:1043 subd:82d4) shpchp : Intel Corporation|4 Series Chipset PCI Express Root Port [BRIDGE_PCI] (vendor:8086 device:2e21) (rev: 03) unknown : Intel Corporation|4 Series Chipset DRAM Controller [BRIDGE_HOST] (vendor:8086 device:2e20 subv:1043 subd:82d3) (rev: 03) hub : Linux 4.4.16-desktop-1.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) hub : Linux 4.4.16-desktop-1.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) hub : Linux 4.4.16-desktop-1.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) usbhid : Gear Head|107-Key Keyboard [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:0b38 device:0010) usbhid : Darfon|USB Optical Mouse [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:0d62 device:a100) hub : Linux 4.4.16-desktop-1.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) hub : Linux 4.4.16-desktop-1.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) hub : Linux 4.4.16-desktop-1.mga5 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001) hub : Linux 4.4.16-desktop-1.mga5 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002) hub : Linux 4.4.16-desktop-1.mga5 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002) usb_storage : Generic|Mass Storage Device [Mass Storage|SCSI|Bulk-Only] (vendor:058f device:6364) hid_generic : Generic Mass Storage Device hid_generic : Darfon USB Optical Mouse hid_generic : HID 0b38:0010 hid_generic : HID 0b38:0010
pata_jmicron : JMicron Technology Corp.|JMB361 AHCI/IDE [STORAGE_IDE] (vendor:197b device:2361 subv:1043 subd:8387) (rev: 0
Is the pata_jmicron module loaded? $ lsmod |grep pata Can you post the contents of /etc/modprobe.conf
CC: (none) => cae
It loads every boot, I unloaded it to see if some other driver could take its place and make the drive function. It appears that no, it can't be. There is nothing in /etc/odprobe.conf or /etc/modprobe.conf.d about pata_jmicron.
ok, so this is as you noted the pata driver: pata_jmicron : JMicron Technology Corp.|JMB361 AHCI/IDE [STORAGE_IDE] (vendor:197b device:2361 subv:1043 subd:8387) (rev: 02) This is the same hw covered by the builtin ahci driver: unknown : JMicron Technology Corp.|JMB361 AHCI/IDE [STORAGE_SATA] (vendor:197b device:2361 subv:1043 subd:8387) (rev: 02) I guess this is one of the JMicron implementations that needs pci quirks to init correctly
indeed an old issue: https://bugs.mageia.org/show_bug.cgi?id=14786
*** Bug 14786 has been marked as a duplicate of this bug. ***
This could be an ASPM state issue. Can you test by booting the kernel with pcie_aspm=force Or even boot with acpi=off Does your DVD drive work if either of the above are used?
No it does not. The AHCI driver only covers the SATA portion of the board. A SATA DVD Drive will not exhibit this symptom.
Using pcie_aspm=force or acpi=off is ineffective. The same behavior is displayed from above.
Yeah, I see the specs for that controller is intentionally split between ahci and pata... an other thing that in the past had worked on similar hw was "noapic" but I cant say if it will help here...
I can no longer get the Nvidia Driver to build on Kernel 3.10.54, which was the last kernel the Drive worked on. If this does not get resolved I will have to go out and buy either a SATA to PATA Adapter or SATA DVD Drive. Its been some time, and every time I bring this issue to the fore front it gets delayed and delayed and delayed until the Distro version o Mageia "Expires" and gets marked OLD. I don't like having to replace working equipment for stupid reasons like this.
if you blacklist pata_jmicron, and load the old ide module jmicron, does that one work ?
did you try noapic? does booting with "libata.dma=1" change anything? Also, does it change anything if you have a media in the drive when you boot ? and what about doing: modprobe -r pata_jmicron modprobe pata_jmicron does that behave any diferently?
and I would still like to see the full content of /etc/modprobe.conf
No, no, no and no. I have done all of this before. Except the ide jmicron driver, everything otherwise described I have done. modprobe -r pata_jmicron modprobe pata_jmicron yeilds the same errors as seen in bootup. I will test the old ide jmicron driver. The rest of this I have dine before, noapic and libata.dma=1 and libata.dma=7 do nothing to change what is happening./
Original jmicron driver loads, but does nothing. It does notsee the drive. install scsi_hostadapter /sbin/modprobe pata_jmicron; /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe uhci_hcd; /bin/true options ipv6 disable=1 install ide-controller /sbin/modprobe ide_generic; /bin/true options libata dma=1
Ok, I found a mb that has a JMB363 chip too with similar "ahci / pata" split... Now I just need to find an old ide cdrom to test with.... It will probably take a week or so as I dont have energy to work 24/7 anymore...
@ Zombie Ryushu, Thank you for having taken the needed time to report this issue! @ Thomas and Charles, Thanks for having helped debug it Did this bug get fixed? If so, please change its status to RESOLVED - FIXED If it didn't, then we regret that we weren't able to fix it in Mageia 5. Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/ It only continued to get important security updates since then, because we are waiting for a big Plasma5 update in Mageia 6, that'll fix many of the Mageia 5 => 6 upgrade issues. If you haven't seen that this bug got fixed, then please check whether this bug still exists in Mageia 6. If it does, then please change the Version (near the top, at the left) to "6". If you know it exists in Cauldron, then change Version to Cauldron. If you see it in both Cauldron and Mageia 6, then please set Version to Cauldron and add MGA6TOO on the Whiteboard. Thanks, Marja
CC: (none) => marja11
It still exists in Mageia 6.
Version: 5 => 6
Mageia 6 changed to end-of-life (EOL) status on 2019-09-30. It is no longer maintained, which means that it will not receive any further security or bug fix updates. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version. Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't able to fix it before Mageia 6's end of life. If you are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete. If you would like to help fixing bugs in the future, don't hesitate to join the packager team via our mentoring program [1] or join the teams that fit you most [2]. [1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager [2] http://www.mageia.org/contribute/ Best regards, Aurélien Bugsquad Team
CC: (none) => ouaurelienStatus: NEW => RESOLVEDResolution: (none) => OLD
Resolution: OLD => (none)Version: 6 => 7Status: RESOLVED => REOPENED
Unit is still in service as a DVR. As a work around, the node now has a SATA DVD Drive.
Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja
Status: REOPENED => RESOLVEDResolution: (none) => OLD