• Content Count

  • Joined

  • Last visited

Everything posted by jbergler

  1. @aprayoga if you still need it here's a full boot log of the crash (the actual stacktrace of the crash is inconsistent for me)
  2. If you, like myself, installed on eMMC and are experiencing the crashes on 20.08.14 - I booted up via a 20.08.10 sdcard and fixed the environment on emmc # mount the emmc + get ready to chroot mkdir /mnt/chroot mount /dev/mmcblk1p2 /mnt/chroot/ mount /dev/mmcblk1p1 /mnt/chroot/media/mmcboot mount --bind /mnt/chroot/media/mmcboot/boot/ /mnt/chroot/boot/ mount --bind /dev /mnt/chroot/dev/ mount --bind /proc /mnt/chroot/proc/ mount --bind /tmp /mnt/chroot/tmp/ # chroot in and downgrade to 20.08.10 chroot /mnt/chroot/ /bin/bash apt install \ linux-dtb-current-rockchip64=20.08.10 \
  3. These won't be exact instructions, since I decided to switch to focal (mostly for other reasons). mkdir zfs-scratch cd zfs-scratch apt-get download linux-headers-current-rockchip64 git clone -b zfs-0.8.5 https://github.com/openzfs/zfs.git docker run --rm -it -v $(pwd):/scratch ubuntu:focal # inside the container cd /scratch apt update apt install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev python3 python3-dev python3-setuptools python3-cffi libffi-dev dpkg -i linux-h
  4. In the meantime, I built a zfs 0.8.5 module that you can use on buster (but only the 5.8.13 kernel) First install this package with dpkg -i kmod-zfs-5.8.13-rockchip64_0.8.5-1_arm64.deb and then install the zfs utils with apt install -t buster-backports zfsutils-linux
  5. @Brocklobsta sounds like you're setting GCC correctly, and the issue thats left is probably that the zfs-dkms module is too old (try finding 0.8.4+ per here) For the issue on buster, I think I've nailed the problem down. STACKPROTECTOR_PER_TASK is defined as such config CC_HAVE_STACKPROTECTOR_SYSREG def_bool $(cc-option,-mstack-protector-guard=sysreg -mstack-protector-guard-reg=sp_el0 -mstack-protector-guard-offset=0) config STACKPROTECTOR_PER_TASK def_bool y depends on STACKPROTECTOR && CC_HAVE_STACKPROTECTOR_SYSREG GCC in the focal buil
  6. The suggestion Igor made in that thread solves the 0.8.3 problems on 5.8 because certain kernel methods were flagged as GPL and the module won't compile. As others in that thread pointed out, using the newer 0.8.4 package works on focal but not buster. 0.8.4 compiles correctly against the rockchip64 kernel on focal (gcc9) and bullseye (gcc10), but not with buster (gcc8). 2.0.0-rc follows the same pattern. the rockchip64 kernel is built using the armbian toolchain, which is focal based and thus using gcc 9. I haven't been able to come up with any ot
  7. Hi Folks, Trying to wrap my head around this still, so bear with my if I've crossed my wires somewhere, first some background. With a 5.8 linux-image-current-rockchip64 kernel, zfs 0.8.4 and 2.0.0-rc won't compile because of the following error. ERROR: modpost: "__stack_chk_guard" [/root/zfs/module/zfs/zfs.ko] undefined! This has been mentioned in a few places: https://github.com/openzfs/zfs/issues/10985 https://forum.armbian.com/topic/15065-downgrade-linux-image-current-rockchip64/ Digging into this I managed to build the modu