public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.8 IDE oops (TCQ breakage?)
@ 2002-04-16 17:49 Mikael Pettersson
  2002-04-16 18:07 ` Jens Axboe
  2002-04-17  9:51 ` Martin Dalecki
  0 siblings, 2 replies; 10+ messages in thread
From: Mikael Pettersson @ 2002-04-16 17:49 UTC (permalink / raw)
  To: linux-kernel

I have a 486 box which ran 2.5.7 fine, but 2.5.8 oopses during
boot at the BUG_ON() in drivers/ide/ide-disk.c, line 360:

	if (drive->using_tcq) {
		int tag = ide_get_tag(drive);

		BUG_ON(drive->tcq->active_tag != -1);

Relevant .config is
# CONFIG_PCI is not set
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
(That's it. No chipset support selected; neither I nor Linux
has ever detected any known IDE chipset in this box...)

Why is drive->using_tcq non-zero when CONFIG_BLK_DEV_IDE_TCQ=n
and the disk is an early/mid-90s 500MB WD drive?

/Mikael

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: 2.5.8 IDE oops (TCQ breakage?)
@ 2002-04-17 20:02 Mikael Pettersson
  0 siblings, 0 replies; 10+ messages in thread
From: Mikael Pettersson @ 2002-04-17 20:02 UTC (permalink / raw)
  To: axboe; +Cc: dalecki, linux-kernel

On Wed, 17 Apr 2002 14:25:02 +0200, Jens Axboe wrote:
>> > Mikael Pettersson wrote:
>> > >I have a 486 box which ran 2.5.7 fine, but 2.5.8 oopses during
>> > >boot at the BUG_ON() in drivers/ide/ide-disk.c, line 360:
...
>Should only be done if 'enable_tcq == 1' of course, and we also need to
>switch off tcq when dma is being disabled. 4th patch set against 2.5.8.

Thanks, this patch set cured the problem. 2.5.8-dj1 also worked.

/Mikael

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-04-17 20:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 17:49 2.5.8 IDE oops (TCQ breakage?) Mikael Pettersson
2002-04-16 18:07 ` Jens Axboe
2002-04-17  9:51 ` Martin Dalecki
2002-04-17 12:08   ` Jens Axboe
2002-04-17 12:25     ` Jens Axboe
2002-04-17 11:33       ` Martin Dalecki
2002-04-17 12:42         ` Jens Axboe
2002-04-17 14:16         ` Erik Andersen
2002-04-17 13:28           ` Martin Dalecki
  -- strict thread matches above, loose matches on Subject: below --
2002-04-17 20:02 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox