All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: sparclinux@vger.kernel.org
Subject: Re: oops in sched_init() on E3000
Date: Sun, 22 Feb 2004 21:51:16 +0000	[thread overview]
Message-ID: <20040222215116.GK703@holomorphy.com> (raw)
In-Reply-To: <20040222043448.GG703@holomorphy.com>

[-- Attachment #1: Type: text/plain, Size: 2343 bytes --]

On Sun, Feb 22, 2004 at 01:11:50AM -0800, William Lee Irwin III wrote:
>>> Unfortunately I never saw a test kernel image, so the spamfiltering bit
>>> looks likely.

On Sun, 22 Feb 2004 01:57:55 -0800 William Lee Irwin III <wli@holomorphy.com> wrote:
>> Make that "certain":

On Sun, Feb 22, 2004 at 10:03:34AM -0800, David S. Miller wrote:
> I put one up here instead:
> ftp://ftp.kernel.org/pub/linux/kernel/people/davem/for_wli/
> It may take a few minutes to propagate, but there'll be this there when it's
> done:
> -rw-r--r--    1 davem    ftpadmin   874502 Feb 22 10:02 System.map-2.6.3
> -rwxr-xr-x    1 davem    ftpadmin  3615392 Feb 22 09:53 vmlinux-263
> Let me know how it goes.

I had to run elftoaout myself to prep the thing for tftpboot; I'm not
sure how likely that is to fail/etc. I did get the following warning:

$ elftoaout vmlinux-263 
PT 0 Entry: Loadable to 0x400000[0x3ba110] from 0x0[0x370d58] align 0x100000
PT 1 Entry: unknown

I'm not sure how to pick apart the a.out stuff to see if it did
something wrong with the STACK bits in the phdr. 2.4 doesn't have
a STACK phdr so I suspect I may be getting hit here, among many
other places.

I ran it on the E3K for this run; I can run it on the U2 too if it's
more interesting.

It hanged early (I can photograph the front LED's and make them
webabble if need be). Bootlog included as a MIME attachment. The
"Button XIR" is me typing in the reset string (less traumatic than
cutting the power via APC MasterSwitch). The way I captured the
output as early as I did before was with this patch:


===== init/main.c 1.122 vs edited =====
--- 1.122/init/main.c	Wed Feb 18 22:54:06 2004
+++ edited/init/main.c	Sat Feb 21 20:26:20 2004
@@ -39,6 +39,7 @@
 #include <linux/writeback.h>
 #include <linux/cpu.h>
 #include <linux/efi.h>
+#include <linux/console.h>
 
 #include <asm/io.h>
 #include <asm/bugs.h>
@@ -389,6 +390,17 @@
  	cpu_idle();
 } 
 
+static void hack_write(struct console *c, const char *s, unsigned n)
+{
+	int k;
+
+	(void)c;
+	for (k = 0; k < n; ++k)
+		prom_putchar(s[k]);
+}
+
+static struct console hack_console = { .write = hack_write };
+
 /*
  *	Activate the first processor.
  */
@@ -403,6 +415,7 @@
  * enable them
  */
 	lock_kernel();
+	register_console(&hack_console);
 	printk(linux_banner);
 	setup_arch(&command_line);
 	setup_per_cpu_areas();

[-- Attachment #2: e3k.log.8 --]
[-- Type: text/plain, Size: 894 bytes --]

Script started on Sun Feb 22 13:01:55 2004
$ screen -x
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing 
<0>Press L1-A to return to the boot prom
Button XIR
Software Power ON
Clock board TOD does not match TOD on any IO board.
serial not found.
serial not found.
Clock board TOD does not match TOD on any IO board.

4-slot Sun Enterprise 3000, No Keyboard
OpenBoot 3.2.30, 3840 MB memory installed, Serial #9039287.
Copyright 2002 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.
{6} ok boot net:dhcp nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
Boot device: /sbus@3,0/SUNW,hme@3,8c00000:dhcp  File and args: nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
Remapping the kernel... done.
Booting Linux...
Bell in window 10
Button XIR
Software Power ON
[detached]
$ 

Script done on Sun Feb 22 13:04:14 2004

  parent reply	other threads:[~2004-02-22 21:51 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
2004-02-22  4:42 ` William Lee Irwin III
2004-02-22  7:25 ` David S. Miller
2004-02-22  9:11 ` William Lee Irwin III
2004-02-22  9:57 ` William Lee Irwin III
2004-02-22 18:03 ` David S. Miller
2004-02-22 21:51 ` William Lee Irwin III [this message]
2004-02-22 21:57 ` David S. Miller
2004-02-22 22:00 ` David S. Miller
2004-02-22 22:01 ` David S. Miller
2004-02-22 22:06 ` William Lee Irwin III
2004-02-22 22:10 ` William Lee Irwin III
2004-02-22 23:17 ` David S. Miller
2004-02-22 23:57 ` Ben Collins
2004-02-23  0:34 ` William Lee Irwin III
2004-02-23  5:41 ` David S. Miller
2004-02-23 10:02 ` William Lee Irwin III
2004-02-23 12:04 ` Ben Collins
2004-02-23 12:11 ` Ben Collins
2004-02-23 12:27 ` William Lee Irwin III
2004-02-24  7:37 ` William Lee Irwin III
2004-02-24 15:13 ` Ben Collins
2004-02-24 18:29 ` Ben Collins
2004-02-25  3:09 ` Ben Collins
2004-02-25  5:08 ` William Lee Irwin III
2004-02-25  6:59 ` David S. Miller

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=20040222215116.GK703@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.