[SOLVED]Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Jeremy Mendes

[SOLVED]Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

I've been having trouble with this update.INXI report shows system trying to use three vid card drivers at once despite Driver Mngr showing NVIDIA 340 proprietary Driver checked and in use.

Code: Select all

System:    Host: hppav Kernel: 4.15.0-29-generic x86_64 (64 bit)
           Desktop: Cinnamon 3.4.6  Distro: Linux Mint 18.2 Sonya
Machine:   System: Hewlett-Packard (portable) product: HP Pavilion dv6700 Notebook PC v: Rev 1
           Mobo: Quanta model: 30D2 v: 79.29
           Bios: Hewlett-Packard v: F.52 date: 03/24/2008
CPU:       Dual core Intel Core2 Duo T5550 (-MCP-) cache: 2048 KB 
           clock speeds: max: 1833 MHz 1: 1293 MHz 2: 1311 MHz
Graphics:  Card: NVIDIA G86M [GeForce 8400M GS]
           Display Server: X.Org 1.18.4 drivers: nvidia,fbdev,nouveau (unloaded: vesa)
           Resolution: 640x480@73.00hz
           GLX Renderer: N/A GLX Version: N/A
Audio:     Card Intel 82801H (ICH8 Family) HD Audio Controller
           driver: snd_hda_intel
           Sound: ALSA v: k4.15.0-29-generic
Network:   Card-1: Intel PRO/Wireless 3945ABG [Golan] Network Connection
           driver: iwl3945
           IF: wlp2s0 state: down mac: 00:1f:3c:08:87:67
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169
           IF: enp6s0 state: up speed: 100 Mbps duplex: full
           mac: 00:1e:68:40:d3:fd
Drives:    HDD Total Size: 250.1GB (19.1% used)
           ID-1: /dev/sda model: WDC_WDS250G2B0A size: 250.1GB
           ID-1: / size: 227G used: 42G (20%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 3.22GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 49.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 167 Uptime: 9 min Memory: 1102.6/3000.7MB
           Client: Shell (bash) inxi: 2.2.35 
[    0.053072] ACPI Error: [CDW1] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364)
[    0.053129] ACPI Error: Method parse/execution failed \_SB._OSC, AE_NOT_FOUND (20170831/psparse-550)
[    1.567920] RAS: Correctable Errors collector initialized.
[    5.528857] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   34.421029] cinnamon[1670]: segfault at 0 ip 00007f57ea6f206e sp 00007ffc04a79550 error 4 in libc-2.23.so[7f57ea664000+1c0000]
jeremy@hppav ~ $ 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

The ACPI errors would need a BIOS update to fix. They should not lead to crashes though, you likely had them with your previous kernel as well.
Last edited by gm10 on Mon Aug 06, 2018 5:24 pm, edited 1 time in total.
Jeremy Mendes

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

gm10 wrote: Mon Aug 06, 2018 3:28 pm If your drive gets re-mounted as read-only that means it's got errors. GRUB's recovery options include fsck to check your file systems.

The ACPI errors would need a BIOS update to fix. They should not lead to crashes though, you likely had them with your previous kernel as well.
This old machine has had those ACPI errors listed since day1. The last line in the "errors" display is new,though.
The line in the INXI report for the vid driver should read:
Display Server:X.Org 1.18.4 drivers: nvidia (unloaded:vesa,fdev,nouveau)
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

Oh, the inxi thing is an inxi bug. Try updating to the current version:

Code: Select all

sudo rm /etc/inxi.conf;sudo inxi -U;sudo inxi -U
And the cinnamon segfault is in case of doubt due to the disk errors. If not then you can always switch back to the previous kernel via the GRUB menu.
Jeremy Mendes

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

Oh, the inxi thing is an inxi bug. Try updating to the current version:

Code: Select all

sudo rm /etc/inxi.conf;sudo inxi -U;sudo inxi -U

And the cinnamon segfault is in case of doubt due to the disk errors. If not then you can always switch back to the previous kernel via the GRUB menu.

During the Meltdown & Specter issues earlier this year,it was suggested that I execute that line code command but this machine is incapable of loading latest version. The ACPI errors don't really effect the performance of this machine,at all.The system trying to run 3 vid card drivers at the same time is an issue,though.The same thing happened when the 4.13 series of kernel's where first introduced to the machine.That problem was fixed.
I'm going to keep using 4.13.0-45 for the time being and maybe I'll have better luck with next kernel update coming soon.
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

Xorg will never run 3 drivers at once, this is certainly a bug in the inxi output. I don't know what's wrong with your inxi update but this here will work for sure:

Code: Select all

curl -L https://github.com/smxi/inxi/raw/master/inxi -o ~/.local/bin/inxi
chmod u+x ~/.local/bin/inxi
It installs the latest version only locally for your user (run it like you always do).

Regarding the ACPI errors, you could also disable ACPI by adding acpi=off to the GRUB kernel options. Not saying you have to, just for your information.
Jeremy Mendes

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

Xorg will never run 3 drivers at once, this is certainly a bug in the inxi output. I don't know what's wrong with your inxi update but this here will work for sure:

Code: Select all

curl -L https://github.com/smxi/inxi/raw/master/inxi -o ~/.local/bin/inxi
chmod u+x ~/.local/bin/inxi

It installs the latest version only locally for your user (run it like you always do).

Regarding the ACPI errors, you could also disable ACPI by adding acpi=off to the GRUB kernel options. Not saying you have to, just for your information.
Thanks. I'll give that line code a whirl.As far as "acpi=off",I tried that once and i didn't know the fan had a speed that high.I thought the machine was going to take off.I'm going to refrain from trying that,again.It got rid of the ACPI errors but the fan went nuts.
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

Yeah, you'd have to set power management parameters in the BIOS if you disable that. But as I said, you don't have to disable acpi, those errors won't break your system (as you know).
Jeremy Mendes

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

This is INXI report as displayed using kernel 4.13.0-45.The "Display Server" line of the INXI report reads as it should and the last line of the "errors" display isn't present as it is with INXI report using kernel 4.15.0-29.

Code: Select all

ystem:
  Host: hppav Kernel: 4.13.0-45-generic x86_64 bits: 64 
  Desktop: Cinnamon 3.4.6 Distro: Linux Mint 18.2 Sonya 
Machine:
  Type: Laptop System: Hewlett-Packard 
  product: HP Pavilion dv6700 Notebook PC v: Rev 1 serial: <root required> 
  Mobo: Quanta model: 30D2 v: 79.29 serial: <root required> 
  BIOS: Hewlett-Packard v: F.52 date: 03/24/2008 
Battery:
  ID-1: BAT0 charge: 38.8 Wh condition: 41.2/88.8 Wh (46%) 
CPU:
  Topology: Dual Core model: Intel Core2 Duo T5550 bits: 64 type: MCP 
  L2 cache: 2048 KiB 
  Speed: 998 MHz min/max: 1000/1833 MHz Core speeds (MHz): 1: 998 2: 998 
Graphics:
  Card-1: NVIDIA G86M [GeForce 8400M GS] driver: nvidia v: 340.104 
  Display: x11 server: X.Org 1.18.4 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 1280x800~60Hz 
  OpenGL: renderer: GeForce 8400M GS/PCIe/SSE2 v: 3.3.0 NVIDIA 340.104 
Audio:
  Card-1: Intel 82801H HD Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k4.13.0-45-generic 
Network:
  Card-1: Intel PRO/Wireless 3945ABG [Golan] Network driver: iwl3945 
  IF: wlp2s0 state: down mac: 00:1f:3c:08:87:67 
  Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet 
  driver: r8169 
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: 00:1e:68:40:d3:fd 
Drives:
  Local Storage: total: 232.89 GiB used: 41.16 GiB (17.7%) 
  ID-1: /dev/sda vendor: Western Digital model: WDS250G2B0A-00SM50 
  size: 232.89 GiB 
Partition:
  ID-1: / size: 226.15 GiB used: 41.16 GiB (18.2%) fs: ext4 dev: /dev/sda1 
  ID-2: swap-1 size: 3.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: nvidia temp: 66 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 168 Uptime: 29m Memory: 2.93 GiB used: 801.3 MiB (26.7%) 
  Shell: bash inxi: 3.0.20 
[    0.074220] ACPI Error: [CDW1] Namespace lookup failure, AE_NOT_FOUND (20170531/psargs-364)
[    0.074230] ACPI Error: Method parse/execution failed \_SB._OSC, AE_NOT_FOUND (20170531/psparse-550)
[    1.488687] RAS: Correctable Errors collector initialized.
[    5.345343] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
jeremy@hppav ~ $ 
Last edited by JeremyB on Mon Aug 06, 2018 5:09 pm, edited 1 time in total.
Reason: code tags
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

Oh, inxi is providing the error output? I didn't even know it did that, what option does that?

Also ignore that I said about disk errors, that output is just the normal remount that occurs during boot, it's not an error. I had misunderstood it since it was listed within the other actual error messages. I'm not sure what that line is doing there.
Jeremy Mendes

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

gm10 wrote: Mon Aug 06, 2018 5:23 pm Oh, inxi is providing the error output? I didn't even know it did that, what option does that?

Also ignore that I said about disk errors, that output is just the normal remount that occurs during boot, it's not an error. I had misunderstood it since it was listed within the other actual error messages. I'm not sure what that line is doing there.
This is an old shell script command I discovered out here one day on LMforums:
inxi -F && dmesg | grep -i error
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by JeremyB »

Doesn't installing the Nvidia driver blacklist nouveau?
What is the result for

Code: Select all

grep [[:alnum:]] /etc/modprobe.d/* | grep nouveau
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

It does JeremyB. It's an inxi bug with the version he had, it was even discussed with the inxi dev on these forums here and then fixed.
Jeremy Mendes wrote: Mon Aug 06, 2018 5:35 pm This is an old shell script command I discovered out here one day on LMforums:
inxi -F && dmesg | grep -i error
Oh ok, that explains it. Thx.
Last edited by gm10 on Mon Aug 06, 2018 5:58 pm, edited 1 time in total.
Jeremy Mendes

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

I'm going to have to come back to this later.Thanks,everybody,for your input,Gotta go.
h2-1
Level 4
Level 4
Posts: 293
Joined: Sat Oct 16, 2010 4:02 pm
Contact:

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by h2-1 »

To be precise, X.org or something related to it got a bug that double loaded drivers, and inxi pre version 3.0 had failed to handle that scenario/bug, since it should never have happened. As noted, inxi now works around this bug in X.org or whatever is creating that double loaded driver situation. This fix was not really practical to do in old inxi, but was fairly easy in new inxi. This is in general why distros that use inxi for support should not be using anything but current git master branch version of inxi in their repos, fixes can't be sent along to users unless new inxi is used.

the errors this poster shows aren't related to inxi, because each line in inxi has its logic before the line prints, not after, so when you see those last error lines, that's something else going on, particularly with the ext4 error, which I would personally be concerned about if I were that user.
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

h2-1 wrote: Wed Aug 08, 2018 3:33 pm the errors this poster shows aren't related to inxi, because each line in inxi has its logic before the line prints, not after, so when you see those last error lines, that's something else going on, particularly with the ext4 error, which I would personally be concerned about if I were that user.
Hey h2-1, good to see you, I always meant to ask why inxi lists my webcam as a network device. ;) Just kidding, this is not the place, so back on topic: those lines at the end are some dmesg output that he pasted at the end. That ext4 line isn't actually an error, it's just the normal rw remount happening during boot when the ro kernel option is set.
h2-1
Level 4
Level 4
Posts: 293
Joined: Sat Oct 16, 2010 4:02 pm
Contact:

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by h2-1 »

Oh, I thought it was the same terminal output, that's good, otherwise he'd have bigger problems, heh.

Feel free to post issues on github inxi, your input has been valuable. I don't check these forums that often, just now and then at random.

Re webcams, you can imagine my surprise when I discovered that my builtin lenovo t420 webcam was listed as a --usb device, at which point I realized, oh, man, I had no idea that internal stuff runs on the USB bus too. If you want to run a --debug 22 I'll take a look to see if I can figure that specific issue out however.
Jeremy Mendes

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by Jeremy Mendes »

This is inxi report using latest kernel,4.15.0-30.

Code: Select all

System:
  Host: hppav Kernel: 4.15.0-30-generic x86_64 bits: 64 
  Desktop: Cinnamon 3.4.6 Distro: Linux Mint 18.2 Sonya 
Machine:
  Type: Laptop System: Hewlett-Packard 
  product: HP Pavilion dv6700 Notebook PC v: Rev 1 
  serial: <root required> 
  Mobo: Quanta model: 30D2 v: 79.29 serial: <root required> 
  BIOS: Hewlett-Packard v: F.52 date: 03/24/2008 
Battery:
  ID-1: BAT0 charge: 29.4 Wh condition: 41.2/88.8 Wh (46%) 
CPU:
  Topology: Dual Core model: Intel Core2 Duo T5550 bits: 64 
  type: MCP L2 cache: 2048 KiB 
  Speed: 1095 MHz min/max: 1000/1833 MHz Core speeds (MHz): 
  1: 1023 2: 1147 
Graphics:
  Card-1: NVIDIA G86M [GeForce 8400M GS] driver: N/A 
  Display: x11 server: X.Org 1.18.4 driver: fbdev,nouveau 
  FAILED: nvidia unloaded: modesetting,vesa 
  resolution: 640x480~73Hz 
  OpenGL: renderer: N/A v: N/A 
Audio:
  Card-1: Intel 82801H HD Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k4.15.0-30-generic 
Network:
  Card-1: Intel PRO/Wireless 3945ABG [Golan] Network 
  driver: iwl3945 
  IF: wlp2s0 state: down mac: 00:1f:3c:08:87:67 
  Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet 
  driver: r8169 
  IF: enp6s0 state: up speed: 100 Mbps duplex: full 
  mac: 00:1e:68:40:d3:fd 
Drives:
  Local Storage: total: 232.89 GiB used: 41.68 GiB (17.9%) 
  ID-1: /dev/sda vendor: Western Digital 
  model: WDS250G2B0A-00SM50 size: 232.89 GiB 
Partition:
  ID-1: / size: 226.15 GiB used: 41.68 GiB (18.4%) fs: ext4 
  dev: /dev/sda1 
  ID-2: swap-1 size: 3.00 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 168 Uptime: 5m Memory: 2.93 GiB 
  used: 1.11 GiB (37.8%) Shell: bash inxi: 3.0.20 
[    0.053025] ACPI Error: [CDW1] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364)
[    0.053081] ACPI Error: Method parse/execution failed \_SB._OSC, AE_NOT_FOUND (20170831/psparse-550)
[    1.561908] RAS: Correctable Errors collector initialized.
[    5.533288] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   31.846001] cinnamon[1671]: segfault at 0 ip 00007f73c786206e sp 00007ffecac2fa40 error 4 in libc-2.23.so[7f73c77d4000+1c0000]
jeremy@hppav ~ $ 
Driver Mngr. claims nvidia 340 is driver in use and is driver recommended for the hardware.
Last edited by Moem on Sat Aug 11, 2018 3:20 am, edited 1 time in total.
Reason: Swapped the [list] tags out for [code] tags; the code tags retain some formatting that makes your output easier to read.
gm10

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by gm10 »

Code: Select all

Display: x11 server: X.Org 1.18.4 driver: fbdev,nouveau 
FAILED: nvidia unloaded: modesetting,vesa 
Interesting, it's still listing two drivers despite the latest inxi, might still be a bug with inxi there. Since he was already in the thread, let me ping h2-1:
h2-1 wrote: Thu Aug 09, 2018 1:26 am
However, it shows that your nvidia driver failed to load, so it's not being used. Your /var/log/Xorg.0.log might have further information as to why it fails loading. I'm not an nvidia user myself so I'm not familiar with the common issues you run into with that driver. I know that people are pulling the newer versions from a PPA but I don't know if those versions actually still apply to your old GPU.
h2-1
Level 4
Level 4
Posts: 293
Joined: Sat Oct 16, 2010 4:02 pm
Contact:

Re: Kernel 4.15.0-29 update Crashes LM 18.2 Cinnamon

Post by h2-1 »

You can get two drivers active as far as Xorg is concerned, I see that all the time, for example, ati,radeon. When a driver in inxi is listed as a driver, it means it was loaded, and did not get unloaded, and did not fail. I don't actually know how xorg thinks about this internally, since it's quite common to see two drivers listed as the drivers. Could be two graphics devices, I really can't say.

One thing we can know for certain is that this nvidia driver FAILED, you also see it because there is no OpenGL data.

nvidia failed for one of several reasons:
1. failed to blacklist modesetting/nouveau in kernel boot parameters in grub
2. failed to use correct bus id in xorg.conf, usually it finds it itself, unless you have multiple gfx devices.
3. wrong driver, or driver that does not work with the kernel in use
4. improperly installed driver

Based on the output, my guess is that nouveau/modesetting were not blacklisted in grub conf, so those were loaded, and then made nvidia fail.
Locked

Return to “Hardware Support”