Cinnamon constantly crashes after update to kernel 4.15.0-24

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
allanr
Level 1
Level 1
Posts: 17
Joined: Tue Feb 07, 2017 1:02 pm
Location: Scotland

Cinnamon constantly crashes after update to kernel 4.15.0-24

Post by allanr » Mon Jul 02, 2018 4:50 pm

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
Image

User avatar
WharfRat
Level 20
Level 20
Posts: 11552
Joined: Thu Apr 07, 2011 8:15 pm

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

Post by WharfRat » Mon Jul 02, 2018 5:27 pm

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:
ImageImage

gm10
Level 10
Level 10
Posts: 3459
Joined: Thu Jun 21, 2018 5:11 pm

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

Post by gm10 » Mon Jul 02, 2018 5:43 pm

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 17
Level 17
Posts: 7522
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 » 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.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

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

Post by JeremyB » Mon Jul 02, 2018 6:47 pm

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 7
Level 7
Posts: 1621
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

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

Post by smurphos » Tue Jul 03, 2018 1:20 am

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.

User avatar
catweazel
Level 17
Level 17
Posts: 7522
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 » Tue Jul 03, 2018 2:09 am

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 :)
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

allanr
Level 1
Level 1
Posts: 17
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 » Tue Jul 03, 2018 6:07 am

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
Level 1
Level 1
Posts: 2
Joined: Thu Jun 07, 2018 11:26 am

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

Post by FRancois_C » Tue Jul 03, 2018 12:03 pm

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

malcolm1029
Level 1
Level 1
Posts: 7
Joined: Tue Jul 03, 2018 4:30 pm

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

Post by malcolm1029 » Tue Jul 03, 2018 4:48 pm

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 4
Level 4
Posts: 459
Joined: Tue Feb 16, 2016 3:12 am

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

Post by Petermint » Wed Jul 04, 2018 4:27 am

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: 4072
Joined: Wed Nov 15, 2006 8:34 am
Contact:

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

Post by clem » Wed Jul 04, 2018 8:41 am

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: 4072
Joined: Wed Nov 15, 2006 8:34 am
Contact:

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

Post by clem » Wed Jul 04, 2018 8:42 am

Image

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

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

Post by JeremyB » Wed Jul 04, 2018 8:50 am

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
Level 1
Level 1
Posts: 7
Joined: Tue Jul 03, 2018 4:30 pm

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

Post by malcolm1029 » Wed Jul 04, 2018 4:05 pm

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
Level 1
Level 1
Posts: 7
Joined: Tue Jul 03, 2018 4:30 pm

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

Post by malcolm1029 » Wed Jul 04, 2018 4:30 pm

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 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

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

Post by JeremyB » Wed Jul 04, 2018 4:41 pm

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
Level 1
Level 1
Posts: 7
Joined: Tue Jul 03, 2018 4:30 pm

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

Post by malcolm1029 » 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!
$ uname -r
4.15.0-23-generic
So the problem came after v. 23 ?

bl0ckz
Level 1
Level 1
Posts: 14
Joined: Thu Jan 11, 2018 7:49 am
Location: Germany

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

Post by bl0ckz » Fri Jul 06, 2018 4:05 pm

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
Best,
Christian

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

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

Post by painless6505 » Fri Jul 06, 2018 4:10 pm

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.

Post Reply

Return to “Cinnamon”