On Tue, Aug 1, 2017 at 9:11 AM, Adam Ford <aford173@xxxxxxxxx> wrote: > I am able to suspend and wake correctly with the 4.9.y LTS branch on a > device with 256 MB of DDR, btu the 512 DDR version causes a kernel > opps. Sorry, I bumped the wrong button and it sent the e-mail prematurely. # echo mem > /sys/power/state [ 40.323638] PM: Syncing filesystems ... done. [ 40.663726] PM: Preparing system for sleep (mem) [ 40.684539] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 40.693603] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 40.703063] PM: Suspending system (mem) [ 40.707183] Suspending console(s) (use no_console_suspend to debug) [ 40.837432] PM: suspend of devices complete after 122.802 msecs [ 40.839111] PM: late suspend of devices complete after 1.647 msecs [ 40.841339] PM: noirq suspend of devices complete after 2.197 msecs [ 40.841339] Successfully put all powerdomains to target state [ 40.841339] Suspended for 31.154 seconds [ 40.843292] PM: noirq resume of devices complete after 1.861 msecs [ 40.845642] PM: early resume of devices complete after 1.922 msecs [ 41.017364] PM: resume of devices complete after 171.630 msecs [ 41.068542] PM: Finishing wakeup. [ 41.072021] Restarting tasks ... done. Everything seems OK here. Measured Power consumption is normal, but if we try to sleep again, we appear to get a kernel oops and get logged out. # # echo mem > /sys/power/state [ 71.456604] PM: Syncing filesystems ... done. [ 71.461547] PM: Preparing system for sleep (mem) [ 71.466766] Unable to handle kernel paging request at virtual address bafada03 [ 71.474365] pgd = de690000 [ 71.477233] [bafada03] *pgd=00000000 [ 71.481018] Internal error: Oops: 5 [#1] ARM [ 71.485504] Modules linked in: arc4 wl12xx wlcore mac80211 cfg80211 bq27xxx_battery evdev joydev snd_soc_omap_twl4030 cpufreq_dt leds_gpio led_class gpio_keys thermal_sys pwm_o map_dmtimer hwmon pwm_bl w1_bq27000 snd_soc_omap_mcbsp snd_soc_omap omap_wdt omap3_isp videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_core omap_hdq wire wlcore_sdi o cn phy_twl4030_usb omap2430 mt9p031 aptina_pll musb_hdrc snd_soc_twl4030 udc_core rtc_twl twl4030_wdt ohci_omap3 snd_soc_core snd_pcm_dmaengine snd_pcm ohci_hcd snd_timer ehci_o map twl4030_charger snd twl4030_pwrbutton soundcore twl4030_keypad pwm_twl pwm_twl_led industrialio matrix_keymap ehci_hcd usbcore usb_common omap_ssi tsc2004 tsc200x_core hsi [ 71.551269] CPU: 0 PID: 160 Comm: sh Not tainted 4.9.40-dirty #4 [ 71.557617] Hardware name: Generic OMAP36xx (Flattened Device Tree) [ 71.564208] task: de69db00 task.stack: de69e000 [ 71.569000] PC is at devres_for_each_res+0x40/0xa4 [ 71.574035] LR is at 0xbafad9ff [ 71.577362] pc : [<c04a364c>] lr : [<bafad9ff>] psr: 20070093 [ 71.577362] sp : de69fda0 ip : dc3bdd80 fp : de219c10 [ 71.589447] r10: de219d40 r9 : a0070013 r8 : de69fe84 [ 71.594940] r7 : c0ac5cc0 r6 : c04b2600 r5 : c04b2798 r4 : bafad9ff [ 71.601806] r3 : f7fb9b73 r2 : c04b2600 r1 : c04b2798 r0 : de219c10 [ 71.608703] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 71.616302] Control: 10c5387d Table: 9e690019 DAC: 00000051 [ 71.622344] Process sh (pid: 160, stack limit = 0xde69e210) [ 71.628204] Stack: (0xde69fda0 to 0xde6a0000) [ 71.632812] fda0: c0ac5cc0 de219c10 c0a6c9dc c04b29a8 de69fdd0 de69fe84 c07ec22c de69ff88 [ 71.641448] fdc0: 0000000c c04b29d4 c04b2770 de69fdd0 de69fdd0 de69fdd0 00000001 de219c10 [ 71.650085] fde0: c0a6c9dc c04b29a8 00000000 de69fe84 c07ec22c de69ff88 0000000c c04aa9a4 [ 71.658691] fe00: 0000000a 00000001 c0a6cb0c c0ac5cc0 0000003c c04b2b14 c04b2aa8 c0a5afac [ 71.667327] fe20: 00000000 00000003 ffffffff c014a88c c0a1ce00 ffffffff 00000000 00000003 [ 71.675933] fe40: c0a9294c c014ab94 de69fe84 c0a9294c c07ec22c 00000003 c07e9e3c c0a8ba64 [ 71.684570] fe60: c0a8dfc8 c015c874 de69fe84 c015ca48 00000003 c015dc9c de69fea0 000081b6 [ 71.693206] fe80: de69fed8 00000000 00000000 00000003 c07e9e3c 00000003 c0a92960 00000004 [ 71.701812] fea0: de64f180 de69ff88 00000000 c015c800 00000004 de64f00c 00000004 de64f000 [ 71.710449] fec0: de64f180 00000000 00000000 c0291184 00000000 00000000 a07fadc5 de786000 [ 71.719055] fee0: 000c1008 de69ff88 de786000 c0107744 de69e000 00000000 00000000 c0224b68 [ 71.727691] ff00: 00000000 00000000 00000000 de69ff10 a0020013 c02164b0 de69e000 de3c5898 [ 71.736328] ff20: 0000000b de08fa80 00000020 c0131518 0000000a fffffff6 de797300 00000003 [ 71.744934] ff40: 00000000 00000004 00000004 000c1008 de69ff88 de786000 c0107744 c02258cc [ 71.753570] ff60: 00000003 00000007 00000000 de786000 de786000 00000004 000c1008 c0107744 [ 71.762176] ff80: de69e000 c022665c 00000000 00000000 00000000 000bedd4 00000001 000c1008 [ 71.770812] ffa0: 00000004 c0107580 000bedd4 00000001 00000001 000c1008 00000004 00000000 [ 71.779418] ffc0: 000bedd4 00000001 000c1008 00000004 00000001 00000020 000bf27c 00000000 [ 71.788055] ffe0: 00000000 be8094bc 000188f8 b6ebb6d0 60070010 00000001 9fef6861 9fef6c61 [ 71.796691] [<c04a364c>] (devres_for_each_res) from [<c04b29d4>] (dev_cache_fw_image+0x2c/0x100) [ 71.805969] [<c04b29d4>] (dev_cache_fw_image) from [<c04aa9a4>] (dpm_for_each_dev+0x3c/0x5c) [ 71.814880] [<c04aa9a4>] (dpm_for_each_dev) from [<c04b2b14>] (fw_pm_notify+0x6c/0xd4) [ 71.823242] [<c04b2b14>] (fw_pm_notify) from [<c014a88c>] (notifier_call_chain+0x44/0x84) [ 71.831848] [<c014a88c>] (notifier_call_chain) from [<c014ab94>] (__blocking_notifier_call_chain+0x48/0x60) [ 71.842132] [<c014ab94>] (__blocking_notifier_call_chain) from [<c015c874>] (__pm_notifier_call_chain+0x20/0x3c) [ 71.852874] [<c015c874>] (__pm_notifier_call_chain) from [<c015dc9c>] (pm_suspend+0x188/0x4c4) [ 71.861968] [<c015dc9c>] (pm_suspend) from [<c015c800>] (state_store+0x64/0xb8) [ 71.869689] [<c015c800>] (state_store) from [<c0291184>] (kernfs_fop_write+0xec/0x1f0) [ 71.878021] [<c0291184>] (kernfs_fop_write) from [<c0224b68>] (__vfs_write+0x20/0x118) [ 71.886383] [<c0224b68>] (__vfs_write) from [<c02258cc>] (vfs_write+0xa0/0x164) [ 71.894104] [<c02258cc>] (vfs_write) from [<c022665c>] (SyS_write+0x44/0x9c) [ 71.901550] [<c022665c>] (SyS_write) from [<c0107580>] (ret_fast_syscall+0x0/0x3c) [ 71.909515] Code: e15c000a e59c4004 1a000005 ea000016 (e594e004) [ 71.915954] ---[ end trace fcce4631bac4a994 ]--- Welcome to Buildroot buildroot login: I'm going to test with the newer kernels as well, but if someone has any suggestions for me to try, I'm open to ideas. adam -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html