You are not logged in.
Pages: 1
Hi everyone,
I am installing Arch Linux on a new machine. When mounting the ext4 root partition I get the following error every 4096 sectors:
I/O error, dev mmcblk0, sector 222537872 op 0x9: (WRITE_ZEROES) flags 0x800 phys_seg 0 prio class 0
Where the number of the sector is of course one of many, each 4096 sectors apart from each other.
I created the partition on parted, formatted it with mkfs.ext4 and the errors start flowing as soon as I mount it.
Do you have an idea where this stems from?
Thank you.
Best regards,
Phil
Offline
I just had the same error mounting the root filesystem during the install on my new ASUS notebook. It uses eMMC as the main system storage. What kind of storage was your machine using? I couldn't figure out what was causing the error and eventually gave up and continued on with the install and haven't had any issues since.
Offline
Post output of lsblk and lsblk -f
Offline
Which device is that specifically? If WRITE_ZEROES fails, it might need a quirk on the kernel level ( example https://github.com/torvalds/linux/blob/ … e/quirks.h )
You can disable fstrim, discard and lazy initialization (mkfs.ext4 -E nodiscard,lazy_itable_init=0,lazy_journal_init=0) or go with a different filesystem altogether, but it won't solve the core issue if the device is not handled correctly at kernel level.
Also make sure your partitions / filesystems are aligned, although that's rarely the issue these days.
Last edited by frostschutz (2022-10-23 11:00:40)
Offline
Pages: 1