Cinnamon constantly crashes after update to kernel 4.15.0-24

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
allanr
Level 2
Level 2
Posts: 56
Joined: Tue Feb 07, 2017 1:02 pm
Location: Scotland

Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by allanr »

My LM Cinnamon 18.3 PC was working well until today when Update Manager offered Kernel 4.15.0.24, and I accepted!
Prior to that the kernel was 4.13.0-45-generic x86_64 (64 bit), and Cinnamon version is 3.6.7.

Now after every start, this error window appears:
"Cinnamon just crashed. You are currently running in Fallback mode. Do you want to restart Cinnamon? Yes/No"
Choosing 'Yes' results in an error message repeat.

Reverting to Kernel 4.13.0-45 restores normal operation, but I'm concerned that any upgrade to LM 19 is now in jeapordy as I believe it also uses Kernel 4.15.0... ??

I'd appreciate any thoughts and advice on how to approach/solve this issue. Thanks.

----------------------------------------------------------------------------------
In case it helps, the dual-monitor graphics details are:
Card-1: NVIDIA G73 [GeForce 7600 GS] bus-ID: 01:00.0
Card-2: Matrox Systems Millennium G550 bus-ID: 06:00.0 (not used)
Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1280x1024@60.02hz, 1280x1024@60.02hz
GLX Renderer: GeForce 7600 GS/PCIe/SSE2
GLX Version: 2.1.2 NVIDIA 304.135 Direct Rendering: Yes
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
WharfRat

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by WharfRat »

You're going to have to stick with 4.13.0-45 for a while.

ndiswrapper wouldn't compile with 4.15.0.24 and I'm assuming that the nvidia driver had the same experience.

And if Mint 19 ships with 4.15 then you should wait until the developers get this straightened out :wink:
gm10

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by gm10 »

WharfRat wrote: Mon Jul 02, 2018 5:27 pm And if Mint 19 ships with 4.15 then you should wait until the developers get this straightened out :wink:
It does, but since Mint 19 was built around the 4.15 kernel and comes with newer versions of Cinnamon, X, drivers and potentially a different desktop manager (lightdm), the conclusion that it will cause problems as well really cannot be drawn.

Besides, Mint 19 ships with 4.15.0-20, you don't need to upgrade to -24 should it cause problems.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by catweazel »

WharfRat wrote: Mon Jul 02, 2018 5:27 pm I'm assuming that the nvidia driver had the same experience.
Just fyi, I installed 4.15.0.24 a few minutes ago and the nvidia driver (384.130) didn't miss a heartbeat. Unfortunately I can't find any bug reports that might explain the several issues that have already popped up in the forum around this kernel.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by JeremyB »

Linux Mint 19 should be fine as all the packages support the 4.15 kernels, not all packages support 4.15 in Linux Mint 18/Ubuntu 16.04 repositories yet, possibly August or later
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by smurphos »

catweazel wrote: Mon Jul 02, 2018 6:43 pm
WharfRat wrote: Mon Jul 02, 2018 5:27 pm I'm assuming that the nvidia driver had the same experience.
Just fyi, I installed 4.15.0.24 a few minutes ago and the nvidia driver (384.130) didn't miss a heartbeat. Unfortunately I can't find any bug reports that might explain the several issues that have already popped up in the forum around this kernel.
Same - no problems for me with this kernel on Integrated Intel graphics on Cinnamon 19 and on a Cinnamon 18.3 VB install. It's got an extensive change-log though.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by catweazel »

smurphos wrote: Tue Jul 03, 2018 1:20 am It's got an extensive change-log though.
Urgh! I don't fancy wading through it :)
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
allanr
Level 2
Level 2
Posts: 56
Joined: Tue Feb 07, 2017 1:02 pm
Location: Scotland

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by allanr »

Thanks everyone for responding with helpful thoughts/suggestions. Looks like my elderly nvidia GeForce 7600GS video card and legacy 304.135 driver are the limiting factors.

As recommended I'll stick with kernel 4.13.0-45 for the moment and trust that when I do eventually upgrade to LM 19 all will be sorted. Probably not rush though and definitely run Timeshift first :wink:
Image
FRancois_C

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by FRancois_C »

Same crash with Cinnamon 18.3, GeForce GTX 570 and 304.135 legacy driver after accepting the kernel update.
malcolm1029

Re: Cinnamon constantly crashes after update to kernel 4 15.0-24

Post by malcolm1029 »

Me too - I use the Geforce GT220 GPU.

I found that by going from the recommended driver nvidia340 to the xserver-xorg-video-nouveaux, Cinnamon works again.

I will try the nvidia driver again on v.19
Petermint
Level 9
Level 9
Posts: 2983
Joined: Tue Feb 16, 2016 3:12 am

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by Petermint »

I was hit by the same update and had to revert to 4.13.0-45. The graphics are plain Intel. Nothing else. The update also killed wireless access.

Lucky I had Windows handy to browse the Web. :twisted:
User avatar
clem
Level 12
Level 12
Posts: 4308
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by clem »

Hi everyone,

Don't hesitate to post the result of the command below:

Code: Select all

dkms status
This will highlight which modules fail to build.
Image
User avatar
clem
Level 12
Level 12
Posts: 4308
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by clem »

Image
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by JeremyB »

Also viewtopic.php?f=53&t=272265
bcmwl-kernel-source from xenial repos doesn't build in LM 18 with 4.15 kernels. Likely bug report of same issue https://bugs.launchpad.net/ubuntu/+sour ... ug/1779974
https://bugs.launchpad.net/ubuntu/+sour ... ug/1779021
malcolm1029

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by malcolm1029 »

From the request by Clem for a dkms:

bbswitch, 0.8, 4.13.0-41-generic, x86_64: installed
bbswitch, 0.8, 4.13.0-43-generic, x86_64: installed
bbswitch, 0.8, 4.13.0-45-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-24-generic, x86_64: installed
ndiswrapper, 1.60, 4.10.0-38-generic, x86_64: installed
ndiswrapper, 1.60, 4.13.0-41-generic, x86_64: installed
ndiswrapper, 1.60, 4.13.0-43-generic, x86_64: installed
ndiswrapper, 1.60, 4.13.0-45-generic, x86_64: installed
malcolm1029

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by malcolm1029 »

Clem's reference to a related bug report indicates that there is a patch for the 304 driver, but unfortunately, no one has been assigned to fix the 340 driver.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by JeremyB »

malcolm, try an older 4.15 kernel and see if the same happens. I think a Cinnamon memory leak in LM 18 is more severe using 4.15 kernels. I don't really have any way to prove this but my issue was that sometimes after suspend my programs that were open no longer were...google chrome and thunderbird. It did work fine with 4.4 kernels and now that laptop is using LM 19 with 4.15 without issues.

The reason I ask about a kernel older than 4.15.0-24 is because it has a bug in it that could be an influence on results
malcolm1029

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by malcolm1029 »

#JeremyB - I installed 4.15.0-23, booted from it and re-set the driver to nvidia340 - all is fine!
$ uname -r
4.15.0-23-generic
So the problem came after v. 23 ?
bl0ckz

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by bl0ckz »

malcolm1029 wrote: Thu Jul 05, 2018 6:29 pm #JeremyB - I installed 4.15.0-23, booted from it and re-set the driver to nvidia340 - all is fine!
So the problem came after v. 23 ?
Not working for me. Build fails with:

Code: Select all

christian@clmpc ~ $ cat /var/lib/dkms/ndiswrapper/1.60/build/make.log
DKMS make.log for ndiswrapper-1.60 for kernel 4.15.0-23-generic (x86_64)
Fr 6. Jul 20:01:34 CEST 2018
make: Verzeichnis „/usr/src/linux-headers-4.15.0-23-generic“ wird betreten
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/crt_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/hal_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ndis_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_io_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/rtl_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/usb_exports.h
  MKSTUBS /var/lib/dkms/ndiswrapper/1.60/build/win2lin_stubs.h
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/crt.o
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/hal.o
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.o
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/loader.o
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/ndis.o
  CC [M]  /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.o
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.c: In function ‘wrap_init_timer’:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.c:455:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
  init_timer(&wrap_timer->timer);
  ^
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.c:456:19: error: ‘struct timer_list’ has no member named ‘data’
  wrap_timer->timer.data = (unsigned long)wrap_timer;
                   ^
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.c:457:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  wrap_timer->timer.function = timer_proc;
                             ^
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.c: In function ‘ntoskernel_init’:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.c:2563:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  shared_data_timer.function = update_user_shared_data_proc;
                             ^
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.c:2564:19: error: ‘struct timer_list’ has no member named ‘data’
  shared_data_timer.data = 0;
                   ^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: die Regel für Ziel „/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.o“ scheiterte
make[1]: *** [/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.o] Fehler 1
Makefile:1552: die Regel für Ziel „_module_/var/lib/dkms/ndiswrapper/1.60/build“ scheiterte
make: *** [_module_/var/lib/dkms/ndiswrapper/1.60/build] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-4.15.0-23-generic“ wird verlassen
christian@clmpc ~ $ 
I switched back to kernel 4.13.0-45.

GPU is a GeForce 9800 GT.

Best,
Christian
painless6505
Level 1
Level 1
Posts: 2
Joined: Fri Jul 06, 2018 4:08 pm

Re: Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by painless6505 »

I can also confirm, everything is peachy when running mint 19 cinnamon, on 4.15.0-23 kernel. Chaos reigns down on my system once upgrading to the -24.
Locked

Return to “Cinnamon”