View previous topic :: View next topic |
Author |
Message |
supernerd Tux's lil' helper
Joined: 23 Feb 2003 Posts: 79
|
Posted: Thu Nov 20, 2003 11:59 pm Post subject: kernel 2.6.0 test9 - problems with alsa |
|
|
A bit of background.
Gentoo running fine with vanilla 2.4.22 kernel using OSS and devfs.
I have a sound blaster live.
The 2.6.0 kernels are at test 9 so i figure they are stable enough to try. I read all that I can here and elsewhere to make the transition smoothly.
I compile alsa and the necessary driver
dmesg gives me this
Quote: | Advanced Linux Sound Architecture Driver Version 0.9.7 (Thu Sep 25 19:16:36 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
ALSA device list:
#0: Sound Blaster Live! (rev.7) at 0xe400, irq 17
|
I don't really understand the first part because I never compiled any modules, but the device list is correct.
Additionally
grep audio /proc/pci
Quote: |
Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 7).
|
I emerged alsa-utils, alsa-oss and alsa-lib as well as alsa-tools for good measure.
I also emerged udev because that's what you do with 2.6 kernels.
I added necesary users to both the sound and audio groups.
I added alsasound to my init.d boot up.
Any attempt to use alsamixer results in
Quote: |
alsamixer: function snd_ctl_open failed for default: No such file or directory
|
restarting alsasound gives me this
Quote: |
* WARNING: you are stopping a boot service.
* Unloading ALSA...
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such device or address
can't open sequencer
* Storing ALSA Mixer Levels
/usr/sbin/alsactl: get_controls:485: snd_ctl_open error: No such file or directory
* Unloading modules [ ok ] * ALSA Detected...
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card!
|
I have googled and searched these forums for days now and I have seen this problem posted, but never answered. I can't imagine that no one has had this problem and been able to solve it.
I read a couple of places where the solution was to run snddevices from the older alsa-drivers. First of all this isn't a solution for anybody, if this is the solution tell the people how to setup these missing devices or else you will have people emerging alsa-drivers and messing up things. Second as a last resort, I tried it and it still didn't work.
Help me gentoo forums, your my only hope. _________________ http://www.supernerd.com |
|
Back to top |
|
|
hbmartin Guru
Joined: 12 Sep 2003 Posts: 386 Location: Home is where the boxen are
|
Posted: Fri Nov 21, 2003 1:42 am Post subject: |
|
|
First, I'd unmerge all alsa related packages.
Then, I'd make sure I compiled everything ALSA related into the kernel.
Rebooting to that kernel, run
Code: | emerge -O alsa-lib alsa-utils |
Let me know how that works.
Harold |
|
Back to top |
|
|
supernerd Tux's lil' helper
Joined: 23 Feb 2003 Posts: 79
|
Posted: Fri Nov 21, 2003 11:54 pm Post subject: A Solution |
|
|
Thank you for your reply. I figured out what a potential solutions is. I followed the counsel of the kernel and did not compile in devfs. Turns out that gentoo is not ready to replace devfs with udev yet. I recompiled the kernel with the only difference being that devfs was checked along side of the already checked udev.
Much to my happiness alsa worked flawlessly with devfs and the correct devices there.
On a side note my printer also worked again.
Hope this is of some help to people upgrading to 2.6
KEEP YOUR DEVFS _________________ http://www.supernerd.com |
|
Back to top |
|
|
|