Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Fedora 2.6.29. When Im trying to laod a kernel module by using modprobe, its throwing an error message 'Module not found'.
Also, when I use 'lssci' command to see the list of SCSI devices, this also doesn't work, and throws an error 'Command not found'.
However, I have used insmod to load my module and I am able to see its entry in /proc/scsi/scsi file, but why 'modprobe' and 'lssci' are not working. Is there any way to resolve this problem?
I have tried using /sbin/modprobe and /sbin/lsscsi also , but they are still not working.
Is there any package which I can install, if there is any, how I can install that. When I do 'rpm -q modutils', it says 'modutils is not installed'.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Post # 1 :
Quote:
I have Fedora 2.6.29
That is Fedora 11.
But there are no differences between versions,
for 'module-init-tools' + 'pciutils', so far concerns
the commands, they provide.
The two packages are also usualy installed by default.
..
Thanks to everyone for helping me till this time. I have installed the packages for lsscsi and module-init-tools. I am able to use lsscsi successfully now but still facing some issue with modprobe. When I use modprobe <module name>, its gives an error, <module name> doesn't exist.
I have tried this with and without root, and with and without /sbin path, but still its not working. However, I could install my module properly and able to see it in 'lsscsi' output,and also in /proc/modules file. I have tried evrything what all is suggested here in above comments, but something is still missing!!
If it is a 3rd part module you should tell us how you installed it so we can point out what's missing. Generally, for a 3rd part module, you should build and install it. Afterwards, you should issue a "depmod -a" and then try to use "modprobe <module name>".
I have installed the package 'yum install module-init-tools' for modprobe and when I do 'whereis modprobe', I am able to find it in /sbin/... path. But, still I am not able to load my module using 'modprobe <module name>.It's giving the same error '<module-name> not found'.
I have tried 'depmod-a' command also, but still its not getting through.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.