mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kyle Moffett <mrmacman_g4@mac.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Mark Hahn <hahn@physics.mcmaster.ca>,
	LKML Kernel <linux-kernel@vger.kernel.org>,
	John Livingston <jujutama@comcast.net>,
	"Eric D. Mudama" <edmudama@gmail.com>,
	Robert Hancock <hancockr@shaw.ca>
Subject: Re: [RESEND][2.6.15] New ATA error messages on upgrade to 2.6.15
Date: Sun, 2 Apr 2006 19:17:39 -0400	[thread overview]
Message-ID: <67935AB3-842F-4344-ABAB-E65205C28E4C@mac.com> (raw)
In-Reply-To: <1144013084.31123.14.camel@localhost.localdomain>

On Apr 2, 2006, at 17:24:43, Alan Cox wrote:
> On Sul, 2006-04-02 at 15:55 -0400, Kyle Moffett wrote:
>> (2)  It's extremely unlikely that the card itself is faulty; it  
>> exhibits identical symptoms on both drives and has ever since I  
>> originally purchased the card and installed 2.4.X on the system.
>
> If it has always shown those symptoms then I'd say its quite likely  
> the card if the crystals/PLLs on it are out. It looks like the  
> timing is wrong, which means either the input clocks (eg PCI clock)  
> are wrong (eg 37.5Mhz not 33 due to BIOS overclock settings or just  
> plain out), the card has a dodgy crystal/PLL or the kernel set it  
> up wrong.
>
> PCI timings won't move between motherboards, PLL faults wont move  
> between cards.
>
> Unless anyone else is seeing the same problem with the same card  
> variant or you have two cards that do it then there isn't much that  
> can be done I suspect other than assume the hardware is iffy,  
> rightly or wrongly. I'd have expected a lot more reports if it were  
> the controller.

Hmm, okm thanks for the information.  If it was possible, I'd be  
extremely suspicious that the card's firmware was either buggy or  
Linux didn't know how to repsond to the odd hardware variant; I don't  
recall them producing that model of card for very long, so it's quite  
possible there aren't many of them around and they have some kind of  
timing quirk nobody knows about.

CRC issues aside, there is that other MULTWRITE_EXT error that only  
occurs on hdi (and if I swap hdi and hdg, the error follows the  
drive).  The error also is specific to 2.6.15+, it does not occur on  
the 2.6.12+patch that I switched from a month ago.  I'm assuming that  
since the drive/card stop giving BadCRC errors that they're able to  
communicate successfully at the extremely low speed.

With a little more tinkering with hdparm I was able to determine that  
the drives on the built-in controller and the primary bus of the PCI  
controller were both in DMA mode, the former in udma4 and the latter  
in udma3.  The originally problematic drive (the one giving the  
MULTWRITE_EXT errors) was in PIO mode, though "hdparm -d1 /dev/hdi"  
"fixed" that problem and resulted in a drastic increase in drive bus  
speed as measured  by "hdparm -tT".  (from 2MB/sec to around 23MB/sec  
or so).  hdi ended up in udma2 according to "hdparm -i"

Just for clarity, I'm repeating the _new_ error below.  This one  
recurs about once or twice an hour, but only on the samsung drive.   
If the answer is (as it seems likely) "Your drive has bad firmware  
but the error is totally harmless", then I'll be perfectly happy,  
although I'd kind of prefer if the kernel could detect the buggy  
firmware and work around it (maybe by switching back to whatever the  
old behavior was, whenever changed).  I'd otherwise be happy to git- 
bisect except for the fact that a number of people rely on this  
system for day-to-day activities.

> Mar 28 03:15:13 penelope kernel: hdi: status timeout: status=0xd0  
> { Busy }
> Mar 28 03:15:13 penelope kernel: PDC202XX: Secondary channel reset.
> Mar 28 03:15:13 penelope kernel: hdi: no DRQ after issuing  
> MULTWRITE_EXT
> Mar 28 03:15:13 penelope kernel: ide4: reset: success

The drive on the built-in controller is correctly set to udma4 mode,  
though if I attempt to bump that up to udma5 (which is listed as  
supported in "hdparm -i /dev/hda"), then the drive becomes completely  
unresponsive until the next reboot.  I'm waiting for the RAID to  
finish rebuilding before I try increasing the UDMA speed on the other  
drives to see what happens.

Thanks again for the help and consideration!

Cheers,
Kyle Moffett


  parent reply	other threads:[~2006-04-02 23:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44.0604021508540.2653-100000@coffee.psychology.mcmaster.ca>
2006-04-02 19:55 ` Kyle Moffett
2006-04-02 21:24   ` Alan Cox
2006-04-02 22:00     ` Mark Hahn
2006-04-02 23:17     ` Kyle Moffett [this message]
2006-04-03 11:35 Mikael Pettersson
2006-04-03 12:32 ` Kyle Moffett
  -- strict thread matches above, loose matches on Subject: below --
2006-04-03  9:07 Mikael Pettersson
2006-04-03  9:29 ` Alan Cox
     [not found] <Pine.LNX.4.44.0604011333160.11853-100000@coffee.psychology.mcmaster.ca>
2006-04-02  0:05 ` Kyle Moffett
     [not found] <5WD6n-5fR-9@gated-at.bofh.it>
     [not found] ` <5WD6n-5fR-11@gated-at.bofh.it>
     [not found]   ` <5WD6n-5fR-13@gated-at.bofh.it>
     [not found]     ` <5WD6n-5fR-15@gated-at.bofh.it>
     [not found]       ` <5WD6n-5fR-17@gated-at.bofh.it>
     [not found]         ` <5WD6n-5fR-7@gated-at.bofh.it>
     [not found]           ` <5WEvy-7az-7@gated-at.bofh.it>
2006-04-01 19:03             ` Robert Hancock
2006-04-01 19:13               ` Kyle Moffett
     [not found] <5VqEv-46l-49@gated-at.bofh.it>
     [not found] ` <5VqEv-46l-47@gated-at.bofh.it>
     [not found]   ` <5WA8u-X3-5@gated-at.bofh.it>
     [not found]     ` <5WAi6-19q-13@gated-at.bofh.it>
     [not found]       ` <5WB4M-2kX-29@gated-at.bofh.it>
2006-04-01  1:21         ` Robert Hancock
2006-04-01  2:54           ` Kyle Moffett
2006-04-01 23:23             ` Alan Cox
     [not found] <20060328090211.4D6F34C04A@penelope.moffetthome.net>
2006-03-28 17:57 ` [2.6.15] " Kyle Moffett
2006-03-31 22:16   ` [RESEND][2.6.15] " Kyle Moffett
2006-03-31 22:21     ` Eric D. Mudama
2006-03-31 23:13       ` Kyle Moffett

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=67935AB3-842F-4344-ABAB-E65205C28E4C@mac.com \
    --to=mrmacman_g4@mac.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=edmudama@gmail.com \
    --cc=hahn@physics.mcmaster.ca \
    --cc=hancockr@shaw.ca \
    --cc=jujutama@comcast.net \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®