Re: r367415: can't load linuxulator, link_elf_obj: symbol sdt_provider_linuxulator undefined

From: David Wolfskill <david_at_catwhisker.org>
Date: Fri, 6 Nov 2020 05:53:10 -0800
On Fri, Nov 06, 2020 at 09:59:06AM +0100, O. Hartmann wrote:
> Just updated CURRENT to r367415 and loading linux kernel module(s) fail with
> 
> # kldload linux
> 
> link_elf_obj: symbol sdt_provider_linuxulator undefined
> linker_load_file: /boot/kernel/linux_common.ko - unsupported file type
> KLD linux.ko: depends on linux_common - not available or version mismatch
> linker_load_file: /boot/kernel/linux.ko - unsupported file type
> 
> Neither manual linux module loading works, nor rc.conf based.
> 
> What happended?
> 
> Thanks,
> 
> oh
> ....

I do not have an answer, but I offer corroboration: I saw it, as well,
after updating my laptop's "head" slice from r367368 to r367410.  (Note
that r367410 is the most recent commit to head when the repository is
updated to r367415.)

In the list of files updated between those commits, I find the following
files updated that have "linux" in their names:

D    /S4/usr/src/sys/amd64/linux/linux_dummy.c
A    /S4/usr/src/sys/amd64/linux/linux_dummy_machdep.c
U    /S4/usr/src/sys/amd64/linux32/linux32_dummy.c
D    /S4/usr/src/sys/arm64/linux/linux_dummy.c
A    /S4/usr/src/sys/arm64/linux/linux_dummy_machdep.c
A    /S4/usr/src/sys/compat/linux/linux_dummy.c
D    /S4/usr/src/sys/i386/linux/linux_dummy.c
A    /S4/usr/src/sys/i386/linux/linux_dummy_machdep.c
U    /S4/usr/src/sys/modules/linux/Makefile
U    /S4/usr/src/sys/modules/linux64/Makefile
U    /S4/usr/src/sys/modules/linux_common/Makefile
A    /S4/usr/src/sys/x86/linux
A    /S4/usr/src/sys/x86/linux/linux_dummy_x86.c

For src/sys/amd64/linux/linux_dummy_machdep.c, the most recent change
is:

------------------------------------------------------------------------
r367395 | cem | 2020-11-05 11:30:31 -0800 (Thu, 05 Nov 2020) | 7 lines

linux(4): Deduplicate unimpl/dummy syscall handlers

No functional change.

Reviewed by:    emaste, trasz
Differential Revision:  https://reviews.freebsd.org/D27099

------------------------------------------------------------------------

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Trump didn't "undercut his own credibility," because he didn't have any.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Fri Nov 06 2020 - 12:53:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC