LKML Archive on
help / color / mirror / Atom feed
From: Borislav Petkov <>
To: Brad Rosser <>
Subject: Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL
Date: Tue, 26 Feb 2008 18:46:30 +0100	[thread overview]
Message-ID: <20080226174630.GB5497@gollum.tnic> (raw)
In-Reply-To: <>

On Tue, Feb 26, 2008 at 06:32:41PM +1000, Brad Rosser wrote:
Hi Brad,

> Hello Boris, Bart,
> On Tue, Feb 26, 2008 at 12:45 AM, Borislav Petkov
> <> wrote:
> >
> > On Mon, Feb 25, 2008 at 03:57:06PM +1000, Brad Rosser wrote:
> > >
> > > ... it would suggest the option 'hda=noprobe' was entered correctly?
> >
> >  ok, let's try something else: change the line "#if 0" to "#if 1" at the
> >  beginning of kernel/params.c, it looks like:
> >
> >  #if 0
> >  #define DEBUGP printk
> >  #else
> >  #define DEBUGP(fmt, a...)
> >  #endif
> >
> >  rebuild your kernel, and reboot with it. Then, please send me that boot log to
> >  see whether the kernel command line is being received from the boot loader and
> >  what exactly is getting parsed. Thanks.
> Boris,  I've done that; the output is in attached file dmesg.debug.out.

it seems that your boot loader is not supplying the kernel with the boot params
properly as can be seen from the excerpt below:

Kernel command line: BOOT_IMAGE=linux_2.6.25rc2 ro root=900 md=0,/dev/sda5,/dev/sdb5 hda=noprobe
Parsing ARGS: BOOT_IMAGE=linux_2.6.25rc2 ro root=900 md=0,/dev/sda5,/dev/sdb5 hda=noprobe
Unknown argument: calling c03670ce
Unknown argument: calling c03670ce
Unknown argument: calling c03670ce
Unknown argument: calling c03670ce
md: Will configure md0 (super-block) from /dev/sda5,/dev/sdb5, below.
Unknown argument: calling c03670ce

and, as a result, the probing of hda still takes place.

> It looks to me that the kernel still found the IDE DVD drive (hda) ...
> in addition
> to the system messages when the system was up I found the ide_cd_mod
> module loaded on top of 'cdrom' as normal.
> >  Please see whether you can apply the patch Bart just sent and if that still gets
> >  mangled and cannot be applied, consider making those changes to ide-cd.c by hand
> >  - after all, there are only several lines that need to be changed so it won't
> >  take that long.
> Bart, I was able to apply that patch file you attached with no problems, and the
> behaviour of the patched kernel changed as follows:
> - no more 'confused' messages, nor the rush of other critical messages
> that accompanied a system hang on one out of four tests yesterday.
> - However, a new message that popped up twice; once after a few seconds
> of network activity, and then about 15-20 seconds afterwards:
> hda: ide_cd_check_ireason: wrong transfer direction!
> hda: ide_cd_check_ireason: wrong transfer direction!

Bart, can we assume here that some of the nic interrupts somehow get handled by
ide-cd or something gets mixed up there?

> - also, I'm pretty sure that performance of both network and DVD drive suffered.
> As to the last ... my new PC, on which I'm doing all this testing, has a gigabit
> Realtek NIC.  It's hooked up via null UTP cable to my older machine which has
> a 100Mb/s card.  ethtool shows that they both auto-negotiate to run at 100Mb/s
> full duplex.  When I run my network test (pumping through /dev/zero across ssh
> from the old machine to the new) the network stats tell me that I'm getting
> 10MB/s out of the link, which is what I would expect.
> With the patched 2.6.25-rc2 kernel running with no activity reading the DVD
> but the network going flat out (on the old PC's end) I noted that I was only
> getting only 8.0 or 8.1 MB/sec, rather than the 10 MB/sec I've seen in the other
> tests..  There was no other network traffic or cpu load on the machine(s).
> Then, when I mounted a DVD disc and did a 'wc /mnt/*' of its contents
> an iostat showed me that I was getting only about 6MB/sec out of the DVD
> drive, which is less than I'd expect.  As soon as I killed the network send
> iostat's report zoomed up to roughly 10MB/sec.  So it seemed to me that,
> in addition to the 'wrong direction' messages, I was losing some performance
> on both the NIC and the DVD drive.


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

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
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 [this message]
2008-02-26 20:48               ` Bartlomiej Zolnierkiewicz
2008-02-25 13:56     ` Bartlomiej Zolnierkiewicz
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

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080226174630.GB5497@gollum.tnic \ \ \ \ \ \ \
    --subject='Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL' \

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