You are not logged in.

#1 2019-05-16 00:08:29

oz
Member
Registered: 2004-05-20
Posts: 102

ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

I just upgraded to the v5.1.2 kernel on my ASUS C302 (CAVE Skylake) Chromebook and now sleep no longer functions. When waking up from sleep the whole machine resets and I get the white boot screen when the Chromebook is first turned on. Also legacy boot mode is disabled and I have to boot to ChromeOS and run "crossystem dev_boot_legacy=1" to re-enable booting to Arch. I'm not sure if other settings are reset/corrupted like this. Feels like a precarious situation if it's corrupting the firmware when this happens.

Anyone else experience the same?  Some sort of kernel bug it seems. I don't have time to report it properly on the kernel bug list so just asking if anyone else has seen this and can maybe report it.

Offline

#2 2019-05-16 00:18:43

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

I would suggest installing linux-lts so you have a kernel without the issue.
Can you please post the kernel messages from the 5.1.2 boot when you suspended?

Offline

#3 2019-05-16 03:02:57

WilliCRM
Member
Registered: 2019-05-16
Posts: 7

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

I also have the same similar problem when updating the kernel 5.1.2 now it does not recognize the nvidia driver, the solution I had was to install the linux and the LTS driver

Offline

#4 2019-05-16 10:09:54

jnbrains
Member
Registered: 2015-03-26
Posts: 25

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

Same here.

Tried with 5.1.2, 5.1.1 and 5.1, arch nvidia driver (340xx), and dkms built.
When I try to load the driver (modprobe) it says that it can't find nvidia device.
My workaround was to downgrade linux/linux-headers to last working version (5.0.13).

GPU: NVIDIA GeForce GTS 360M

Offline

#5 2019-05-16 10:47:29

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

Offline

#6 2019-05-16 11:02:53

jnbrains
Member
Registered: 2015-03-26
Posts: 25

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

Thanks @loqs

Offline

#7 2019-05-16 11:31:08

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

@jnbrains if you could test the proposed fixes to see if they resolve the issue it would speed up a new package being released.

Offline

#8 2019-05-16 20:34:51

jnbrains
Member
Registered: 2015-03-26
Posts: 25

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

@loqs, I did a quick build using the src tarball from the bug tracker you suggested.
It compiled fine, but still didn't load the driver - same error message.
Haven't tried to add and apply the patch proposed by "Roman Brusentsov" yet.
I didn't have much time to investigate any further.

Offline

#9 2019-05-17 06:24:42

jnbrains
Member
Registered: 2015-03-26
Posts: 25

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

local/linux 5.1.2.arch1-1 (base)
local/linux-headers 5.1.2.arch1-1
local/nvidia-340xx-dkms 340.107-83

It works with the new update (83) (extra patch).

Thanks @loqs. Thanks @Roman Brusentsov.

Offline

#10 2019-05-19 00:53:24

oz
Member
Registered: 2004-05-20
Posts: 102

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

loqs wrote:

I would suggest installing linux-lts so you have a kernel without the issue.
Can you please post the kernel messages from the 5.1.2 boot when you suspended?

I can't post full logs because of company policy but I have looked at them and there is nothing useful as far as I can tell. The last entry is "power button pressed". That is when I put the machine to sleep. Nothing else after that. As far as I can tell it never wakes up, it just hard resets.

Along with destroying the legacy boot settings I found it also made the external headphone jack stop working in ChromeOS. I eventually found that I can plug the headphones in, close the lid (sleep), then open the lid (wake), and then the headphones would finally show up. It's like the sleep state itself needed to be reset.

Anyway it seems kernel 5.1 is a really buggy release. I'm having problems even on my desktops and servers. Particularly around the Radeon drivers. Hard system freezes, etc.

I'm reverting all my machines back to the 5.0 kernel series.

Offline

#11 2019-05-23 14:22:21

oz
Member
Registered: 2004-05-20
Posts: 102

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

Still broken in 5.1.4

Offline

#12 2019-06-04 02:15:08

oz
Member
Registered: 2004-05-20
Posts: 102

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

Still broken in 5.1.5. Have not tried 5.1.6 yet.

I wonder if this is the issue or related to this issue:
https://www.phoronix.com/scan.php?page= … -Hibernate

My machine doesn't support hyperthreading.

Offline

#13 2019-06-11 15:47:10

oz
Member
Registered: 2004-05-20
Posts: 102

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

Still broken in 5.1.8. Commit 949525fff5f722245ee2e2b1fe1e860e7e603579 introduces the fix for 'nosmt' vs hibernation triple fault during resume. Coming in kernel 5.1.9... Cross fingers this fixes the issue. I don't have high hopes.

Offline

#14 2019-06-13 20:02:47

oz
Member
Registered: 2004-05-20
Posts: 102

Re: ASUS C302 sleep crash/firmware corruption with new 5.1.2 kernel

Damn, still broken in 5.1.9

I've opened a bug since it seems like this isn't going to be fixed otherwise.

https://bugzilla.kernel.org/show_bug.cgi?id=203877

Probably still won't get much attention but hey, I can try. Hopefully this can be fixed before 5.0 goes out of support because that's the last working kernel series for me. hmm

Last edited by oz (2019-06-13 20:04:22)

Offline

Board footer

Powered by FluxBB