linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* kernel entry point, where in code?
@ 1999-08-26  9:06 Ira K Weiny
  0 siblings, 0 replies; only message in thread
From: Ira K Weiny @ 1999-08-26  9:06 UTC (permalink / raw)
  To: linuxppc-dev, linuxppc-user; +Cc: borja.001, jfuller


I don't quite know where to go from here...

I have gotten the 2.2.10 kernel from linuxppc.org a while ago.  I did not have
problems compiling it at all.  I did:
gmake config
gmake dep
gmake
gmake modules
gmake modules_install

moved the kernel and the System.map to the /boot and rebooted.

I get through the quik loader.  (Booting from OF) but the screen does not seem
to clear like it does normaly.  And then the computer hangs.

So what I am left with is the boot prompt in OF something like:

boot:
\
device...  /bandit/
device...  /chaos/control

What I can figure is the kernel hangs somewhere before start_kernel and up
to and including the console_init function call.  Because with my kernel which
works I think these messages are the same and the screen blanks and then starts
with the boot process.

in file init/main.c:

asmlinkage void __init start_kernel(void)
{

I have been trying to figure out where this is called so that I can try and
figure out what is going wrong?  I have no errors from the kernel.  I have
searched all the arch, include/asm-ppc and other directories I can think of in
the source.

Along those lines...

Is it printk which prints the messages on the screen at bootup.  PRIOR to the
init scripts.  I don't even get the linux_banner before the machine locks up...
;-(

Or if I am totaly off-base here...

Where does the kernel code start executing?

Thanks in advance
Ira Weiny
iweiny@acm.org


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-08-26  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-26  9:06 kernel entry point, where in code? Ira K Weiny

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).