public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Simen Timian Thoresen <simentt@dolphinics.no>
To: Alistair John Strachan <alistair@devzero.co.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: Misidentification and failing revalidations of ide dvd-roms with libata
Date: Wed, 30 Jul 2008 19:31:15 +0200	[thread overview]
Message-ID: <4890A563.70609@dolphinics.no> (raw)
In-Reply-To: <200807272147.42264.alistair@devzero.co.uk>

Alistair John Strachan wrote:
> On Sunday 27 July 2008 20:33:21 Simen Timian Thoresen wrote:
> [snip]
>> I've spent a few hours more looking into this, and I'm not really
>> getting much clearer;
>>
>> I've run either and both of the two DVDroms on an external power-supply
>> (drive-power from a jumped, believed good ATX-PSU), and the the symptoms
>> remain; inconsistent capabilities reported at boot, and when I start
>> ripping CDs, one of them will fail as above.
>>
>> As I still have the impression that this started when I switched distros
>> (ie went from CentOS4 2.6.9 pre-libata-kernel to the current Ubuntu 8.04
>> 2.6.24-kernel), I've now started playing around with the libata module
>> parameters.

Hi Alistair,

I'm sorry I have not yet come back on this. I /think/ I've had success 
disabling DMA for atapi-devices (adding "options libata dma=5" to my 
modprobe.conf file). I've been able to rip a number of cds without any 
issues with this (except a reduced speed, I believe). I do get some 
noise in dmesg;

[ 9686.570804] end_request: I/O error, dev sr1, sector 0
[ 9686.570814] Buffer I/O error on device sr1, logical block 0
[ 9686.570819] Buffer I/O error on device sr1, logical block 1
[ 9686.572134] end_request: I/O error, dev sr1, sector 1024
[ 9686.573105] end_request: I/O error, dev sr1, sector 1024
[ 9686.574101] end_request: I/O error, dev sr1, sector 1024


...but cdparianoia (ripper application) never complains and I've not 
been able to notice any defects in the extracted audio.

As this was disabling DMA, and I've seen that frequency adjustments on 
the CPU can cause DMA issues (at the time, with the ivtv-driver) on this 
motherboard, I thought that I'd try disabling Cool'n'Quiet and thereby 
lock the CPU to full speed, while reenabling DMA, but that did not help. 
Ripping the first CDs, one of the drives failed again.

> If it's not power then I'm still with Alan re the cables. Maybe you have very 
> long cables?

Nope, normal 40cm'is 80-pin IDE cables. While one could be bad, I 
wouldn't expect both to be (etc).

> I used Alan's nForce4 pata driver for a year or so and didn't have any 
> problems. OTOH maybe at this stage it's worth checking whether amd74xx (old 
> IDE) breaks in similar ways?

from dmesg, I have this;

[   17.647757] pata_amd 0000:00:06.0: version 0.3.10
[   17.650097] scsi0 : pata_amd
[   17.650229] scsi1 : pata_amd
(that's the one, right?)

...so the driver exists in the running kernel. Would I have to build my 
own kernel, or is there some way to have this driver take hold instead 
of libata? ...or can I do something in modprobe.conf to use the other 
driver?

> Also, I assume you've memtest86'ed the machine?

Not strictly recently. I'll leave it doing so this evening, as I'll want 
to reboot it to reactivate Cool'n'quiet.

Again, thank you for helping me look into this. For now it /looks/ like 
I could be happy doing PIO, but I'd prefer to have this solved properly 
if possible.

-S

-- 
Simen Thoresen, Dolphin ICS
Systems Administration and Wulfkit Support

  reply	other threads:[~2008-07-30 17:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-20 18:36 Misidentification and failing revalidations of ide dvd-roms with libata Simen Timian Thoresen
2008-07-20 18:46 ` Alan Cox
2008-07-20 19:34   ` Simen Timian Thoresen
2008-07-20 20:03     ` Alistair John Strachan
2008-07-20 20:48       ` Simen Timian Thoresen
2008-07-27 19:33       ` Simen Timian Thoresen
2008-07-27 20:47         ` Alistair John Strachan
2008-07-30 17:31           ` Simen Timian Thoresen [this message]
2008-07-30 20:39             ` Alistair John Strachan
2008-07-30 22:40               ` Alan Cox
2008-07-31  4:26             ` Simen Timian Thoresen

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=4890A563.70609@dolphinics.no \
    --to=simentt@dolphinics.no \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=alistair@devzero.co.uk \
    --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