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)
Jan 12 2024, 8:59 AM
Unknown Object (File)
Jan 8 2024, 10:29 PM
Unknown Object (File)
Dec 23 2023, 1:45 AM
Unknown Object (File)
Feb 17 2023, 4:29 PM
Unknown Object (File)
Jan 6 2023, 5:12 AM
Unknown Object (File)
Dec 15 2022, 8:05 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 47715
Build 44602: arc lint + arc unit