From: "John Stoffel" <john@stoffel.org>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
John Stoffel <john@stoffel.org>,
fujita.tomonori@lab.ntt.co.jp, linux-kernel@vger.kernel.org,
linux-scsi@vger.kernel.org, Boaz Harrosh <bharrosh@panasas.com>
Subject: Re: 2.6.24-rc5: tape drive not responding
Date: Mon, 17 Dec 2007 18:47:43 -0500 [thread overview]
Message-ID: <18279.2719.394892.692343@stoffel.org> (raw)
In-Reply-To: <1197928348.3204.14.camel@localhost.localdomain>
>>>>> "James" == James Bottomley <James.Bottomley@SteelEye.com> writes:
James> On Mon, 2007-12-17 at 13:43 -0800, Andrew Morton wrote:
>> On Mon, 17 Dec 2007 16:02:02 -0500
>> "John Stoffel" <john@stoffel.org> wrote:
>>
>> >
>> > Just to confirm, the propsed patch to st.c fixes the issue with
>> > 2.6.24-rc5 as well at 2.6.24-rc5-mm1 with access to my DLT tape
>> > drives.
>>
>> err, what patch to st.c?
James> That's this one:
James> http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=acdd0b1c371b2fbb4b6110a51ba69cb0af9e6f45
>> So it seems that 2.6.24 (and presumably 2.6.23?) need
James> Not 2.6.23 .. the scatterlist changes causing the st problems
James> are local to 2.6.24.
Correct, I ran 2.6.23 for 47+ days of uptime without any problems. I
jumped to 2.6.24-rc5-mm1 to do my best to help out with finding
problems. Happy to have found one. :]
>> 1: Alan's "initio: fix conflict when loading driver" (currently stocuk
>> in git-scsi-misc)
James> Yes, I'm moving this into scsi-rc-fixes
I have nothing to do with this issue.
>> 2: Boaz's "initio: initio_build_scb() fix" (my name for it)
James> And applying this ... although I'd still appreciate confirmation from
James> someone that the initio driver works after this.
Sorry, I don't have of this hardware at all.
>> 3: The mystery st.c fix.
>>
>> yes?
James> James
Here's the simple one liner patch for the st.c problem:
--- orig/drivers/scsi/st.c 2007-12-16 20:08:45.000000000
-0500
+++ patched/drivers/scsi/st.c 2007-12-17 13:55:30.000000000 -0500
@@ -3611,6 +3611,7 @@
tb->dma = need_dma;
tb->buffer_size = got;
+ sg_init_table(tb->sg, max_sg);
return tb;
}
Hopefully it's not whitespace damaged.
John
next prev parent reply other threads:[~2007-12-17 23:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 1:05 2.6.24-rc5: tape drive not responding John Stoffel
2007-12-17 2:25 ` FUJITA Tomonori
2007-12-17 11:15 ` Andrew Morton
2007-12-17 18:57 ` John Stoffel
2007-12-17 20:08 ` John Stoffel
2007-12-17 21:02 ` John Stoffel
2007-12-17 21:43 ` Andrew Morton
2007-12-17 21:46 ` Jean-Louis Dupond
2007-12-17 21:52 ` James Bottomley
2007-12-17 23:47 ` John Stoffel [this message]
2007-12-18 20:18 ` Kai Makisara
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=18279.2719.394892.692343@stoffel.org \
--to=john@stoffel.org \
--cc=James.Bottomley@SteelEye.com \
--cc=akpm@linux-foundation.org \
--cc=bharrosh@panasas.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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