MASTER storing ALSA mixer element values during shutdown hangs nondeterministically due to internal alsa-plugins pulse check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Invalid
|
Undecided
|
Unassigned | ||
alsa-utils (Ubuntu) |
Fix Released
|
Medium
|
Daniel T Chen | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Fedora) |
Fix Released
|
Medium
|
|||
linux (Gentoo Linux) |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Invalid
|
Undecided
|
Daniel T Chen | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
network-manager (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
pulseaudio (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned |
Bug Description
SRU information follows:
Impact: A subset of users with a default Ubuntu 8.10 install (with libasound2-plugins installed) experience nondeterministic hangs of up to several minutes on shutdown (or startup) when the sound card's mixer control state is (re)stored. This hang is due to a variable, PULSE_INTERNAL, in the pulse ALSA plugin having a non-NULL value when amixer and alsactl are called so that PulseAudio is probed preferentially, triggering name resolution over potentially partially configured network interfaces.
Resolution: In the alsa-utils initscript, unconditionally export PULSE_INTERNAL=0 to prevent native ALSA applications from probing PulseAudio while querying and (re)storing sound card state.
Jaunty patch: http://
Intrepid SRU patch: http://
TEST CASE: From an active GNOME session in a default Ubuntu 8.10 install, choose to reboot or shutdown. Note the erratic hang while attempting to store ALSA's mixer control state.
Regression potential: No regressions have been identified in production, and only users with both pulseaudio and libasound2-plugins packages installed have the potential to experience this nondeterministic hang.
Original report follows:
Ubuntu 8.10 beta 4 version updated.
When going for reboot or shutdown the system freezes on shuting down alsa.
The only way is to use the power off button of the computer.
My laptop is Insys GameForce.8761SU
Chipset:
• SiS© 671DX + SiS968
Changed in alsa-utils: | |
assignee: | nobody → crimsun |
importance: | Undecided → Medium |
status: | Confirmed → Incomplete |
Changed in linux: | |
status: | New → Invalid |
Changed in alsa-utils: | |
status: | Incomplete → In Progress |
Changed in alsa-utils: | |
status: | In Progress → Confirmed |
Changed in network-manager: | |
assignee: | crimsun → nobody |
Changed in network-manager: | |
status: | Confirmed → Triaged |
Changed in network-manager: | |
status: | Triaged → Invalid |
Changed in network-manager: | |
status: | New → Invalid |
Changed in pulseaudio: | |
status: | New → Invalid |
Changed in linux: | |
assignee: | nobody → crimsun |
status: | Invalid → Incomplete |
Changed in alsa-utils: | |
status: | New → Invalid |
Changed in linux: | |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
Changed in linux: | |
status: | Unknown → Confirmed |
status: | Unknown → In Progress |
Changed in alsa-utils: | |
status: | Invalid → New |
Changed in pulseaudio: | |
status: | Invalid → New |
Changed in linux: | |
importance: | Medium → Undecided |
status: | Triaged → Invalid |
Changed in pulseaudio: | |
status: | New → Invalid |
Changed in alsa-utils: | |
assignee: | nobody → crimsun |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in alsa-utils: | |
status: | In Progress → Fix Released |
Changed in linux: | |
status: | New → Invalid |
Changed in alsa-utils: | |
status: | New → Fix Committed |
Changed in network-manager: | |
status: | New → Invalid |
status: | Invalid → Fix Committed |
Changed in pulseaudio: | |
status: | New → Invalid |
Changed in network-manager: | |
status: | Fix Committed → Invalid |
Changed in pulseaudio: | |
status: | Invalid → Fix Committed |
Changed in network-manager: | |
status: | Invalid → Fix Committed |
status: | Fix Committed → Invalid |
Changed in pulseaudio: | |
status: | Fix Committed → Invalid |
Changed in linux: | |
status: | In Progress → Fix Released |
Changed in linux (Gentoo Linux): | |
status: | Confirmed → Fix Released |
Changed in linux (Gentoo Linux): | |
importance: | Unknown → Medium |
Changed in linux (Fedora): | |
importance: | Unknown → Medium |
Description of problem:
If the snd_hda_intel module is loaded into the kernel (for example after
starting X), the computer will not power off when "poweroff" command is called.
My computer has an Asus P5GD1 motherboard.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.Start computer at runlevel 5
2.Log in into X and play some sound just to be sure sound module is loaded
3.System -> Shut down.
Actual results:
The computer doesn't power off and hangs after a message "ACPI power down
called" is displayed.
Expected results:
The computer shoud poweroff
Additional info:
I added a 'modprobe -r snd_hda_intel' line in the stop) section of
/etc/init.d/kudzu and the computer shuts down correctly therafter.