JMicron controller issues + how do I permanently remove a module from the kernel?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
JMicron controller issues + how do I permanently remove a module from the kernel?
I have a Gigabyte GA-965P-DS3 (rev 2.0, BIOS F8) motherboard with a JMicron JMB363 controller. I've gotten persistent error messages of all kinds. I'm attempting to weed out every sort of warning/error I get out of this board.
Some looked like (log1):
Code:
[ 211.655845] hde: timeout waiting for DMA
[ 216.851704] hde: status timeout: status=0xd0 { Busy }
[ 216.851710] ide: failed opcode was: unknown
[ 216.851741] hde: drive not ready for command
[ 216.902180] hde: ATAPI reset complete
Others (log2):
Code:
[ 1316.692439] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 1780.785741] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 1864.803208] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
Still others (log3, accompanied by heavy CPU-processed I/O and freezing): (this has been solved however, by enabling DMA mode)
Code:
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287774] warning: many lost ticks.
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287777] Your time source seems to be instable or some driver is hogging interupts
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287787] rip __do_softirq+0x51/0xc3
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287789] Falling back to HPET
Now, with log1, I have no idea what is happening. It's as if random data was flowing through the controller all day long. Last night I had a dmesg full of errors like log1 (occuring every 3 seconds), even the kernel initialization log got knocked out of syslog because there were so many JMicron errors.
The oddest thing about this is that it only happens on some boot-ups. (I have been messing with ide2=autotune to enable DMA and such, so I am not sure if that has been affecting it.)
With log2, it just happens every so often (maybe every five minutes). It's still annoying though and I don't know what is causing it. It does happen while being mounted. I am testing as we speak if it still occurs in an unmounted state, but it is sporadic so it'll still be hard to tell for sure.
For my JBM368 controller there seem to be several modules.
One set includes ata_generic and pata_jmicron, and the other is simply libata (as far as I know). From what I've read, pata_jmicron provides "basic" support and libata provides full support. I've done `sudo modprobe -r pata_jmicron` and `sudo modprobe -r ata_generic` and it seems to have curbed the error output. I am not sure if it was because those drivers were conflicting, or whether those drivers were just plain unstable as all get out. My only problem now is removing them from my kernel. I reboot and they're back in lsmod. How do I permanently unload those modules?
Update: Apparently now my '/dev/hde' DVD drive is 'getting confused' after unmounting '/dev/hdf'. I did forget to mention both drives on the JMB368 controller are DVD recorders. It looks like which drives are mounted has no bearing as to what drive the error is originating from or whether the error happens. I have unmounted both and it is still occurring on /dev/hde.
JMicron controller issues + how do I permanently remove a module from the kernel?
I have the same problem with a Gigabyte 965P S3 board running the 2.6.18 kernel.
According to all the information I've found, the 2.6.18 kernel provides support for the JMicron PATA support. I upgraded from the 2.6.17 kernel that did not have this support, and with the newer kernel, the CDROM/DVD is recognized - an improvement.
The CDROM/DVD seems to work fine but the occasional system stutter is new with the 2.6.18 kernel as are the log file error messages... disturbing.
Sorry I don't have a fix but I am interested, too.
It is all a bit odd, originally my hard disk was on hda and the cdrom would freeze. Then I tweeked my kernel settings and now the hard disk is on sda and the cdrom has vanished. 2.19 upwards is supposed to have jmicron support. I have it in the kernel menu, but then there were problems with the nvidia drivers so I gave up. Will try again soon.
Feb 7 22:36:31 localhost kernel: ide: failed opcode was: unknown
Feb 7 22:36:31 localhost kernel: hde: drive not ready for command
Feb 7 22:36:33 localhost kernel: hde: status error: status=0x58 { DriveReady SeekComplete DataRequest }
Using Gigabyte P965-DS3 as well with Fedora Core 6 (kernel version 2.6.19-1.2895.fc6)
I also have this weird issue where the system 'thinks' there is a CD in there but there isn't, and I can't eject it without issuing a bogus mount command. (even lsof turns up nothing)
I've already set AHCI mode on my BIOS settings.
NOt too sure what else its actually doing though in terms of errors - I can read / write data discs fine, even use DVD shrink in wine. Playing audio CDs however gives me this horrible hiss. Ah The joys of using new hardware in linux
I'm not sure this is the right place for this question, but maybe I'm lucky.
I have (also) a Gigabyte P965 DS3 Mother board, And I would like to mount a dual boot (Linux,Win2k) on a RAID 0Disk (2*320G).
Once the Raid mounted and Win2K instaled, I do not succed in instaling linux : ubuntu doesn't see the raid (even providing dodmraid to the kernel) and Mandriva see the raid but without beiing able to acces it.
This is (in my mind) a problem with the Jmicron controller. How do you think I can bypass this problem (without removing the Raid ?)
So you guys got it installed at least. I cant get Suse 10.2 to finish installing. I run the install and it doesnt find the cd, so i insmod the jmicron and generic ide and it see's it. Then i load the os, it finishes and reboots AND HANGS. Someone said to add blacklist intel_agp to the modprobe.conf.local so i did and still no go. PLEASE LET ME KNOW the secret to getting this to work...
I have Linux up and running perfectly on my P965 S3; network, cd, sata. I am running gentoo with the 2.6.20-gentoo kernel. The kernel has driver support for all the hardware on this board. See this post for details on how to set up your kernel.
BTW I did a manual install (ie I did it from the gentoo minimal cd and built from a stage 3 tarball), this may be the best way to get Linux running on this board at the moment as the kernels found on live cds are not very recent.
So you guys got it installed at least. I cant get Suse 10.2 to finish installing. I run the install and it doesnt find the cd, so i insmod the jmicron and generic ide and it see's it. Then i load the os, it finishes and reboots AND HANGS. Someone said to add blacklist intel_agp to the modprobe.conf.local so i did and still no go. PLEASE LET ME KNOW the secret to getting this to work...
My secret was to install a PCI IDE controller. I was never able to get Linux to install. I have nothing hanging from the JMicron connector, but still get the same strange messages the others are getting in the syslog, however they don't affect the performance of the system as far as I can tell.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.