You are not logged in.

#1 2011-02-18 17:10:38

myrkiada
Member
From: Norway
Registered: 2009-04-15
Posts: 74

[Solved] Thinkpad R61i – Wierd alsa errors after power loss

I just installed Arch on a Thinkpad R61i yesterday, and got everything working perfectly after a few hours of configuring. Anyway, today I took the laptop into my living room, but forgot the fact that the battery is near fubar and so I had a power loss. Well, I plugged in the charger and booted up, and then things started to get wierd.

First problem: When booting into Arch it keeps hanging at :: Waiting for UDev uevents to be processed.

For some reason this only happens in about 7 of 10 times, the other 3 times it boots just fine. I read somewhere here on the forums that adding nomodeset to the kernel line in grub. Still the success rate is only about 30%, so there's really no difference if I use nomodset or not (exept for the framebuffer resolution).

So ok, I guess I can live with that untill I find a fix. I don't reboot that often anyway and atleast the system starts. But then the next problem occurs.

Alsa no longer works! And as a music addict, this one is really killing me slowly..

Some background info: When I first installed Arch I did have some problems getting the sound to work, but then I installed alsa-driver.hda-intel.hda-codec-realtek-git from AUR which did the trick. Well, untill the power loss that is. Now alsa is really driving me mad!

Some info:

$ uname -r
2.6.37-ARCH
$ pacman -Qs alsa
local/alsa-driver.hda-intel.hda-codec-realtek-git 1.0-0
    An alternative implementation of Linux sound support
local/alsa-lib 1.0.23-2
    An alternative implementation of Linux sound support
local/alsa-utils 1.0.23-3
    An alternative implementation of Linux sound support
$ alsamixer
cannot open mixer: No such file or directory
$ amixer
amixer: Mixer attach default error: No such file or directory
$ lsmod | grep ^snd
snd_seq_midi_event      4568  0 
snd_seq                41912  1 snd_seq_midi_event
snd_hda_codec          64796  0 
snd_hwdep               4804  1 snd_hda_codec
snd_seq_device          4409  1 snd_seq
snd_pcm                59496  1 snd_hda_codec
snd_timer              15687  2 snd_seq,snd_pcm
snd_mixer_oss          15366  0 
snd_page_alloc          6021  1 snd_pcm
snd                    43987  8 snd_seq,snd_hda_codec,snd_hwdep,snd_seq_device,snd_pcm,snd_timer,snd_mixer_oss,thinkpad_acpi
$ sudo modprobe snd-hda-intel
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.37-ARCH/updates/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
$ sudo modprobe snd-hda-codec-realtek
FATAL: Error inserting snd_hda_codec_realtek (/lib/modules/2.6.37-ARCH/updates/snd-hda-codec-realtek.ko): Unknown symbol in module, or unknown parameter (see dmesg)
$ dmesg
snd_hda_intel: Unknown symbol __snd_printk (err 0)
snd_hda_codec_realtek: Unknown symbol __snd_printk (err 0)
$ ls -l /sys/module/snd/holders
total 0
lrwxrwxrwx 1 root root 0 Feb 18 18:55 snd_hda_codec -> ../../snd_hda_codec/
lrwxrwxrwx 1 root root 0 Feb 18 18:55 snd_hwdep -> ../../snd_hwdep/
lrwxrwxrwx 1 root root 0 Feb 18 18:55 snd_mixer_oss -> ../../snd_mixer_oss/
lrwxrwxrwx 1 root root 0 Feb 18 18:55 snd_pcm -> ../../snd_pcm/
lrwxrwxrwx 1 root root 0 Feb 18 18:55 snd_seq -> ../../snd_seq/
lrwxrwxrwx 1 root root 0 Feb 18 18:55 snd_seq_device -> ../../snd_seq_device/
lrwxrwxrwx 1 root root 0 Feb 18 18:55 snd_timer -> ../../snd_timer/
lrwxrwxrwx 1 root root 0 Feb 18 18:55 thinkpad_acpi -> ../../thinkpad_acpi/

If i remember correctly the following command showed card0 yesterday, now it shows card29

$ ls -l /proc/asound/
total 0
dr-xr-xr-x 2 root root 0 Feb 18 17:37 card29/
-r--r--r-- 1 root root 0 Feb 18 17:37 cards
-r--r--r-- 1 root root 0 Feb 18 17:37 devices
-r--r--r-- 1 root root 0 Feb 18 17:37 hwdep
-r--r--r-- 1 root root 0 Feb 18 17:37 modules
dr-xr-xr-x 2 root root 0 Feb 18 17:37 oss/
-r--r--r-- 1 root root 0 Feb 18 17:37 pcm
dr-xr-xr-x 2 root root 0 Feb 18 17:37 seq/
lrwxrwxrwx 1 root root 6 Feb 18 17:37 ThinkPadEC -> card29/
-r--r--r-- 1 root root 0 Feb 18 17:37 timers
-r--r--r-- 1 root root 0 Feb 18 17:37 version
$ ls /dev/snd
by-path/  controlC29  seq  time
$ ls -l /dev/snd/by-path/
lrwxrwxrwx 1 root root 13 Feb 18 16:51 /dev/snd/by-path/platform-thinkpad_acpi -> ../controlC29

What I've tried so far:

  • Reinstalling alsa-utils, recompiling and installing alsa-driver.hda-intel.hda-codec-realtek-git (I also tried alsa-driver.hda-intel.hda-codec-realtek) and kernel

  • Adding options snd-hda-intel model=auto to /etc/modprobe.d/sound.conf (I also tried to remove /etc/modprobe.d/sound.conf)

  • Running alsaconfig, but it does not find my card (i't didn't yesterday either, but got it working anyway)

  • Yes, I did make sure I'm in the audio group

Now, I have no idea why alsa should brake, and I'm starting to think that mabe it's my soundcard that's died. But hopefully there are some smart people around here who can help me out, any tips and ideas are welcome. Just let me know if I should supply some more information.

This might be one of those cases where there's an easy solution, but I'm blind due to frustration..

Last edited by myrkiada (2011-02-18 20:25:49)


My Configs @ Github

Offline

#2 2011-02-18 20:25:21

myrkiada
Member
From: Norway
Registered: 2009-04-15
Posts: 74

Re: [Solved] Thinkpad R61i – Wierd alsa errors after power loss

Update: I reinstalled Arch and now everything is working just fine. I didn't really mind since it was a fresh install anyway, and now everything is back to the way it was before the errors started.

I'll mark this thread as sovled, even though I solved it the easy way by reinstalling. I don't know if this thread has any value for others, if not, a mod may just delete it. smile


My Configs @ Github

Offline

Board footer

Powered by FluxBB