ppc32 kernel boot problem (pmu related?)

Nathan Pilatzke nathanpilatzke at gmail.com
Tue May 16 14:06:37 EST 2006

Ok, here is the new log:

time_init: processor frequency = 700.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7,524288 bytes)
Inode-cache hash table entries: 65536 (order: 6,262144 bytes)
Memory: 643456k/655360k available (2908k kernel code, 11564k reserved,
272k data, 131k bss, 156k init)
Mount-cache hash table entries: 512
device-tree: Duplicate name in /cpus/PowerPC,G4 at 0, renamed to "l2-cache#1"
NET: Registered protocol family 16

KeyWest i2c @0xf8001003 irq 42 /uni-n at f8000000/i2c at f8001000
 channel 0 bus <multibus>
 channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci at f2000000/mac-io at 17/i2c at 18000
 channel 0 bus <multibus>
PMU i2c /pci at f2000000/mac-io at 17/via-pmu at 16000/pmu-i2c
 channel 1 bus <multibus>
 channel 2 bus <multibus>
PCI: Probing PCI hardware

And that's where is locks hard.  Just as an alternative I tried
compiling without i2c support, but the kernel locks hard at the exact
same point.  Compiling without the pmu code is the only way I can get
the kernel to boot.  There are some kernel messages missing from a
kernel compiled with pmu versus a kernel without pmu, namely:

On node 0 total pages: 163840
 DMA zone: 163840 pages, LIFO batch: 31


Calibrating delay loop... 49.79 BogoMIPS (lpj=99584)

but they do not seem to be anything serious.  Where to go from here?
Thanks for the debugging suggestions so far, keep them coming please.

On 5/14/06, Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> Hrm... that's pretty much when console_init() gets called, which means
> no message until the fbdev kicks in, thus we just "miss" the messages
> from there to the crash.... Can you edit arch/powerpc/kernel/udbg.c,
> there is a function called disable_early_printk() which contains a #if
> 1, turn that into #if 0 and tell me if you get a more useful log after
> the time_init thing. Thanks !

More information about the Linuxppc-dev mailing list