>>>>> "James" == James Bottomley <[email protected]> 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" <[email protected]> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]