public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: David Greaves <david@dgreaves.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: BUG and unresponsive system using cdparanoia on 2.6.26
Date: Mon, 04 Aug 2008 13:54:33 -0600	[thread overview]
Message-ID: <48975E79.8010207@shaw.ca> (raw)
In-Reply-To: <fa.oIy/kfKdsiZFNy+hmBNbNiOY6F8@ifi.uio.no>

David Greaves wrote:
> Hi
> 
> 2 problems:
> * unresponsive system
> * BUG
> 
> I've been ripping some audio CDs recently under 2.6.26 and sometimes, I assume
> when there have been imperfections/retries etc, the system has become
> unresponsive - 10s of seconds for mouse movement, keystrokes to respond.
> 
> This resulted in many
>   kernel: ide: failed opcode was: unknown
>   kernel: hda: drive not ready for command
>   kernel: hda: status timeout: status=0xff { Busy }

Yeah, presumably the drive has gone off into never never land trying to 
read the disc for a long time..

> 
> top reported very high %si (>95%)
> 
> 
> and when I tried (*something*) to recover using:
>   hdparm -w /dev/hda
>   hdparm -w /dev/hdb
> I got a BUG.
> 
> I know it says 'dangerous' - so if the reply is "so don't do that then" I shall
> respect it :)
> OTOH this may be unexpected so I'm reporting it.

Well, it's likely not "expected", but it's not generally a good thing to 
do as it triggers not-well-tested code paths.. The IDE layer is supposed 
to reset the drive itself in this case, and it appears it does.. but 
then the command likely either gets retried or the next command comes in 
and stalls the drive out again.

> 
> All my drives are on sata channels, I just have a Plextor CDRW and a DVDRW on
> the ide channel.
> 
> One additional comment, when the CD drive gets into this state, it persists
> after a hibernate, cold boot and restore. It is fine after a cold reboot.
> This suggests to me that the problem may be in the kernel/driver.
> 
> Let me know what else I can provide to help.
> In the meantime I'll be trying 2.6.27-rc?

Well, my recommendation would be first to try the newer libata driver 
for your PATA controller and not use the old IDE layer (CONFIG_IDE). 
libata drivers should be more robust against this sort of thing..

       reply	other threads:[~2008-08-04 19:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.oIy/kfKdsiZFNy+hmBNbNiOY6F8@ifi.uio.no>
2008-08-04 19:54 ` Robert Hancock [this message]
2008-08-04  8:22 BUG and unresponsive system using cdparanoia on 2.6.26 David Greaves

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=48975E79.8010207@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=david@dgreaves.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