You are not logged in.

#1 2007-08-20 01:26:00

XazZ
Member
From: Munich, Germany
Registered: 2006-12-30
Posts: 72

Problems with JMicron-PATA-controller

Hi..

Two weeks ago I purchased new PC-components.
My new mainboard is an ASUS P5K Deluxe
It has a JMicron PATA-Controller onbaoard..
My two IDE-drives (DVD-rom and DVD-writer) are connected to this controller

[XazZ@darklight ~]$ lspci | grep IDE
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)

Now this message spams my dmesg:

hda: cdrom_pc_intr: The drive appears confused (ireason = 0xd0). 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.
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command

I already searched for a solution - and someone suggested to add pci=routeirq to the kernel command-line (in my menu.lst)
I did that but it had no effect

In my kernel-config I activated the following options:
Device Drivers  ---> <M> Serial ATA (prod) and Parallel ATA (experimental) drivers  ---> <M>   AHCI SATA support
<M>   Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
<M>   JMicron PATA support

If you need more information - just tell me

Thanks in advance
XazZ

Offline

#2 2007-08-20 04:51:47

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Problems with JMicron-PATA-controller

check with lsmod and you will probably find both modules loaded, the new pata_jmicron and the old jmicron module. this can be solved with blacklisting one of these modules in rc.conf depending on what behavior you want.

Offline

#3 2007-08-20 15:51:52

XazZ
Member
From: Munich, Germany
Registered: 2006-12-30
Posts: 72

Re: Problems with JMicron-PATA-controller

Thanks for the reply
I think you are right

But I solved my problem a bit different:
After I've read your post I wanted to disable the old jmicron module in my kernel-config but I couldn't find it...
Then I opened

linux-2.6.22/drivers/ide/pci/Makefile

with an editor
There I've removed the following line:

obj-$(CONFIG_BLK_DEV_JMICRON)          += jmicron.o

After that I've saved the Makefile and build my kernel

-> Works nice until now (tested it for ~30 - 45 minutes) - no dmesg spam anymore
After patching the Makefile:

[XazZ@darklight pci]$ lsmod | grep jmicron
pata_jmicron            4608  0
libata                108084  3 ata_generic,pata_jmicron,ahci

Before I patched it, only the module jmicron was loaded (pata_jmicron *wasn't* loaded)

Thanks for your hint/solution
XazZ

Offline

#4 2007-08-20 16:04:26

kano
Member
From: Michigan
Registered: 2007-05-04
Posts: 185
Website

Re: Problems with JMicron-PATA-controller

You could of saved alot of time just by adding jmicron to MOD_BLACKLIST in rc.conf. >.<
also, the way you removed it is not the "proper" way of doing it. If you want to remove a module from the kernel, then run make menuconfig and unselect it. but just adding jmicron to MOD_BLACKLIST would of done the trick wo/ a recompile.


\\ archlinux on a XPS M1530 //

Offline

#5 2007-09-09 09:01:08

rgr
Member
Registered: 2007-09-09
Posts: 3

Re: Problems with JMicron-PATA-controller

How did you install though? No distro I have tried sees my DVD rom at boot after the installer loads. (P5K SE mobo with IDE DVD).

Offline

#6 2007-09-09 09:26:13

XazZ
Member
From: Munich, Germany
Registered: 2006-12-30
Posts: 72

Re: Problems with JMicron-PATA-controller

rgr wrote:

How did you install though? No distro I have tried sees my DVD rom at boot after the installer loads. (P5K SE mobo with IDE DVD).

I didn't had to reinstall arch..
I just used my previous installation and just used a "generic" (non-optimized) kernel

Try using the ide-legacy option when you boot from your Arch Install CD

XazZ

Last edited by XazZ (2007-09-09 09:26:41)

Offline

Board footer

Powered by FluxBB