LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-21-2006, 08:48 AM   #1
redleafong
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Unhappy Some modules don't get automatically loaded after kernel upgrade


Hi all,

I upgraded redhat 9's kernel from 2.4 to 2.6.16. However my network adapter and sound card are not loaded automatically during system startup (they work properly if I modprobe them manually after the os get loaded). I don't know which part is incharge of modules loading (rc.sysinit does some modprobe jobs, but I don't think I should load the network adapter and sound card here). Here is what has been written in my /etc/modules.conf:

alias eth0 via-rhine
alias usb-controller ehci-hcd
alias sound-slot-0 snd-cmipci
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller1 usb-uhci

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-cmipci

I just don't know what has gone wrong. Anybody has some ideas?
 
Old 05-21-2006, 09:30 AM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
What was your kernel build steps?

Brian1
 
Old 05-21-2006, 10:48 AM   #3
redleafong
LQ Newbie
 
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Brian1
What was your kernel build steps?

Brian1
make menuconfig ...balabala... (network adapter "via_rhine" is made as module, alsa is built from source later)

make

make install

make module_install

by the way, iptable can not get started as well, i still don't have time to look into this issue...
 
Old 05-21-2006, 01:42 PM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
You shouldn't use the make install method.

make && make modules_install

Should be used instead. Do you have 2.6 modules in /lib/modules?
 
Old 05-21-2006, 01:43 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
For iptables to work in 2.16.16 you need to enable it in the config whether menu config, xconfig, gconfig or whatever. It has changed and even if you use a saved configed file it will not check what is needed. You need to manually do this. So open an old config file and compare the two and modify to match. It is mentioned in the changelog at www.kernel.org. I still think there is one item missing in the 2.16.16 kernel so get the 2.6.16.17 one. Works like a charm after checking the needed items in netfilter section.

I would run make install again. The dependiencies map is not created in the make install command if I remember correctly. You need to do make modules_install before make install

My way
make mrproper
make xconfig
make
make modules_install
make install

reboot

Also with two machines I have being the same I do a ' make rpm ' to make an rpm of the kernel and transfer to the other machine.

Brian1

Last edited by Brian1; 05-21-2006 at 01:44 PM.
 
  


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
the ethernet card modules aren't loaded automatically exa Mandriva 2 05-20-2005 08:58 AM
kernel: No module symbols loaded - kernel modules not enabled. Qucho Debian 9 05-26-2004 02:50 AM
Are modules automatically loaded when it is needed by the system? davidas Linux - Newbie 10 04-08-2004 05:50 PM
Kernel 2.6.5 -> no modules loaded Spheerke Debian 4 04-07-2004 09:05 PM
Removing automatically loaded modules Abe_the_Man Slackware 1 11-21-2003 01:42 AM


All times are GMT -5. The time now is 01:48 AM.

Main Menu
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