LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-05-2003, 04:53 AM   #1
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Rep: Reputation: 0
Post kernel compile, no sound, help plz....


ok, i finally compiled a working kernel..however now my sound doesn't work......this is how i configured my sound with a fresh slack install....i compiled the sb driver into my kernel and i can see that it tries to find my card at boot, but it doesn't pick it up......now what should i do?

is there a file i can edit to tell sb to use the settings that i gave it in the rc.modules before?
or
should i compile a new kernel with sound set as a module?

thanx

Last edited by noobix; 06-05-2003 at 02:01 PM.
 
Old 06-05-2003, 06:28 AM   #2
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Did you compiled the soundcore module into the kernel?


Figa
 
Old 06-05-2003, 09:17 AM   #3
JustSlack
Member
 
Registered: Jun 2003
Location: Gurnee, IL
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
Also, are you able to play sounds as only root? I had that problem and ended up chmod-ing for /dev/dsp and /dev/mixer like so:

chmod 666 /dev/dsp
chmod 666 /dev/mixer

I hope that helps. I found it in the Slackware FAQ on http://www.slackware.com/faq/
 
Old 06-05-2003, 11:50 AM   #4
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
no, i compiled the sound straight into the kernel, not as a module,
that is my question should i have chosen to include sound as a module instead as built in to the kernel?

and no, root also does not have sound, it is not a permission thing
 
Old 06-05-2003, 12:25 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Hope you didn't recompile your kernel just to compile support for the sb module/driver as it comes default with it. But on that site you supplied.. you need to most likely to load it with the parameters they show, basically specifying the IO and IRQ information:

/sbin/modprobe sb io=0x220 irq=5 dma=1 dma16=0

Also in the future, please try to use better and more helpful thread titles that pertain to your question. Thanks.
 
Old 06-05-2003, 12:55 PM   #6
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Now I understand what you did. I guess just like trickykid said, load the driver as a module and specify the parameters, seems like the logicall thing to do.

Good luck.
Figa
 
Old 06-05-2003, 02:00 PM   #7
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
no tricky, i had my sound working on a fresh install by adding that line to the rc.modules file

i recompiled to build an overall more efficient kernel for my system, i.e. get rid of all the unneccesary stuff

that line is still in my rc.modules file but my sound doesn't load with my new kernel, i tried commenting it out to see if it was conflicting with info built into the new kernel, no dice, i still get the same error message

at boot it says
sd loaded but then says IO, IRG ,amd DMA must be specified
so it is obviously not reading the line in rc.modules
 
Old 06-05-2003, 02:03 PM   #8
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by figadiablo
Now I understand what you did. I guess just like trickykid said, load the driver as a module and specify the parameters, seems like the logicall thing to do.

Good luck.
Figa
wut do u mean load it as a module?, u mean add that line to the rc.modules file?......because that line has been there, thats how i got sound working before i compiled my kernel
 
Old 06-05-2003, 02:04 PM   #9
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by figadiablo
Did you compiled the soundcore module into the kernel?


Figa
ummm.....i don't know...
 
Old 06-05-2003, 02:42 PM   #10
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
All right, I'm thinking that you had a fresh install of Slack 9.0 and that everything worked fine 'till you tried to recompile the kernell. Rigth? What I would do is: copy the kernel conf file from the /boot and put it in the /usr/source/linux and recompile the kernel againg with the original options. Make sure that it works (sound). Make a backup of that file just in case you want to go back to the original kernel settings. Then if you want, recompile the kernel againg but leave the souncore and your soundcard settings as it is. You need soundcore for the sound system to work and leave the driver as a module so you can pass on the parameters.

Good luck and keep posting.
Figa
 
Old 06-05-2003, 02:45 PM   #11
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Quote:
Originally posted by noobix

at boot it says
sd loaded but then says IO, IRG ,amd DMA must be specified
so it is obviously not reading the line in rc.modules [/B]
Yes because if you compiled the driver into the kernel, I guess its already loaded by the time it reads the rc.local.
 
Old 06-05-2003, 03:11 PM   #12
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by figadiablo
Yes because if you compiled the driver into the kernel, I guess its already loaded by the time it reads the rc.local.
any suggestions on how to fix?.......new kernel recompile?.....and if so what should i change?, compile sound as a module?
 
Old 06-05-2003, 03:13 PM   #13
JustSlack
Member
 
Registered: Jun 2003
Location: Gurnee, IL
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
Recompile the kernel and put the sound driver as a module.
 
Old 06-05-2003, 03:45 PM   #14
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
thanx guys.....i'm going to attempt to recompile my kernel now.....i'm going to copy my /boot/.config into /usr/src/linux and the only thing i'm going to change is the sound option from kernel to module.......wish me luck!
 
Old 06-05-2003, 04:38 PM   #15
noobix
LQ Newbie
 
Registered: Jun 2003
Location: New Jersey
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
ok, i copied the /boot/.config to /usr/src/linux/.config but my settings aren't there when i run xconfig(i.e. my processor is set to PIII and not K6)....why do i have to go through all these options again?.....i thought that was the point of copying the .config file from boot to /usr/src/linux....
 
  


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
So close... yet, so very far! rookworm Debian 4 10-25-2005 10:34 PM
so close! need your help! zippo85 Linux - Wireless Networking 1 12-08-2004 12:04 PM
oh so close jasonmantey Linux - Newbie 1 04-13-2004 08:25 AM
So close yet still so far. raid517 Linux - Software 6 07-05-2003 12:26 PM
Help - So close but yet so far!! Nubell Linux - Newbie 15 01-22-2003 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:38 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
Open Source Consulting | Domain Registration