Page MenuHomeFreeBSD

zfs: disable floating point on powerpc kernels
ClosedPublic

Authored by alfredo on Oct 6 2022, 6:50 PM.
Referenced Files
Unknown Object (File)
Sat, Jan 31, 3:28 PM
Unknown Object (File)
Thu, Jan 29, 2:53 PM
Unknown Object (File)
Thu, Jan 15, 5:27 AM
Unknown Object (File)
Mon, Jan 12, 4:04 PM
Unknown Object (File)
Dec 21 2025, 2:04 PM
Unknown Object (File)
Dec 19 2025, 11:35 PM
Unknown Object (File)
Dec 11 2025, 11:10 PM
Unknown Object (File)
Dec 6 2025, 4:05 AM

Details

Summary

Powerpc* doesn't support support floating point in the kernel yet, so disable it on zfs or now.

This fixes "panic: altivec unavailable trap" when loading zfs.ko

Test Plan

on powerpc64le:

kldload zfs

It should load the module without a kernel panic

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 47715
Build 44602: arc lint + arc unit