Here is the following logs i got when i collected ramdump from my development mobile after going to kernel panic Kernel version is 2.6.35.7, Android version GingerBread. BUG: scheduling while atomic: pppd/675/0x00000203 <4>[ 85.745849] Modules linked in: dhd hotspot_event_monitoring bthid cmc7xx_sdio <4>[ 85.746032] [<c003f7dc>] (unwind_backtrace+0x0/0x168) from [<c05aa808>] (dump_stack+0x18/0x1c) <4>[ 85.746154] [<c05aa808>] (dump_stack+0x18/0x1c) from [<c00d86a4>] (__schedule_bug+0x54/0x68) <4>[ 85.746246] [<c00d86a4>] (__schedule_bug+0x54/0x68) from [<c05aab3c>] (schedule+0x78/0x48c) <4>[ 85.746337] [<c05aab3c>] (schedule+0x78/0x48c) from [<c05ab604>] (schedule_timeout+0x24/0x23c) <4>[ 85.746429] [<c05ab604>] (schedule_timeout+0x24/0x23c) from [<c05aced0>] (__down+0x88/0xc4) <4>[ 85.746520] [<c05aced0>] (__down+0x88/0xc4) from [<c00fd654>] (down+0x44/0x84) <4>[ 85.746643] [<c00fd654>] (down+0x44/0x84) from [<c0440bac>] (dpram_write+0x64/0x884) <4>[ 85.746734] [<c0440bac>] (dpram_write+0x64/0x884) from [<c04414f0>] (vs_write+0x104/0x154) <4>[ 85.746826] [<c04414f0>] (vs_write+0x104/0x154) from [<c034328c>] (ppp_async_push+0x110/0x584) <4>[ 85.746917] [<c034328c>] (ppp_async_push+0x110/0x584) from [<c0343750>] (ppp_async_send+0x50/0x58) <4>[ 85.747009] [<c0343750>] (ppp_async_send+0x50/0x58) from [<c0341360>] (ppp_channel_push+0x60/0x100) <4>[ 85.747100] [<c0341360>] (ppp_channel_push+0x60/0x100) from [<c0341500>] (ppp_write+0x100/0x108) <4>[ 85.747192] [<c0341500>] (ppp_write+0x100/0x108) from [<c015a428>] (vfs_write+0xb8/0x164) <4>[ 85.747283] [<c015a428>] (vfs_write+0xb8/0x164) from [<c015a598>] (sys_write+0x44/0x70) <4>[ 85.747375] [<c015a598>] (sys_write+0x44/0x70) from [<c00390c0>] (ret_fast_syscall+0x0/0x30) <1>[ 85.747436] Unable to handle kernel NULL pointer dereference at virtual address 00000000 <1>[ 85.747497] pgd = db338000 <1>[ 85.747528] [00000000] *pgd=4a7d9031, *pte=00000000, *ppte=00000000 <0>[ 85.747619]I[ pppd: 675] Internal error: Oops: 817 [#1] PREEMPT <0>[ 85.747650]I[ pppd: 675] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state <4>[ 85.747711]I[ pppd: 675] Modules linked in: dhd hotspot_event_monitoring bthid cmc7xx_sdio <4>[ 85.747833]I[ pppd: 675] CPU: 0 Tainted: G W (2.6.35.7-perf #2) <4>[ 85.747894]I[ pppd: 675] PC is at __schedule_bug+0x58/0x68 <4>[ 85.747955]I[ pppd: 675] LR is at unwind_frame+0xe8/0x628 <4>[ 85.748016]I[ pppd: 675] pc : [<c00d86a8>] lr : [<c003f29c>] psr: a0000013 <4>[ 85.748077]I[ pppd: 675] sp : dab59d00 ip : dab59c28 fp : dab59d14 <4>[ 85.748138]I[ pppd: 675] r10: c08546b0 r9 : 0000007d r8 : 00000428 <4>[ 85.748199]I[ pppd: 675] r7 : dcbca8c0 r6 : dab58000 r5 : c080c748 r4 : 00000000 <4>[ 85.748260]I[ pppd: 675] r3 : 00000000 r2 : dab59fa8 r1 : 00000001 r0 : c00390c0 <4>[ 85.748321]I[ pppd: 675] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user <4>[ 85.748382]I[ pppd: 675] Control: 10c57c7d Table: 4b338059 DAC: 00000015 [<c00d86a8>] (__schedule_bug+0x58/0x68) from [<c05aab3c>] (schedule+0x78/0x48c) <4>[ 85.762084]I[ pppd: 675] [<c05aab3c>] (schedule+0x78/0x48c) from [<c05ab604>] (schedule_timeout+0x24/0x23c) <4>[ 85.762176]I[ pppd: 675] [<c05ab604>] (schedule_timeout+0x24/0x23c) from [<c05aced0>] (__down+0x88/0xc4) <4>[ 85.762268]I[ pppd: 675] [<c05aced0>] (__down+0x88/0xc4) from [<c00fd654>] (down+0x44/0x84) <4>[ 85.762390]I[ pppd: 675] [<c00fd654>] (down+0x44/0x84) from [<c0440bac>] (dpram_write+0x64/0x884) <4>[ 85.762481]I[ pppd: 675] [<c0440bac>] (dpram_write+0x64/0x884) from [<c04414f0>] (vs_write+0x104/0x154) <4>[ 85.762603]I[ pppd: 675] [<c04414f0>] (vs_write+0x104/0x154) from [<c034328c>] (ppp_async_push+0x110/0x584) <4>[ 85.762695]I[ pppd: 675] [<c034328c>] (ppp_async_push+0x110/0x584) from [<c0343750>] (ppp_async_send+0x50/0x58) <4>[ 85.762786]I[ pppd: 675] [<c0343750>] (ppp_async_send+0x50/0x58) from [<c0341360>] (ppp_channel_push+0x60/0x100) <4>[ 85.762908]I[ pppd: 675] [<c0341360>] (ppp_channel_push+0x60/0x100) from [<c0341500>] (ppp_write+0x100/0x108) <4>[ 85.763000]I[ pppd: 675] [<c0341500>] (ppp_write+0x100/0x108) from [<c015a428>] (vfs_write+0xb8/0x164) <4>[ 85.763092]I[ pppd: 675] [<c015a428>] (vfs_write+0xb8/0x164) from [<c015a598>] (sys_write+0x44/0x70) <4>[ 85.763214]I[ pppd: 675] [<c015a598>] (sys_write+0x44/0x70) from [<c00390c0>] (ret_fast_syscall+0x0/0x30) <0>[ 85.763305]I[ pppd: 675] Code: ebfd894a ea000000 eb134852 e3a03000 (e5833000) <4>[ 85.763458]I[ pppd: 675] ---[ end trace 1b75b31a2719ed20 ]--- <0>[ 85.763519]I[ pppd: 675] Kernel panic - not syncing: Fatal exception in interrupt <4>[ 85.763641]I[ pppd: 675] [<c003f7dc>] (unwind_backtrace+0x0/0x168) from [<c05aa808>] (dump_stack+0x18/0x1c) <4>[ 85.763732]I[ pppd: 675] [<c05aa808>] (dump_stack+0x18/0x1c) from [<c05aa884>] (panic+0x78/0x16c) <4>[ 85.763824]I[ pppd: 675] [<c05aa884>] (panic+0x78/0x16c) from [<c003d5bc>] (die+0x248/0x288) <4>[ 85.763946]I[ pppd: 675] [<c003d5bc>] (die+0x248/0x288) from [<c00437b8>] (__do_kernel_fault+0x6c/0x8c) <4>[ 85.764038]I[ pppd: 675] [<c00437b8>] (__do_kernel_fault+0x6c/0x8c) from [<c0043a70>] (do_page_fault+0x298/0x2b8) <4>[ 85.764160]I[ pppd: 675] [<c0043a70>] (do_page_fault+0x298/0x2b8) from [<c0038408>] (do_DataAbort+0x3c/0xa0) <4>[ 85.764251]I[ pppd: 675] [<c0038408>] (do_DataAbort+0x3c/0xa0) from [<c0038bec>] (__dabt_svc+0x4c/0x60) <4>[ 85.764312]I[ pppd: 675] Exception stack(0xdab59cb8 to 0xdab59d00) <4>[ 85.764373]I[ pppd: 675] 9ca0: c00390c0 00000001 <4>[ 85.764465]I[ pppd: 675] 9cc0: dab59fa8 00000000 00000000 c080c748 dab58000 dcbca8c0 00000428 0000007d <4>[ 85.764587]I[ pppd: 675] 9ce0: c08546b0 dab59d14 dab59c28 dab59d00 c003f29c c00d86a8 a0000013 ffffffff <4>[ 85.764678]I[ pppd: 675] [<c0038bec>] (__dabt_svc+0x4c/0x60) from [<c00d86a8>] (__schedule_bug+0x58/0x68) <4>[ 85.764801]I[ pppd: 675] [<c00d86a8>] (__schedule_bug+0x58/0x68) from [<c05aab3c>] (schedule+0x78/0x48c) <4>[ 85.764892]I[ pppd: 675] [<c05aab3c>] (schedule+0x78/0x48c) from [<c05ab604>] (schedule_timeout+0x24/0x23c) <4>[ 85.765014]I[ pppd: 675] [<c05ab604>] (schedule_timeout+0x24/0x23c) from [<c05aced0>] (__down+0x88/0xc4) <4>[ 85.765106]I[ pppd: 675] [<c05aced0>] (__down+0x88/0xc4) from [<c00fd654>] (down+0x44/0x84) <4>[ 85.765197]I[ pppd: 675] [<c00fd654>] (down+0x44/0x84) from [<c0440bac>] (dpram_write+0x64/0x884) <4>[ 85.765319]I[ pppd: 675] [<c0440bac>] (dpram_write+0x64/0x884) from [<c04414f0>] (vs_write+0x104/0x154) <4>[ 85.765411]I[ pppd: 675] [<c04414f0>] (vs_write+0x104/0x154) from [<c034328c>] (ppp_async_push+0x110/0x584) <4>[ 85.765502]I[ pppd: 675] [<c034328c>] (ppp_async_push+0x110/0x584) from [<c0343750>] (ppp_async_send+0x50/0x58) <4>[ 85.765624]I[ pppd: 675] [<c0343750>] (ppp_async_send+0x50/0x58) from [<c0341360>] (ppp_channel_push+0x60/0x100) <4>[ 85.765716]I[ pppd: 675] [<c0341360>] (ppp_channel_push+0x60/0x100) from [<c0341500>] (ppp_write+0x100/0x108) <4>[ 85.765838]I[ pppd: 675] [<c0341500>] (ppp_write+0x100/0x108) from [<c015a428>] (vfs_write+0xb8/0x164) <4>[ 85.765930]I[ pppd: 675] [<c015a428>] (vfs_write+0xb8/0x164) from [<c015a598>] (sys_write+0x44/0x70) <4>[ 85.766021]I[ pppd: 675] [<c015a598>] (sys_write+0x44/0x70) from [<c00390c0>] (ret_fast_syscall+0x0/0x30) <0>[ 86.776214]I[ pppd: 675] (kernel_sec_save_final_context) Final context was saved before the system reset. <0>[ 86.776306]I[ pppd: 675] (kernel_sec_set_upload_cause) : upload_cause set c8 <0>[ 86.776367]I[ pppd: 675] (kernel_sec_reset) BUILD_INFO: HWREV: b Date:May 2 2011 Time:22:27:11 <0>[ 86.776428]I[ pppd: 675] (kernel_sec_reset) Kernel panic. The system will be reset !! In the logs which error message is causing this kernel panic. BUG: scheduling while atomic: pppd/675/0x00000203 or Unable to handle kernel NULL pointer dereference at virtual address 00000000 or Kernel panic - not syncing: Fatal exception in interrupt Please help me here... Thanks in advance..
Hi Sandeep, Sending to the list this time... On Mon, May 9, 2011 at 10:51 PM, sandeep kumar <coolsandyforyou@gmail.com> wrote:
Here is the following logs i got when i collected ramdump from my development mobile after going to kernel panic Kernel version is 2.6.35.7, Android version GingerBread.
BUG: scheduling while atomic: pppd/675/0x00000203 <4>[ 85.745849] Modules linked in: dhd hotspot_event_monitoring bthid cmc7xx_sdio <4>[ 85.746032] [<c003f7dc>] (unwind_backtrace+0x0/0x168) from [<c05aa808>] (dump_stack+0x18/0x1c) <4>[ 85.746154] [<c05aa808>] (dump_stack+0x18/0x1c) from [<c00d86a4>] (__schedule_bug+0x54/0x68) <4>[ 85.746246] [<c00d86a4>] (__schedule_bug+0x54/0x68) from [<c05aab3c>] (schedule+0x78/0x48c) <4>[ 85.746337] [<c05aab3c>] (schedule+0x78/0x48c) from [<c05ab604>] (schedule_timeout+0x24/0x23c) <4>[ 85.746429] [<c05ab604>] (schedule_timeout+0x24/0x23c) from [<c05aced0>] (__down+0x88/0xc4) <4>[ 85.746520] [<c05aced0>] (__down+0x88/0xc4) from [<c00fd654>] (down+0x44/0x84) <4>[ 85.746643] [<c00fd654>] (down+0x44/0x84) from [<c0440bac>] (dpram_write+0x64/0x884) <4>[ 85.746734] [<c0440bac>] (dpram_write+0x64/0x884) from [<c04414f0>] (vs_write+0x104/0x154) <4>[ 85.746826] [<c04414f0>] (vs_write+0x104/0x154) from [<c034328c>] (ppp_async_push+0x110/0x584) <4>[ 85.746917] [<c034328c>] (ppp_async_push+0x110/0x584) from [<c0343750>] (ppp_async_send+0x50/0x58) <4>[ 85.747009] [<c0343750>] (ppp_async_send+0x50/0x58) from [<c0341360>] (ppp_channel_push+0x60/0x100) <4>[ 85.747100] [<c0341360>] (ppp_channel_push+0x60/0x100) from [<c0341500>] (ppp_write+0x100/0x108)
Looking at the source, ppp_channel_push calls spin_lock_bh which enters the atomic context. dpram_write tries to call down from within this context, which isn't legal. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com
participants (2)
-
Dave Hylands -
sandeep kumar