Page MenuHomeSolus

Constant OS Crashes with Newest ISO/New Kernel
Closed, ResolvedPublic

Description

Since updating to the newer kernel my laptop keep crashing every 20 min with EXT4-fs error (reading directory lblock 0). I tried wiping the drive, recreating partitions, reinstalling Solus (Budgie, Gnome) but nothing seems to work.

After some digging I found this bug, which perfectly fits the description:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184

Before I try to play with boot parameters I wanted to report this as this will affect anyone with NVMe hard drive (I suppose specific brand/type? People reported it with DELL and Thinkpad laptops) who install Solus or update to newer kernel.

The crashes are random but sometimes it happens so fast I can't even perform an update in the software centre.

Event Timeline

JGH1000 created this task.Apr 22 2017, 10:36 AM
DataDrake edited projects, added Hardware; removed Plumbing.Apr 23 2017, 3:35 PM

Anyone? I tried

I tried updating grub with nvme_core.default_ps_max_latency_us=5500 but when I try to do sudo update-grub I get
/usr/sbin/grub-mkconfig: line 232: /boot/grub/grub.cfg.new: No such file or directory

I can't use Solus for longer than 15 min, any advice would be really appreciated or else I would have to move to something with an older kernel or Ubuntu since the workaround above apparently works there.

Thanks!

To add a kernel parameter to boot you would need to add nvme_core.default_ps_max_latency_us=5500 to /etc/kernel/cmdline You will likely need to create this file

Afterwards, run sudo clr-boot-manager update to have that parameter added to the kernel configuration on boot.

But looks like this patch could be added to the kernel https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?h=for-linus&id=be56945c4edd5a3da15f8254b68d1ddb1588d0c4 or backport the new version of the patchset, as there looks to be a couple of extra fixes

Have also looked at your other task. There's no comment as the attempts haven't worked so nothing to update.

Many thanks @sunnyflunk I will try the kernel parameter. No clue about kernel patches so will go with the cmdline.

As for the other issue, apologies, I was not aware any actions have been taken. Absolutely loving Solus and would prefer not to switch to other distro but the ASPS and R crashes are making it impossible to work. If there is anything I can do to help with R problem please let me know.

JGH1000 closed this task as Resolved.Apr 28 2017, 3:11 AM
JGH1000 claimed this task.

The kernel parameter fixes the problem. Everyone using Samsung NVMe SSDs will have to put in manually though. Thanks for the instructions @sunnyflunk