Jmicron AHCI controller probs...

Bug #198871 reported by Foul
56
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Everytime i enable my jmicron controller, some weirds things appens :

   1. Mar 4 22:28:57 Foulnux kernel: [ 2491.287388] ata7: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xa frozen
   2. Mar 4 22:28:57 Foulnux kernel: [ 2491.287394] ata7: irq_stat 0x00000040, connection status changed
   3. Mar 4 22:28:57 Foulnux kernel: [ 2491.287396] ata7: SError: { DevExch }
   4. Mar 4 22:28:57 Foulnux kernel: [ 2491.287405] ata7: hard resetting link
   5. Mar 4 22:28:58 Foulnux kernel: [ 2492.009051] ata7: SATA link down (SStatus 0 SControl 300)
   6. Mar 4 22:28:58 Foulnux kernel: [ 2492.009060] ata7: EH complete
   7. Mar 4 22:31:40 Foulnux kernel: [ 2653.844574] ata7: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xa frozen
   8. Mar 4 22:31:40 Foulnux kernel: [ 2653.844579] ata7: irq_stat 0x00000040, connection status changed
   9. Mar 4 22:31:40 Foulnux kernel: [ 2653.844582] ata7: SError: { DevExch }
  10. Mar 4 22:31:40 Foulnux kernel: [ 2653.844591] ata7: hard resetting link
  11. Mar 4 22:31:41 Foulnux kernel: [ 2654.566686] ata7: SATA link down (SStatus 0 SControl 300)
  12. Mar 4 22:31:41 Foulnux kernel: [ 2654.566698] ata7: EH complete
  13. Mar 4 22:33:13 Foulnux kernel: [ 2746.475769] ata7: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xa frozen
  14. Mar 4 22:33:13 Foulnux kernel: [ 2746.475775] ata7: irq_stat 0x00000040, connection status changed
  15. Mar 4 22:33:13 Foulnux kernel: [ 2746.475777] ata7: SError: { DevExch }
  16. Mar 4 22:33:13 Foulnux kernel: [ 2746.475786] ata7: hard resetting link
  17. Mar 4 22:33:14 Foulnux kernel: [ 2747.198708] ata7: SATA link down (SStatus 0 SControl 300)
  18. Mar 4 22:33:14 Foulnux kernel: [ 2747.198716] ata7: EH complete
  19. Mar 4 22:37:27 Foulnux kernel: [ 2999.853027] ata7: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xa frozen
  20. Mar 4 22:37:27 Foulnux kernel: [ 2999.853034] ata7: irq_stat 0x00000040, connection status changed
  21. Mar 4 22:37:27 Foulnux kernel: [ 2999.853036] ata7: SError: { DevExch }
  22. Mar 4 22:37:27 Foulnux kernel: [ 2999.853046] ata7: hard resetting link

When disabled ... no probs...

Kubuntu 7.10
Linux Foulnux 2.6.24-8-rt #1 SMP PREEMPT RT Wed Feb 13 04:20:09 UTC 2008 i686 GNU/Linux
Abit X38 QuadGT motherboard

Tags: cft-2.6.27
Revision history for this message
DesktopMan (christian-auby) wrote :

Exactly the same happens to me. Asus X38 Maximus formula, ICH9R. If the jmicron controller is enabled I get the same errors as you do. Ironically I can use the IDE part of the jmicron controller, but it even prevents other SATA controllers (like the onboard AHCI controller) working.

Revision history for this message
Kai Blin (kai.blin) wrote :

I'm seeing the same problem on my MSI P35 Neo3 board. I don't have any drives connected to the SATA ports of the controller, unfortunately I need it for my PATA DVD drive.

Disabling the JMicron controller from the BIOS stops these messages from appearing.

So the guilty piece of hardware seems to be
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)

From looking around online, it seems there are lots of reports about that controller working, but they seem to be connected to rev 02 of the controller.

Revision history for this message
Kai Blin (kai.blin) wrote :

Now the real funny part follows.
I've moved my SATA hdd from the ICH9 controller to the JMicron controller. Now I don't get any error messages anymore. Seems like the driver is unhappy if it doesn't get to control a SATA drive.

Can anybody check if that's not just by BIOS being funny?

Revision history for this message
Foul (foulweb) wrote :

Exactly the same bug under Ubuntu 8.04...

Need FIX !!!

Revision history for this message
Giuseppe Calà (jiveaxe) wrote :

Same error for me. I have an Asrock 939Dual-SATA2 with a sata II hard disk and a pata dvd writer on ide1.

The motherborad mounts a JMicron 20360/20363 AHCI Controller, but I don't know wich controller the hard disk uses.

Attacched there is the log of lspci -vv

P.S. I'm using ubuntu 8.04 with 2.6.24-17-generic kernel.

Revision history for this message
Sorinello (sorinello) wrote :

same problem here too ... i have a DFI LP U35-T2R with JMicron ATA controller. Disabling the controller is the only way to get rid of the messages. This is a VERY annoying thing for someone who uses command line, and NO display manager. This annoying think, i don't know if i should call it a BUG is present in Ubunru 7.10 too. A fix should be mandatory.

Revision history for this message
Kai Blin (kai.blin) wrote :

I'm afraid this might be due to hardware issues after all. Recently, my board refused to boot up from the hard disk at all, so now I've replaced it with another board of the same model and the errors are gone now. I've been running the new board for a day now and I didn't get a single of those SATA bus resets.

Revision history for this message
Arie Skliarouk (skliarie) wrote :

The same messages on board ASUS Commando with JMicron SATA controller under 2.6.24-19-openvz kernel.

On 2GB of memory, everything works fine.

On 4GB of memory writing to disk causes data corruption! The data corruption happen on copying big files (700MB). Before running md5sum, make sure to clean memory by doing memtester with MAX-200MB parameter.

I tried BIOS IDE configuration to be in "Compatible", "Enhanced+RAID", "Enhanced+IDE", "Enhanced+AHCI" settings, but the data corruption persisted.

If I slow down the disk as much as possible (No Multiple sectors transfer, PIO 0, slowests DMA), the data corruption occurs only once per about 2.5 GB.

There is a thread on LKML about similar problem: http://lkml.org/lkml/2007/8/7/433

Revision history for this message
Arie Skliarouk (skliarie) wrote :

Disregard my previous comment. Turns out I had faulty DIMM (of 2GB). It is interesting however, that the same DIMM worked on the other machine with identical hardware...

Revision history for this message
Daniel Moerner (dmoerner) wrote :

This bug is present in Intrepid Alpha 3 as well. This controller works fine under 2.6.25.4 on SystemRescueCD and with Lenny Beta 2 installer. This ubuntu-specific.

Revision history for this message
Daniel Moerner (dmoerner) wrote :

This is NOT a kernel bug. Using debootstrap to build Intrepid Ibex from a running Gentoo system allows it to boot and recognize the JMicron controller. I will try to test precisely what is causing this bug to occur--now I suspect it's something related to hal if it isn't a kernel bug.

Changed in linux:
status: New → Confirmed
Revision history for this message
Daniel Moerner (dmoerner) wrote :

Attached are uname, version_signature, lspci, dmesg from working debootstrapped intrepid install. Equivalent from broken livecd on the way.

Revision history for this message
Daniel Moerner (dmoerner) wrote :
Revision history for this message
Daniel Moerner (dmoerner) wrote :
Revision history for this message
Daniel Moerner (dmoerner) wrote :
Revision history for this message
Daniel Moerner (dmoerner) wrote :

I was wrong. Intrepid Alpha 3 LiveCD does work. Gutsy/Hardy Heron do not work. Intrepid boot.img.gz build on July 15, 2008 does not work. The relevant data from that busybox shell is attached. It is entirely possible at this point that the fix was committed in the last 15 days between the build of this boot.img.gz and today.

Revision history for this message
Daniel Moerner (dmoerner) wrote :
Revision history for this message
Daniel Moerner (dmoerner) wrote :
Revision history for this message
Daniel Moerner (dmoerner) wrote :
Revision history for this message
Ubehage (ubehage) wrote :

I also have problems with the JMicron controller.

When I start Ubuntu LiveCD, everything looks normal.. The bar slides from side to side.
Then, at the point where the bar should start to fill and boot into the graphical interface, it stops and send me to a command-prompt.
And I can do absolutely nothing..

If I try the Installer CD, it prompts me an error that no harddrives are found - and the system halts. Completely halts.

After disabling the JMicron controller, everything works fine.

My hardware is:
- ABit IP35 Pro motherboard,
- 2GB Kingston ValueRAM PC2-6400,
- 2x SATA dvd-rw,
- 2x SATA2 750GB hdd.

If I remove the hdd's, I can boot Ubuntu without disabling the JMicron controller. But what would be the point of that :)

Revision history for this message
Sam Grönblom (sgronblo-gmail) wrote :

I get exactly the same output spinning forever in my ctrl+alt+f4 terminal as in the initial post for this bug. That's the syslog? This has prevented me from installing Ubuntu for a whole year already. I've also tried messing with various BIOS settings but nothing seems to help. The effect of the ata exceptions and errors is that the install CD integrity check fails occasionally and for different files most of the time. Even though it sometimes succeeds I've never managed to get a full install to work. Usually it craps out with a file is corrupt warning pretty early. I noticed sometimes the exceptions and errors are reported for ata3 and sometimes for ata7.

I've got an Asus P5K motherboard with that annoying JMicron controller. If I understand my hardware layout correctly I have a PATA DVD-Drive which is "converted" to SATA through the JMicron controller. Does this sound reasonable?

I've been putting up with Vista for a year without being able to install ubuntu on my main PC :(

Revision history for this message
Sam Grönblom (sgronblo-gmail) wrote :

Ok, today I went to my local computer shop. Bought a new SATA DVD-RW for about 25 e, inserted into my PC. Disabled the Jmicron controller in the BIOS... and everything works beautifully. Now I'm running Ubuntu and while I feel very relieved I also feel really annoyed that it took me a whole year to just realise that it was fixable by just getting a new cheap drive... Well I probably won't be able to use any PATA devices on this PC, but for now I'm happy with this.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Foul (foulweb) wrote :

Just tested with Ubuntu Intrepid Alpha 5 :

Always the same errors ..

see logs ..

Revision history for this message
Foul (foulweb) wrote :
Revision history for this message
Foul (foulweb) wrote :
Revision history for this message
am28111 (am28111) wrote :

Has anyone tried alpha 6? I will try it as I have the same problem as well.

Revision history for this message
am28111 (am28111) wrote :

I am currently using Alpha 6 now, and I can say that it works for me just fine. I am not sure if this is because of a BIOS update or using Intrepid, but either way, it works.

Revision history for this message
Foul (foulweb) wrote :

Always the same bug for me with beta 1 :(

Revision history for this message
Alex (damage22) wrote :

Similar bug on my PC.

HW:
-Asus P5K Motherboard with Intel P35 chipset (ICH9) and onboard JMicron SATA controller.
-Seagate Barracuda (SATA, 250GB), originally plugged to the JMICRON SATA.
-Optiarc DVD-ROM (SATA)
(-Seagate Barracuda (SATA, 160), but was unplugged all the time)

SW:
-Latest BIOS (can check the version num. if needed)
-ICH9 is set to IDE (no other options), JMicron is set to Enabled, AHCI
-Ubuntu 8.10 (downloaded a standart CD the second day it was released)

Prob:
I booted to LiveCD and started the installation. When the installation process gets to file copying, i get a #5 IO error (Can't copy files to HDD)

Then I plugged the HDD to ICH9 SATA port, and set JMICRON to Enabled, IDE.
The installation was smooth (although the partition wizard was working very slowly both this time and the previous try).
After rebooting, I booted Ubuntu as usual, but I got an error message, that it can't login as root.
The only thing availible was busybox. Then it gets stuck at initramfs with "ata2: COMRESET failed" error. Booting in safemode didn't make any difference.

My solution:
I connected the HDD back to JMicron controller and switched it to AHCI mode. After that it worked just fine. I tried switching JMicron to IDE, but it still works.

Revision history for this message
sideshowmel (sideshowmellemel) wrote :

I've seen this problem in Debian Etch and Lenny, as well as Ubuntu Intrepid. All were running RAID1 with mdadm.

I can give more details. Once it starts, it's hard to get rid of. Reboots, mdadm (remove, zero superblock, then add), fsck don't help. Compatibility mode, configuring in BIOS... no change. both disk check out.

If I change the SATA ports I can usually get rid of it, but it comes back again within a week or two, usually after a few days of system uptime.

I really doubt this is hardware problem... I have run countless diagnostics under several different operating systems, including MS Windows. All show no HW issues. My syslog is attached, let me know if I can provide additional logs. BTW this is currently an issue on my Intrepid machine with all the latest updates as of Jan 2, 2009.

Revision history for this message
sideshowmel (sideshowmellemel) wrote :

also I left some other details on my post here:
http://ubuntuforums.org/showthread.php?p=6358980

Revision history for this message
sideshowmel (sideshowmellemel) wrote :

Also I didn't think about it until reading through this thread, but it seems to most often happen after I try to do a large file copy (over about 1GB) or after several days of system uptime. I would say that one of those two situations occur just prior to me seeing this problem almost every time. Hope that helps...

Revision history for this message
sideshowmel (sideshowmellemel) wrote :

So it would appear that this is, in fact a hardware issue (at least in my case). Like I said, my mem, mobo, proc, and HDD's all were good. The one thing I never considered: power supply.

It would appear that one of my drives was consistently receiving too little power. It just occured to me out of the blue when I was sitting there dealing with this problem and heard what I thought were my fans spinning down, then back up again, within 2 seconds.

I had been using a splitter that splits one Molex 4-pin adapter into 2 SATA power adapter. I changed the wire configurations around so that each 4-pin Molex was only allocated one HDD per. Since then I show 2 days of system uptime with no recurrence of this problem.

I've since ordered a new power supply, as this one is most certainly about to die.

Thanks for the responses, everyone. Sorry to waste time and effort!

Revision history for this message
Maximus (a-bit-of-vodka) wrote :

I had the same problem on Ubuntu 8.04 either I have it on Ubuntu 8.10 with the Tsunami USB/eSATA external HDD case.
When it plugged via USB it works, but via eSATA (JMicron 20360/20363 AHCI Controller (rev 02) as listed in lspci) it fails with same messages as in first post.

Revision history for this message
Maximus (a-bit-of-vodka) wrote :

Just checked my HDD case on other system -- it works both in USB/eSATA modes. That system has an Intel SATA controller, running under Ubuntu 8.10

Revision history for this message
fermulator (fermulator) wrote :

I'm experiencing the same issues with AHCI configured.

Running the Intel DG43NB with this JMicron controller card onboard ..:
{{{
$ lspci | grep JMicron
02:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller
}}}

Running this kernel:
{{{
$ uname -a
Linux ubuntu-computer 2.6.24-23-server #1 SMP Mon Jan 26 00:55:21 UTC 2009 i686 GNU/Linux
}}}

When a HDD is plugged in:
{{{
ata4: irq_stat 0x000000040, connection status changed
ata4: SError: { DevExch }
ata4: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xa frozen

ata4: irq_stat 0x000000040, connection status changed
ata4: SError: {CommWake DevExch }
ata4: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xa frozen
}}}
... and repeat, over and over again.

If I remove the HDD drive, the errors stop.

Trying to configure the SATA controller as "Native IDE" ... no SATA drives are detected.

---

How can I go about trying a newer kernel?

Revision history for this message
fermulator (fermulator) wrote :

HA!

Fixed this problem. As per above I was running ubuntu hardy with kernel 2.6.24-23. Upgrading to the latest Intrepid stable kernel solved this problem for me!

Here's what I did:

Add the Intrepid repository temporarily by appending the following to /etc/apt/sources.list:
{{{
# Temporary Repositories to pull new Intrepid kernel
deb http://ca2.archive.ubuntu.com/ubuntu intrepid main restricted
deb-src http://ca2.archive.ubuntu.com/ubuntu intrepid main restricted
}}}

Update the repo cache:
{{{
sudo apt-get update
}}}

Determined what the latest repository was:
{{{
sudo aptitude search linux-headers-*
}}}

Learned it to be 2.6.27-7! ... so install it!
{{{
sudo apt-get install linux-backports-modules-2.6.27-7-generic linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic linux-image-2.6.27-7-generic linux-restricted-modules-2.6.27-7-generic linux-source-2.6.27 linux-doc-2.6.27
}}}
(notice I went overboard on WHAT to install ... because frankly I didn't know what I did and did not require ...)

After a few minutes, the kernel was installed, and headers updated in /boot/grub/menu.lst.

Restarted the server first (to make sure nothing blew up...). Everything looked fine, so I shutdown the server. Installed a SATA drive to the 82801JI (ICH10 Family) SATA AHCI Controller.

Here's an output (filtered) of "sudo lspci -C Storage":
{{{
        *-storage
             description: SATA controller
             product: 82801JI (ICH10 Family) SATA AHCI Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             logical name: scsi3
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list emulated
             configuration: driver=ahci latency=0 module=ahci
}}}

No more errors! Looks like at some point in the kernel this issue was fixed. Simply upgrade to a later distro, or upgrade your kernel, and you should be fine.

PS: Don't forget to remove the temporary repo entries in /etc/apt/sources.list and follow with an apt-get update.

Revision history for this message
Foul (foulweb) wrote :

i'm on Kubuntu 8.10 with Kernel 2.6.27-11 and the bug is always her for me :(

Revision history for this message
fermulator (fermulator) wrote : Re: [Bug 198871] Re: Jmicron AHCI controller probs...

How are you running 2.6.27-11? When I updated (yesterday), the latest
in the repositories was 2.6.27-7 ...

Perhaps consider trying to downgrade to 2.6.27-7? (I know downgrading
sucks, but I only had access to -7 to try...)

-------- Original Message --------
From: Foul <email address hidden>
Sent: Mon 02 Feb 2009 06:01:40 AM EST
To: <email address hidden>
Subject: [Bug 198871] Re: Jmicron AHCI controller probs...

i'm on Kubuntu 8.10 with Kernel 2.6.27-11 and the bug is always her for
me :(

Revision history for this message
Foul (foulweb) wrote :
Download full text (4.2 KiB)

foul@Foulnux:~$ uname -a
Linux Foulnux 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
foul@Foulnux:~$

foul@Foulnux:~$ cat /etc/apt/sources.list
# deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ intrepid universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse univers...

Read more...

Revision history for this message
Stu (stu-doherty) wrote :

I'm having this issue as well. I have an Asus P5K-E motherboard. Running Gutsy 7.10 (kernel 2.6.22.-16). It appeared to happen out of nowhere 2 days ago. I disabled the JMicron chipset on the motherboard and the messages have gone away.

It might just be a coincidence, but my interest was piqed by the above suggestion that there may be power supply issues. My computer seemed to hum louder than normal. I opened up the case and discovered the main case fan was not spinning (and therefore the CPU fan was working harder). As soon as I opened the case I heard the CPU fan speed start to go down. SOOO, its possible that:
A) The JMicron chips are sensitive to heat? I had no problem for the last 10 months or so, and this just came on. No hardware config change, and no major software changes I'm aware of.
B) Maybe my power supply is dying and the plug I was using to power the fan was just the first one to go...not sure if that makes sense.

Revision history for this message
Petter (pettno) wrote :

This should clarify some of these problems:
http://www.dailytech.com/Exclusive+Interview+With+JMicron+on+SSD+Controllers/article14004.htm

...and possibly help in finding some cind of sofware fix for the hardware bugs.

Revision history for this message
Maximus (a-bit-of-vodka) wrote :

Still have the same dmesg output as original on Ubuntu 9.10 (2.6.31-16-generic-pae) on ASUS M50Sv (BIOS v207, 210) notebook when plugging eSATA drive. eSATA drive doesn't work.

Same eSATA case with the same HDD and the same cable works on another workstation, so that's definitely not a cable/box/hdd issue.

lshw output is attached.

Revision history for this message
mrq1 (kubuntu-bugreporter) wrote :
Download full text (5.0 KiB)

here the same with revision 3 of the controller

03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)

[ 7471.163585] ata2: SATA link down (SStatus 0 SControl 310)
[ 7471.163596] ata2: EH complete
[ 7471.278287] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
[ 7471.278294] ata2: irq_stat 0x00000040, connection status changed
[ 7471.278298] ata2: SError: { CommWake DevExch }
[ 7471.278304] ata2: limiting SATA link speed to 1.5 Gbps
[ 7471.278307] ata2: hard resetting link
[ 7472.476783] ata2: SATA link down (SStatus 0 SControl 310)
[ 7472.476795] ata2: EH complete
[ 7472.619770] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4060000 action 0xe frozen
[ 7472.619779] ata2: irq_stat 0x00000040, connection status changed
[ 7472.619784] ata2: SError: { PHYInt CommWake DevExch }
[ 7472.619793] ata2: limiting SATA link speed to 1.5 Gbps
[ 7472.619796] ata2: hard resetting link
[ 7474.873720] ata2: COMRESET failed (errno=-32)
[ 7474.873735] ata2: reset failed (errno=-32), retrying in 8 secs
[ 7482.593838] ata2: hard resetting link
[ 7485.008447] ata2: COMRESET failed (errno=-32)
[ 7485.008459] ata2: reset failed (errno=-32), retrying in 8 secs
[ 7492.568981] ata2: hard resetting link
[ 7494.024840] ata2: SATA link down (SStatus 0 SControl 310)
[ 7494.024851] ata2: EH complete
[ 7494.083135] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4060000 action 0xe frozen
[ 7494.083143] ata2: irq_stat 0x00000040, connection status changed ...

Read more...

Revision history for this message
menthurae (menthurae) wrote :
Download full text (3.9 KiB)

--------------------------------------------------------------------------------------------------------------------
Temporary Solution?
--------------------------------------------------------------------------------------------------------------------

I think I have a possible temporary solution...

* Limit your eSATA drives on JBM363 controllers to 1.5Gbps operatiton (via a jumper on Seagate drives)
* Plug the drive into the eSATA port, dmesg | tail should show it being detected

--------------------------------------------------------------------------------------------------------------------
Background...
--------------------------------------------------------------------------------------------------------------------

Hey everyone, I think I have a temporary solution... I'm not sure if this can be fixed in software or not?

Anyway... I have an ASUS P5K Deluxe with JMB363 on Ubuntu 9.04 64-bit (2.6.28-17-generic). Previously on this installation I had a Gigabyte P35 DQ6 which also used the JBM363, there were no problems with eSATA on the DQ6 board.

With the P5K however, eSATA does not work:

> dmesg | tail

--------------------------------------------------------------------------------------------------------------
[ 113.233690] ata7: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0xe frozen
[ 113.233694] ata7: irq_stat 0x00000040, connection status changed
[ 113.233697] ata7: SError: { PHYRdyChg CommWake DevExch }
[ 113.233702] ata7: hard resetting link
[ 119.160019] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 119.160025] ata7: link online but device misclassified, retrying
[ 119.160027] ata7: reset failed (errno=-11), retrying in 5 secs
[ 123.232014] ata7: hard resetting link
[ 113.233694] ata7: irq_stat 0x00000040, connection status changed
[ 113.233697] ata7: SError: { PHYRdyChg CommWake DevExch }
[ 113.233702] ata7: hard resetting link
[ 119.160019] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 119.160025] ata7: link online but device misclassified, retrying
[ 119.160027] ata7: reset failed (errno=-11), retrying in 5 secs
[ 123.232014] ata7: hard resetting link
[ 129.160022] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 129.160028] ata7: link online but device misclassified, retrying
[ 129.160030] ata7: reset failed (errno=-11), retrying in 5 secs
[ 139.164032] ata7: reset failed (errno=-11), retrying in 30 secs
[ 168.232009] ata7: limiting SATA link speed to 1.5 Gbps
[ 168.232013] ata7: hard resetting link
--------------------------------------------------------------------------------------------------------------

After much head scratching and confusion, I decided to try limiting the drive (a 750GB Seagate 7200.11) to SATA-I speeds via its onboard jumper. I then connected the drive... lo and behold, IT WORKED!

> dmesg | tail

--------------------------------------------------------------------------------------------------------------
[61622.384301] sd 7:0:0:0: [sdk] Attached SCSI disk
[61622.384366] sd 7:0:0:0: Attached scsi generic sg11 type 0
[61622.355200] sd 7:0:0:0: [sdk] Write Protect is off
[61622.3552...

Read more...

Revision history for this message
Michael Sotnikov (stari4ek) wrote :

Same problem on lucid lynx alpha2.
Motherboard ASRock P55 Pro, which has JMB363 PCIe. If it's turned on I have:

$ dmesg | grep ata2
[ 0.852604] ata2: SATA max UDMA/133 abar m8192@0xf7ffe000 port 0xf7ffe180 irq 19
[ 1.201805] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.223457] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen t4
[ 1.223459] ata2: irq_stat 0x00000040, connection status changed
[ 1.223460] ata2: SError: { DevExch }
[ 1.223463] ata2: hard resetting link
[ 1.970649] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.970720] ata2: EH complete
[ 2.097664] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen
[ 2.097746] ata2: irq_stat 0x00000040, connection status changed
[ 2.097802] ata2: SError: { DevExch }
[ 2.097858] ata2: limiting SATA link speed to 1.5 Gbps
[ 2.097913] ata2: hard resetting link

-------------------- CUT (same errors) ----------------------------------

[ 125.105961] ata2: COMRESET failed (errno=-32)
[ 125.105969] ata2: reset failed (errno=-32), retrying in 8 secs
[ 132.741690] ata2: hard resetting link
[ 135.127255] ata2: COMRESET failed (errno=-32)
[ 135.127263] ata2: reset failed (errno=-32), retrying in 8 secs
[ 142.723036] ata2: hard resetting link
[ 145.068657] ata2: COMRESET failed (errno=-32)
[ 145.068665] ata2: reset failed (errno=-32), retrying in 33 secs
[ 177.657790] ata2: hard resetting link
[ 179.923576] ata2: COMRESET failed (errno=-32)
[ 179.923583] ata2: reset failed, giving up
[ 179.923588] ata2: EH complete

But if I disable it in BIOS (It's called "eSATAII & IDE1" there), I get only:

$ dmesg | grep ata2
[ 0.859005] ata2: SATA max UDMA/133 cmd 0xa880 ctl 0xa800 bmdma 0xa488 irq 19
[ 1.560790] ata2.00: SATA link down (SStatus 0 SControl 300)
[ 1.560861] ata2.01: SATA link down (SStatus 0 SControl 300

And sometimes my system just hangs during the boot (when controller was turned on)

Revision history for this message
Юрий Чудновский (fqc) wrote :

[19010.031341] ata10: SATA link down (SStatus 0 SControl 310)
[19010.031351] ata10: EH complete
[19010.098949] ata10: exception Emask 0x10 SAct 0x0 SErr 0x4060000 action 0xe frozen
[19010.098953] ata10: irq_stat 0x00000040, connection status changed
[19010.098956] ata10: SError: { PHYInt CommWake DevExch }
[19010.098962] ata10: limiting SATA link speed to 1.5 Gbps
[19010.098965] ata10: hard resetting link

continuously. 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 x86_64 GNU/Linux cornel; 4 GB memory, memory remap feature enabled, ASUSTech P5B motherboard, BIOS Revision: 8.12, Intel(R) Core(TM)2 Duo CPU E7200, 82P965/G965 Memory Controller Hub, GeForce 8600 GT, JMB362/JMB363 Serial ATA Controller, have no problem before install 2 GB memory module.

Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.