Re: 2.6.24-rc5-mm1: kernel BUG at include/linux/scatterlist.h:59!

From: FUJITA Tomonori
Date: Sat Dec 15 2007 - 01:52:21 EST


On Fri, 14 Dec 2007 18:05:56 -0500
"John Stoffel" <john@xxxxxxxxxxx> wrote:

>
> Hi,
>
> Just fired up 2.6.24-rc5-mm1 on a Dual CPU PIII 550mhz system with 2gb
> of RAM. Got the following error. Let me know if you need more
> details or want me to run tests or make changes. Looks like something
> in the SCSI st driver, which makes sense since I have a pair of DLT 7k
> drives hooked upto this system via a Symbios PCI card. I've also got
> a P1000 jukebox on there as well.

Can you try the following patch?

diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
index 98dfd6e..328c47c 100644
--- a/drivers/scsi/st.c
+++ b/drivers/scsi/st.c
@@ -3611,6 +3611,7 @@ static struct st_buffer *

tb->dma = need_dma;
tb->buffer_size = got;
+ sg_init_table(tb->sg, max_sg);

return tb;
}
--
1.5.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/