Bug 229834 - sysutils/pefs-kmod: linker_load_file: /boot/modules/pefs.ko - unsupported file type
Summary: sysutils/pefs-kmod: linker_load_file: /boot/modules/pefs.ko - unsupported fil...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gleb Kurtsou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 14:23 UTC by Ali Abdallah
Modified: 2018-11-07 12:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Abdallah 2018-07-17 14:23:35 UTC
With FreeBSD 12-CURRENT, the pefs.ko kernel module fails to load. I've compiled it from source. kldload perfs.ko gives 

link_elf_obj: symbol bzero undefined
linker_load_file: /boot/modules/pefs.ko - unsupported file type
Comment 2 Ali Abdallah 2018-07-18 07:29:06 UTC
I just did now, but no lock, kldload fails to load the module with 

KLD pefs.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/modules/pefs.ko - unsupported file type

I'm on FreeBSD 12.0-CURRENT #15 r336200M
Comment 3 Ali Abdallah 2018-07-18 07:35:24 UTC
The two patches solve the problem for me. Actually it was failing with:

KLD pefs.ko: depends on kernel - not available or version mismatch

Because I had more recent revision in my /usr/src than the kernel I'm currently running. 

I think it is a good idea to includes those patches in the port. 

Thanks