Skip to contentSkip to conversation

"blk: request botched" error on floppy write

PATCH In review Sean 3 participants 4 messages Jul 19, 2003 – Jul 21, 2003

Subsystems (2)
lore
Share & tools
lore

Sean

author
#0 lore raw

PATCH 1/1 "blk: request botched" error on floppy write

The floppy drive appears to be working for some people with the 2.6 kernel as is. However, there have also been reports of some problems (see http://bugme.osdl.org/show_bug.cgi?id=654 )

The attached patch against 2.6.0-test1 fixes the problem on all the machines i've tested.

Cheers,
Sean

drivers/block/floppy.c renamed from drivers/block/floppy.c.old +1 -0
@@ -4261,6 +4261,7 @@
 			floppy_sizes[i] = MAX_DISK_SIZE << 1;
 
 	blk_init_queue(&floppy_queue, do_fd_request, &floppy_lock);
+	blk_queue_max_hw_segments(&floppy_queue, 1); 
 	reschedule_timeout(MAXTIMEOUT, "floppy init", MAXTIMEOUT);
 	config_types();
 
#1 lore raw
Quoted 6 lines · Sean

The floppy drive appears to be working for some people with the 2.6 kernel as is. However, there have also been reports of some problems (see http://bugme.osdl.org/show_bug.cgi?id=654 )

The attached patch against 2.6.0-test1 fixes the problem on all the machines i've tested.

So floppy has a problem with clustered requests? Your patch doesn't fix that bug, it masks it.

Question is, if we should just accept that and move on. I mean, who really cares?

Signature · 1 line
Jens Axboe
#2 lore raw

Hello Jens , If it is fixable , ME !-) . Tnx , JimL

Quoted 15 lines · Jens Axboe
Quoted 6 lines · Sean

The floppy drive appears to be working for some people with the 2.6 kernel as is. However, there have also been reports of some problems (see http://bugme.osdl.org/show_bug.cgi?id=654 )

The attached patch against 2.6.0-test1 fixes the problem on all the machines i've tested.

So floppy has a problem with clustered requests? Your patch doesn't fix that bug, it masks it.

Question is, if we should just accept that and move on. I mean, who really cares?

Signature · 5 lines
       +------------------------------------------------------------------+
       | James   W.   Laferriere | System    Techniques | Give me VMS     |
       | Network        Engineer |     P.O. Box 854     |  Give me Linux  |
       | [email protected] | Coudersport PA 16915 |   only  on  AXP |
       +------------------------------------------------------------------+
#3 lore raw
Quoted 1 line · Mr. James W. Laferriere

Hello Jens , If it is fixable , ME !-) . Tnx , JimL

So where's the fix and what is the bug?

Signature · 1 line
Jens Axboe