linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Sean" <seanlkml@rogers.com>
To: <linux-kernel@vger.kernel.org>
Subject: [PATCH]  "blk: request botched" error on floppy write
Date: Sat, 19 Jul 2003 14:37:45 -0400	[thread overview]
Message-ID: <794001c34e24$d8f83440$7f0a0a0a@lappy7> (raw)

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

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

[-- Attachment #2: floppy_req_botched.patch --]
[-- Type: application/octet-stream, Size: 387 bytes --]

--- test1/drivers/block/floppy.c.old	Sat Jul 19 13:48:18 2003
+++ test1/drivers/block/floppy.c	Sat Jul 19 13:52:07 2003
@@ -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();
 

             reply	other threads:[~2003-07-19 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-19 18:37 Sean [this message]
2003-07-21 12:33 ` [PATCH] "blk: request botched" error on floppy write Jens Axboe
2003-07-21 12:39   ` Mr. James W. Laferriere
2003-07-21 13:36     ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='794001c34e24$d8f83440$7f0a0a0a@lappy7' \
    --to=seanlkml@rogers.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).