Bug 145934

Summary: rcalsasound failed on first boot: alsactl/amixer: resmgr: unable to connect to resmgrd: No such file or directory
Product: [openSUSE] SUSE Linux 10.1 Reporter: Daniel Gollub <dgollub>
Component: InstallationAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Critical    
Priority: P5 - None CC: asklein, cheema, dkukawka, jsmeix, kontakt, lnussel, lslezak, tiwai
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: errormessages from /var/log/messages

Description Daniel Gollub 2006-01-26 18:09:05 UTC
After installation the alsa init script seems to fail.

rcalsasound status:
ALSA sound driver not loaded.       unused.


After restart of the alsa init script everything works fine.

The problem seems to be resmgrd - /var/log/messages:
[...]
Jan 26 16:46:13 linux y2base: resmgr: unable to connect to resmgrd: No such file or directory
Jan 26 16:46:14 linux y2base: resmgr: unable to connect to resmgrd: No such file or directory
Jan 26 16:46:14 linux amixer: resmgr: unable to connect to resmgrd: No such file or directory
Jan 26 16:46:14 linux alsactl: resmgr: unable to connect to resmgrd: No such file or directory
Jan 26 16:46:14 linux alsactl: resmgr: unable to connect to resmgrd: No such file or directory
Jan 26 16:46:14 linux alsactl: resmgr: unable to connect to resmgrd: No such file or directory
[...]

Do you need further logs/information?
Comment 1 Joachim Werner 2006-01-30 03:13:23 UTC
Same here.
Comment 2 Takashi Iwai 2006-01-30 16:00:58 UTC
Looks rather like a problem of resmgr or startpar.

alsasound has 'Required-Start: $remote_fs resmgr', so resmgrd should run in prior.
Comment 3 Ludwig Nussel 2006-01-30 16:23:45 UTC
Judging my fresh install it looks like there are two unrelated bugs.

1. yast starts hal but not resmgr => hal cannot tell resmgr about hardware => resmgr starts up later and stays empty.

2. looks like there are no sound modules loaded. restarting hal and resmgr doesn't make them load. one has to run rcalsasound start. rcalsasound works just fine without resmgr as it runs as root anyways. There is no need for resmgr.


1) although one could blame yast for that I'll add a check into the resmgr init script to register hardware at resmgr if hal was already running as that is useful anyways.

2) takashi's part.
Comment 4 Ludwig Nussel 2006-01-30 16:33:49 UTC
rcresmgr done
Comment 5 Takashi Iwai 2006-01-30 16:57:11 UTC
alsasound script is fixed now, hopefully yast2-sound works well.
Comment 6 Ludwig Nussel 2006-02-02 13:53:34 UTC
*** Bug 147623 has been marked as a duplicate of this bug. ***
Comment 7 Takashi Iwai 2006-02-03 11:37:40 UTC
*** Bug 147909 has been marked as a duplicate of this bug. ***
Comment 8 Takashi Iwai 2006-02-06 10:15:18 UTC
*** Bug 146289 has been marked as a duplicate of this bug. ***
Comment 9 Takashi Iwai 2006-02-06 10:15:44 UTC
*** Bug 144525 has been marked as a duplicate of this bug. ***
Comment 10 Takashi Iwai 2006-02-06 10:16:49 UTC
*** Bug 148332 has been marked as a duplicate of this bug. ***
Comment 11 Takashi Iwai 2006-02-06 10:17:29 UTC
*** Bug 148261 has been marked as a duplicate of this bug. ***
Comment 12 Takashi Iwai 2006-02-09 16:03:49 UTC
*** Bug 144468 has been marked as a duplicate of this bug. ***
Comment 13 Danny Al-Gaaf 2006-02-20 16:28:36 UTC
This is present in Beta4 after installation. 

But not only for alsactl. There are also errormessages for y2base.
Comment 14 Takashi Iwai 2006-02-20 16:34:51 UTC
In which point did you get these messages (I assume you got exactly same errors).

Could you check wether any snd-* modules are loaded while this happens (by switching to console and see lsmod output)?
Comment 15 Danny Al-Gaaf 2006-02-20 17:17:56 UTC
Created attachment 69378 [details]
errormessages from /var/log/messages

This is the part of /var/log/messages. This happend at the end of the installation process. After reboot the machine work correct, no error messages
Comment 16 Takashi Iwai 2006-02-20 17:42:27 UTC
And did the module exist _before_ reboot?
Comment 17 Danny Al-Gaaf 2006-02-20 18:01:29 UTC
Sorry, I rebooted the machine befor this report and found the messages in the log while report the other bug. I simply don't know if the modules exist before reboot
Comment 18 Takashi Iwai 2006-02-20 18:17:44 UTC
OK, then I need the corresponding yast log to see what command yast2 issued.
Comment 19 Danny Al-Gaaf 2006-02-20 18:35:17 UTC
see atachment in bug 152262
Comment 20 Takashi Iwai 2006-02-20 19:26:45 UTC
Hm, these messages might be harmless.  I'll fix alsa-lib not to call resmgr if the device really doesn't exist.

Did the sound basically work without touching anything (before reboot, too)?
Comment 21 Danny Al-Gaaf 2006-02-22 18:37:24 UTC
I don't know. I rebootet the machine before I did any test. If the info is really needed, I must reinstall the machine.
Comment 22 Takashi Iwai 2006-02-22 18:42:23 UTC
The fact it worked after the second boot means that the main problem was already fixed.  The messages are just annoyance (and fixed in the latest alsa package).

So, I close this bug.  Let's see whether all pieces are put correctly on beta5 :)