From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
To: linux-mips@linux-mips.org
Subject: Re: Exception while loading kernel
Date: Mon, 27 Aug 2007 08:36:03 +0200 [thread overview]
Message-ID: <1188196563.2177.13.camel@scarafaggio> (raw)
In-Reply-To: <1188030215.13999.14.camel@scarafaggio>
Hi all,
I compiled the latest kernel 2.6.22.4 from www.kernel.org and 2.6.23-rc3
from linux-.mips.org using the .config from Debian
linux-image-2.6.22-1-r5k_ip32 and activating CONFIG_NFSD_V4 and a few
network device drivers.
The command I used to compile was:
$ fakeroot make-kpkg --revision 2:2.6.22 \
--append-to-version -1gs-r5k-ip32 --arch-in-name buildpackage
When I boot an SGI O2 r5k with any of those kernel, I get this error message:
---------------------------------------------------------------------------
Loading 64-bit executable
Loading program segment 1 at 0x80005000, offset=0x0 4000, size = 0x0 4f8086
5dc000 (cache: 95.0%)Zeroing memory ar 0x82f611, size 0 0x0
Starting ELF64 kernel
Exception: <vector=Normal>
Status register: 0x34010082<CU1,CU0,FR,DE,IPL=8,KX,MODE=KERNEL>
Cause register: 0x8014<CE=0,IP8,EXC=WADE>
Exception PC: 0x802204fc, Exception RA: 0x804da7ac
Write address error exception, bad address: 0xfffff000
Saved user regs in hex (&gpda 0x81060e08, &_regs 0x81061008):
arg: 81070000 0 804ff518 1
tmp: 81070000 1000 80516868 fff8054b ffffffff 81412ef4 a13fb0d0 8
sve: 81070000 4083ae51 0 4608a976 0 0 0 80ee80d5
t8 81070000 t9 0 at 0 v0 0 v1 0 k1 fffff000
gp 81070000 fp 0 sp 0 ra 0
PANIC: Unexpected exception
[Press reset or ENTER to restart.]
---------------------------------------------------------------------------
If I understand correctly the problem happened at address 0x802204fc, so
I checked the system.map file and found
ffffffff802204c4 T __bzero
ffffffff80220524 t memset_partial
If I understand correctly, the kernel was executing the __bzero function
and tried accessing the invalid address 0xfffff000.
Other, maybe useful, addresses from system.map are:
ffffffff804da6e8 t init_bootmem_core
ffffffff804da7c8 t $L99
ffffffff80516868 b contig_bootmem_data
ffffffff804ff4e8 B boot_mem_map
ffffffff804ff7f0 B fw_arg0
>From these number, I guess that boot_mem_map contain an invalid address.
Is this correct?
Bye,
Giuseppe
WARNING: multiple messages have this Message-ID (diff)
From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
To: linux-mips@linux-mips.org
Subject: Re: Exception while loading kernel
Date: Mon, 27 Aug 2007 08:36:03 +0200 [thread overview]
Message-ID: <1188196563.2177.13.camel@scarafaggio> (raw)
Message-ID: <20070827063603.I5DAam-cywDLNKAi657-2LJOwxTPfjr5xKMmhtD6utI@z> (raw)
In-Reply-To: <1188030215.13999.14.camel@scarafaggio>
Hi all,
I compiled the latest kernel 2.6.22.4 from www.kernel.org and 2.6.23-rc3
from linux-.mips.org using the .config from Debian
linux-image-2.6.22-1-r5k_ip32 and activating CONFIG_NFSD_V4 and a few
network device drivers.
The command I used to compile was:
$ fakeroot make-kpkg --revision 2:2.6.22 \
--append-to-version -1gs-r5k-ip32 --arch-in-name buildpackage
When I boot an SGI O2 r5k with any of those kernel, I get this error message:
---------------------------------------------------------------------------
Loading 64-bit executable
Loading program segment 1 at 0x80005000, offset=0x0 4000, size = 0x0 4f8086
5dc000 (cache: 95.0%)Zeroing memory ar 0x82f611, size 0 0x0
Starting ELF64 kernel
Exception: <vector=Normal>
Status register: 0x34010082<CU1,CU0,FR,DE,IPL=8,KX,MODE=KERNEL>
Cause register: 0x8014<CE=0,IP8,EXC=WADE>
Exception PC: 0x802204fc, Exception RA: 0x804da7ac
Write address error exception, bad address: 0xfffff000
Saved user regs in hex (&gpda 0x81060e08, &_regs 0x81061008):
arg: 81070000 0 804ff518 1
tmp: 81070000 1000 80516868 fff8054b ffffffff 81412ef4 a13fb0d0 8
sve: 81070000 4083ae51 0 4608a976 0 0 0 80ee80d5
t8 81070000 t9 0 at 0 v0 0 v1 0 k1 fffff000
gp 81070000 fp 0 sp 0 ra 0
PANIC: Unexpected exception
[Press reset or ENTER to restart.]
---------------------------------------------------------------------------
If I understand correctly the problem happened at address 0x802204fc, so
I checked the system.map file and found
ffffffff802204c4 T __bzero
ffffffff80220524 t memset_partial
If I understand correctly, the kernel was executing the __bzero function
and tried accessing the invalid address 0xfffff000.
Other, maybe useful, addresses from system.map are:
ffffffff804da6e8 t init_bootmem_core
ffffffff804da7c8 t $L99
ffffffff80516868 b contig_bootmem_data
ffffffff804ff4e8 B boot_mem_map
ffffffff804ff7f0 B fw_arg0
From these number, I guess that boot_mem_map contain an invalid address.
Is this correct?
Bye,
Giuseppe
next parent reply other threads:[~2007-08-27 6:36 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1188030215.13999.14.camel@scarafaggio>
2007-08-27 6:36 ` Giuseppe Sacco [this message]
2007-08-27 6:36 ` Exception while loading kernel Giuseppe Sacco
2007-08-27 13:01 ` Markus Gothe
2007-08-27 13:17 ` Giuseppe Sacco
2007-08-28 17:18 ` Giuseppe Sacco
2007-08-29 2:25 ` Markus Gothe
2007-08-29 6:46 ` Giuseppe Sacco
2007-08-29 8:33 ` Ricardo Mendoza
2007-08-29 8:54 ` Giuseppe Sacco
2007-08-29 10:05 ` Ricardo Mendoza
2007-08-29 16:51 ` Markus Gothe
2007-08-29 21:30 ` Ricardo Mendoza
2007-08-31 5:49 ` Giuseppe Sacco
2007-08-31 7:14 ` Markus Gothe
2007-08-31 7:41 ` Giuseppe Sacco
2007-08-30 12:52 ` Giuseppe Sacco
2007-08-30 12:52 ` Giuseppe Sacco
2007-08-30 20:04 ` Markus Gothe
2007-08-30 21:20 ` Giuseppe Sacco
[not found] ` <20070825152536.GA4499@networkno.de>
[not found] ` <Pine.SGI.4.60.0708252047260.4891@zeus.tetracon-eng.net>
[not found] ` <20070826065054.84c97aef.giuseppe@eppesuigoccas.homedns.org>
[not found] ` <Pine.LNX.4.64.0708300931100.14430@pixie.tetracon-eng.net>
[not found] ` <1188481891.6770.22.camel@scarafaggio>
2007-09-06 10:58 ` J. Scott Kasten
2007-09-06 11:57 ` Giuseppe Sacco
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=1188196563.2177.13.camel@scarafaggio \
--to=giuseppe@eppesuigoccas.homedns.org \
--cc=linux-mips@linux-mips.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