Hi,
It seems no one can help with this issue, but I thought I'd try one last time...
... Because I have new information... On suspend, with debugging a few extra printk's added into the kernel, I get the following:
...
power power.0: LATE suspend
power_suspend_late return 0
PM: Finished dpm_suspend_noirq...
PM: About to start suspend_ops->prepare_late...
PM: About to start suspend_test...
PM: About to start disable_non_cpus...
PM: About to start arch_suspend_disable_irqs...
PM: About to start sysdev_suspend...
drivers/base/sys.c: about to check_wakeup_irqs()......
drivers/base/sys.c: about to check if irqs_disabled()......
drivers/base/sys.c: Suspending System Devices...
drivers/base/sys.c: about to call list_for_each_entry_reverse()...
drivers/base/sys.c: Suspending type: vfp
drivers/base/sys.c: Suspending type: oprofile
BUG: sleeping function called from invalid context at kernel/mutex.c:94
in_atomic(): 0, irqs_disabled(): 128, pid: 13, name: suspend
[<c0058f08>] (unwind_backtrace+0x0/0xd8) from [<c0439f3c>] (mutex_lock+0x18/0x38)
[<c0439f3c>] (mutex_lock+0x18/0x38) from [<c036f2c4>] (op_arm_suspend+0xc/0x40)
[<c036f2c4>] (op_arm_suspend+0xc/0x40) from [<c024b3cc>] (sysdev_suspend+0xc8/0x238)
[<c024b3cc>] (sysdev_suspend+0xc8/0x238) from [<c00b6680>] (suspend_devices_and_enter+0x150/0x258)
[<c00b6680>] (suspend_devices_and_enter+0x150/0x258) from [<c00b6844>] (enter_state+0xbc/0x120)
[<c00b6844>] (enter_state+0xbc/0x120) from [<c00b7bf8>] (suspend+0x60/0x124)
[<c00b7bf8>] (suspend+0x60/0x124) from [<c009a274>] (worker_thread+0x1f0/0x29c)
[<c009a274>] (worker_thread+0x1f0/0x29c) from [<c009dd08>] (kthread+0x78/0x80)
[<c009dd08>] (kthread+0x78/0x80) from [<c0054990>] (kernel_thread_exit+0x0/0x8)
drivers/base/sys.c: Suspending type: clocksource
drivers/base/sys.c: Suspending type: timekeeping
drivers/base/sys.c: Suspending type: leds
drivers/base/sys.c: Suspending type: timer
drivers/base/sys.c: Suspending type: gpio
drivers/base/sys.c: Suspending type: cpu
Powerdomain (mpu_pwrdm) didn't enter target state 1
Powerdomain (neon_pwrdm) didn't enter target state 1
Powerdomain (core_pwrdm) didn't enter target state 1
Powerdomain (per_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
PM: I think I should be sleeping now, and about to start sysdev_resume...
PM: About to start arch_suspend_enable_irqs...
power power.0: EARLY resume
i2c_omap i2c_omap.1: EARLY resume
i2c_omap i2c_omap.3: EARLY resume
...
Does anyone have any experience on these types of issues/bugs that could offer assistance?
Does someone know a mailing list that this type of issue might be better suited for?
Thanks in advanced,
Ben
> -----Original Message-----
> From: Keane, Ben (STRX) [mailto:ben.keane@...]
> Sent: Monday, 5 December 2011 10:35 AM
> To: General mailing list for gumstix users.
> Subject: Re: [Gumstix-users] Help with PM on 2.6.32 - kernel
> panic on suspend
>
> Hi,
>
> I have been working on trying to solve this issue for about a
> week now without much success.
>
> Have other gumstix users got suspend to ram to work
> correctly? Whether it was on Android or another system?
>
> Has anyone had any issues with the OMAP FB kernel module
> causes problems during suspend?
>
>
> Kind Regards,
>
>
> Ben Keane
>
>
> > -----Original Message-----
> > From: Keane, Ben (STRX) [mailto:ben.keane@...]
> > Sent: Monday, 28 November 2011 4:54 PM
> > To: General mailing list for gumstix users.
> > Subject: [Gumstix-users] Help with PM on 2.6.32 - kernel panic on
> > suspend
> >
> > Hi,
> >
> > I am trying to get PM working with gumdroid. On suspend I
> receive the
> > following error. I am hoping someone might have some
> pointers on how
> > to start debugging this and getting it working:
> >
> >
> > # request_suspend_state: sleep (0->3) at 87837432864
> > (2000-01-01 02:00:59.894714355 UTC)
> > stop_drawing_early_suspend: timeout waiting for userspace to stop
> > drawing
> > omaplfb: **** SUSPEND
> > PM: Syncing filesystems ... done.
> > Freezing user space processes ... (elapsed 0.01 seconds) done.
> > Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
> > mmc0: card 0001 removed
> > **** DPM device timeout: mmci-omap-hs.0 (mmci-omap-hs) Unable to
> > handle kernel NULL pointer dereference at virtual address
> 00000000 pgd
> > = c0004000 [00000000] *pgd=00000000 Internal
> > error: Oops: 817 [#1] PREEMPT last sysfs file:
> > /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
> > Modules linked in: omaplfb pvrsrvkm
> > CPU: 0 Not tainted (2.6.32 #1)
> > PC is at dpm_drv_timeout+0x24/0x34
> > LR is at dpm_drv_timeout+0x20/0x34
> > pc : [<c0251634>] lr : [<c0251630>] psr: 40000113
> > sp : c0601eb8 ip : 00000002 fp : c06477d0
> > r10: c06551cc r9 : c06553cc r8 : c0654fcc
> > r7 : c06477c0 r6 : c0654978 r5 : c062ca64 r4 : c0600000
> > r3 : 00000000 r2 : c0601eac r1 : c057a955 r0 : 0000003d
> > Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
> > Control: 10c5387d Table: 9b6e8019 DAC: 00000017
> >
> > PC: 0xc02515b4:
> > 15b4 e5913020 e3530000 0a00000e e12fff33 e5942020 ea000004
> > e5943024 e3530000
> > 15d4 0a000008 e12fff33 e5942024 e2504000 0a000005 e59f1018
> > e1a03004 e59f0014
> > 15f4 eb087690 ea000000 e3a04000 e1a00004 e8bd8010 c04946a8
> > c057a932 e92d4010
> > 1614 e5903044 e5901008 e3530000 e59f0014 15932000 059f2010
> > eb087682 e3a03000
> > 1634 e5833000 eafffffd c057a955 c057a94b e3510008 e1a0c003
> > e92d4007 e1a0e002
> > 1654 e5903008 059f2090 0a00001d ca000008 e3510002 059f2084
> > 0a000019 e3510004
> > 1674 059f207c 0a000016 e3510001 1a000013 ea00000e e3510020
> > 059f2068 0a000010
> > 1694 ca000002 e3510010 1a00000c ea000005 e3510040 059f2050
> > 0a000009 e3510080
> >
> > LR: 0xc02515b0:
> > 15b0 ea000005 e5913020 e3530000 0a00000e e12fff33 e5942020
> > ea000004 e5943024 15d0 e3530000 0a000008 e12fff33 e5942024
> e2504000
> > 0a000005 e59f1018 e1a03004 15f0 e59f0014 eb087690 ea000000
> e3a04000
> > e1a00004 e8bd8010 c04946a8 c057a932 1610 e92d4010 e5903044 e5901008
> > e3530000 e59f0014 15932000 059f2010 eb087682 1630 e3a03000
> e5833000
> > eafffffd c057a955 c057a94b e3510008 e1a0c003 e92d4007 1650
> e1a0e002
> > e5903008 059f2090 0a00001d ca000008 e3510002 059f2084 0a000019 1670
> > e3510004 059f207c 0a000016 e3510001 1a000013 ea00000e e3510020
> > 059f2068 1690 0a000010 ca000002 e3510010 1a00000c
> > ea000005 e3510040 059f2050 0a000009
> >
> > SP: 0xc0601e38:
> > 1e38 00000000 c00a7efc 5539a0de 00000000 550fb80f 00000000
> ffffffff
> > 00000000
> > 1e58 1a13b860 ffffffff c0601ea4 c0654978 c06477c0 c0054a6c
> 0000003d
> > c057a955
> > 1e78 c0601eac 00000000 c0600000 c062ca64 c0654978 c06477c0
> c0654fcc
> > c06553cc
> > 1e98 c06551cc c06477d0 00000002 c0601eb8 c0251630 c0251634
> > 40000113 ffffffff
> > 1eb8 c0600000 c0091478 00000000 0000005c 00000000 c0601ee8
> > 18525bd3 c06555cc
> > 1ed8 c0251610 00000103 df932988 c06547c0 c0601ee8 c0601ee8
> 00000000
> > c0600000
> > 1ef8 00000101 00000004 c06545c0 00000103 c0600000 c0647740
> > c06545c4 c008a648
> > 1f18 c0605ff8 c00bc514 00000025 0000000a 00000001 00000000
> c0613a0c
> > 00000025
> >
> > FP: 0xc0647750:
> > 7750 00000000 00000000 00000000 00000000 c05b2158 00000000
> 00000000
> > 00000000 7770 00000000 00000000 00000000 00000000 c05b2120
> 00000000
> > 00000000 00000000 7790 00000000 00000000 00000000 00000000
> c05b2134
> > 00000000 00000000 00000000 77b0 00000000 00000000 00000000 00000000
> > c05b21a8 00000000 00000000 00000000 77d0 00000000 00000000
> 00000000
> > 00000000 c05b2180 00000000 00000000 00000000 77f0 00000000
> 00000000
> > 00000000 00000000 c05b2194 00000000 00000000 00000000 7810 00000000
> > 00000000 00000000 00000000 c05b2168 00000000 00000000
> 00000000 7830
> > 00000000 00000000 00000000 00000000
> > c05b2174 00000000 00000000 00000000
> >
> > R1: 0xc057a8d5:
> > a8d4 6c626973 656b0065 6c656e72 78616d5f 72696600 7261776d
> > 72640065 72657669
> > a8f4 61622f73 642f6573 65727665 00632e73 253e333c 73252073
> 6166203a
> > 64656c69
> > a914 206f7420 6f6c6c61 65746163 616c6320 63207373 61746e6f
> > 72656e69 333c000a
> > a934 2873253e 25203a29 72204670 72757465 2520736e 6e000a64
> 7264206f
> > 72657669
> > a954 3e303c00 2a2a2a2a 4d504420 76656420 20656369 656d6974
> 3a74756f
> > 20732520
> > a974 29732528 7266000a 657a6565 69757100 65637365 62696800
> > 616e7265 74006574
> > a994 00776168 74736572 0065726f 6f636572 00726576 6b6e7528
> 6e776f6e
> > 204d5020
> > a9b4 6e657665 3c002974 4d503e33 6544203a 65636976 20732520
> > 6c696166 74206465
> > a9d4 7325206f 203a7325 6f727265 64252072 7264000a 72657669
> > 61622f73 702f6573
> >
> > R2: 0xc0601e2c:
> > 1e2c 00000000 80000113 00000030 00000000 c00a7efc 5539a0de
> 00000000
> > 550fb80f 1e4c 00000000 ffffffff 00000000 1a13b860 ffffffff
> c0601ea4
> > c0654978 c06477c0 1e6c c0054a6c 0000003d
> > c057a955 c0601eac 00000000 c0600000 c062ca64 c0654978 1e8c c06477c0
> > c0654fcc c06553cc c06551cc c06477d0 00000002
> > c0601eb8 c0251630 1eac c0251634 40000113 ffffffff c0600000
> > c0091478 00000000 0000005c 00000000 1ecc c0601ee8 18525bd3
> c06555cc
> > c0251610 00000103 df932988 c06547c0 c0601ee8 1eec
> > c0601ee8 00000000 c0600000 00000101 00000004 c06545c0
> > 00000103 c0600000 1f0c c0647740 c06545c4 c008a648 c0605ff8
> > c00bc514 00000025 0000000a 00000001
> >
> > R4: 0xc05fff80:
> > ff80 00000000 00000000 00000000 00000000 00000000 00000000
> 00000000
> > 00000000 ffa0 00000000 00000000 00000000 00000000 00000000
> 00000000
> > 00000000 00000000 ffc0 00000000 00000000 00000000 00000000
> 00000000
> > 00000000 00000000 00000000 ffe0 00000000 00000000 00000000 00000000
> > 00000000 00000000 00000000 00000000 0000 00000000 00000105
> 00000000
> > c0602fa0
> > c06106e8 00000000 00000017 c0602fa0 0020 c0610060 df910080
> c0600000
> > c060323c dfb3b380 00000000 c0601fbc c0601f78 0040 c046f620 00000000
> > 00000000 00000000 00000000 00000000 00000000 00000000 0060
> 00000000
> > 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> >
> > R5: 0xc062c9e4:
> > c9e4 c0573938 00000000 00000124 c024f920 00000000 c0603ec4
> > 00000001 c062ca00
> > ca04 c062ca00 00000000 00000000 c062c9fc c062ca14 c062ca14
> c05747dd
> > 00000000
> > ca24 c062ca28 c062ca30 00000000 c0573f75 00000000 000001a4
> c0251400
> > c0251360
> > ca44 c062c888 df9329e0 00000001 c062ca50 c062ca50 00000000
> 00000000
> > c062ca4c
> > ca64 00000000 00200200 ffff9837 c0251610 df932988 c06547c0
> 00000000
> > 00000000
> > ca84 00000000 00000000 00000000 00000000 c057a8e5 00000000
> 00000000
> > 00000000
> > caa4 df81adc0 c02527b0 00000000 00000000 c025274c 00000000
> 00000000
> > 00000000
> > cac4 df88b900 c055ea74 00000000 000001a4 c0252704 c02526cc
> 0000003c
> > 00000001
> >
> > R6: 0xc06548f8:
> > 48f8 c06548f4 c06548fc c06548fc c0654904 c0654904 c065490c
> c065490c
> > c0654914
> > 4918 c0654914 c065491c c065491c c0654924 c0654924 c065492c
> c065492c
> > c0654934
> > 4938 c0654934 c065493c c065493c c0654944 c0654944 c065494c
> c065494c
> > c0654954
> > 4958 c0654954 c065495c c065495c c0654964 c0654964 c065496c
> c065496c
> > c0654974
> > 4978 c0654974 c065497c c065497c c0654984 c0654984 c065498c
> c065498c
> > c0654994
> > 4998 c0654994 c065499c c065499c c06549a4 c06549a4 c06549ac
> c06549ac
> > dfa23514
> > 49b8 dfb29ebc c06549bc c06549bc c06549c4 c06549c4 c06549cc
> c06549cc
> > c06549d4
> > 49d8 c06549d4 dfaa2848 dfaa2848 c06549e4 c06549e4 c06549ec
> c06549ec
> > c06549f4
> >
> > R7: 0xc0647740:
> > 7740 c05b2148 00000000 00000000 00000000 00000000 00000000
> 00000000
> > 00000000 7760 c05b2158 00000000 00000000 00000000 00000000
> 00000000
> > 00000000 00000000 7780 c05b2120 00000000 00000000 00000000
> 00000000
> > 00000000 00000000 00000000 77a0
> > c05b2134 00000000 00000000 00000000 00000000 00000000 00000000
> > 00000000 77c0 c05b21a8 00000000 00000000 00000000 00000000
> 00000000
> > 00000000 00000000 77e0 c05b2180 00000000 00000000 00000000
> 00000000
> > 00000000 00000000 00000000 7800
> > c05b2194 00000000 00000000 00000000 00000000 00000000 00000000
> > 00000000 7820 c05b2168 00000000 00000000 00000000 00000000
> 00000000
> > 00000000 00000000
> >
> > R8: 0xc0654f4c:
> > 4f4c c0654f4c c0654f4c c0654f54 c0654f54 c0654f5c c0654f5c
> > c0654f64 c0654f64 4f6c c0654f6c c0654f6c c0654f74 c0654f74
> c0654f7c
> > c0654f7c c0654f84 c0654f84 4f8c c0654f8c c0654f8c
> > c0654f94 c0654f94 c0654f9c c0654f9c c0654fa4 c0654fa4 4fac c0654fac
> > c0654fac c0654fb4 c0654fb4 c0654fbc c0654fbc
> > c0654fc4 c0654fc4 4fcc c0654fcc c0654fcc c0654fd4 c0654fd4
> c0654fdc
> > c0654fdc c0654fe4 c0654fe4 4fec c0654fec c0654fec
> > c0654ff4 c0654ff4 c0654ffc c0654ffc c0655004 c0655004 500c c065500c
> > c065500c c0655014 c0655014 c065501c c065501c
> > c0655024 c0655024 502c c065502c c065502c c0655034 c0655034
> c065503c
> > c065503c c0655044 c0655044
> >
> > R9: 0xc065534c:
> > 534c c065534c c065534c c0655354 c0655354 c065535c c065535c
> > c0655364 c0655364 536c c065536c c065536c c0655374 c0655374
> c065537c
> > c065537c c0655384 c0655384 538c c065538c c065538c
> > c0655394 c0655394 c065539c c065539c c06553a4 c06553a4 53ac c06553ac
> > c06553ac c06553b4 c06553b4 c06553bc c06553bc
> > c0643208 c0643208 53cc c06553cc c06553cc c06553d4 c06553d4
> c06553dc
> > c06553dc c06553e4 c06553e4 53ec c06553ec c06553ec
> > c06553f4 c06553f4 c06553fc c06553fc c0655404 c0655404 540c c065540c
> > c065540c c0655414 c0655414 c065541c c065541c
> > c0655424 c0655424 542c c065542c c065542c c0655434 c0655434
> c065543c
> > c065543c c0655444 c0655444
> >
> > R10: 0xc065514c:
> > 514c c065514c c065514c c0655154 c0655154 c065515c c065515c
> > c0655164 c0655164 516c c065516c c065516c c0655174 c0655174
> c065517c
> > c065517c c0655184 c0655184 518c c065518c c065518c
> > c0655194 c0655194 c065519c c065519c c06551a4 c06551a4 51ac c06551ac
> > c06551ac c06551b4 c06551b4 c06551bc c06551bc
> > c06551c4 c06551c4 51cc c0628c5c c0628c5c c06551d4 c06551d4
> c070a190
> > c0709b1c c0629f08 c0629f08 51ec c06551ec c06551ec
> > c06551f4 c06551f4 c0709600 c0709600 c0655204 c0655204 520c c065520c
> > c065520c c0655214 c0655214 c065521c c065521c
> > c0655224 c0655224 522c c065522c c065522c c0655234 c0655234
> c065523c
> > c065523c c0655244 c0655244 Process swapper (pid: 0, stack limit =
> > 0xc06002f0)
> > Stack: (0xc0601eb8 to 0xc0602000)
> > 1ea0:
> > c0600000 c0091478
> > 1ec0: 00000000 0000005c 00000000 c0601ee8 18525bd3 c06555cc
> c0251610
> > 00000103
> > 1ee0: df932988 c06547c0 c0601ee8 c0601ee8 00000000 c0600000
> > 00000101 00000004
> > 1f00: c06545c0 00000103 c0600000 c0647740 c06545c4 c008a648
> > c0605ff8 c00bc514
> > 1f20: 00000025 0000000a 00000001 00000000 c0613a0c 00000025
> 00000000
> > c0603d90
> > 1f40: 00000002 00000001 c0600000 0000001f 00000000 c008a79c
> > 00000025 c0054074
> > 1f60: ffffffff fa200000 c0603d90 c0054ac4 00000000 80000013
> > 80000013 00000000
> > 1f80: c0600000 c0603ef0 c0603d90 c064a484 8002e3ec 413fc082
> 0000001f
> > 00000000
> > 1fa0: 00000000 c0601fb8 c00643d4 c0064bf0 60000013 ffffffff
> c0600000
> > c0055cd4
> > 1fc0: c0689008 c0030018 c0030014 c0603d88 8002e3ec c000891c
> > c0008488 00000000
> > 1fe0: 00000000 c0030018 00000000 10c53c7d c064a570 80008034
> 00000000
> > 00000000 [<c0251634>] (dpm_drv_timeout+0x24/0x34) from [<c0091478>]
> > (run_timer_softirq+0x280/0x3a8) [<c0091478>]
> > (run_timer_softirq+0x280/0x3a8) from [<c008a648>]
> > (__do_softirq+0xe8/0x1f4) [<c008a648>]
> > (__do_softirq+0xe8/0x1f4) from [<c008a79c>]
> > (irq_exit+0x48/0x9c) [<c008a79c>] (irq_exit+0x48/0x9c) from
> > [<c0054074>] (asm_do_IRQ+0x74/0x90) [<c0054074>]
> > (asm_do_IRQ+0x74/0x90) from [<c0054ac4>]
> > (__irq_svc+0x44/0xa8) Exception stack(0xc0601f70 to 0xc0601fb8)
> > 1f60: 00000000 80000013
> > 80000013 00000000
> > 1f80: c0600000 c0603ef0 c0603d90 c064a484 8002e3ec 413fc082
> 0000001f
> > 00000000
> > 1fa0: 00000000 c0601fb8 c00643d4 c0064bf0 60000013 ffffffff
> > [<c0054ac4>] (__irq_svc+0x44/0xa8) from [<c0064bf0>]
> > (omap3_pm_idle+0x48/0x4c) [<c0064bf0>]
> > (omap3_pm_idle+0x48/0x4c) from [<c0055cd4>]
> > (cpu_idle+0x58/0xb8) [<c0055cd4>] (cpu_idle+0x58/0xb8) from
> > [<c000891c>] (start_kernel+0x258/0x2b8) [<c000891c>]
> > (start_kernel+0x258/0x2b8) from [<80008034>] (0x80008034)
> > Code: 15932000 059f2010 eb087682 e3a03000 (e5833000) ---[ end trace
> > 15c7de46722bf7dd ]--- Kernel panic - not syncing: Fatal
> exception in
> > interrupt
> >
> >
> >
> > Thanks in advanced,
> >
> > Ben
> >
>
> PROPRIETARY: This e-mail contains proprietary information
> some or all of which may be legally privileged. It is
> intended for the recipient only. If an addressing or
> transmission error has misdirected this e-mail, please notify
> the authority by replying to this e-mail. If you are not the
> intended recipient you must not use, disclose, distribute,
> copy, print, or rely on this e-mail.
>
> --------------------------------------------------------------
> ----------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application
> performance, security threats, fraudulent activity, and more.
> Splunk takes this data and makes sense of it. IT sense. And
> common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
> ______________________________________________________________________
> CAUTION: This message was sent via the Public Internet and
> its authenticity cannot be guaranteed.
>
PROPRIETARY: This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.
|