Messages in this thread | | | Date | Tue, 23 Aug 2005 21:07:21 +0200 | From | Robert Valentan <> | Subject | Re: SCSI tape problems: 2.6.12, DLT 7000, Adaptec AIC7xxx |
| |
(and Re: Linux-2.6.13-rc6: aic7xxx testers please.. )
Hi!
I have also the problem with a dlt drive HP C9264CB (with media changer). After I have discovered, that after a
rmmod st ; modprobe st
the tape is working again, I take same "readings" in the code of st.c. I think, I have detect a bug. The st_buf_fragment[] should begin after the scatterlist[]
*** st.c.orig 2005-08-23 20:43:17.304704439 +0200 --- st.c 2005-08-23 20:43:45.402087696 +0200 *************** *** 3530,3536 **** tb->use_sg = max_sg; if (segs > 0) tb->b_data = page_address(tb->sg[0].page); ! tb->frp = (struct st_buf_fragment *)(&(tb->sg[0]) + max_sg);
tb->in_use = 1; tb->dma = need_dma; --- 3530,3536 ---- tb->use_sg = max_sg; if (segs > 0) tb->b_data = page_address(tb->sg[0].page); ! tb->frp = (struct st_buf_fragment *)(&(tb->sg[max_sg]));
tb->in_use = 1; tb->dma = need_dma;
I have it not tested, because the tape drive is in a datacenter of a provider, and "killing" the kernel will not be repairable with an ssh-connect ;-( I can't get the tape out off the data- center before friday..
wbr -- Robert Valentan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |