Re: Linux 2.4.19-pre3-ac5

Jörn Engel (joern@wohnheim.fh-wedel.de)
Fri, 22 Mar 2002 09:56:28 +0100


Hi!

> kernel BUG at ide-cd.c:790!
> invalid operand: 0000

The code appears to be too paranoid here. In case noone else submitted
a patch yet, here is mine.
Apply with patch -p0.

Jörn

-- 
Measure. Don't tune for speed until you've measured, and even then
don't unless one part of the code overwhelms the rest.
-- Rob Pike

--- drivers/ide/ide-cd.c Fri Mar 22 09:48:42 2002 +++ drivers/ide/ide-cd.c.new Fri Mar 22 09:52:59 2002 @@ -786,9 +786,6 @@ return startstop; } - if (HWGROUP(drive)->handler == NULL) /* paranoia check */ - BUG(); - /* Arm the interrupt handler. */ ide_set_handler (drive, handler, timeout, cdrom_timer_expiry); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/