[Bug 814625] New: systemctl alsa-store.service hangs on shutdown
https://bugzilla.novell.com/show_bug.cgi?id=814625 https://bugzilla.novell.com/show_bug.cgi?id=814625#c0 Summary: systemctl alsa-store.service hangs on shutdown Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dutchkind@txoriaskea.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 I upgraded 3 systems (laptops + desktop) from 12.2 to 12.3 and all of them will once in a while hang on shutdown or reboot with "systemctl start alsa-store.service". I tried to disable this service with "systemctl disable alsa-store.service" but it keeps doing this, so I removed the symlink in /usr/lib/systemd/system/halt.target.wants for it, which fixed it. Well, it doesn't hang anymore but now the sound card is not stored, no idea if this has consequences. When the problem occurred I would press ctrl-alt-del and a message would tell me to run "systemctl status alsa-store.service", which I did after reboot but this didn't give much info. To make the system continue to shutdown when the message appeared I had to press ctrl-alt-del repeatedly after which it would finally obey. Reproducible: Sometimes Steps to Reproduce: 1. Shutdown of reboot 2. During shutdown it would stop at systemctl start alsa-store.service 3. press ctrl-alt-del repeatedly to get past it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c1
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c2
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c3
--- Comment #3 from Takashi Iwai
Could you give alsa-info.sh output?
Forgot to mention: run with --no-upload option and attach the output to this bugzilla. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c4
David Kerkhof
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c5
--- Comment #5 from David Kerkhof
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c6
Bjoern Jacke
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c7
--- Comment #7 from Takashi Iwai
the alsasound init script and the stor/restore mechanism seems to have a number of logic problems.
Some of them:
1) start/stop behaves differently whether or not $RUNLEVEL or $PREVLEVEL are set to some values. I don't see a reason for this distinction, the opposite should be right
The init script can be called outside init, e.g. via rcalsasound. In this case, there is no runlevel change.
2) in "start" there is a distinction how /var is mounted: grep -q " /var " /proc/mounts ... I think this is not a good way to go. Also, what is the reason for this? When the alsa init scipt runs, /var/ needs to be availbale
Well, this was the change due to systemd introduction. We can't distinguish /var partition well nowadays, unfortunately.
3) if in "start" the following: 'if test "$PREVLEVEL" = "N" -a -d /proc/asound ; then' is strange. If we have no alsa module loaded (/proc/asound not there) then we run into the "else" tree and *only* load the module but do not restore the volume levels.
The volume is restored by udev when the module is loaded, thus you don't have to do it again in alsasound init script. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c8
--- Comment #8 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=814625
https://bugzilla.novell.com/show_bug.cgi?id=814625#c9
David Kerkhof
participants (1)
-
bugzilla_noreply@novell.com