Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-30-2004, 10:46 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2003
Posts: 16
Rep:
|
Problem with module auto-loading (load on demand) in kernel 2.6.7 (2.6.x too)
I upgrade all necessary packages (in kernel Documentation/Changes text file) for compile kernel 2.6.7 (with newer versions of the current minimal requirements).
o Gnu C
o Gnu make
o binutils
o util-linux
o module-init-tools
o e2fsprogs
o jfsutils
o reiserfsprogs
o xfsprogs
o pcmcia-cs
o quota-tools
o PPP
o isdn4k-utils
o nfs-utils
o procps
o oprofile
But the new kernel (2.6.x) has a problem that has happened to several people. The problem consists of non automatic loading of modules (for example, the "nvidia" module, to support all Gforce/Tnt/Fx cards from Nvidia).
The line in file /etc/modprobe.conf is perfect:
#########################
alias char-major-195* nvidia
#########################
(I test without <*> (asterisk) too, but it doesn't work yet).
The only way to may it works is manual load of modules, but it isn't the "correct" way.
Somebody could make it work, with AUTOMATIC load of these external kernel modules?.
Thanks.
Last edited by Cyb3rPr0; 06-30-2004 at 10:47 PM.
|
|
|
|
06-30-2004, 11:16 PM
|
#2
|
|
Guru
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
|
I have this problem as well, and I work around it by adding the modules I need to /etc/modules. If it works, it's fine (in that case  ).
|
|
|
|
07-01-2004, 12:10 AM
|
#3
|
|
LQ Newbie
Registered: Dec 2003
Posts: 16
Original Poster
Rep:
|
Quote:
Originally posted by LavaDevil94
I have this problem as well, and I work around it by adding the modules I need to /etc/modules. If it works, it's fine (in that case ).
|
I haven't any file called /etc/module. If you talk about to file /etc/modules.conf; the kernel 2.6.x use /etc/modprobe.conf, but not /etc/modules.conf (only for 2.4.x kernels).
All the modules I need to load for demand (automatic loading) are in the modprobe.conf file, as I indicated above.
The file modprobe.conf are generated by the script called generate-modprobe.conf, part of the module-init-tools package.
Any ideas?
Thanks.
|
|
|
|
07-02-2004, 12:35 AM
|
#4
|
|
Member
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301
Rep:
|
so Redhat has an automatic module loading problem... no wonder some modules like usb-storage is never loaded even i compiled them as modules...
Anybody has any solution for this problem?
Cheers,
~WiLL~
|
|
|
|
07-02-2004, 12:57 AM
|
#5
|
|
LQ Newbie
Registered: Dec 2003
Posts: 16
Original Poster
Rep:
|
Quote:
Originally posted by kenji1903
so Redhat has an automatic module loading problem... no wonder some modules like usb-storage is never loaded even i compiled them as modules...
Anybody has any solution for this problem? 
Cheers,
~WiLL~
|
The problem also happens in other Linux distributions, such as Suse and Slack. The real problem happens when someone tries to migrate from kernel 2.4 to kernel 2.6 (still having everything with newer versions of the current minimal requirements for kernel 2.6).
This problem not happend in Fedora Core 2, but if you would like to migrate from another kernel to this one, and you haven't a new Linux distributions, this problem appears. I discovered that the problem is not the modutils (the rpm package is called modutils-2.4.26 on Fedora Core 2, but it's module-init-tools-3.0alpha) for load modules. This it's the only progress in this problem.
Any aid is welcome.
Thanks.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|