lkml.org 
[lkml]   [2003]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Another must-fix: sbp2 and firewire hard disk crashes hard.
Torrey Hoffman wrote:
>
> as soon as the SBP2 driver in
> 2.5.(recent) sees my firewire drive, either during kernel boot or later
> if I turn on / plug in the drive, the system crashes and dumps a
> seemingly endless stack trace.

Please apply the below patch, which should prevent the info
from scrolling away. Then send a full report to
linux1394-devel@lists.sourceforge.net


diff -puN arch/i386/kernel/traps.c~stop-trace arch/i386/kernel/traps.c
--- 25/arch/i386/kernel/traps.c~stop-trace Wed Jun 4 16:48:41 2003
+++ 25-akpm/arch/i386/kernel/traps.c Wed Jun 4 16:50:13 2003
@@ -96,6 +96,7 @@ void show_trace(unsigned long * stack)
{
int i;
unsigned long addr;
+ int count = 0;

if (!stack)
stack = (unsigned long*)&stack;
@@ -111,6 +112,8 @@ void show_trace(unsigned long * stack)
printk(" [<%08lx>] ", addr);
print_symbol("%s\n", addr);
}
+ if (count++ > 12)
+ break;
}
printk("\n");
}
@@ -146,6 +149,8 @@ void show_stack(unsigned long * esp)
}
printk("\n");
show_trace(esp);
+ for ( ; ; )
+ ;
}

/*
_
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.062 / U:17.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site