linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: petkovbb@gmail.com
Cc: WaVeR <debian@hispeed.ch>, linux-ide@vger.kernel.org
Subject: Re: IDE cdrom problem
Date: Sat, 16 Feb 2008 18:40:08 +0100	[thread overview]
Message-ID: <200802161840.08209.bzolnier@gmail.com> (raw)
In-Reply-To: <20080216164912.GQ13446@gollum.tnic>

On Saturday 16 February 2008, Borislav Petkov wrote:
> On Sat, Feb 16, 2008 at 04:24:46PM +0100, Bartlomiej Zolnierkiewicz wrote:
> > 
> > [ added Borislav (ide-cd maintainer) to cc: ]
> > 
> > Hi,
> > 
> > Unless there are some very important reasons to keep the discussion private
> > please always cc: linux-ide@ and/or linux-kernel@ ML when reporting problems.
> > 
> > Othewise your mail misses many knowledgeable people and is left on mercy
> > of clueless IDE maintainer... ;-)
> > 
> > ----------  Forwarded Message  ----------
> > 
> > Subject: IDE cdrom problem
> > Date: Saturday 16 February 2008
> > From: WaVeR <debian@hispeed.ch>
> > To: bzolnier@gmail.com
> > 
> > Hello Bart,
> > 
> > Sorry to distrub you, but I have a similar problem like this post
> > http://lkml.org/lkml/2008/2/12/97
> > 
> > I'm not subscribed to linux ML, so I decide to write you directly.
> > 
> > 
> > >From my dmesg, I get this error:
> > 
> > Feb 16 08:01:58 Jupiter kernel: hdc: cdrom_pc_intr: The drive appears
> > confused (ireason = 0x01). Trying to recover by ending request.
> > Feb 16 08:06:16 Jupiter kernel: hdc: cdrom_pc_intr: The drive appears
> > confused (ireason = 0x01). Trying to recover by ending request.
> > Feb 16 08:10:45 Jupiter kernel: hdd: cdrom_pc_intr: The drive appears
> > confused (ireason = 0x01). Trying to recover by ending request.
> > Feb 16 08:37:41 Jupiter kernel: hdd: cdrom_pc_intr: The drive appears
> > confused (ireason = 0x01). Trying to recover by ending request.
> > Feb 16 08:42:10 Jupiter kernel: hdc: cdrom_pc_intr: The drive appears
> > confused (ireason = 0x01). Trying to recover by ending request.
> > Feb 16 09:00:07 Jupiter kernel: hdd: cdrom_pc_intr: The drive appears
> > confused (ireason = 0x01). Trying to recover by ending request.
> 
> Yeah, this is kinda funny, i think i've seen that somewhere :) But seriously,

Yep, this looks to be the identical problem as discussed recently:

http://www.mail-archive.com/linux-ide@vger.kernel.org/msg16131.html

[ + IIRC the similar issue might be already in the kernel bugzilla... ]

> can you try 2.6.25-rc2 - this one should be stable enough and it has the ide-cd
> rewrite in there and it would be interesting to see whether the new interrupt
> handler shows the same behaviour.
> 
> Bart, since this starts to occur often, i'm thinking of adding a debugging macro
> similar to the ones we rewrote in ide-floppy and ide-tape besides the
> CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS facility in ide-cd. What are your thoughts
> on the matter?

I would rather prefer to see more code removal/unification in ide-cd.

[ If the code is simple/clean enough and have informative printk()-s for
  error conditions there shouldn't be a frequent need for an extra debugging
  information. ]

> > As you can see on the atached file. It's a simple IDE dvdrom and a cd
> > burner.
> > 
> > I dont have this problem with the kernel 2.6.21.3
> > 
> > My actual kernel is:
> > 9:28 waver@Jupiter ~% uname -a
> > Linux Jupiter 2.6.24.2-waver.1 #1 Wed Feb 13 23:53:31 CET 2008 i686
> > GNU/Linux

It would also help us if it can be narrowed down to the specific commit.
Please install git package, get kernel git tree from kernel.org, and do:

git bisect start
git bisect good 2.6.21
git bisect bad 2.6.24

It will select the kernel to test - compile and boot it to see if the problem
is still there.  If so do "git bisect bad" which will give you new kernel
to test.  If the kernel works fine do "git bisect good" instead.  After few
iterations you should find the exact commit which introduced the bug.

Thanks,
Bart

  reply	other threads:[~2008-02-16 17:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200802161624.47003.bzolnier@gmail.com>
2008-02-16 16:49 ` IDE cdrom problem Borislav Petkov
2008-02-16 17:40   ` Bartlomiej Zolnierkiewicz [this message]
2008-02-16 18:09     ` Borislav Petkov
2008-02-16 19:27       ` WaVeR
2008-02-16 20:23         ` Borislav Petkov
2008-02-17 14:16           ` WaVeR
2008-02-17 15:15             ` Borislav Petkov

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=200802161840.08209.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=debian@hispeed.ch \
    --cc=linux-ide@vger.kernel.org \
    --cc=petkovbb@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).