public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Mark Haverkamp <markh@osdl.org>
Cc: B.Zolnierkiewicz@elka.pw.edu.pl, linux-kernel@vger.kernel.org
Subject: Re: ide taskfile and cdrom hang
Date: 31 Jan 2004 01:46:13 +0100	[thread overview]
Message-ID: <p73ekthlzca.fsf@verdi.suse.de> (raw)
In-Reply-To: <1075502193.26342.61.camel@markh1.pdx.osdl.net.suse.lists.linux.kernel>

Mark Haverkamp <markh@osdl.org> writes:

> We have some test machines here at OSDL that have a problem with the ide
> cdrom driver hanging when we cat the /proc/ide/hda/identify file. After
> 30 seconds the console displays: "hda: lost interrupt" which reoccurs
> every 30 seconds forever. We noticed it on 2.6.2-rc2-mm1 but It looks
> like this has been a problem for a while. Our test machines just changed
> their configuration to use make defconfig.  I found that if
> CONFIG_IDE_TASKFILE_IO is N then the hang doesn't occur.  Is this a
> common problem or are there just certain drives that won't work with
> taskfile i/o enabled?  I've included my .config, lspci as attachments.  
> The cdrom model is CD-224E.

I looked at this some time ago together with BenH and Bart. The problem 
seems to be that the taskfile statemachine for identify is quite broken.
(even when it didn't hang it usually returned only garbage on other
CD ROMs). 

The CD ROM doesn't answer the request for some reason and then the
Linux taskfile code goes into an endless loop sending retries.

Bart had a patch to at least cure the hang by erroring out.

-Andi


       reply	other threads:[~2004-01-31  0:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1075502193.26342.61.camel@markh1.pdx.osdl.net.suse.lists.linux.kernel>
2004-01-31  0:46 ` Andi Kleen [this message]
2004-01-30 22:36 ide taskfile and cdrom hang Mark Haverkamp
2004-02-01 20:48 ` Bartlomiej Zolnierkiewicz
2004-02-02 18:46   ` Mark Haverkamp
2004-02-02 19:45     ` Bartlomiej Zolnierkiewicz
2004-02-02 20:45       ` Mark Haverkamp
2004-02-02 21:35         ` Bartlomiej Zolnierkiewicz
2004-02-02 21:44           ` Mark Haverkamp
2004-02-02 23:37             ` Bartlomiej Zolnierkiewicz
2004-02-02 23:52               ` Mark Haverkamp
2004-02-03  0:13                 ` Bartlomiej Zolnierkiewicz
2004-02-03  0:16                   ` Mark Haverkamp
2004-02-03  1:09                     ` Bartlomiej Zolnierkiewicz

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=p73ekthlzca.fsf@verdi.suse.de \
    --to=ak@suse.de \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markh@osdl.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