linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* /sbin/init is not beeing scheduled to run
@ 2005-06-29 16:39 Chunlei Dong
  2005-06-29 16:54 ` Eugene Surovegin
  0 siblings, 1 reply; 2+ messages in thread
From: Chunlei Dong @ 2005-06-29 16:39 UTC (permalink / raw)
  To: linux-ppc-embedded

Hi,=20

I am trying to boot the linux 2.6.11.5 in high memory, that means the
phys memory does not start from 0, but 0x04000000, on ppc440gp ebony
board.  I changed the TLB setting and register settings for bdinfo,
cmdline. Now it seems ok to run to the end of the process 0. After the
start_thread() in load_elf_binary(), which loaded the "/sbin/init",
the cpu becomes idle state, the /sbin/init process(the process 1) is
never been scheduled to run.
Anybody encountered this problem or give a hint?

Best regards
- Charlie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /sbin/init is not beeing scheduled to run
  2005-06-29 16:39 /sbin/init is not beeing scheduled to run Chunlei Dong
@ 2005-06-29 16:54 ` Eugene Surovegin
  0 siblings, 0 replies; 2+ messages in thread
From: Eugene Surovegin @ 2005-06-29 16:54 UTC (permalink / raw)
  To: Chunlei Dong; +Cc: linux-ppc-embedded

On Wed, Jun 29, 2005 at 09:39:55AM -0700, Chunlei Dong wrote:
> Hi, 
> 
> I am trying to boot the linux 2.6.11.5 in high memory, that means the
> phys memory does not start from 0, but 0x04000000, on ppc440gp ebony
> board.  I changed the TLB setting and register settings for bdinfo,
> cmdline. Now it seems ok to run to the end of the process 0. After the
> start_thread() in load_elf_binary(), which loaded the "/sbin/init",
> the cpu becomes idle state, the /sbin/init process(the process 1) is
> never been scheduled to run.
> Anybody encountered this problem or give a hint?

Well, my suggestion is NOT to use such strange configuration and put 
memory at 0, you'll save yourself a lot of time.

Theoretically, it should be possible to make Linux work when RAM 
isn't at 0 address, but you have to fix many places and this requires 
quite deep understanding of Linux and PPC 44x memory management, and, 
frankly, you're on your own in this quest :).

-- 
Eugene

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-29 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-29 16:39 /sbin/init is not beeing scheduled to run Chunlei Dong
2005-06-29 16:54 ` Eugene Surovegin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).