linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: Robert Hancock <hancockrwd@gmail.com>,
	Jeff Garzik <jgarzik@pobox.com>,
	Seth Heasley <seth.heasley@intel.com>,
	linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: JMB363 false hotplug detections
Date: Tue, 19 Jan 2010 17:57:59 +0900	[thread overview]
Message-ID: <4B557417.6030806@kernel.org> (raw)
In-Reply-To: <m3eilocwmz.fsf@intrepid.localdomain>

Hello,

On 01/18/2010 05:19 AM, Krzysztof Halasa wrote:
> http://lkml.org/lkml/2010/1/13/342
> http://lkml.org/lkml/2010/1/15/245

Definitely looks like electrical problem to me.  The controller is
repeatedly reporting spurious hotplug events and the problem is not
universal to the controller either.  I've played with several
different jmb363s and they all worked just fine.  It would be
interesting to see whether the problem is reproducible on different
boards of the same model.

> BTW setting the JMB363 mode in BIOS setup from IDE to AHCI or RAID
> (thus enabling JMB363 BIOS) changes nothing.

That's expected.  The controller is always put into ahci mode during
intialization regardless of the mode programmed by the bios.

> The only weird thing is that some time ago the problems weren't there.
> It could be genuine hardware problem. I have full kernel logs. Sometimes
> the same kernel (build) is "good" at one time and "bad" at another.
> 
> I had booted the board (with JMB363 and the driver enabled) 57 times.
> Out of these, there was no problems 16 times (date-hrs-result):
...
> There are no significant kernel log differences between *good and *bad
> (excluding the AHCI messages). Sometimes the exceptions were sporadic,
> like in 09-01-12:53-bad case:
> 
> Sep  1 12:53:38 Machine booted
> Sep  1 13:02:33 ata8: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
> Sep  1 13:02:33 ata8: irq_stat 0x00000040, connection status changed
> Sep  1 13:02:33 ata8: SError: { CommWake DevExch }
> Sep  1 13:02:33 ata8: hard resetting link
> Sep  1 13:02:34 ata8: SATA link down (SStatus 0 SControl 300)
> Sep  1 13:02:34 ata8: EH complete
> Sep  1 15:47:12 Machine rebooted
> 
> Perhaps I should really check these resistors around the JMB363 chip,
> and maybe using a vacuum cleaner is a good idea? I think I will do.
> 
> It's certaing there was nothing connected do JMB363 SATA. I don't know
> BIOS versions and CMOS (BIOS) configs.

They don't matter.  Once the OS takes over, the controller is forced
into multi function ahci mode and the kernel version wouldn't have any
effect on it either.  That part of code hasn't changed for years now.
So, yeah, looks like a genuine hardware problem to me.

Thanks.

-- 
tejun

      reply	other threads:[~2010-01-19  8:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16 18:10 JMB363 false hotplug detections (was: ahci: AHCI and RAID mode SATA patch for Intel Cougar Point DeviceIDs) Robert Hancock
2010-01-16 18:34 ` JMB363 false hotplug detections Krzysztof Halasa
2010-01-17  2:07 ` JMB363 false hotplug detections (was: ahci: AHCI and RAID mode SATA patch for Intel Cougar Point DeviceIDs) Tejun Heo
2010-01-17 20:19   ` JMB363 false hotplug detections Krzysztof Halasa
2010-01-19  8:57     ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B557417.6030806@kernel.org \
    --to=tj@kernel.org \
    --cc=hancockrwd@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=khc@pm.waw.pl \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seth.heasley@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).