All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Srihari Vijayaraghavan <sriharivijayaraghavan@yahoo.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PROBLEM] kernel BUG at include/linux/blkdev.h:601
Date: Fri, 1 Jul 2005 10:02:43 +0200	[thread overview]
Message-ID: <20050701080243.GX2243@suse.de> (raw)
In-Reply-To: <20050701004801.50905.qmail@web52607.mail.yahoo.com>

On Fri, Jul 01 2005, Srihari Vijayaraghavan wrote:
> --- Jens Axboe <axboe@suse.de> wrote:
> > On Thu, Jun 30 2005, Srihari Vijayaraghavan wrote:
> > > --- Srihari Vijayaraghavan
> > > <sriharivijayaraghavan@yahoo.com.au> wrote:
> > [...] 
> > > 2.6.13-rc1 (plus Hugh's get_request patch) doesn't
> > > suffer from this problem, unlike 2.6.12 and
> > 2.6.12-git
> > > releases.
> > 
> > That's a little strange, as there should be no
> > changes in this area so
> > far. Are you 100% sure?
> 
> Absolutely. 2.6.12 and 2.6.12-git9 crash within
> minutes/seconds; OTOH, 2.6.13-rc1 (plus Hugh's patch)
> survives this torture test for hours (despite
> generating 30+ MB of kernel/IDE error messages :). No
> OOPS, no BUGs, no panics, just truck load of error
> messages.
> 
> I haven't tested whether earlier releases of 2.6
> suffer from this (such as 2.6.10, 2.6.11 ..) or other
> hardware combinations exhibit the same problem etc.
> Tell me, if you want me to.

There are some minor ide updates outside of ide-cd, they must be
accounting for your success in 2.6.13-rc1 then. Could you test 2.6.12
with this patch applied?

diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -1181,7 +1181,8 @@ static ide_startstop_t do_reset1 (ide_dr
 		pre_reset(drive);
 		SELECT_DRIVE(drive);
 		udelay (20);
-		hwif->OUTB(WIN_SRST, IDE_COMMAND_REG);
+		hwif->OUTBSYNC(drive, WIN_SRST, IDE_COMMAND_REG);
+		ndelay(400);
 		hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE;
 		hwgroup->polling = 1;
 		__ide_set_handler(drive, &atapi_reset_pollfunc, HZ/20, NULL);


-- 
Jens Axboe


  reply	other threads:[~2005-07-01  8:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30  2:17 [PROBLEM] kernel BUG at include/linux/blkdev.h:601 Srihari Vijayaraghavan
2005-06-30 15:37 ` Jens Axboe
2005-07-01  0:48   ` Srihari Vijayaraghavan
2005-07-01  8:02     ` Jens Axboe [this message]
2005-07-01 12:35       ` Srihari Vijayaraghavan
  -- strict thread matches above, loose matches on Subject: below --
2005-06-29  5:19 Srihari Vijayaraghavan

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=20050701080243.GX2243@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sriharivijayaraghavan@yahoo.com.au \
    /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.