Solved [Solved] Determining who depends upon linux.ko

Good evening,

ldd is a great tool for determining what application needs which dependencies. Now, even though I haven't installed it, the linux_base-f10 libraries are in, and the linux.ko module is loaded at bootup even when it is not in the /boot/loader.conf, nor in the /etc/rc.conf file. So is there some CLI command I can type in, to determine who is loading the linux.ko kernel module, and who is requiring the linux_base-f10 stuff? Something easier than issuing a ldd against every installed file I hope?

FreeBSD 10.0 x64, pure binary, no ports needed to date.

Thank you for your help,

Sincerely and respectfully,

Dave
 
Re: Determining who depends upon linux.ko

dcbdbis said:
So is there some CLI command I can type in, to determine who is loading the linux.ko kernel module, and who is requiring the linux_base-f10 stuff?
For a start, you can try pkg info -r linux_base-f10 to see which ports/packages require emulators/linux_base-f10. As for "who" is loading linux.ko, I'd have to give that some more thought. But are you, by any chance, mounting linprocfs(5) and/or linsysfs(5) from /etc/fstab?
 
Re: Determining who depends upon linux.ko

Thank you @fonz for replying,

I am not mounting those filesystems you mentioned. But I am using fuse-ntfs to be able to read and write the one Windows drive. And I just didn't think about the obvious, of doing a package search against linux_base-f10. I was so focused on who was loading the linux.ko I didn't think of it. Getting old sucks. Don't do it... I'll let you know what I find out and report back.

Sincerely and respectfully,

Dave
 
Last edited by a moderator:
Re: Determining who depends upon linux.ko

I found the culprit: nvidia-driver.

In researching, it appears part of the OpenGL functionality remains in Linux. I can only think that I simply didn't notice the /compat tree it in the six weeks since I ported over from Linux. I was kinda surprised. But even on the NVidia site, their documents clearly state that Linux compatibility is required for certain portions of OpenGL to function.

I'm going to mark the issue solved.

Thanks for the help,

Sincerely and respectfully,

Dave
 
I'm glad to hear you figured it out. And thanks for reporting back, you never know when it might be helpful to someone else.
 
Back
Top