amixer timeout when muting sound card
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After dist-upgrading to intrepid, Ubuntu appears to hang when shutting down. I have traced this down to the ALSA shutdown script taking more than a minute (!) to save sound card state. More specifically:
root@neminis:~$ time amixer -c0 -q set Mic 0% mute
real 0m8.061s
user 0m0.003s
sys 0m0.012s
This is reproducable only in single-user mode. When I run the amixer command when logged in into X (I can even run the command from a console, as long as X is running), the same command takes only a few milliseconds as it should. I will attach an strace log from above call. Of interest is the following line:
4.013297 ioctl(5, FIONREAD, [37]) = 0
which occurs twice in the script. It seems to be expecting data from a network socket, but I can't figure out why.
On a side note: why is amixer doing dns resolution, or any network activity for that matter?
I just found out the official live cd (ubuntu- 8.10-desktop- amd64.iso) exhibits the same behaviour on a laptop I am currently testing on; as this is a bog-standard Sony Vaio laptop (Centrino platform, core2duo), I'm afraid this might be a much more widespread problem than just my system. Maybe a more alarming bug description might be warranted, along the lines of "Ubuntu freezes during shutdown process"...