rpi4 / will zfs work?

tech-lists tech-lists at zyxst.net
Sat Sep 5 10:53:41 UTC 2020


On Sat, Sep 05, 2020 at 12:41:52AM +0100, tech-lists wrote:

>should it work?

it's there now, after building and booting GENERIC, just need to test:

freebsd at rpi4:~ % kldstat
Id Refs Address                Size Name
  1   27 0xffff000000000000  117d148 kernel
  2    1 0xffff000070400000   40f000 zfs.ko
  3    1 0xffff00007080f000    26000 cryptodev.ko
  4    1 0xffff000070835000    24000 uhid.ko
  5    1 0xffff000070859000    26000 ums.ko
  6    1 0xffff00007087f000    22000 pflog.ko
  7    1 0xffff0000708a1000    5a000 pf.ko
  8    1 0xffff0000708fb000    22000 mac_ntpd.ko

>next step is to make a nodebug kernel

nodebug failed like this, at the buildkernel KERNCONF=GENERIC-NODEBUG:

--- machine ---
machine -> /ext/src/sys/arm64/include
--- opt_inet.h ---
ln -sf /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG/opt_inet.h
opt_inet.h
--- opt_bwi.h ---
ln -sf /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG/opt_bwi.h opt_bwi.h
--- kernel.bin ---
ld: error: md_intel.o: section header table goes past the end of the file:
e_shoff = 0x2be28
--- modules-all ---
--- opt_wlan.h ---
ln -sf /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG/opt_wlan.h
opt_wlan.h
--- device_if.h ---
awk -f /ext/src/sys/tools/makeobjops.awk /ext/src/sys/kern/device_if.m -h
--- kernel.bin ---
*** [kernel.bin] Error code 1

make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG
--- modules-all ---
--- all_subdir_bnxt ---
ctfconvert -L VERSION -g bnxt_txrx.o
--- all_subdir_bhnd ---
*** [modules-all] Error code 2

make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG
2 errors

make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG
root at rpi4:/usr/src#

/usr/src is at r365355

/ext is the attached usb3 hard drive
/usr/src is symlinked to /ext/src
-- 
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20200905/3493d410/attachment.sig>


More information about the freebsd-arm mailing list