LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-03-2005, 03:04 AM   #1
Brotherswing
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
insmod fails after compiling new kernel


Hey guys,
here the deal, I'm running Slackware 10.1 and every time I compile a kernel I lose sound (and sometimes agpgart) The kernels do work, and I've been using the old Windows trick of reinstalling the OS without formatting to get my sound back, but I know darn well that's not a solution. I've been using 2.4.29, because 2.6.11 won't compile with the hermes driver (that's a problem for another post) I worked up the courage to build my own kernel three months ago, and I've had this problem on every attempt, whether I compile my sound as a module or in the kernel itself. What is really frustrating is that when this happens, I lose sound for every kernel on the system, including the stock Slackware kernel. The procedure I follow is....

1. edit make file to add "extra version"
2. make xconfig
3. make clean
4. make bzImage
5. make modules
6. make modules_install

Oh yeah, I usually start with make mrproper. So...any ideas?
 
Old 04-03-2005, 04:49 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Try compiling the ALSA drivers with OSS emulation (and not the OSS drivers themselves - just say no at the top of the OSS menu) into the kernel. Then when you reboot into your new kernel, run alsamixer, adjust the settings how you want then save them with alsactl store
 
Old 04-03-2005, 10:56 AM   #3
Brotherswing
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the quick reply. I'll give it a shot and post my results.
 
Old 04-03-2005, 08:17 PM   #4
Brotherswing
LQ Newbie
 
Registered: Feb 2005
Location: Michigan
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
okay,it worked. so my newest kernel has everything compiled right in, 'cause I have rotten luck with modules. I still don't understand why compiling a new kernel would break the modules for an existing kernel, but I'm pretty well satisfied with it's performance, so I'm moving on to that darn 2.6 kernel now. Maybe I'll have better luck with it's modules......
 
Old 02-17-2006, 11:51 PM   #5
mayhemt
Member
 
Registered: Sep 2005
Location: irving TX
Distribution: SuSe, Kubuntu, Win$ucks
Posts: 50

Rep: Reputation: 15
give a try to insmod & check with lsmod
 
  


Reply



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
insmod hw_random fails after upgrade jrdioko Linux - Software 1 08-14-2005 10:24 PM
Kernel compiling process problem. make bzimage fails. RJARRRPCGP Linux - Newbie 2 08-24-2004 04:14 PM
From kernel compiling sig11 fails-to boot fail-what's happening? wolve Linux - Newbie 3 06-30-2004 02:51 PM
bootup tries to insmod i810 modules: i don't want it to do so (it fails anyway) TheOneAndOnlySM Slackware 4 10-13-2003 06:57 PM
Compiling a kernel module results in "insmod" version mvega Linux - General 2 07-30-2003 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:34 PM.

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
Open Source Consulting | Domain Registration