lkml.org 
[lkml]   [2007]   [Dec]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 15 Dec 2007 15:51:55 +0900
SubjectRe: 2.6.24-rc5-mm1: kernel BUG at include/linux/scatterlist.h:59!
FromFUJITA Tomonori <>
On Fri, 14 Dec 2007 18:05:56 -0500
"John Stoffel" <john@stoffel.org> 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


\
 
 \ /
  Last update: 2007-12-15 07:55    [from the cache]
©2003-2008