You are not logged in.

#1 2019-10-31 20:40:56

jopicornell
Member
Registered: 2019-04-16
Posts: 11

[SOLVED] Filesystem Read-Only when installing last linux kernel

Hi there!

I've encountered a strange problem today when I was running my weekly pacman -Syu. When I was running the pacman upgrades, I started reading error messages about files not being copied (write error). I thought it was something punctual of some package. After a few trials, I started installing the packages via pacman -S package and everything went well except this packages:

gcc-9.2.0-3  gcc-libs-9.2.0-3  glibc-2.30-2  lib32-gcc-libs-9.2.0-3  lib32-glibc-2.30-2  linux-5.3.7.arch1-2  linux-firmware-20191022.2b016af-1  linux-headers-5.3.7.arch1-2

The most strange thing is that, when the error happens, leave my root as a read-only filesystem and I've to reboot to make my arch usable again. Any thoughts on why this is happening?

If you think it's related, I use btrfs as my FS.

Many thanks in advance!!!

Last edited by jopicornell (2019-10-31 21:15:35)

Offline

#2 2019-10-31 20:55:00

loqs
Member
Registered: 2014-03-06
Posts: 9,074

Re: [SOLVED] Filesystem Read-Only when installing last linux kernel

check dmesg for notification of the filesystem being remounted read only.

Offline

#3 2019-10-31 21:15:09

jopicornell
Member
Registered: 2019-04-16
Posts: 11

Re: [SOLVED] Filesystem Read-Only when installing last linux kernel

loqs wrote:

check dmesg for notification of the filesystem being remounted read only.

Thank you! I don't know why I didn't go to the dmesg... I've seen is some kind of bad sector:

[  +7.379652] BTRFS critical (device nvme0n1p5): unable to find logical 4398903508992 length 4096
[  +0.000002] BTRFS critical (device nvme0n1p5): unable to find logical 4398903508992 length 4096
[  +0.000003] BTRFS critical (device nvme0n1p5): unable to find logical 4398903508992 length 16384
[  +0.000001] BTRFS: error (device nvme0n1p5) in __btrfs_free_extent:4860: errno=-5 IO failure
[  +0.000001] BTRFS info (device nvme0n1p5): forced readonly
[  +0.000001] BTRFS: error (device nvme0n1p5) in btrfs_run_delayed_refs:2795: errno=-5 IO failure

I'll mark it as solved as it seems something related to my ssd and not to pacman. If someone has extra information about that error will help me a lot on my research. When I find the solution, I'll post what I've done to solve it.

Offline

Board footer

Powered by FluxBB