Cadmium icon indicating copy to clipboard operation
Cadmium copied to clipboard

Waking up from suspend sometimes does not work on kevin device

Open WizzardSK opened this issue 4 years ago • 9 comments

Using Ubuntu Hirsute with KDE, kernel 5.14rc4cadmium, running from SD card. Sometimes when I suspend my chromebook, I am not able to wake it up, I have to turn it off and on.

Operating System: Kubuntu 21.04 KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.2 Kernel Version: 5.14.0-rc4cadmium (64-bit) Graphics Platform: X11 Processors: 6 Memory: 3.8 GiB of RAM Graphics Processor: Mali T860

dmesg.txt

WizzardSK avatar Aug 07 '21 10:08 WizzardSK

@WizzardSK can you add test cases here?

apple-corps avatar Aug 07 '21 10:08 apple-corps

I am not sure what you mean. I try suspend, mostly it works, sometimes it does not.

WizzardSK avatar Aug 07 '21 10:08 WizzardSK

The idea is that you describe a way to reproduce your bug.

So you can trigger a suspend like:

sudo systemctl suspend

Then the expectation is that you do some next steps [describe them] and it resumes. That way the bug fixer has a test case. If you can elegantly describe a test case, it will make it easier to fix the bug.

apple-corps avatar Aug 07 '21 10:08 apple-corps

I run the command: sudo systemctl suspend OR I close the lid. Mostly I am able to resume the OS, after opening the lid or pressing some key. maybe 5 or 10 times it works and OS resumes, but sometimes not.

WizzardSK avatar Aug 07 '21 10:08 WizzardSK

Fair enough! I'll let the cadmium devs take this up, until I get involved

apple-corps avatar Aug 07 '21 11:08 apple-corps

Fair enough! I'll let the cadmium devs take this up, until I get involved

yo i'm on holidays

Maccraft123 avatar Aug 07 '21 11:08 Maccraft123

That's not a mature and acceptable answer, please go back to work.

On Sat, Aug 7, 2021, 13:12 Maccraft123 @.***> wrote:

Fair enough! I'll let the cadmium devs take this up, until I get involved

yo i'm on holidays

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Maccraft123/Cadmium/issues/40#issuecomment-894640786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRK6R2ZKSO5BU6DWN2NYL3T3UII3ANCNFSM5BXJNDCQ .

citral23 avatar Aug 07 '21 20:08 citral23

@WizzardSK I think maybe you can capture logs which contain the suspend cycle, for a functioning and non-functioning run. I do not know where to look at the top of my head. Can you look into this?

apple-corps avatar Aug 07 '21 20:08 apple-corps

This is how it looks when not working: Aug 10 22:07:29 gru kernel: [ 2406.317604] PM: suspend entry (deep) (hard reset by me) Aug 10 22:08:13 gru kernel: [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

This is when it works: Aug 10 21:26:48 gru kernel: [ 607.170709] PM: suspend entry (deep) Aug 10 21:26:48 gru kernel: [ 607.198499] Filesystems sync: 0.027 seconds Aug 10 21:37:31 gru kernel: [ 607.199729] Freezing user space processes ... (elapsed 0.002 seconds) done. Aug 10 21:37:31 gru kernel: [ 607.202640] OOM killer disabled. Aug 10 21:37:31 gru kernel: [ 607.202644] Freezing remaining freezable tasks ... (elapsed 0.144 seconds) done. Aug 10 21:37:31 gru kernel: [ 607.347276] printk: Suspending console(s) (use no_console_suspend to debug) Aug 10 21:37:31 gru kernel: [ 607.349144] mwifiex_pcie 0000:01:00.0: None of the WOWLAN triggers enabled Aug 10 21:37:31 gru kernel: [ 607.697347] Disabling non-boot CPUs ... Aug 10 21:37:31 gru kernel: [ 607.699171] psci: CPU1 killed (polled 1 ms) Aug 10 21:37:31 gru kernel: [ 607.701601] psci: CPU2 killed (polled 1 ms) Aug 10 21:37:31 gru kernel: [ 607.703579] psci: CPU3 killed (polled 1 ms) Aug 10 21:37:31 gru kernel: [ 607.705031] IRQ 25: no longer affine to CPU4 Aug 10 21:37:31 gru kernel: [ 607.705596] psci: CPU4 killed (polled 1 ms) Aug 10 21:37:31 gru kernel: [ 607.707653] psci: CPU5 killed (polled 1 ms) Aug 10 21:37:31 gru kernel: [ 607.710341] Enabling non-boot CPUs ... Aug 10 21:37:31 gru kernel: [ 607.713242] Detected VIPT I-cache on CPU1 Aug 10 21:37:31 gru kernel: [ 607.713581] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000 Aug 10 21:37:31 gru kernel: [ 607.714078] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] Aug 10 21:37:31 gru kernel: [ 607.718724] CPU1 is up Aug 10 21:37:31 gru kernel: [ 607.719927] Detected VIPT I-cache on CPU2 Aug 10 21:37:31 gru kernel: [ 607.719975] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000 Aug 10 21:37:31 gru kernel: [ 607.720179] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] Aug 10 21:37:31 gru kernel: [ 607.722454] CPU2 is up Aug 10 21:37:31 gru kernel: [ 607.723585] Detected VIPT I-cache on CPU3 Aug 10 21:37:31 gru kernel: [ 607.723642] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000 Aug 10 21:37:31 gru kernel: [ 607.723800] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] Aug 10 21:37:31 gru kernel: [ 607.726252] CPU3 is up Aug 10 21:37:31 gru kernel: [ 607.727714] Detected PIPT I-cache on CPU4 Aug 10 21:37:31 gru kernel: [ 607.727840] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000 Aug 10 21:37:31 gru kernel: [ 607.728189] CPU4: Booted secondary processor 0x0000000100 [0x410fd082] Aug 10 21:37:31 gru kernel: [ 607.733497] CPU4 is up Aug 10 21:37:31 gru kernel: [ 607.734402] Detected PIPT I-cache on CPU5 Aug 10 21:37:31 gru kernel: [ 607.734437] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000 Aug 10 21:37:31 gru kernel: [ 607.734541] CPU5: Booted secondary processor 0x0000000101 [0x410fd082] Aug 10 21:37:31 gru kernel: [ 607.736490] CPU5 is up Aug 10 21:37:31 gru kernel: [ 607.813180] [drm:analogix_dp_resume] ERROR failed to setup the panel Aug 10 21:37:31 gru kernel: [ 607.814600] PM: dpm_run_callback(): rockchip_dp_resume+0x0/0x2c returns -16 Aug 10 21:37:31 gru kernel: [ 607.814889] rockchip-dp ff970000.edp: PM: failed to resume early: error -16 Aug 10 21:37:31 gru kernel: [ 608.068926] usb 1-1: reset high-speed USB device number 2 using ehci-platform Aug 10 21:37:31 gru kernel: [ 608.476012] usb usb5: root hub lost power or was reset Aug 10 21:37:31 gru kernel: [ 608.476421] usb usb6: root hub lost power or was reset Aug 10 21:37:31 gru kernel: [ 608.482068] usb usb7: root hub lost power or was reset Aug 10 21:37:31 gru kernel: [ 608.482188] usb usb8: root hub lost power or was reset Aug 10 21:37:31 gru kernel: [ 608.818565] OOM killer enabled. Aug 10 21:37:31 gru kernel: [ 608.818646] Restarting tasks ... done. Aug 10 21:37:31 gru kernel: [ 608.927880] PM: suspend exit

WizzardSK avatar Aug 10 '21 20:08 WizzardSK