lkml.org 
[lkml]   [2002]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OOPS] Oops with ide-floppy in 2.5.2 / 2.5.3
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/

\
 
 \ /
  Last update: 2005-03-22 13:23    [W:0.045 / U:1.004 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site