Re: [OOPS] Oops with ide-floppy in 2.5.2 / 2.5.3

From: Taco IJsselmuiden (taco@wep.tudelft.nl)
Date: Mon Feb 04 2002 - 08:41:46 EST


Jens, Paul,

> If the driver knows what it is doing, then this patch should cure your
> problem.
>
> --- drivers/ide/ide.c~ Mon Feb 4 09:12:10 2002
> +++ drivers/ide/ide.c Mon Feb 4 09:14:39 2002
> @@ -1784,6 +1784,8 @@
> if (blk_queue_empty(&drive->queue) || action == ide_preempt) {
> if (action == ide_preempt)
> hwgroup->rq = NULL;
> + if (!blk_queue_empty(&drive->queue))
> + list_entry_rq(queue_head)->flags &= ~REQ_STARTED;
> } else {
> if (action == ide_wait || action == ide_end) {
> queue_head = queue_head->prev;
>

when using this in vanilla 2.5.3 it continues to oops.
But, when using Ingo's K0 on top of 2.5.3 it 'works' with this patch.
That is: it doesn't oops.
it now just goes:
brood:~# insmod ide-floppy
using /lib/modules/2.5.3-K0/kernel/drivers/ide/ide-floppy.o
ide-floppy driver 0.98a
hdd: 98304kB, 196608 blocks, 512 sector size

and doesn't return to the prompt

and /proc/modules has
ide-floppy 11744 (initializing)
(even after waiting a _LONG_ time....)

Cheers,
Taco.

-
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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:33 EST