LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-06-2004, 07:07 PM   #1
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Loading modules with 2.6.0


I compiled my kernel to 2.6.0, but now none of my modules work. I have no sound, no usb. I tried modprobe alsa, but that says that it can't find the modules. I believe that I compiled modules for sound and usb, how can I get them running?
 
Old 01-06-2004, 10:37 PM   #2
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Original Poster
Rep: Reputation: 30
Is there anything I can do at all to fix this? I was able to bring sound online for a while using the snd-emu10k1 module. However, everytime I reboot, I have to reload the module, and reconfigure the soundcard. The same goes for ethernet. Is there something I did wrong during the kernel compile that has left my system in such a shambles? Also, what drivers would I want to load to bring usb support back up? Thanks.
 
Old 01-06-2004, 10:53 PM   #3
AirConditioner
LQ Newbie
 
Registered: Aug 2003
Location: Boston
Distribution: Slackware 9.1
Posts: 5

Rep: Reputation: 0
To get modules to work automatically, you'll need to edit some sort of initializing script so that they are loaded when you boot...

In Slackware, you would uncomment (or add) applicable lines in /etc/rc.d/rc.modules

Earlier today I managed to compile 2.6.0 just how I need it for my system, and I had to change this so that my ethernet card would be modprobed automatically.

I don't really know anything about getting the usb devices to work... I would just check to see that you've compiled the kernel with all of the appropriate usb options/modules selected, and if you have modules, make sure that they are loaded.

Good luck. Google is your friend

Last edited by AirConditioner; 01-06-2004 at 10:56 PM.
 
Old 01-07-2004, 12:43 AM   #4
Lost Penguin
Member
 
Registered: Feb 2003
Location: Orlando, FL
Distribution: 2.6.1-1.131smp on Fedora Core 1
Posts: 31

Rep: Reputation: 15
Hope this helps <g>
I added this to /etc/rc.d/rc.local

/sbin/modprobe snd-ens1370 #(My Creative Sound Blaster PCI128)
/sbin/modprobe snd-mixer-oss
/sbin/modprobe snd-pcm-oss
/sbin/modprobe bttv #(My Gateway TV tuner card)

And added this to /etc/modules.conf (I have all flavors of USB)

alias usb-controller uhci-hcd
alias usb-controller1 ohci-hcd
alias usb-controller2 ehci-hcd

ran alsaconf (as root)
it added the following to /etc/modules.conf

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.0rc2 ---
alias char-major-116 snd
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-ens1370
alias sound-slot-0 snd-ens1370
# --- END: Generated by ALSACONF, do not edit. ---
 
Old 01-07-2004, 04:57 PM   #5
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Original Poster
Rep: Reputation: 30
Thanks for the reply. I have it auto-loading the modules for my ethernet and the soundcard, but I have to run the configuration tool every time I boot to get the devices to work. Is there a way I can avoid having to run these tools every? Also, I just noticed that my cdrom drive isn't working anymore. It's detected, but nothings happens when I try to access it, and when I try to mount, it says that /dev/scd0 doesn't exist. On top of that, I still can't get usb to work properly. When I try to use my usbmouse, it just goes around the screen erratically.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
loading modules danimalz Debian 2 10-18-2005 11:22 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 12:10 PM
loading modules priller Linux - Newbie 1 06-03-2004 10:09 AM
modules are loading that shouldn't in my rc.modules thrice Slackware 3 05-11-2004 11:35 PM
loading modules w/o rc.modules e1000 Slackware 3 01-09-2004 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration