You are not logged in.
Hopefully I can get traction on this one.
I'm trying to rescue a zfs on root installation. Being running zfs for several years however I don't think this is exactly a zfs error.
Used system install CD to mount the zfs root partitions and then did arch-chroot.
Reinstalled zfs-linux and zfs-lts-linux and then attempt to reinstall kernel (pacman -S linux), I'm getting a C compilation error during the mkinitcpio process:
(1/1) reinstalling linux [###########################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img --microcode /boot/*-ucode.img
==> Starting build: '6.6.10-arch1-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [zfs]
-> Running build hook: [filesystems]
-> Running build hook: [shutdown]
Fatal glibc error: allocatestack.c:192 (advise_stack_range): assertion failed: freesize < size
Caught SIGABRT signal, printing stack:
/usr/lib/libc.so.6(+0x8e83c) [0x7f37d316083c]
/usr/lib/libc.so.6(raise+0x18) [0x7f37d3110668]
/usr/lib/libc.so.6(abort+0xd7) [0x7f37d30f84b8]
/usr/lib/libc.so.6(+0x27390) [0x7f37d30f9390]
/usr/lib/libc.so.6(+0x36b77) [0x7f37d3108b77]
/usr/lib/libc.so.6(+0x8cb5b) [0x7f37d315eb5b]
/usr/lib/libc.so.6(+0x1107cc) [0x7f37d31e27cc]
/usr/lib/initcpio/functions: line 1073: 5401 Aborted (core dumped) zstd -d --rm -q "${zst_comp[@]}"
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.Error repeats a few times.
Not exactly sure what to do with this one. Brief internet search on allocatestack error really just reveals error with C compilation process and not exactly specific to linux kernel initramfs creation.
Hopefully someone has some thoughts.
Offline
Do you have /boot partition mounted and do you have enough space on it?
Check installed packages with 'pacman -Qk' ?
Reinstall mkinitcpio, lz4 and glibc (with same version as you currently have from cache or ALA)?
Maybe your hard drive is failing?
Corrupted filesystem; do you use zfs native encryption and snapshotting?
What shows 'coredumpctl dump' (after failed update attempt)?
Did you tried to run it with gdb?
Last edited by xerxes_ (2024-02-29 20:19:54)
Offline