Messages in this thread Patch in this message |  | | Date | Wed, 04 Jun 2003 16:55:56 -0700 | From | Andrew Morton <> | Subject | Re: 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/
|  |