LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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



Reply
 
Search this Thread
Old 06-30-2004, 11:46 PM   #1
Cyb3rPr0
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Rep: Reputation: 0
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 11:47 PM.
 
Old 07-01-2004, 12:16 AM   #2
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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 ).
 
Old 07-01-2004, 01:10 AM   #3
Cyb3rPr0
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 07-02-2004, 01:35 AM   #4
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
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~
 
Old 07-02-2004, 01:57 AM   #5
Cyb3rPr0
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 09:48 PM
Module Auto-Load: module.conf tricks? m_e_perry Linux - Newbie 3 10-07-2004 06:45 PM
How to load modules on demand (automatic loading)? Cyb3rPr0 Linux - Software 4 07-08-2004 12:07 AM
problem with auto. module load subguru Slackware 2 08-09-2003 03:28 PM
Kernel 2.5.49 module loading problem m0rl0ck Linux - Software 3 11-27-2002 06:28 PM


All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration