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)
Sun, Dec 21, 2:04 PM
Unknown Object (File)
Fri, Dec 19, 11:35 PM
Unknown Object (File)
Thu, Dec 11, 11:10 PM
Unknown Object (File)
Sat, Dec 6, 4:05 AM
Unknown Object (File)
Thu, Dec 4, 1:30 PM
Unknown Object (File)
Tue, Dec 2, 4:04 AM
Unknown Object (File)
Tue, Nov 25, 6:20 AM
Unknown Object (File)
Nov 23 2025, 4:04 PM

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
Lint Not Applicable
Unit
Tests Not Applicable