Thread (9 messages) flat view 9 messages, 2 authors, 2006-05-16

Re: ppc32 kernel boot problem (pmu related?)

From: Nathan Pilatzke <hidden>
Date: 2006-05-16 04:06:42

Ok, here is the new log:

time_init: processor frequency =3D 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@0, renamed to "l2-cache#1"
NET: Registered protocol family 16

KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
 channel 0 bus <multibus>
 channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
 channel 0 bus <multibus>
PMU i2c /pci@f2000000/mac-io@17/via-pmu@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

and

Calibrating delay loop... 49.79 BogoMIPS (lpj=3D99584)

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 [off-list ref] 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 !

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help