Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273241 - alsasound fails to stop on 2.9.29-gentoo-r5
Summary: alsasound fails to stop on 2.9.29-gentoo-r5
Status: RESOLVED DUPLICATE of bug 253535
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 19:06 UTC by Maxi Combina
Modified: 2009-06-08 20:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxi Combina 2009-06-08 19:06:00 UTC
I upgraded to the recently unmasked 2.9.29-gentoo-r5. And immediately noticed that the shutdown process got stuck when stopping alsasound.
Playing around and debugging /etc/init.d/alsasound, I discovered that the `rmmod' command got stuck when unloading `snd_hda_codec_si3054'. The shutdown process gets completely stuck and the computer never shuts down!
I tried removing the file corresponding to this module (/lib/modules/2.6.29-gentoo-r5/kernel/sound/pci/hda/snd-hda-codec-si3054.ko), rebooted, and (when doing `/etc/init.d/alsasound stop') this time the system got stuck while unloading snd_hda_codec_realtek...

I tried 2.6.28-r5 and everything went ok.
So, I downloaded the latest alsa-drivers (1.0.20), compiled and installed them on 2.6.29-r5: same problem.
I downloaded alsa-drivers-1.0.18a: it worked OK.
Did not tried with 1.0.19, though.

So, it seems that something has changed and alsasound can not be stopped in 2.6.29-r5, in my hardware.

I do not want to stay with alsa-drivers-1.0.18a forever, so I had to change UNLOAD_ON_STOP to "no" in /etc/conf.d/alsa (it was defaulted to "yes"... is this change somehow dangerous?).

So, it would be nice to have a clue on what is going on here... I could not find a way to obtain more info: rmmod (or modprobe -r) just freezes. No new mesg with `dmesg', no new info /var/log/*.
I can provide as much info as needed.


Reproducible: Always

Steps to Reproduce:
1. Upgrade to 2.6.29-gentoo-r5
2. Boot
3. Shutdown

Actual Results:  
Computer won't shutdown. It gets stuck when stopping alsasound

Expected Results:  
alsasaound correctly shuts down, as with previous kernels. Computer shuts down.

emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.0
Timestamp of tree: Sun, 07 Jun 2009 17:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.6, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=prescott -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=prescott -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org                 http://distro.ibiblio.org/pub/linux/distributions/gentoo            http://gentoo.cites.uiuc.edu/pub/gentoo/               ftp://mirrors.64hosting.com/pub/mirrors/gentoo/                 ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O3 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="ca en es pt it en_US"
MAKEOPTS="-j2 "
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi ada aiglx aim alsa amarok arts artswrappersuid asf audiofile avahi beagle berkdb bidi bluetooth branding bzip2 cairo cdda cdr chm cjk clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbox2 dbus dga djvu dlloader doc dri dts dv dvb dvd dvdr dvdread dvi dxr3 effects emboss encode esd exif exscalibar ext-man ext-rtf ext-tex extraicons extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic fortran freetype gdbm geoip gif gimpprint glitz glut gnokii gnome gnutls gphoto2 gpm gs gsm gstreamer gtk gtk2 hal hfs iconv icq ieee1394 imap inkjar ipod ipv6 irc irda isdnlog jabber jack java jfs jingle joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kipi krb4 lame lcd ldap libao libcaca libclamav libnotify live livecd lj lm_sensors logitech lzo mad mail matroska midi mikmod mjpeg mmx mng mono mouse moznocompose moznoirc moznomail mp3 mp3rtp mpeg mplayer msn mudflap musepack musicbrainz ncurses network new nls nptl nptlonly nsplugin ntfs nvidia offensive ogg ole openal openexr opengl openmp pam pascal pcmcia pcre pda pdf perl plugin png povray ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime quotas rar rdesktop readline reflection reiserfs rss ruby samba scanner sdl session skins slp smp sms sndfile speech speex spell spl spreadsheet ssl startup-notification stream streams subversion svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 vcd visualization voice vorbis weather webservices wifi win32codecs winbind wmf wxwindows x264 x86 xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek digitaledge fpit hyperpen jamstudio joystick magellan  mutouch palmax spaceorb summa synaptics tek4957 wacom ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca en es pt it en_US" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

My hardware is:
# lspci  -v | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Comment 1 Dustin Polke 2009-06-08 20:08:14 UTC
Dupe of bug #253535
Comment 2 Maxi Combina 2009-06-08 20:45:32 UTC
(In reply to comment #1)
> Dupe of bug #253535
> 

I see. Thanks.

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