read only system after nvme rest controller

Asked by giso

Hi my system goes into read only mode from time to time.

Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

I push the syslog to a other system and thats what I get.

'
Jun 6 13:45:13 seo-book219 kernel: [ 6535.734836] nvme 0000:04:00.0: Failed status: 0xffffffff, reset controller.
Jun 6 13:45:13 seo-book219 kernel: [ 6535.754940] pci_raw_set_power_state: 57 callbacks suppressed
Jun 6 13:45:13 seo-book219 kernel: [ 6535.754948] nvme 0000:04:00.0: Refused to change power state, currently in D3
Jun 6 13:45:13 seo-book219 kernel: [ 6535.755303] nvme nvme0: Removing after probe failure status: -19
Jun 6 13:45:13 seo-book219 kernel: [ 6535.755330] nvme0n1: detected capacity change from 256060514304 to 0
Jun 6 13:45:13 seo-book219 kernel: [ 6535.755725] blk_update_request: I/O error, dev nvme0n1, sector 99484816
Jun 6 13:45:13 seo-book219 kernel: [ 6535.755814] blk_update_request: I/O error, dev nvme0n1, sector 99484816
Jun 6 13:45:13 seo-book219 kernel: [ 6535.756279] blk_update_request: I/O error, dev nvme0n1, sector 0
Jun 6 13:45:13 seo-book219 kernel: [ 6535.756625] blk_update_request: I/O error, dev nvme0n1, sector 99484816
Jun 6 13:45:13 seo-book219 kernel: [ 6535.757063] blk_update_request: I/O error, dev nvme0n1, sector 99484816
Jun 6 13:45:13 seo-book219 systemd[1]: Stopped target Encrypted Volumes.
Jun 6 13:45:13 seo-book219 systemd[1]: Stopping Cryptography Setup for nvme0n1p5_crypt...
Jun 6 13:45:13 seo-book219 systemd[1]: Stopping Unattended Upgrades Shutdown...
Jun 6 13:45:13 seo-book219 kernel: [ 6535.785644] EXT4-fs error (device dm-1): ext4_find_entry:1461: inode #6029520: comm (shutdown): reading directory lblock 0
Jun 6 13:45:13 seo-book219 kernel: [ 6535.785875] Buffer I/O error on dev dm-1, logical block 0, lost sync page write
Jun 6 13:45:13 seo-book219 kernel: [ 6535.785890] Aborting journal on device dm-1-8.
Jun 6 13:45:13 seo-book219 kernel: [ 6535.785939] Buffer I/O error on dev dm-1, logical block 28868608, lost sync page write
Jun 6 13:45:13 seo-book219 kernel: [ 6535.785948] JBD2: Error -5 detected when updating journal superblock for dm-1-8.
Jun 6 13:45:13 seo-book219 kernel: [ 6535.785952] EXT4-fs (dm-1): Remounting filesystem read-only
Jun 6 13:45:13 seo-book219 systemd[6569]: unattended-upgrades.service: Failed at step EXEC spawning /usr/share/unattended-upgrades/unattended-upgrade-shutdown: No such file or directory
Jun 6 13:45:13 seo-book219 systemd[1]: unattended-upgrades.service: Control process exited, code=exited status=203
Jun 6 13:45:13 seo-book219 systemd[1]: Stopped Unattended Upgrades Shutdown.
Jun 6 13:45:13 seo-book219 systemd[1]: unattended-upgrades.service: Unit entered failed state.
Jun 6 13:45:13 seo-book219 systemd[1]: unattended-upgrades.service: Failed with result 'exit-code'.
Jun 6 13:45:13 seo-book219 systemd[1]: Stopped target Local File Systems.
Jun 6 13:45:13 seo-book219 systemd[1]: Unmounting /boot...
Jun 6 13:45:14 seo-book219 systemd[6572]: boot.mount: Failed at step EXEC spawning /bin/umount: Input/output error
Jun 6 13:45:14 seo-book219 systemd[1]: boot.mount: Mount process exited, code=exited status=203
Jun 6 13:45:14 seo-book219 systemd[1]: Failed unmounting /boot.
Jun 6 13:45:14 seo-book219 systemd[1]: boot.mount: Unit is bound to inactive unit dev-disk-by\x2duuid-642a6da4\x2da14e\x2d4cba\x2da9d4\x2d543fd6994bc2.device. Stopping, too.
Jun 6 13:45:14 seo-book219 systemd[1]: Unmounting /boot...
Jun 6 13:45:14 seo-book219 systemd[6574]: boot.mount: Failed at step EXEC spawning /bin/umount: Input/output error
Jun 6 13:45:14 seo-book219 systemd[1]: boot.mount: Mount process exited, code=exited status=203
Jun 6 13:45:14 seo-book219 systemd[1]: Failed unmounting /boot.
Jun 6 13:45:14 seo-book219 systemd[1]: boot.mount: Unit is bound to inactive unit dev-disk-by\x2duuid-642a6da4\x2da14e\x2d4cba\x2da9d4\x2d543fd6994bc2.device. Stopping, too.
Jun 6 13:45:14 seo-book219 systemd[1]: Unmounting /boot...
Jun 6 13:45:14 seo-book219 systemd[6576]: boot.mount: Failed at step EXEC spawning /bin/umount: Input/output error
Jun 6 13:45:14 seo-book219 systemd[1]: boot.mount: Mount process exited, code=exited status=203
Jun 6 13:45:14 seo-book219 systemd[1]: Failed unmounting /boot.

'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
giso
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

This looks somewhat similar to Bug #1641322 which assumedly was caused by faulty hardware.

Revision history for this message
giso (giso-osig) said :
#2

yes that sounds like the same bug but i have here 3 other colleagues with the same Lenovo thinkpad x270 and the same problem with Ubuntu.
One other colleague installed debian on it and he did not have these problems.

Since yesterday i have that new kernel installed and it did not happened again until now.
4.8.0-54-generic #57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

one of my colleague had that problem again today but he has the old kernel so lets see what happened if we all on that new version.

4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
giso (giso-osig) said :
#3

since that new Kernal #57 it did not happen again so I would say it's solved
thanks

Revision history for this message
giso (giso-osig) said :
#4

ok a colleague had a gain that read only problem

he is on Kernel
4.8.0-54-generic #57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

so we now try a bios update on his thinkpad

http://support.lenovo.com/de/en/downloads/5bef5e40-a9d9-4ff3-a3d1-08622df17d4e