Trouble while running linux on custom PPC405GP board

From: Andry_x (andry_xy_at_yahoo.com)
Date: 11/02/04


Date: 2 Nov 2004 00:55:46 -0800

Hello All !
I'm new in embedded linux and trying to run linux (2.4.22) on 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). Everything OK before this point. But
after this step kernel just hangs.
After this sysrq-t prints that process init are running at c0007190
(this is
in the arch_kernel_thread).
sysrq-p doesn't print any registers, just the line "SysRq : Show
Regs".

Could someone give me any tips how to handle this trouble?



Relevant Pages

  • Re: yet another Forth: vmForth
    ... and MidLevel and HLL all Integrated in the Kernel. ... VM assembler and simulator from within the simulator for testing :-) ... higher level Forth constructs, like jz/jnz, lit, execute, call and jump. ... Compiles VM assembler mnemonics into the VM memory. ...
    (comp.lang.forth)
  • Re: [Full-Disclosure] Linux Exec Shield (was: Linux (in)security)
    ... > Speaking about kernel hardening, I was wondering if anyone on the list could ... > comment on Ingo Molnar's Exec Shield Linux kernel patches. ... Linux kernel you can execute any data inside a process's memory or overwrite ... From a security point of view ...
    (Full-Disclosure)
  • Re: Hibernation considerations
    ... ACPI calls needed in the second and third cases above? ... be done from within a kexec'd hibernation kernel. ... * execute the _PTS global control method ...
    (Linux-Kernel)
  • Re: [PATCH 0/2] add new notifier function ,take3
    ... panic so that remote node can initiate failover ... job harder as one needs to pass all the required data to second kernel. ... So it will not left to user whether he should execute the code after ... Things should be more reliable in second kernel. ...
    (Linux-Kernel)
  • Re: Query in adding application in Linux
    ... For 'test' to execute it must have the executable flag set, in this case for the root user, ... As init itself is an executable, you will have to find init,c on your embedded system, ... I still couldn't port my application to my target board. ... I have a doubt whether kernel has to compile both application and OS. ...
    (comp.os.linux.development.apps)