Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275783 - stopping /etc/init.d/alsasound sometimes freezes terminal session with kernel 2.6.29
Summary: stopping /etc/init.d/alsasound sometimes freezes terminal session with kernel...
Status: RESOLVED DUPLICATE of bug 253535
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 06:32 UTC by André Terpstra
Modified: 2009-06-29 08:00 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 André Terpstra 2009-06-29 06:32:09 UTC
I have some trouble pinpointing the exact cause of this problem so I may not be complete in my description.

I have only one system (stable tree) where this happens. Initially, the whole system froze at halt. Some trial and error revealed that it's the alsasound service, that shows:

AchillesGentoo ~ # /etc/init.d/alsasound stop
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                         [ ok ]
 * Killing processes using ALSA ...                                      [ ok ]
 * Unloading ALSA modules ...

and then nothing. When I have another terminal session open (even via SSH) I can continue to work. It tells me that the service fails to stop:

AchillesGentoo ~ # rc-status -a                                                       
Runlevel: boot                                                                        
 alsasound                                                                [ stopping ]
 bootmisc                                                                 [ started  ]
 checkfs                                                                  [ started  ]
 checkroot                                                                [ started  ]
 clock                                                                    [ started  ]
 consolefont                                                              [ started  ]
 hostname                                                                 [ started  ]
 keymaps                                                                  [ started  ]
 localmount                                                               [ started  ]
 modules                                                                  [ started  ]
 net.lo                                                                   [ started  ]
 rmnologin                                                                [ started  ]
 urandom                                                                  [ started  ]
Runlevel: default
 acpid                                                                    [ started  ]
 consolekit                                                               [ started  ]
 cupsd                                                                    [ started  ]
 hald                                                                     [ started  ]
 lm_sensors                                                               [ started  ]
 local                                                                    [ started  ]
 net.eth0                                                                 [ started  ]
 net.eth1                                                                 [ started  ]
 netmount                                                                 [ started  ]
 ntp-client                                                               [ started  ]
 ntpd                                                                     [ started  ]
 numlock                                                                  [ started  ]
 rsyncd                                                                   [ started  ]
 samba                                                                    [ started  ]
 smartd                                                                   [ started  ]
 sshd                                                                     [ started  ]
 syslog-ng                                                                [ started  ]
 usermin                                                                  [ started  ]
 vixie-cron                                                               [ started  ]
 webmin                                                                   [ started  ]
 xinetd                                                                   [ started  ]
Runlevel: nonetwork
 local                                                                    [ started  ]
Runlevel: single
Runlevel: UNASSIGNED
 crypto-loop                                                              [ stopped  ]
 dbus                                                                     [ started  ]
 device-mapper                                                            [ stopped  ]
 dmcrypt                                                                  [ stopped  ]
 dmeventd                                                                 [ stopped  ]
 esound                                                                   [ stopped  ]
 fancontrol                                                               [ stopped  ]
 gpm                                                                      [ stopped  ]
 nscd                                                                     [ stopped  ]
 pciparm                                                                  [ stopped  ]
 pydoc-2.5                                                                [ stopped  ]
 sensord                                                                  [ stopped  ]
 udev                                                                     [ stopped  ]
 udev-dev-tarball                                                         [ stopped  ]
 udev-mount                                                               [ stopped  ]
 udev-postmount                                                           [ started  ]
 vsftpd                                                                   [ stopped  ]
 xdm                                                                      [ stopped  ]
AchillesGentoo ~ #

This error does not occur with a 2.6.27 kernel.
Comment 1 André Terpstra 2009-06-29 06:33:18 UTC
AchillesGentoo ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Sempron-tm-_Processor_2800+-with-glibc2.2.5
Timestamp of tree: Mon, 29 Jun 2009 04:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://localhost/gentoo http://gentoo.tiscali.nl"
LDFLAGS="-Wl,-O1"
LINGUAS="nl"
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"
SYNC="rsync://localhost/gentoo-portage"
USE="X a52 acl acpi alsa amd64 artworkextra berkdb bzip2 cairo cdr cli cracklib crypt cups dbus disk-partition dri dvd dvdr esd fam fat ffmpeg firefox fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog java jpeg jpeg2k midi mmx mpeg mudflap multilib nautilus ncurses network-cron nls nptl nptlonly ntfs ogg opengl openmp pam pcre perl png pppd python readline reflection reiser4 reiserfs samba sensord session spl sse sse2 ssl svg sysfs syslog tcpd tiff truetype unicode utils vorbis wmf xml xorg xulrunner xv zlib" ALSA_CARDS=" hda-intel" 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" CAMERAS=" casio" ELIBC="glibc" INPUT_DEVICES=" keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS=" fbdev nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

AchillesGentoo ~ #
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-29 06:41:07 UTC

*** This bug has been marked as a duplicate of bug 253535 ***
Comment 3 André Terpstra 2009-06-29 08:00:36 UTC
sorry apparently I did not search bugzilla well