[Bug 270811] ZFS/PowerPC: Issue after openzfs/zfs@431083f75 import
Date: Thu, 13 Apr 2023 00:46:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270811 Bug ID: 270811 Summary: ZFS/PowerPC: Issue after openzfs/zfs@431083f75 import Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dbaio@freebsd.org Created attachment 241454 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241454&action=edit zfs-ppc-test_not_working.diff Hello. after zfs: merge openzfs/zfs@431083f75 / https://cgit.freebsd.org/src/commit/?id=2a58b312b62f908ec92311d1bd8536dbaeb8e55b we can't boot the system anymore: [...] powernv_xscom0: <xscom> mem 0x603fc00000000-0x60403ffffffff on ofwbus0 Timecounter "timebase" frequency 512000000 Hz quality 1000 Event timer "decrementer" frequency 512000000 Hz quality 1000 Timecounters tick every 1.000 msec fatal kernel trap: exception = 0x800 (floating-point unavailable) srr0 = 0xc0000000033b8fd0 (0x10b8fd0) srr1 = 0x9000000000009032 current msr = 0x9000000000009032 lr = 0xc0000000024df3c0 (0x1df3c0) frame = 0xc00800000000bfc0 curthread = 0xc000000003652e80 pid = 0, comm = swapper panic: floating-point unavailable trap cpuid = 0 time = 1 KDB: stack backtrace: 0xc00800000000bbe0: at kdb_backtrace+0x60 0xc00800000000bcf0: at vpanic+0x1a0 0xc00800000000bda0: at panic+0x44 0xc00800000000bdd0: at trap+0x324 0xc00800000000bf00: at powerpc_interrupt+0x1cc 0xc00800000000bf90: kernel FPU trap by zfs_sha256_ppc: srr1=0x9000000000009032 r1=0xc00800000000c240 cr=0x48200822 xer=0 ctr=0xc0000000024df3a0 r2=0xc0000000033f0000 frame=0xc00800000000bfc0 0xc00800000000c240: at -0x4 0xc00800000000c270: at SHA2Update+0x1f4 0xc00800000000c320: at abd_checksum_sha256+0x128 0xc00800000000c350: at abd_iterate_func+0x170 0xc00800000000c440: at abd_checksum_sha256+0x78 0xc00800000000c5a0: at chksum_fini+0x468 0xc00800000000c6b0: at chksum_fini+0x134 0xc00800000000c6f0: at chksum_init+0x23c 0xc00800000000c770: at spa_init+0x184 0xc00800000000c7f0: at zfs_kmod_init+0x38 0xc00800000000c860: at zfsdev_detach+0x478 0xc00800000000c8e0: at module_register_init+0xf8 0xc00800000000c980: at mi_startup+0x1f4 0xc00800000000ca50: at __start+0xc4 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x70: ori r0, r0, 0x0 db> After patch zfs-ppc-test_not_working.diff (provided by jhibbits) we get: nda0 at nvme0 bus 0 scbus0 target 0 lun 1 nda0: <Samsung SSD 980 PRO with Heatsink 1TB 5B2QGXA7 S6WSNJ0W106430L> nda0: Serial Number S6WSNJ0W106430L nda0: nvme version 1.3 x4 (max x4) lanes PCIe Gen4 (max Gen4) link nda0: 953869MB (1953525168 512 byte sectors) nda1 at nvme1 bus 0 scbus1 target 0 lun 1 nda1: <Samsung SSD 980 PRO with Heatsink 1TB 5B2QGXA7 S6WSNJ0W103585P> nda1: Serial Number S6WSNJ0W103585P nda1: nvme version 1.3 x4 (max x4) lanes PCIe Gen4 (max Gen4) link nda1: 953869MB (1953525168 512 byte sectors) GEOM_MIRROR: Device mirror/swap0 launched (2/2). Mounting from zfs:zroot failed with error 6; retrying for 3 more seconds Mounting from zfs:zroot failed with error 6. Loader variables: vfs.root.mountfrom=zfs:zroot Manual root filesystem specification: <fstype>:<device> [options] Mount <device> using filesystem <fstype> and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) <empty line> Abort manual input mountroot> This machine is part of the FreeBSD cluster for building PowerPC packages, so we can build kernels to test anytime necessary. Regards. -- You are receiving this mail because: You are the assignee for the bug.