From: Andrew Morton <akpm@digeo.com>
To: Justin A <ja6447@albany.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.47-ac4 panic on boot.
Date: Fri, 15 Nov 2002 14:16:30 -0800 [thread overview]
Message-ID: <3DD5723E.CED7AE1A@digeo.com> (raw)
In-Reply-To: 200211151712.11347.ja6447@albany.edu
Justin A wrote:
>
> .config crashes, it oopses as soon as pnp starts, then 2 seconds later the
> previous oops comes up and it panics.
Irritating when it does that. Here's a little patch which should
stop the machine dead after the first ooops, prevent stuff from
scrolling off the screen.
This, with the missing touch_nmi_watchdog() would be a handy
kernel boot option, perhaps.
--- 25/arch/i386/kernel/traps.c~noscroll Tue Nov 12 13:13:24 2002
+++ 25-akpm/arch/i386/kernel/traps.c Tue Nov 12 13:14:16 2002
@@ -84,7 +84,7 @@ asmlinkage void alignment_check(void);
asmlinkage void spurious_interrupt_bug(void);
asmlinkage void machine_check(void);
-static int kstack_depth_to_print = 24;
+static int kstack_depth_to_print = 10;
/*
@@ -246,6 +246,9 @@ bad:
printk("%02x ", c);
}
}
+ local_irq_disable();
+ for ( ; ; )
+ ;
printk("\n");
}
_
next prev parent reply other threads:[~2002-11-15 22:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 5:59 2.5.47-ac4 panic on boot Justin A
2002-11-15 6:33 ` Andrew Morton
2002-11-15 7:54 ` Justin A
2002-11-15 8:28 ` Andrew Morton
2002-11-15 22:12 ` Justin A
2002-11-15 22:16 ` Andrew Morton [this message]
2002-11-15 22:59 ` Justin A
2002-11-15 22:02 ` Samuli Suonpaa
2002-11-15 22:36 ` Justin A
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=3DD5723E.CED7AE1A@digeo.com \
--to=akpm@digeo.com \
--cc=ja6447@albany.edu \
--cc=linux-kernel@vger.kernel.org \
/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