All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Thomas Molina <tmolina@cox.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ide-cd still borken for me in 2.5.45
Date: Sat, 2 Nov 2002 10:18:11 +0100	[thread overview]
Message-ID: <20021102091811.GD31088@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0211012022190.862-100000@dad.molina>

On Fri, Nov 01 2002, Thomas Molina wrote:
> On Fri, 1 Nov 2002, Thomas Molina wrote:
> 
> > On Fri, 1 Nov 2002, Jens Axboe wrote:
> > 
> > > > hdc: irq timeout: status=0x90 {Busy}
> > > > hdc: irq timeout: error=0x01IllegalLengthIndication
> > > > hdc: drive not ready for command
> > > > hdc: ATAPI reset timed-out, status=0x80
> > > > ide1: reset: success
> > > 
> > > Interesting. Please send me a detailed list of your hardware, boot
> > > messages should suffice. Does 2.5.43 work correctly?
> > 
> > I get the same series of messages when booting 2.5.43.  I'll work my way 
> > back to find a version that works and report back when I find it.  
> > Following is the config file used to build this kernel:
> 
> Well that was quick.  2.5.42 works correctly.  The problems begin with 
> 2.5.43.

Ok, so Linus broke it :-)

Please boot with this patch, it looks like a command length screwup.

--- /opt/kernel/linux-2.5.45/drivers/ide/ide-cd.c	2002-11-01 11:31:53.000000000 +0100
+++ drivers/ide/ide-cd.c	2002-11-02 10:17:13.000000000 +0100
@@ -1498,6 +1498,8 @@
 	rq->flags &= ~REQ_FAILED;
 	len = rq->data_len;
 
+	printk("%s: starting %02x, len=%u\n", drive->name, rq->cmd[0], len);
+
 	/* Start sending the command to the drive. */
 	return cdrom_start_packet_command(drive, len, cdrom_do_pc_continuation);
 }

-- 
Jens Axboe


  reply	other threads:[~2002-11-02  9:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01 11:55 ide-cd still borken for me in 2.5.45 Thomas Molina
2002-11-01 12:06 ` Jens Axboe
2002-11-01 13:09   ` Thomas Molina
2002-11-02  1:49   ` Thomas Molina
2002-11-02  2:24     ` Thomas Molina
2002-11-02  9:18       ` Jens Axboe [this message]
2002-11-02 14:48         ` Thomas Molina
2002-11-02 14:54           ` Jens Axboe
2002-11-02 15:43             ` Jens Axboe
2002-11-02 18:39               ` Thomas Molina

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=20021102091811.GD31088@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tmolina@cox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.