kldload: unexpected relocation type 4 error in FreeBSD 11.2

Steevan Rodrigues steevanxperia at gmail.com
Thu Sep 12 06:58:31 UTC 2019


Hi Folks,

We have a driver for a PCIe card.

We did a fresh clean install FreeBSD 11.2 and built our driver on that.
When we load that driver we get following error:

 kldload: unexpected relocation type 4

 link_elf_obj: symbol pmap_qremove undefined

 linker_load_file: Unsupported file type

 While searching I found following
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231451

Is this a known issue in 11.2 Release ?

By the way  I have a system with FreeBSD 11.1  release installed and

I upgraded that to 11.2 Release  and in this system I can build the same driver

and it loads fine without any issue.

Wonder why I see this difference between a clean install of 11.2 Release

and 11.2 release that was upgraded from 11.1 .

Regards,

Steevan


More information about the freebsd-hackers mailing list