[solved] Upgrade from Jessie to Stretch left with kernel bug

Kernels & Hardware, configuring network, installing services

[solved] Upgrade from Jessie to Stretch left with kernel bug

Postby jbarlin4 » 2017-08-10 04:28

Hello!

Last night, I upgraded a web server from Jessie to Stretch 9.1. Upon rebooting however, I was greeted with a kernel bug! After some late-night googling the error and kernel booting, I was able to boot using the previous kernel (3.16.0-4-amd64). I cannot log in, nor is there any network activity etc after the kernel bug (which happens immediately).

While this worked perfectly, I'd rather keep up to date, so I tried the new one again today while everyone was out of the building, and the same error occurred (this time, I got a screenshot!)
Image
I booted back up with the old kernel, and then decided to try and get a vanilla kernel (4.12.5) and use that. After compiling and rebooting, I was landed with the same error:
Image
It's at this point I noticed that the error line refers to ext4, and that there is a recovery boot option. Recovery boot was no help:
Image
And using the live cd to fsck the drives yielded nothing from the check and no change to the system being able to boot using either the of the 4.x kernels

So, I've now launched again with the old kernel which is working perfectly fine, but I'd rather keep up to date. Anyone got any other ideas for me to try?
Last edited by jbarlin4 on 2017-08-11 20:18, edited 1 time in total.
jbarlin4
 
Posts: 3
Joined: 2017-08-10 03:13

Re: Upgrade from Jessie to Stretch left with kernel bug

Postby Segfault » 2017-08-10 15:02

Is this a virtual machine?
Segfault
 
Posts: 480
Joined: 2005-09-24 12:24

Re: Upgrade from Jessie to Stretch left with kernel bug

Postby stevepusser » 2017-08-10 17:13

You could see if the same thing happens with a Liquorix kernel.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.5.0, Liquorix kernel 4.12-10, mpv 0.27.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8815
Joined: 2009-10-06 05:53

Re: Upgrade from Jessie to Stretch left with kernel bug

Postby jbarlin4 » 2017-08-11 01:31

Giving a quick status update: recompiled and re-run the 4.12.5 kernel with debug flags. I didn't grab a screenshot of the error (since the kernel was spitting out a lot of things), and it didn't appear to leave a log file. I'll try again with the debug flags and try and screenshot/screen record.

I tried looking up the line in the kernel source, but that wasn't too helpful since it was a BUG_ON line...

Segfault wrote:Is this a virtual machine?

Nope. Runs directly on the hardware.
stevepusser wrote:You could see if the same thing happens with a Liquorix kernel.

I'll try that when it's next quiet enough for me to take it offline. It would be interesting to see if that works.
jbarlin4
 
Posts: 3
Joined: 2017-08-10 03:13

Re: Upgrade from Jessie to Stretch left with kernel bug

Postby jbarlin4 » 2017-08-11 20:18

So I stumbled across the solution accidentally, but it works nonetheless.
I created a new root partition on another disk, and rsync'd across all the files. I then updated grub and fstab to point to the new partition.

Still not sure what the original cause was (since they were reasonably new SSDs and in RAID 1), but for now I have a stable system so I'm happy :)
jbarlin4
 
Posts: 3
Joined: 2017-08-10 03:13


Return to System configuration

Who is online

Users browsing this forum: makh and 11 guests

fashionable
cron