Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43704 - [linux-lts] 3.14.31-1 breaks btrfs
Attached to Project:
Arch Linux
Opened by Jan (DosAmp) - Thursday, 05 February 2015, 09:53 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 14 February 2015, 21:11 GMT
Opened by Jan (DosAmp) - Thursday, 05 February 2015, 09:53 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 14 February 2015, 21:11 GMT
|
DetailsAfter updating to linux-lts 3.14.31-1, initcpio (both default and fallback, confirmed to contain btrfs.ko) fails to mount a btrfs-formatted root filesystem:
Booting the kernel. starting version 218 mount: unknown filesystem type 'btrfs' ... [rootfs /]# modprobe btrfs modprobe: ERROR: could not insert 'btrfs': Unknown symbol in module, or unknown parameter (see dmesg) dmesg doesn't contain any information relevant to btrfs at this point. Downgrading to linux-lts-3.14.30-1 corrects the issue. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Saturday, 14 February 2015, 21:11 GMT
Reason for closing: Fixed
Additional comments about closing: 3.14.33-1
Saturday, 14 February 2015, 21:11 GMT
Reason for closing: Fixed
Additional comments about closing: 3.14.33-1
kernel: Linux version 3.14.31-1-lts (builduser@andyrtr) (gcc version 4.9.2 20141224 (prerelease) (GCC) ) #1 SMP Fri Jan 30 15:1
...
systemd[1]: Unit mnt-backup.mount entered failed state.
mount[450]: mount: unknown filesystem type 'xfs'
mount[535]: mount: unknown filesystem type 'xfs'
systemd[1]: var-lib-backuppc.mount mount process exited, code=exited status=32
systemd[1]: Failed to mount /var/lib/backuppc.
When I comment out the xfs filesystems in /etc/fstab, the boot proceeds but fails to bring up X11:
kernel: nvidia: module license 'NVIDIA' taints kernel.
kernel: Disabling lock debugging due to kernel taint
kernel: nvidia: disagrees about version of symbol node_data
kernel: nvidia: Unknown symbol node_data (err -22)
http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.14.y&id=35dbe179fe2af754b0ac92c629435c39bd95681c
Build a kernel with this commit reverted (patch -R) and check if it boots again. Look also out for upstream regression bugs in the kernel tracker.
No problem here for me with ext4.
Yes, I know it's not supported officially, but I'd still like to follow it.
# modprobe crc32c
# modprobe xfs
I'm using ext4 to boot, so this is good enough for me. But if you need this to work as a root fs then you should be able to add this to MODULES in /etc/mkinitcpio.conf.
I hope this helps track down the problem.
I also tried adding nvidia and xfs to the MODULES section in mkinitcpio.conf and regenerated initramfs with "pacman -S linux-lts" but that didn't help either.
v3.14.31:crypto/crc32c.c is missing the MODULE_ALIAS_CRYPTO("crc32c"). That's probably because crypto/crc32c.c was renamed to crypto/crc32c_generic.c in commit 06e5a1f29819759392239669beb2cad27059c8ec and therefore fell through the cracks when backporting commit 5d26a105b5a73e5635eae0629b42fa0a90e07b7b.
So the affected kernels (all that backported the "crypto-" prefix patches) need this additional patch.
Looks like that commit includes your suggested patch - so I assume this is no solution.
diff --git a/crypto/crc32.c b/crypto/crc32.c
index 9d1c415..187ded2 100644
--- a/crypto/crc32.c
+++ b/crypto/crc32.c
@@ -156,3 +156,4 @@ module_exit(crc32_mod_fini);
MODULE_AUTHOR("Alexander Boyko <alexander_boyko@xyratex.com>");
MODULE_DESCRIPTION("CRC32 calculations wrapper for lib/crc32");
MODULE_LICENSE("GPL");
+MODULE_ALIAS_CRYPTO("crc32");
Isn't that all also part of stable recent kernel 3.18/19 ? Why do they keep booting? Do we have an issue with out mkinitcpio?
$ cat /etc/mkinitcpio.d/linux-lts.preset
...
ALL_config="/etc/mkinitcpio-lts.conf"
ALL_kver="/boot/vmlinuz-linux-lts"
...
$ cat /etc/mkinitcpio-lts.conf
...
MODULES="crc32c xfs"
...
$ cat /etc/mkinitcpio.conf
...
MODULES=""
...
I had some very odd issues booting both the LTS kernel and the regular kernel at first. lvm was failing to find some logical volumes:
lvmetad[375]: Cannot lock lockfile [/run/lvmetad.pid], error was [Resource temporarily unavailable]
systemd[1]: Job dev-mapper-backup2\x2dbackup.device/start timed out.
systemd[1]: Timed out waiting for device dev-mapper-backup2\x2dbackup.device.
... and a few more like these ...
It worked fine for other volumes however and the issue went away after a few reboots. And the volumes had different filesystems, ext4 and xfs. Maybe there was some LVM lockfile lingering that finally got removed after a successful boot?
http://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/tree/releases/3.14.33/crypto-crc32c-add-missing-crypto-module-alias.patch