You are not logged in.

#1 2018-08-14 22:35:23

fxlex
Member
Registered: 2018-08-14
Posts: 2

Can't boot after continuing session (charging, hibernate) [SOLVED]

I have a problem with my  XPS 13 9370 when I try to continue the session after hibernating.
It always works except in one case:
When the battery is low, the laptop shuts down and I will plug it in a power cable. After pressing the ON button the dell bios tells me that the hard drive is not installed. After another restart, it drops to the rescue shell (Grub + UEFI) and I can't boot anymore.
I can only fix this issue by booting from an USB stick and running grub-install and grub-mkconfig. The bootloader is not the only thing that gets corrupted.  It affects my main partition too:

[254122.026940] EXT4-fs error (device nvme0n1p3) in ext4_free_inode:363: Corrupt filesystem
[254122.039608] EXT4-fs error (device nvme0n1p3) in ext4_free_inode:363: Corrupt filesystem
[254137.313184] EXT4-fs error (device nvme0n1p3): ext4_validate_block_bitmap:387: comm TaskSchedulerFo: bg 290: bad block bitmap checksum
[254137.315562] EXT4-fs (nvme0n1p3): Delayed block allocation failed for inode 32114050 at logical offset 684 with max blocks 3 with error 74
[254137.315573] EXT4-fs (nvme0n1p3): This should not happen!! Data will be lost

[254144.515642] EXT4-fs error (device nvme0n1p3) in ext4_free_inode:363: Corrupt filesystem
[254302.268804] EXT4-fs error (device nvme0n1p3): ext4_validate_block_bitmap:387: comm logrotate: bg 3400: bad block bitmap checksum
[254302.270932] EXT4-fs error (device nvme0n1p3) in ext4_free_blocks:4963: Filesystem failed CRC
[254354.937901] EXT4-fs error (device nvme0n1p3) in ext4_free_inode:363: Corrupt filesystem

I have set up hibernating according to the documentation but I even had this issue before changing the mentioned settings (for example the
Kernel parameters:

 BOOT_IMAGE=/vmlinuz-linux root=UUID=a3256a0f-afe6-4d0d-920e-dcd8c4732b95 rw quiet splash resume=/dev/nvme0n1p4

The only errors in dmesg are these and I am not sure if they are related:

[249088.490694] xhci_hcd 0000:39:00.0: xHCI host controller not responding, assume dead
[249088.490764] xhci_hcd 0000:39:00.0: HC died; cleaning up
[254112.413860] sd 0:0:0:0: [sda] No Caching mode page found
[254112.413865] sd 0:0:0:0: [sda] Assuming drive cache: write through

nvme0n1p4 is my swap partion, nvme0n1p3 the main partition.  Suspend to RAM works.  After fixing the bootloader my last session even continues.
Any ideas how to fix this?

Thanks in advance.

Last edited by fxlex (2018-09-24 11:52:15)

Offline

#2 2018-09-24 11:52:00

fxlex
Member
Registered: 2018-08-14
Posts: 2

Re: Can't boot after continuing session (charging, hibernate) [SOLVED]

I  found the solution myself but I am not sure what step fixed the issue:
1. I added my graphics driver to the modules section of /etc/mkinitcpio.conf:

 MODULES=(intel_agp i915) 

2. I changed the resume kernel parameter resume to use a UUID instead of a path:

 resume=UUID=...

Offline

Board footer

Powered by FluxBB