Bug 227280 - graphics/drm-next-kmod and graphics/drm-stable-kmod dynamic loading problem to modular kernel
Summary: graphics/drm-next-kmod and graphics/drm-stable-kmod dynamic loading problem t...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Johannes M Dieterich
URL: https://github.com/FreeBSDDesktop/kms...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-04 06:02 UTC by nick.rozhkov
Modified: 2018-06-02 13:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jmd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nick.rozhkov 2018-04-04 06:02:15 UTC
It's the prtoblem to load the drm-next modules with the kldload command when the firmware.ko is used as the separate kernel module due missing dependency definition for linuxkpi_gpl2
the log messages are the folowing

Apr  4 08:46:41 macbsd kernel: link_elf_obj: symbol firmware_get undefined
Apr  4 08:46:41 macbsd kernel: linker_load_file: Unsupported file type
Apr  4 08:46:41 macbsd kernel: KLD drm.ko: depends on linuxkpi_gplv2 - not available or version mismatch
Apr  4 08:46:42 macbsd kernel: linker_load_file: Unsupported file type
Apr  4 08:46:42 macbsd kernel: KLD i915kms.ko: depends on drmn - not available or version mismatch
Apr  4 08:46:42 macbsd kernel: linker_load_file: Unsupported file type

And the problem was solved by as it's desribed above. It seems like the following issue is related 

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223427

Nick
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-02 13:11:03 UTC
Should be fixed via the update in ports r471368.