From: Vladimir <vova-ks@yandex.ru>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Problem with user-space programs on 405GP: linux 2.6 oops
Date: Tue, 2 Nov 2004 22:24:11 +0300 [thread overview]
Message-ID: <200411022224.11540.vova-ks@yandex.ru> (raw)
In-Reply-To: <200411020354.39610.vova-ks@yandex.ru>
On Tuesday 02 November 2004 03:54, Vladimir wrote:
> Hello All !
> I'm trying to run linux (2.4.22) on embedded PowerPC (405GP). It boots
> nice, but when it tries to execute /sbin/init it hangs. Last console
> messages are:
>
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 56k init 4k prep
>
> I've tried to replace /sbin/init by my own executable - it's definitely
> have not been executed.
> I've traced it to the "last point" in kernel-mode (instruction rfi in file
> arch/ppc/kernel/entry.S:389). Before this point everything is all right.
> But after this instruction kernel just hangs.
> After this sysrq-t prints that process init are running at c0007190 (this
> is in the arch_kernel_thread).
> sysrq-p does not print any registers, just the line "SysRq : Show Regs".
>
> Could someone give me any tips how to fix this trouble ?
Hello All !
I've tried linux 2.6.8.1 and it gives me the following oops:
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 68k init
Oops: kernel access of bad area, sig: 11 [#1]
NIP: C00C032C LR: C00C0518 SP: C3F87D90 REGS: c3f87ce0 TRAP: 0300 Not
tainted
MSR: 00029230 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000000, DSISR: 00000000
TASK = c3f859c0[1] 'init' THREAD: c3f86000Last syscall: 5
PLB0: bear= 0x00a2f48e acr= 0x00000000 besr= 0x00000000
PLB0 to OPB: bear= 0x0a201000 besr0= 0x00000000 besr1= 0x00000000
GPR00: 00000000 C3F87D90 C3F859C0 00000000 00000001 00000000 C027EF50 C3FED0D0
GPR08: 00000080 00000000 C027EE00 C027EE00 22000022 1001F0B8 03FE3200 007FFF2B
GPR16: 00000000 00000001 007FFF00 FFFFFFFF 03FDE850 00000000 03F9FE88 00000001
GPR24: 00000102 10005844 C01D1410 00000001 00000000 C01D1794 00000000 00000000
NIP [c00c032c] visual_init+0xa0/0x1c4
LR [c00c0518] vc_allocate+0xc8/0x150
Call trace:
[c00c0518] vc_allocate+0xc8/0x150
[c00c42c0] con_open+0x50/0xc0
[c00b200c] tty_open+0x2a4/0x548
[c0057c44] chrdev_open+0xf0/0x184
[c004cc74] dentry_open+0x164/0x26c
[c004cb0c] filp_open+0x68/0x6c
[c004d030] sys_open+0x68/0xa0
[c0004540] ret_from_syscall+0x0/0x48
Kernel panic: Attempted to kill init!
<0>Rebooting in 180 seconds..
--
Vladimir
next prev parent reply other threads:[~2004-11-02 19:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-02 0:54 Problem with user-space programs on 405GP Vladimir
2004-11-02 19:24 ` Vladimir [this message]
2004-11-02 22:17 ` Problem with user-space programs on 405GP: linux 2.6 oops Dale Farnsworth
2004-11-03 11:10 ` Vladimir
[not found] ` <41879A89.5020104@rossvideo.com>
2004-11-03 11:09 ` Problem with user-space programs on 405GP Vladimir
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=200411022224.11540.vova-ks@yandex.ru \
--to=vova-ks@yandex.ru \
--cc=linuxppc-embedded@ozlabs.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