2.6.23-rc8 dies somewhere during boot!?
paulus at samba.org
Fri Sep 28 09:31:31 EST 2007
Gerhard Pircher writes:
> I'm working on a 2.6.23 kernel for the AmigaOne. I implemented the device
> tree and the platform setup code, which all compiles fine. I built a
> cuImage target, loaded it on my target machine with TFTP and booted it.
> The kernel passes the platform setup code and then dies somewhere in the
> driver init code (AFAICT), but before the keyboard driver is initialized
> (thus magic sysrq key doesn't work). Can somebody help me to track down
> this problem?
You appear to have a working 16550-style serial port which the udbg
infrastructure sees. Thus you should be able to use xmon, talking to
it via the serial port. Put "xmon" on the kernel command line and the
kernel will drop into xmon early in the boot process (in setup_arch).
Then, either the kernel will oops at some point and drop into xmon,
and you can then inspect memory and registers and get a stack trace,
or it will hang at some point. If it hangs, you can work out where it
hangs by putting in breakpoints at various points and seeing which
breakpoints you get to (this might take several boots).
More information about the Linuxppc-dev