From: Stuart Hayes <Stuart_Hayes@dell.com>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] ide-tape locks up when loaded in kernel 2.4.22
Date: Mon, 15 Sep 2003 17:57:19 -0500 [thread overview]
Message-ID: <20030915225719.GB18225@tux.linuxdev.us.dell.com> (raw)
Resending patch... the text got mangled on the last message.
Thanks
Stuart
Stuart_Hayes@Dell.com
diff -BurN linux-vanilla/drivers/ide/ide-tape.c linux-idetape-quickpatch/drivers/ide/ide-tape.c
--- linux-vanilla/drivers/ide/ide-tape.c 2003-06-13 09:51:33.000000000 -0500
+++ linux-idetape-quickpatch/drivers/ide/ide-tape.c 2003-09-15 13:08:36.000000000 -0500
@@ -1,5 +1,5 @@
/*
- * linux/drivers/ide/ide-tape.c Version 1.17b Dec, 2002
+ * linux/drivers/ide/ide-tape.c Version 1.17c Sep, 2003
*
* Copyright (C) 1995 - 1999 Gadi Oxman <gadio@netvision.net.il>
*
@@ -313,6 +313,9 @@
* Cosmetic fixes to miscellaneous debugging output messages.
* Set the minimum /proc/ide/hd?/settings values for "pipeline",
* "pipeline_min", and "pipeline_max" to 1.
+ * Ver 1.17c Sep 2003 Stuart Hayes <stuart_hayes@dell.com>
+ * Initialized "feature" in idetape_issue_packet_command
+ * (this was causing lockups on certain systems)
*
* Here are some words from the first releases of hd.c, which are quoted
* in ide.c and apply here as well:
@@ -422,7 +425,7 @@
* sharing a (fast) ATA-2 disk with any (slow) new ATAPI device.
*/
-#define IDETAPE_VERSION "1.17b-ac1"
+#define IDETAPE_VERSION "1.17c"
#include <linux/config.h>
#include <linux/module.h>
@@ -2367,6 +2370,8 @@
atapi_feature_t feature;
atapi_bcount_t bcount;
+ feature.all = 0;
+
#if IDETAPE_DEBUG_BUGS
if (tape->pc->c[0] == IDETAPE_REQUEST_SENSE_CMD &&
pc->c[0] == IDETAPE_REQUEST_SENSE_CMD) {
next reply other threads:[~2003-09-15 22:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-15 22:57 Stuart Hayes [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-15 20:36 [PATCH] ide-tape locks up when loaded in kernel 2.4.22 Stuart_Hayes
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=20030915225719.GB18225@tux.linuxdev.us.dell.com \
--to=stuart_hayes@dell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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