Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264674

Summary: media-sound/alsa-utils-1.0.17 does not properly shut down with sys-kernel/gentoo-sources-2.6.29
Product: Gentoo Linux Reporter: José María Fernández González <josemariafg>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical CC: hwoarang
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: lspci -v from my laptop
lsmod from my laptop when it is running 2.6.29
emerge --info from my system
Patch for ${FILESDIR}/alsasound.initd file, used by media-sound/alsa-utils-1.0.17 on installation

Description José María Fernández González 2009-04-02 19:11:53 UTC
After upgrading to sys-kernel/gentoo-sources-2.6.29 I'm experiencing that shutdown process hangs on /etc/init.d/alsasound (which comes media-sound/alsa-utils-1.0.17), waiting forever for a sound module removal.

Reproducible: Always

Steps to Reproduce:
1. Owns a Toshiba Tecra M5 
2. Install media-sound/alsa-utils-1.0.17 and sys-kernel/gentoo-sources-2.6.29
3. Restart the computer with kernel from sys-kernel/gentoo-sources-2.6.29 and try shut it down

Actual Results:  
The system hangs on shutdown, just running /etc/init.d/alsasound. It waits forever for a sound module removal (snd_hda_codec_idt or snd_hda_codec_si3054) which is in use.

Expected Results:  
A clean shutdown.

I have found a way to circumvent the problem, and it is using 'modprobe -r -w' instead of 'rmmod --wait'. The patch, plus some additional hardware and software info is in next attachments.
Comment 1 José María Fernández González 2009-04-02 19:13:12 UTC
Created attachment 187123 [details]
lspci -v from my laptop
Comment 2 José María Fernández González 2009-04-02 19:13:55 UTC
Created attachment 187125 [details]
lsmod from my laptop when it is running 2.6.29
Comment 3 José María Fernández González 2009-04-02 19:14:33 UTC
Created attachment 187126 [details]
emerge --info from my system
Comment 4 José María Fernández González 2009-04-02 19:16:15 UTC
Created attachment 187127 [details, diff]
Patch for ${FILESDIR}/alsasound.initd file, used by media-sound/alsa-utils-1.0.17 on installation
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2009-04-02 19:32:43 UTC
This bug seems like a duplicate of bug http://bugs.gentoo.org/show_bug.cgi?id=253535

Is that right?
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-02 23:16:08 UTC
Try >=alsa-utils-1.0.19 version.

*** This bug has been marked as a duplicate of bug 253535 ***