From: Ed Sweetman <ed.sweetman@wmich.edu>
To: John Bradford <john@grabjohn.com>
Cc: Jonathan Kamens <jik@kamens.brookline.ma.us>,
linux-kernel@vger.kernel.org
Subject: Re: Updated on UDMA BadCRC errors + subsequent problems
Date: Fri, 16 Jan 2004 11:12:27 -0500 [thread overview]
Message-ID: <40080D6B.5090801@wmich.edu> (raw)
In-Reply-To: <200401161546.i0GFkkpa002053@81-2-122-30.bradfords.org.uk>
John Bradford wrote:
> Quote from Jonathan Kamens <jik@kamens.brookline.ma.us>:
>
>>John Bradford writes:
>> > Quote from Jonathan Kamens <jik@kamens.brookline.ma.us>:
>> > > ... hde: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
>> > > ... hde: drive_cmd: error=0x04 { DriveStatusError }
>> >
>> > The drive doesn't seem to understand the command it was sent.
>>
>>I'm not sure what this means, but assuming that it's going to happen
>>again at some point,
>
>
> Maybe not - the most common cause I've seen for that message in the logs is trying to access S.M.A.R.T. information when S.M.A.R.T. is disabled.
>
> I.E. the error should be reproducable with:
>
> # smartctl -d /dev/hda
> # smartctl -a /dev/hda
>
> Are you sure you weren't trying to get S.M.A.R.T. info from the drive at the time the error was logged?
>
> John.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
Some drives i guess report the exact error like mine here. These occur
when i'm transferring from my tulip based nic to my hdd at 8Mbytes a
second (avg). The fs is ext3. When i'm transferring about 1.5GB files
over the drive seems to freak out. Timing sources (tsc) can also lose
so many ticks that the other time source has to be used.
What i dont understand is why the ata drivers dont handle crc errors
correctly. Instead of resetting the ide bus and turning dma off why dont
they start throttling down the dma modes one by one, When the rate of
crc errors reaches a certain reasonable number, drop an udma level. If
that crc error rate is reached again, drop a level. You keep doing that
until you hit pio mode. Usually the problem is solved by simply using a
lower dma mode. That way my system doesn't have to reach loads of 20
and io suck all my cpu while i'm trying to re-enable dma so i can
actually figure out what's going on. CRC errors are caused by timing
problems as well as physical problems around the cabling in the
computer. Normal hdd to hdd transfers (which avg about 30MByte/sec) do
not cause these errors for me.
prev parent reply other threads:[~2004-01-16 16:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-29 16:07 Is it safe to ignore UDMA BadCRC errors? Jonathan Kamens
2003-12-29 16:12 ` Jonathan Kamens
2003-12-29 19:52 ` Eric D. Mudama
2003-12-29 20:24 ` Florian Schuele
2003-12-29 20:34 ` Eric D. Mudama
2003-12-29 20:52 ` Florian Schuele
2003-12-30 11:38 ` Jonathan Kamens
2003-12-30 20:06 ` Eric D. Mudama
2003-12-30 20:11 ` Jonathan Kamens
2003-12-30 20:25 ` Eric D. Mudama
2003-12-30 20:30 ` Jonathan Kamens
2003-12-30 20:48 ` Eric D. Mudama
2003-12-30 20:14 ` Ed Sweetman
2004-01-15 2:21 ` Updated on UDMA BadCRC errors + subsequent problems (was: Is it safe to ignore UDMA BadCRC errors?) Jonathan Kamens
2004-01-16 3:47 ` Jonathan Kamens
2004-01-16 7:47 ` John Bradford
2004-01-16 15:27 ` Jonathan Kamens
2004-01-16 15:46 ` John Bradford
2004-01-16 15:48 ` Jonathan Kamens
2004-01-16 16:48 ` John Bradford
2004-01-16 18:04 ` Jonathan Kamens
2004-01-16 20:52 ` Alan Cox
2004-01-16 16:12 ` Ed Sweetman [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=40080D6B.5090801@wmich.edu \
--to=ed.sweetman@wmich.edu \
--cc=jik@kamens.brookline.ma.us \
--cc=john@grabjohn.com \
--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