2.6.31-git5 kernel boot hangs on powerpc

Sachin Sant sachinp at in.ibm.com
Thu Sep 17 20:51:47 EST 2009


Sachin Sant wrote:
> 2.6.31-git5(0cb583fd2862f19ea88b02eb307d11c09e51e2f8)
> kernel fails to boot on powerpc box. 
> 31-git4(18240904960a39e582ced8ba8ececb10b8c22dd3) boots fine.
The problem seems to have been introduced with
commit ada3fa15057205b7d3f727bba5cd26b5912e350f.

Specifically this patch : 
powerpc64: convert to dynamic percpu allocator

If i revert this patch i am able to boot latest git
on a powerpc box.

The kernel is configured with 64K pages.
Have again attached the config file used.

Thanks
-Sachin

>
> The machine hangs just after following messages
>
> Mount CIFS File Systems                            unused
> Loading CPUFreq modules (CPUFreq not supported)
> Starting HAL daemon                                done
> NET: Registered protocol family 10
>
> I don't get any other messages, so not sure what the problem
> is.
> I tried enabling CONFIG_RCU_CPU_STALL_DETECTOR and rebooted the
> box to see if i could obtain debug messages. With this config
> option enabled i observed the following messages in the dmesg
> buffer.
>
> <7>irq: irq 33540 on host null mapped to virtual irq 260
> <6>NET: Registered protocol family 10
> <3>INFO: RCU detected CPU 0 stall (t=1000 jiffies)
> <3>INFO: RCU detected CPU 0 stall (t=4000 jiffies)
> <3>BUG: soft lockup - CPU#0 stuck for 61s! [modprobe:1934]
> <4>Modules linked in: ipv6(+) fuse loop dm_mod sr_mod cdrom sg sd_mod 
> crc_t10dif ibmvscsic scsi_transport_srp scsi_tgt scsi_mod
> <4>NIP: c00000000004657c LR: c000000000189dbc CTR: 0000000000000040
> <4>REGS: c0000000deff7630 TRAP: 0901   Not tainted  (2.6.31-git5)
> <4>MSR: 8000000000009032 <EE,ME,IR,DR>  CR: 44224420  XER: 20000004
> <4>TASK = c0000000dc1c6b00[1934] 'modprobe' THREAD: c0000000deff4000 
> CPU: 0
> <4>GPR00: 0000000000000040 c0000000deff78b0 c000000000c16580 
> d00007fffff00000
> <4>GPR04: 0000000000000000 0000000000000000 d00007fffff00000 
> d00007fffff00000
> <4>GPR08: 0000000000000000 c000000001220180 c000000000cc5b60 
> 00000000000003c0
> <4>GPR12: 0000000088224428 c000000000ce2600
> <4>NIP [c00000000004657c] .memset+0x60/0xfc
> <4>LR [c000000000189dbc] .pcpu_alloc+0x724/0x910
> <4>Call Trace:
> <4>[c0000000deff78b0] [c000000000189d4c] .pcpu_alloc+0x6b4/0x910 
> (unreliable)
> <4>[c0000000deff79e0] [c00000000018a03c] .__alloc_percpu+0x3c/0x58
> <4>[c0000000deff7a70] [c000000000684130] .snmp_mib_init+0x64/0xb0
> <4>[c0000000deff7b00] [d0000000023eeef0] .ipv6_add_dev+0x1e4/0x3fc [ipv6]
> <4>[c0000000deff7bb0] [d00000000241e020] .addrconf_init+0x74/0x1a0 [ipv6]
> <4>[c0000000deff7c50] [d00000000241dddc] .inet6_init+0x1c4/0x354 [ipv6]
> <4>[c0000000deff7ce0] [c000000000009970] .do_one_initcall+0xb0/0x208
> <4>[c0000000deff7d90] [c0000000000e4938] .SyS_init_module+0x12c/0x2ac
> <4>[c0000000deff7e30] [c0000000000085dc] syscall_exit+0x0/0x40
> <4>Instruction dump:
> <4>98860000 38c60001 409e000c b0860000 38c60002 409d000c 90860000 
> 38c60004
> <4>78a0d183 78a506a0 7c0903a6 4182002c <f8860000> f8860008 f8860010 
> f8860018
> <3>INFO: RCU detected CPU 0 stall (t=7000 jiffies)
> <3>INFO: RCU detected CPU 0 stall (t=10000 jiffies)
> <3>INFO: RCU detected CPU 0 stall (t=13000 jiffies)
> <3>INFO: RCU detected CPU 0 stall (t=16000 jiffies)
>
> I have attached the complete dmesg.log and .config used.
>
> Thanks
> -Sachin
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev


-- 

---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config_git5
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090917/1c0e094a/attachment-0001.asc>


More information about the Linuxppc-dev mailing list