You are not logged in.

#1 2011-08-04 19:41:37

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Alsa-mixer can't start

Hi!
I don't know where to start this topic really but after a reboot volti couldn't start in the start in the fluxbox-systray and i couldn't get any audio. When i tried to start alsamixer with alsa-mixer, amixer commands alsamixer couldn't start and neither gnome nor xfce4-mixer could start and when i tried running the CLI ALSA frontend the terminal prompts: "cannot open mixer: No such file or directory" amixer prompts: "amixer: Mixer attach default error: No such file or directory".

Now i tried using different frontends and multiple google-searches didn't find me a solution, from a live cd i could access ALSA, i tried "ls /dev/snd/control*" which also couldn't find file or directory. My user is added to audio-group in /etc/group. Alsaconf can't find any soundcard or drivers. There is no /etc/modprobe.d/sound.conf either?

Now the really curious thing is pacman, which works flawlessly apart from this can't uninstall or install alsa, alsamixer. alsautils. Only the gtk frontends. but i can find the applications using the locate command.

I think this could be a udev issue. I updated it recently and I fooled around a little with udev to enable auto mount of usb and such as described in the arch-wiki. But I don't where to start searching or how to check where the problem lies.

I would be really thankful for any advice on where to look or help concerning this problem.
//Jonathan

Offline

#2 2011-08-04 19:50:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

Post the output of

ls -1 /etc/modprobe.d/

Offline

#3 2011-08-04 19:55:43

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

$ ls -1 /etc/modprobe.d/
Gives:

modprobe.conf
ndiswrapper.conf
usb-load-ehci-first.conf

Offline

#4 2011-08-04 19:57:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

Try

modprobe snd-pcm-oss

Offline

#5 2011-08-04 19:58:35

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

That gives me:

FATAL: Module snd_pcm_oss not found.

Offline

#6 2011-08-04 20:02:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

What kernel are you using?
Run 'updatedb' and then 'locate snd-pcm-oss'.

Offline

#7 2011-08-04 20:06:26

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

2.6.39

updatedb
gives me:
updatedb: kan inte öppna en temporär fil för `/var/lib/mlocate/mlocate.db'

Which is Swedish and means: can't open temporary file for /var/lib/mlocate/mlocate.db

locate snd-pcm-oss
gives me:

/lib/modules/2.6.32-lts/kernel/sound/core/oss/snd-pcm-oss.ko.gz

Offline

#8 2011-08-04 20:09:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

Ah, so you're running a .39 kernel but you have modules for .32-lts kernel.

Have you tried running updatedb with sudo / as root?
Please post the output of

pacman -Q kernel26

Offline

#9 2011-08-04 20:10:58

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

kernel26 2.6.39.3-1

Offline

#10 2011-08-04 20:15:20

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

I tried updatedb as sudo now and get no error. I guess this might enable me to reinstall alsa, so I'll try that

Offline

#11 2011-08-04 20:18:46

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

Hmm, that didn't work.. is there a way to update the modules to fit the .39 kernel?

Offline

#12 2011-08-04 20:19:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

mutanabbi wrote:

I tried updatedb as sudo now and get no error. I guess this might enable me to reinstall alsa, so I'll try that

OK, but that doesn't help with the kernel. Rebuild initramfs

mkinitcpio -p kernel26

and reboot.

Last edited by karol (2011-08-04 20:21:12)

Offline

#13 2011-08-04 20:22:19

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

I get an error output saying:
==> ERROR: module not found: `snd'
==> ERROR: module not found: `snd-rawmidi'

Otherwhise it seems to have worked

Last edited by mutanabbi (2011-08-04 20:22:40)

Offline

#14 2011-08-04 20:26:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

did you get 'SUCCESS' after generating the initramf?
As for the missing modules, you can reinstall the kernel and try again if you want.

Offline

#15 2011-08-04 20:31:02

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

I get an "Image generation successful"

How do I reinstall the kernel? Is that what i have to do to get the sound working?

Sorry but I'm a bit in the dark here

Offline

#16 2011-08-04 20:33:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

kernel provides the modules, so maybe 'pacman -S kernel26' would help.

If you're ready, reboot, cross your fingers and have a liveCD nearby ;P

Offline

#17 2011-08-04 20:34:48

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

Haha, I have a bunch, but I might get of Arch for a while if it crashes. Don't feel like rebuilding it tonight. Thanks for the help though. Now for a kernel reinstallation smile

Last edited by mutanabbi (2011-08-04 20:36:20)

Offline

#18 2011-08-04 20:39:59

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

Thanks again, just thought I should tell you it worked. Now sounds up and running.

Offline

#19 2011-08-04 20:41:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

I don't know what voo-doo did you perform to mess-up kernel modules in such way, but please don't do that again :-)

Offline

#20 2011-08-04 20:49:15

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

Learning by doing sort of. I'll try to practise orthodox arch-management from now on, Could it be the latest udev upgrade?

Offline

#21 2011-08-04 20:51:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

mutanabbi wrote:

Learning by doing sort of. I'll try to practise orthodox arch-management from now on, Could it be the latest udev upgrade?

I think you have installed the 2.6.32-lts kernel at some point. Why wasn't it fully removed - I don't know.

Offline

#22 2011-08-04 20:53:13

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

It's not the first time I managed to mess up a system, but it's good to have an idea as of why smile

Offline

#23 2011-08-04 20:54:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

mutanabbi wrote:

It's not the first time I managed to mess up a system, but it's good to have an idea as of why smile

You can look into /var/log/pacman.log for clues.

Offline

#24 2011-08-04 20:56:28

mutanabbi
Member
Registered: 2011-04-15
Posts: 29

Re: Alsa-mixer can't start

But i guess i would have to go back to when i installed the LTS kernel then?

Offline

#25 2011-08-04 20:58:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Alsa-mixer can't start

mutanabbi wrote:

But i guess i would have to go back to when i installed the LTS kernel then?

You can grep the file

[karol@black ~]$ grep -- -lts  /var/log/pacman.log
[2010-08-03 20:36] Running 'pacman -S kernel26-lts'

Offline

Board footer

Powered by FluxBB