FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I built a vt1211.ko file which I want to install using modprobe. Whenever I "modprobe vt1211" I get the error "FATAL: Module vt1211 not found."
The compiled .ko file is still in my /usr/src/vt1211 directory. Do I have to move it somewhere (or create a symlink)? How do I make modprobe find this file?
(insmod vt1211.ko works fine, but I want to use modprobe).
The modules directories are a whole hierarchy of modules. I'm also pretty sure that modprobe will refuse to insert (and rightly so) any modules not owned by root. And, hopefully, any modules world-writable. You don't want modules controlled by some user getting installed.
For network cards, they are often in /lib/modules/`uname -r`/kernel/drivers/net.
Well, I put my vt1211.ko into the appropriate subdir, and ensure the permissions and ownership were as you suggested (which also matched other .ko in the same directory). Still the same error...
Is there a command/.conf file I can check to see where modprobe is looking for .ko files? Do I have to recompile the kernel for this to be seen?
If you compiled the module with a different gcc than your kernel you will have this problem.
I had to do a insmod path/module.ko to get it to load module, modprobe wouldn't do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.