From: Andrew Morton <akpm@digeo.com>
To: Torrey Hoffman <thoffman@arnor.net>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Another must-fix: sbp2 and firewire hard disk crashes hard.
Date: Wed, 04 Jun 2003 16:55:56 -0700 [thread overview]
Message-ID: <3EDE870C.1EFA566C@digeo.com> (raw)
In-Reply-To: 1054770509.1198.79.camel@torrey.et.myrio.com
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 ( ; ; )
+ ;
}
/*
_
next prev parent reply other threads:[~2003-06-04 23:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-04 23:48 Another must-fix: sbp2 and firewire hard disk crashes hard Torrey Hoffman
2003-06-04 23:55 ` Andrew Morton [this message]
[not found] ` <1054838369.1737.11.camel@torrey.et.myrio.com>
[not found] ` <20030605175412.GF625@phunnypharm.org>
[not found] ` <1054858724.3519.19.camel@torrey.et.myrio.com>
[not found] ` <20030606025721.GJ625@phunnypharm.org>
2003-06-12 19:28 ` SBP2 hotplug doesn't update /proc/partitions Torrey Hoffman
2003-06-12 19:52 ` Erik Andersen
2003-06-12 20:07 ` Torrey Hoffman
2003-06-12 19:52 ` Ben Collins
2003-06-13 2:40 ` scsi_add_device() broken? (was Re: SBP2 hotplug doesn't update /proc/partitions) Ben Collins
2003-06-13 16:08 ` [PATCH] " Ben Collins
2003-06-13 17:19 ` Patrick Mansfield
2003-06-12 20:21 ` SBP2 hotplug doesn't update /proc/partitions Torrey Hoffman
2003-06-05 8:03 ` Another must-fix: sbp2 and firewire hard disk crashes hard Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EDE870C.1EFA566C@digeo.com \
--to=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thoffman@arnor.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox