Kernel panic after security update

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Rich J
Level 1
Level 1
Posts: 29
Joined: Wed Feb 01, 2012 12:14 pm
Location: United Kingdom

Kernel panic after security update

Post by Rich J » Wed Jan 17, 2018 1:51 pm

Hi All
With reference to the instructions here - viewtopic.php?f=90&t=261343

I've just done a fresh install of Mint 18.3 on my desktop. Installation went well until I did the updates (via Update Manager) when the latest recommended kernel (4.13.0-26) was installed. This resulted in a kernel panic. For some reason, the kernel that shipped with the .iso (4.10.0-38) now also resulted in a kernel panic. I re-installed from scratch. This also went well and I updated again but this time left out the kernel updates. So far so good.

Reading about the security issues with Meltdown and Spectre (ref: the link above) I followed the instructions given and installed both kernels 4.13.0-26 and 4.4.0-109 in turn and tried to boot from them. Neither will boot my set-up. I haven't removed the 4.10.x series as yet as I will have an unusable machine.

Can you please advise what I do next? Is there another safe kernel I might try? And if I continue to use 4.10.0-38, what are the risks? Any and all help will be greatly appreciated!

Rich

System info -

Code: Select all

richard@richard-OEM ~ $ inxi -Fxz
System:    Host: richard-OEM Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.18.0 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: DIXONSXP product: N/A
           Mobo: Foxconn model: 945 7MC Series
           Bios: Phoenix v: 6.00 PG date: 12/09/2006
CPU:       Single core Intel Pentium 4 (-HT-) cache: 2048 KB
           flags: (lm nx sse sse2 sse3) bmips: 6384
           clock speeds: max: 3200 MHz 1: 2400 MHz 2: 2400 MHz
Graphics:  Card: NVIDIA G86 [GeForce 8500 GT] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1440x900@59.89hz
           GLX Renderer: GeForce 8500 GT/PCIe/SSE2
           GLX Version: 3.3.0 NVIDIA 340.102 Direct Rendering: Yes
Audio:     Card-1 Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Trust Widescreen 3MP Webcam
           driver: USB Audio usb-ID: 001-004
           Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network:   Card: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
           driver: 8139too v: 0.9.28 port: ee00 bus-ID: 02:03.0
           IF: enp2s3 state: unknown speed: 100 Mbps duplex: full
           mac: <filter>
Drives:    HDD Total Size: 200.1GB (9.5% used)
           ID-1: /dev/sda model: WDC_WD1600BB size: 160.0GB
           ID-2: /dev/sdb model: WDC_WD400EB size: 40.0GB
Partition: ID-1: / size: 19G used: 6.8G (39%) fs: ext4 dev: /dev/sda5
           ID-2: /boot size: 1.9G used: 68M (4%) fs: ext4 dev: /dev/sda1
           ID-3: /home size: 123G used: 7.4G (7%) fs: ext4 dev: /dev/sda7
           ID-4: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 16.0C mobo: N/A gpu: 0.0:55C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 176 Uptime: 58 min Memory: 1142.9/1997.0MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
richard@richard-OEM ~ $ 4.10.0-38
And error log -
DKMS make.log for ndiswrapper-1.60 for kernel 4.13.0-26-generic (x86_64)
Wed 17 Jan 16:29:13 GMT 2018
make: Entering directory '/usr/src/linux-headers-4.13.0-26-generic'
AR /var/lib/dkms/ndiswrapper/1.60/build/built-in.o
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
In file included from /var/lib/dkms/ndiswrapper/1.60/build/ndis.h:19:0,
from /var/lib/dkms/ndiswrapper/1.60/build/ndis.c:16:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMAllocateSharedMemory’:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:122:20: error: ‘__GFP_REPEAT’ undeclared (first use in this function)
GFP_KERNEL | __GFP_REPEAT)
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:1095:10: note: in expansion of macro ‘PCI_DMA_ALLOC_COHERENT’
*virt = PCI_DMA_ALLOC_COHERENT(wd->pci.pdev, size, &dma_addr);
^
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:122:20: note: each undeclared identifier is reported only once for each function it appears in
GFP_KERNEL | __GFP_REPEAT)
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:1095:10: note: in expansion of macro ‘PCI_DMA_ALLOC_COHERENT’
*virt = PCI_DMA_ALLOC_COHERENT(wd->pci.pdev, size, &dma_addr);
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMIndicateReceivePacket’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2261:15: error: ‘struct net_device’ has no member named ‘last_rx’
wnd->net_dev->last_rx = jiffies;
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘EthRxIndicateHandler’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2349:14: error: ‘struct net_device’ has no member named ‘last_rx’
wnd->net_dev->last_rx = jiffies;
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMTransferDataComplete’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2464:14: error: ‘struct net_device’ has no member named ‘last_rx’
wnd->net_dev->last_rx = jiffies;
^
scripts/Makefile.build:308: recipe for target '/var/lib/dkms/ndiswrapper/1.60/build/ndis.o' failed
make[1]: *** [/var/lib/dkms/ndiswrapper/1.60/build/ndis.o] Error 1
Makefile:1550: recipe for target '_module_/var/lib/dkms/ndiswrapper/1.60/build' failed
make: *** [_module_/var/lib/dkms/ndiswrapper/1.60/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.13.0-26-generic'
Rich J

User avatar
Pjotr
Level 20
Level 20
Posts: 10638
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Kernel panic after security update

Post by Pjotr » Wed Jan 17, 2018 2:14 pm

Old machine. Roll back to the latest kernel of the 4.4 series (currently 4.4.0-109). This also contains the Meltdown patch.

Update Manager - panel: View - Linux kernels

After installing it, reboot and make sure you boot from it (it's under the Advanced section of the Grub bootloader menu). Then remove all installed kernels from all higher series.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Rich J
Level 1
Level 1
Posts: 29
Joined: Wed Feb 01, 2012 12:14 pm
Location: United Kingdom

Re: Kernel panic after security update

Post by Rich J » Wed Jan 17, 2018 2:56 pm

Pjotr wrote:Old machine. Roll back to the latest kernel of the 4.4 series (currently 4.4.0-109). This also contains the Meltdown patch.

Update Manager - panel: View - Linux kernels

After installing it, reboot and make sure you boot from it (it's under the Advanced section of the Grub bootloader menu). Then remove all installed kernels from all higher series.
Thanks for the swift reply, but - "I followed the instructions given and installed both kernels 4.13.0-26 and 4.4.0-109 in turn and tried to boot from them. Neither will boot my set-up."

Old machine it may be but it's run every iteration of Mint since v12 without too much bother ........... :wink:
Rich J

User avatar
Pjotr
Level 20
Level 20
Posts: 10638
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Kernel panic after security update

Post by Pjotr » Wed Jan 17, 2018 3:04 pm

Missed that. :P

Well, your options are limited. You might wait for the (hopefully) redeeming update in the 4.4 series.

Or, and that's what I would do: perform a clean installation of Mint 17.3 Xfce and downgrade its kernel to the latest of the 3.13 series (currently: 3.13.0-139). And buy a new machine when Mint 17.x reaches EOL in May, 2019.

The whole bloody Meltdown/Spectre mess is probably too dangerous for continuing without a patched kernel....
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Post Reply

Return to “Installation & Boot”