LinuxQuestions.org
Register a domain and help support LQ
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 10-09-2003, 09:26 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
2.6.0-test7 and sound problems...


When I boot into 2.4.22, my sound mixers work fine, but when I boot into 2.6.0-test7, they don't work. What's up with that? When I boot up and load KDE, it says that it can't find the mixer. When I type in any command for alsamixer it says:
alsamixer: function snd_ctl_open failed for default: No such device

Anyone know what to do here?
 
Old 10-09-2003, 09:40 PM   #2
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
P.S.
Here's what I get when KDE loads:

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
 
Old 10-10-2003, 12:15 AM   #3
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Rep: Reputation: 30
Hence the 2.6 kernel. They call it testing for a reason, expect things to break. Fixing them is for the guru types, although it is possible I sit comfortably with 2.4.22, I ran 2.6 for a while but didnt expect much.
 
Old 10-10-2003, 01:52 AM   #4
schaez
LQ Newbie
 
Registered: Aug 2003
Location: Baton Rouge, LA
Posts: 17

Rep: Reputation: 0
I would guess you didn't compile the module for your sound card or it didn't load for some reason.

I just got 2.6.0-test7 up (my first compiled kernel) and I had to go recompile since I left out my sound card in the config settings. I received a similar message.

Try lsmod while running your 2.4 kernel if you need to know which module you need.
 
Old 10-10-2003, 04:07 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Actually, I booted it back up into 2.4.22, and it did the same error, so I'm guessing(logically) that when I installed my 2.6 kernel, that it erased my mixer programs. I ended up checking out what the message is right before X11 loads, and the shell said:
ALSA warning: No mixer settings found in /etc/asound.state
...
FATAL: Module snd_pcm_oss not found.
FATAL: Module snd_mixer_oss not found.

I'm thinking I'll try to recompile my kernel to include OSS(Depreciated) or just get rid of OSS emulation for ALSA, which do you think is the smartest move?
 
Old 10-10-2003, 07:42 PM   #6
schaez
LQ Newbie
 
Registered: Aug 2003
Location: Baton Rouge, LA
Posts: 17

Rep: Reputation: 0
Do you know which module you need? Can you load it using modprobe? I would find out which module you need and if it was compiled first.

I new at this, I've only used Linux for about 3 months so hopefully someone w/ more experience can chime in.
 
Old 10-10-2003, 08:27 PM   #7
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
do ya know what's wrong with my new complied 2.4.22 kernel
everything goes fine when i was compling it.
But when i boot it, it says that VFS can't mount my fs 00:00??
What's wrong?
 
Old 10-10-2003, 10:20 PM   #8
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
Did you check the /lib/modules/modprobe.conf to see if you config for you sound card was included?
Mine is the following:

alias char-major-116 snd
alias snd-card-0 snd-intel8x0
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
options snd major=116 cards_limit=1 device_gid=29 device_mode=0660
options snd-intel8x0 index=0

Also use a different volume control program if possible. I use gnome 2.4 volume control in KDE 3.1.92 (3.2). Also it shouldn't be an issue with booting but maybe chmod 0666 /dev/mix* /dev/dsp*

Walt.
 
Old 10-11-2003, 12:54 PM   #9
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
I actually don't have a file /lib/modules/modprobe.conf I have two directories, one for each of my kernels, and within those directories, I don't have any files named modprobe.conf. I'm starting to think that maybe I should just download ALSA seperately and install that.... I looked for my soundcard in the kernel menuconfig, but I couldn't find anything that mentioned CMI 8738 MX DSP or anything of the like at all. Wish me luck! Once I get this ironed out, I'll work on my TI USB Calculator link again....
 
Old 10-11-2003, 03:12 PM   #10
schaez
LQ Newbie
 
Registered: Aug 2003
Location: Baton Rouge, LA
Posts: 17

Rep: Reputation: 0
Try looking for the snd-cmipci module. Here's the ALSA page:

http://www.alsa-project.org/alsa-doc...&module=cmipci

I think it's listed as C-Media 8738, 8338 under PCI devices.

Goodluck.
 
Old 10-11-2003, 04:08 PM   #11
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
I have the exact same problem. schaez, I don't think the above document is valid if you are using the 2.6.0-test kernels. I have sound, but alsa mixer doesn't seem to work. But strangly, all other mixers do.
That's probebly cos i'm using oss emulation. No one at the alsa maling list could help me out. So i'l be watching this thread.
 
Old 10-11-2003, 05:03 PM   #12
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
I ended up changing ALSA from Y to M in the menuconfig, and now I don't get an error before X11 loads up, but I still get an error saying that there's no /dev/dsp.... I'm going to go ahead and try to install ALSA separately, hopefully I'll get it.
 
Old 10-11-2003, 05:38 PM   #13
schaez
LQ Newbie
 
Registered: Aug 2003
Location: Baton Rouge, LA
Posts: 17

Rep: Reputation: 0
Did the sound module load after you changing the ALSA setting in menuconfig?

I hope you have better luck w/ installing ALSA separately.
 
Old 10-11-2003, 07:31 PM   #14
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
You need to modprobe the modules for your driver ~ use the modules listed in the documentation for your driver.

Go into the /usr/src/alsa/alsa-driver-0.9.6 folder and run the

./snddevices

Alsamixer should work now.


There are several documents you guys can reference on this forum with the answers ~ remember to search.

Last edited by mossy; 10-11-2003 at 07:33 PM.
 
Old 10-12-2003, 12:13 PM   #15
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Well, I got too fed up, so last night I wiped off my computer except for my /home partition. I'm going to try to start 2.6.0test7 again, but use modules for my sound instead of having it built into my kernel. Maybe I'll even get APM working too, now that I figured out how to get my computer to fully power-down!
 
  


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
kernel-2.6.0-test7 boot problems dARkHunTEr Linux - Software 8 10-25-2003 06:37 AM
i810_audio.c won't compile - 2.6.0-test7 Jefklak Linux - Hardware 6 10-22-2003 01:39 PM
Connection Refused - site specific network problems Laptop running debian 2.6.0-test7 bjarvis829 Linux - Laptop and Netbook 1 10-11-2003 02:10 PM
Connection Refused - site specific network problems Laptop running debian 2.6.0-test7 bjarvis829 Linux - Networking 2 10-11-2003 01:24 PM
help me with kernel-2.6-0-test7 - boot errors dARkHunTEr Linux - Software 0 10-09-2003 02:04 PM


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