Cinnamon constantly crashes after update to kernel 4.15.0-24

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
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 » Fri Jul 06, 2018 4:31 pm

Christian - perhaps you could try going further back : 20, 15, 13 ?

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 6:26 pm

malcolm1029 wrote:
Fri Jul 06, 2018 4:31 pm
Christian - perhaps you could try going further back : 20, 15, 13 ?
Unfortunately, no. :shock: None of the 4.15-kernels are working. Same build error each time.

Code: Select all

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

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

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

Post by JeremyB » Fri Jul 06, 2018 7:09 pm

Just reboot and see if it you end up in the 4.15 kernel. Those errors from ndiswrapper can't stop the kernel from being installed, I have seen those before

BMJ59
Level 1
Level 1
Posts: 7
Joined: Tue Jul 22, 2008 5:09 am
Location: Halden, Norway

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

Post by BMJ59 » Sat Jul 07, 2018 9:44 am

Yes, it crashes all the time. Also on older 4.15 kernels for me.
I have now installed Ubuntu 18.04, not one I like. Hope it get fixed soon. Must have a system that works.
(Probably my old rule applies, NEVER install new version of Mint until at least a moth after release)

See that Ubuntu removed this kernel update update from LTS..
Maybee for Mint also...
https://askubuntu.com/questions/1052159 ... -the-repos

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

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

Post by gm10 » Sat Jul 07, 2018 9:48 am

BMJ59 wrote:
Sat Jul 07, 2018 9:44 am
See that Ubuntu removed this kernel update update from LTS..
Maybee for Mint also...
Mint uses the Ubuntu repos, so we get identical kernels.

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 » Sat Jul 07, 2018 10:13 am

JeremyB wrote:
Fri Jul 06, 2018 7:09 pm
Just reboot and see if it you end up in the 4.15 kernel. Those errors from ndiswrapper can't stop the kernel from being installed, I have seen those before
Well, of course you end up in the correct kernel, but the nvidia-driver is not working and cinnamon is constantly crashing, like the thread creator wrote.
Best,
Christian

this_paradis
Level 1
Level 1
Posts: 1
Joined: Sat Jul 14, 2018 11:03 am

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

Post by this_paradis » Sat Jul 14, 2018 11:10 am

I'm coming from Ubuntu Studio and this kernel is really wrongly compiled. No network interfaces and no KMS, so graphic accelation doesn't work. 4.15.0-23-lowlatency works just fine. You need just to select it in Grub menu. Anyways there's no fix in repos as of now.

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

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

Post by JeremyB » Sat Jul 14, 2018 11:16 am

this_paradis wrote:
Sat Jul 14, 2018 11:10 am
I'm coming from Ubuntu Studio and this kernel is really wrongly compiled. No network interfaces and no KMS, so graphic accelation doesn't work. 4.15.0-23-lowlatency works just fine. You need just to select it in Grub menu. Anyways there's no fix in repos as of now.
I don't think lowlatency kernels are the fix, you likely had an issue with installing linux-modules-extra-4.15.0-24 as that contains most network drivers among others. The 4.15 kernels can cause some issues in LM 18 Cinnamon but most of the 4.15 kernels are fine in LM 19 Cinnamon, some people do have slow boot times with 4.15.0-24

DAMIEN1307
Level 6
Level 6
Posts: 1071
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico

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

Post by DAMIEN1307 » Sat Jul 14, 2018 12:05 pm

hi jeremyb...not so much slow boots for me though i see that for some people but i was having flukey keyboard and mouse responses with the "24" kernel on 4 different computers...3 are home builds i built using 3 different asus motherboards, 1 with AMD chipset 16 gigs ram and the other 2 core i5 intels with 8 gigs ram...the 4th computer was a dell n1510 series with core i5 with 8 gigs of ram...i truly think the kernel is a problem across the board...all are now on 4.15.0-23 kernels and no problems, humming along lightening fast...DAMIEN
ORDO AB CHAO

AJ1000
Level 2
Level 2
Posts: 81
Joined: Mon Dec 12, 2011 5:10 am

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

Post by AJ1000 » Sat Jul 14, 2018 2:33 pm

Same happens for me, 24 only works if I keep things awake by using the mouse continuously as it boots up. Reverted back to 23 and everything works fine. Hoping 25 comes out soon and does not have the problem 24 has. I can confirm 23 works great.

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 » Sun Jul 15, 2018 3:11 am

AJ1000 wrote:
Sat Jul 14, 2018 2:33 pm
I can confirm 23 works great.
I can confirm, that it is not working. DKMS-module for nvidia-driver can't be compiled successfully and cinnamon is constantly crashing after reboot. :cry:

GPU is a GeForce 9800 GT.
Best,
Christian

benchrest
Level 2
Level 2
Posts: 61
Joined: Tue Jan 17, 2012 2:19 pm

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

Post by benchrest » Sun Jul 15, 2018 2:03 pm

I have this bug but a bit different. I am on Cinnamon 18.3, using nvidia-340.104 driver with GEForce 210 Graphics card. After installing 4.15.0-24 cinnamon crashes on boot and goes to fallback mode. Some investigation I found LM 19 comes with 4.15.0-20, so I tried it. Same problem. Never tried 4.15.0-23. The nouveau driver works. I ended up using kernel 4.13.0-45 with success.
My question is will this be fixed?
bug 1737750 seems to describe the problem as drivers 304 and 340 were left out of the 4.15 series kernels. I think it indicates the problem is being worked on.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1737750
The Nvidia web site says: The 340.xx legacy Unified Memory kernel module is incompatible with recent Linux kernels, and the GPU hardware generations that the 340.xx legacy driver series is intended to support do not support Unified Memory.
http://www.nvidia.com/download/driverRe ... 5161/en-us
So I am not sure if the resolution will be to fix the kernel or I will need to get a new graphics card that may also be obsolete in a year or two. I have a pretty decent computer I built in 2014 that still works great for my purpose, hope it is not going obsolete.
Rich
LM Cinnamon 18.3, ASUS M5A97 R2.0 MB, FX-4100, Samsung SSD 850 Pro 256gb, dual 23" monitors. Big user of Gramps, L.O., Unison, Synapse. Entire system on SSD, also WD black 500gb..

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

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

Post by gm10 » Sun Jul 15, 2018 2:09 pm

benchrest wrote:
Sun Jul 15, 2018 2:03 pm
So I am not sure if the resolution will be to fix the kernel or I will need to get a new graphics card that may also be obsolete in a year or two. I have a pretty decent computer I built in 2014 that still works great for my purpose, hope it is not going obsolete.
Rich
It's not unusual that newer kernels leave old hardware behind. Although in this case it's a problem with the proprietary driver, not the kernel. A driver that nvidia may not patch because I don't think they're all that interested in it anymore. The bug report you linked had a link to a third party patch to the driver though.

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 » Sun Jul 15, 2018 2:12 pm

gm10 wrote:
Sun Jul 15, 2018 2:09 pm
benchrest wrote:
Sun Jul 15, 2018 2:03 pm
So I am not sure if the resolution will be to fix the kernel or I will need to get a new graphics card that may also be obsolete in a year or two. I have a pretty decent computer I built in 2014 that still works great for my purpose, hope it is not going obsolete.
Rich
It's not unusual that newer kernels leave old hardware behind. Although in this case it's a problem with the proprietary driver, not the kernel. A driver that nvidia may not patch because I don't think they're all that interested in it anymore. The bug report you linked had a link to a third party patch to the driver though.
Thanks for the hint. I'll try the patch.
Best,
Christian

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 » Sun Jul 15, 2018 3:41 pm

bl0ckz wrote:
Sun Jul 15, 2018 2:12 pm
gm10 wrote:
Sun Jul 15, 2018 2:09 pm
It's not unusual that newer kernels leave old hardware behind. Although in this case it's a problem with the proprietary driver, not the kernel. A driver that nvidia may not patch because I don't think they're all that interested in it anymore. The bug report you linked had a link to a third party patch to the driver though.
Thanks for the hint. I'll try the patch.
It's working like a charm!

I downloaded the patched installer from this this site and just installed the driver.

I can upgrade to Mint 19 now. :lol:
Last edited by bl0ckz on Sun Jul 15, 2018 3:44 pm, edited 1 time in total.
Best,
Christian

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

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

Post by gm10 » Sun Jul 15, 2018 3:43 pm

bl0ckz wrote:
Sun Jul 15, 2018 3:41 pm
It's working like a charm!

I downloaded the https://nvidia.if-not-true-then-false.c ... tched.run from this https://www.if-not-true-then-false.com/ ... a-guide/4/ and just installed the driver.

I can upgrade to Mint 19 now. :lol:
Glad I could help. You did all the work finding the bug report, all I did was actually read it for you, haha. :lol:

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 » Sun Jul 15, 2018 3:45 pm

gm10 wrote:
Sun Jul 15, 2018 3:43 pm
Glad I could help. You did all the work finding the bug report, all I did was actually read it for you, haha. :lol:
:lol:
Best,
Christian

robfish
Level 1
Level 1
Posts: 17
Joined: Tue Jun 29, 2010 1:10 am

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

Post by robfish » Tue Jul 17, 2018 3:46 am

This is the second time in roughly a year that the nvidia driver did not work after a kernel upgrade.
I changed to the X.org Nouveau driver this time and it seems to be fine.

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 » Tue Jul 17, 2018 4:02 am

robfish wrote:
Tue Jul 17, 2018 3:46 am
I changed to the X.org Nouveau driver this time and it seems to be fine.
Would also be a solution for me, but the frame rate in games drops by about 50 %. :(
Best,
Christian

robfish
Level 1
Level 1
Posts: 17
Joined: Tue Jun 29, 2010 1:10 am

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

Post by robfish » Fri Jul 20, 2018 4:00 pm

Just updated to 4.15.0-29 kernel this morning then reinstalled the nVidia-340 driver and all seems well again (for me anyway)

Post Reply

Return to “Cinnamon”