LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Borislav Petkov <petkovbb@googlemail.com>
To: Boris Petkov <petkovbb@googlemail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
	Hans-Peter Jansen <hpj@urpla.net>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL
Date: Fri, 15 Feb 2008 11:50:31 +0100	[thread overview]
Message-ID: <20080215105031.GG13446@gollum.tnic> (raw)
In-Reply-To: <9ea470500802140542m325f05bdq256d3578950e4240@mail.gmail.com>

On Thu, Feb 14, 2008 at 02:42:58PM +0100, Boris Petkov wrote:
> On 2/14/08, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
> > On Thursday 14 February 2008, Borislav Petkov wrote:
> > > On Thu, Feb 14, 2008 at 12:37:50AM +0100, Hans-Peter Jansen wrote:
> > >
> > > [Added Bart to CC]
> > >
> > > > Am Dienstag, 12. Februar 2008 schrieb Borislav Petkov:
> > > > > On Tue, Feb 12, 2008 at 10:26:17AM +0100, Hans-Peter Jansen wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I suffer from unreliable cdrom operations (failing DAE and burn
> > > > > > sessions) with the openSUSE 2.6.18.8-0.7-bigsmp kernel.
> > > > >
> > > > >                   ^^^^
> > > > > Hi,
> > > > >
> > > > > can please you test this with a more recent kernel. Yours is almost
> > > > > ancient - from Sep. 2006.
> > > >
> > > > Sure, sorry. Here we go:
> > > >
> > > > Feb 14 00:18:18 kernel: hde: cdrom_pc_intr: The drive appears confused (ireason = 0x01).
> > > >  Trying to recover by ending request.
> > > > Feb 14 00:27:27 kernel: hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x01).
> > > >  Trying to recover by ending request.
> > > >
> > > > ~> uname -a
> > > > Linux xrated 2.6.24.1-35-pae #1 SMP 2008/02/12 01:00:18 UTC i686 athlon i386 GNU/Linux
> > >
> > > Actually the interrupt handler in ide-cd got rewritten and you're still using the
> > > old one (cdrom_pc_intr vs cdrom_newpc_intr). Those changes went into mainline before
> > > the 2.6.25-rc1 so we'll be able to test the new one only when you try out 2.6.25-rc1
> > > or wait until 2.6.25 is released in case you don't want to try hazardous materials
> > > such as an -rc kernel[*] :).
> > >
> > > Bart?
> > >
> > > *. As a matter of fact it runs quite smoothly on my machines.
> >
> > 2.6.25-rc1-git1 if you are using IDE.
> >
> > however it may still have this problem
> >
> >        if (ireason == 0) {
> >                write = 1;
> >                xferfunc = HWIF(drive)->atapi_output_bytes;
> >        } else if (ireason == 2 || (ireason == 1 &&
> >                   (blk_fs_request(rq) || blk_pc_request(rq)))) {
> >
> > we problably need to call ide_cd_check_ireason() also for REQ_TYPE_ATA_PC
> > requests and remove (blk_fs_request(rq) || blk_pc_request(rq) here
> >
> >                write = 0;
> >                xferfunc = HWIF(drive)->atapi_input_bytes;
> >        } else {
> >                printk(KERN_ERR "%s: %s: The drive "
> >                                "appears confused (ireason = 0x%02x). "
> >                                "Trying to recover by ending request.\n",
> >                                drive->name, __FUNCTION__, ireason);
> >                goto end_request;
> >        }
> >
> > Bart
> >
> Hans-Peter,
> 
> i will prepare a patch against 2.6.24 for you to try later.
Hi,

i thought that backporting ide-cd to 2.6.24 would be self-contained but the
problem is that it pulls in changes made in the block layer (ll_rw_blk.c splitup)
and if i pull those also in the patch, i can't guarantee the stability of your
system. Besides, this turns pretty fast into a chained pulling which will result
into a subset of 2.6.25-rc1 applied ontop of your 2.6.24.1 kernel so the only
alternative is to wait after 2.6.25 has been released and tackle the problem then.

-- 
Regards/Gruß,
    Boris.

  reply	other threads:[~2008-02-15 10:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12  9:26 Hans-Peter Jansen
2008-02-12 17:20 ` Borislav Petkov
2008-02-13 23:37   ` Hans-Peter Jansen
2008-02-14  6:26     ` Borislav Petkov
2008-02-14 10:08       ` Hans-Peter Jansen
2008-02-14 12:24       ` Bartlomiej Zolnierkiewicz
2008-02-14 13:42         ` Boris Petkov
2008-02-15 10:50           ` Borislav Petkov [this message]
     [not found] <426a98560802232138q41d45d52ta515f1b791e937f4@mail.gmail.com>
2008-02-24 17:34 ` Borislav Petkov
2008-02-24 18:16   ` Bartlomiej Zolnierkiewicz
2008-02-25  1:58   ` Brad Rosser
2008-02-25  5:34     ` Borislav Petkov
2008-02-25  5:57       ` Brad Rosser
2008-02-25 14:45         ` Borislav Petkov
2008-02-26  8:32           ` Brad Rosser
2008-02-26 17:46             ` Borislav Petkov
2008-02-26 20:48               ` Bartlomiej Zolnierkiewicz
2008-02-25 13:56     ` 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=20080215105031.GG13446@gollum.tnic \
    --to=petkovbb@googlemail.com \
    --cc=bzolnier@gmail.com \
    --cc=hpj@urpla.net \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petkovbb@gmail.com \
    --subject='Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL' \
    /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

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).