Page MenuHomeFreeBSD

zfs: disable floating point on powerpc kernels
ClosedPublic

Authored by alfredo on Oct 6 2022, 6:50 PM.
Referenced Files
F166169147: D36894.id.diff
Wed, Aug 12, 1:35 AM
Unknown Object (File)
Tue, Aug 11, 5:15 AM
Unknown Object (File)
Sun, Aug 9, 5:14 PM
Unknown Object (File)
Sun, Aug 9, 10:37 AM
Unknown Object (File)
Sat, Aug 8, 4:40 PM
Unknown Object (File)
Fri, Aug 7, 2:54 PM
Unknown Object (File)
Tue, Jul 28, 6:01 PM
Unknown Object (File)
Sat, Jul 25, 3:39 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
Lint Not Applicable
Unit
Tests Not Applicable