[Pkg-alsa-devel] Bug#186183: marked as done (Problem upgrading from 0.9.0beta10 to 0.9.1-2)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 02 Sep 2004 05:18:13 -0700


Your message dated Thu, 02 Sep 2004 14:01:31 +0200
with message-id <1094126491.11462.362.camel@thanatos>
and subject line Presume fixed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Mar 2003 02:23:59 +0000
>From lazarus@overdue.ddts.net Mon Mar 24 20:23:58 2003
Return-path: <lazarus@overdue.ddts.net>
Received: from 208-186-55-240.nrp3feld.roc.ny.frontiernet.net (phoenix.overdue.ddts.net) [208.186.55.240] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18xe6X-0006MJ-00; Mon, 24 Mar 2003 20:23:57 -0600
Received: by phoenix.overdue.ddts.net (Postfix, from userid 1002)
	id F411673047; Tue, 25 Mar 2003 02:23:18 +0000 (UTC)
From: Lazarus Long <lazarus@overdue.ddts.net>
Subject: alsa-base: totally hosed, still
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.2
Message-Id: <20030325022318.F411673047@phoenix.overdue.ddts.net>
Date: Tue, 25 Mar 2003 02:23:18 +0000 (UTC)
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01,SUPERLONG_LINE
	version=2.44
X-Spam-Level: 

Package: alsa-base
Version: 0.9.1-2
Severity: important

Since this package was allegedly fixed a long while back, I let it
upgrade on another machine.  Still totally hosed.

Perhaps the following upgrade errors are of use.
Setting up alsa-utils (0.9.1-1) ...
Setting up alsa-base (0.9.1-2) ...
Installing new version of config file /etc/apm/event.d/alsa ...
Installing new version of config file /etc/init.d/alsa ...
Use of uninitialized value in concatenation (.) or string at /var/lib/dpkg/info/alsa-base.config line 102, <STDIN> line 7.
Wrote ALSA configuration to /etc/alsa/modutils/0.9
Starting ALSA sound driver (version 0.9.0beta10): no sound cards defined.



-- System Information
Debian Release: post-3.0(+)
Kernel Version: Linux phoenix 2.4.19 #1 Tue Sep 17 20:34:42 UTC 2002 i586 unknown unknown GNU/Linux

Versions of the packages alsa-base depends on:
ii  alsa-utils     0.9.1-1        Advanced Linux Sound Architecture (utils)
ii  debconf        1.2.32         Debian configuration management system
ii  debianutils    2.4.1          Miscellaneous utilities specific to Debian
ii  mawk           1.3.3-9        a pattern scanning and text processing langu
ii  modutils       2.4.21-2       Linux module utilities.
ii  procps         3.1.6-1        The /proc file system utilities
ii  psmisc         21.2-1         Utilities that use the proc filesystem
ii  gawk           3.1.1-1        GNU awk, a pattern scanning and processing l
	^^^ (Provides virtual package awk)

--- Begin /etc/apm/event.d/alsa (modified conffile)
#!/bin/sh
set -e
if [ -e /etc/alsa/alsa-base.conf ]; then
 . /etc/alsa/alsa-base.conf
fi
if [ "$1" = suspend ]; then
      if [ "$force_stop_modules_before_suspend" = "forcibly-unload-driver" ]; then
	alsactl store || true
	sleep 1
        /etc/init.d/alsa force-stop || true
      elif [ "$force_stop_modules_before_suspend" = "stop-procs" ]; then
	if [ -d /proc/asound ]; then
	  kill -STOP $(fuser $(ls -l /dev | tr -s ' ' | grep '14, ' | cut -d\  -f10 | sed -e 's#^#/dev/#' | tr '\n' ' ') $(ls -l /proc/asound/dev | tr -s ' ' | cut -d\  -f10 | sed -e 's#^#/proc/asound/dev/#' | tr '\n' ' ')) | cut -d: -f2 | tr '\n' ' '
        fi
      fi
      sleep 1
elif [ "$1" = resume ]; then
      if [ "$force_stop_modules_before_suspend" = "forcibly-unload-driver" ]; then
        /etc/init.d/alsa start || true
        sleep 1
        alsactl restore || true
      elif [ "$force_stop_modules_before_suspend" = "stop-procs" ]; then
	if [ -d /proc/asound ]; then
	    kill -CONT $(fuser $(ls -l /dev | tr -s ' ' | grep '14, ' | cut -d\  -f10 | sed -e 's#^#/dev/#' | tr '\n' ' ') $(ls -l /proc/asound/dev | tr -s ' ' | cut -d\  -f10 | sed -e 's#^#/proc/asound/dev/#' | tr '\n' ' ')) | cut -d: -f2 | tr '\n' ' '
        fi
      fi
fi

--- End /etc/apm/event.d/alsa

--- Begin /etc/init.d/alsa (modified conffile)
#!/bin/sh
set -e
if [ -e /etc/alsa/alsa-base.conf ]; then
    . /etc/alsa/alsa-base.conf
fi
if ! /sbin/modprobe snd >/dev/null 2>&1 ; then
    alsa_version="none"
else
    alsa_version=$(head -1 /proc/asound/version | cut -d\  -f7 | cut -d. -f -3)
fi
/sbin/modprobe -r snd >/dev/null 2>&1 || true
case "$1" in
    start)
	if [ ! -d /proc/asound ]; then
	    echo -n "Starting ALSA sound driver (version $alsa_version):"
	    found_driver="false"
	    for i in $(grep -E '^((alias)|(probe))[[:space:]]+snd-card-[0-9]' \
		/etc/modules.conf | sort | grep -Ev '^(off|null)$' | \
		awk '{ print $3 }'); do
		    desc=$(echo $i | cut -d- -f2-)
			if /sbin/modprobe $i >/dev/null 2>&1 ; then
		    	echo -n " $desc"
		    	found_driver="true"
			else
		    	echo -n " $desc-failed"
			fi
	    done
	    case $found_driver in
		true)
		    echo "."
		;;
		false)
		    if [ $alsa_version = "none" ]; then
				echo " no driver installed."
		    else
				echo " no sound cards defined."
		    fi
			exit 0
		;;
	    esac
	    if [ -f /dev/.devfsd -a ! -e /dev/snd ]; then
			echo " no devfs available (but kernel has devfs)."
			exit 0
	    elif [ -d /proc/asound/dev ];  then
			if [ ! -e /dev/snd ]; then
		    	ln -s /proc/asound/dev /dev/snd
			fi
			if [ ! -L  /dev/sndstat ]; then
		    	ln -sf /proc/asound/oss/sndstat /dev/sndstat
			fi
		fi
	    if [ "$startosslayer" = true ]; then
			for i in mixer pcm seq ; do 
		    	/sbin/modprobe snd-$i-oss >/dev/null 2>&1 || true
			done
	    fi
	else
	    echo "ALSA driver (version $alsa_version) is already running."
	fi
	if [ -d /proc/asound ]; then
    	echo -n "Restoring ALSA mixer settings... "
    	if alsactl restore >/dev/null 2>&1; then
			echo "done."
    	else
			echo "failed."
    	fi
	fi
	;;
    stop)
	if [ -d /proc/asound ]; then
	    if [ "$alsactl_store_on_shutdown" = "true" ]; then
		echo -n "Storing ALSA mixer settings... "
		if alsactl store >/dev/null 2>&1; then
		    sleep 1
		    echo "done."
		else
		    echo "failed."
		fi
	    fi
	    echo -n "Shutting down ALSA sound driver (version $alsa_version): "
	    procs_using_sound=$(echo $(fuser $(find /dev | xargs stat -c "%t:%n" | grep "^e:" | cut -d: -f2 | tr '\n' ' ') $(find /proc/asound/dev -type c -printf '%p ')) | cut -d: -f2 | tr '\n' ' ')
		if [ "$procs_using_sound" != " " ]; then
	    	if [ "$ALSA_KILL_MODE" = "force" ]; then
				kill $procs_using_sound
	    	else
		    	echo "no. (sound used by pid $procs_using_sound)"
		    	exit 0
			fi
	    fi
	    for i in seq mixer pcm ; do
		/sbin/modprobe -r snd-$i-oss >/dev/null 2>&1 || true
	    done
	    for i in $(/sbin/lsmod | grep -E '^snd' | cut -d\  -f1) ; do
		/sbin/modprobe -r $i >/dev/null 2>&1 || true
	    done
	    /sbin/modprobe -r soundcore 2>&1 || true
	    echo "done."
	else
	    echo "ALSA driver isn't running."
	fi
	;;
    restart)
	$0 stop && $0 start
	;;
    force-stop|reload|restart)
	ALSA_KILL_MODE="force" $0 $(echo $1 | cut -d- -f2)
	;;
    *)
	echo "Usage: /etc/init.d/alsa {start|stop|restart|force-reload|force-stop|force-restart}"
	exit 1
esac

--- End /etc/init.d/alsa

---------------------------------------
Received: (at 186183-done) by bugs.debian.org; 2 Sep 2004 12:00:51 +0000
>From jdthood@aglu.demon.nl Thu Sep 02 05:00:51 2004
Return-path: <jdthood@aglu.demon.nl>
Received: from post-23.mail.nl.demon.net [194.159.73.193] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C2qGp-0000Mh-00; Thu, 02 Sep 2004 05:00:51 -0700
Received: from aglu.demon.nl ([82.161.38.140]:64299 helo=localhost)
	by post-23.mail.nl.demon.net with esmtp (Exim 4.34)
	id 1C2qGo-000Inn-7w
	for 186183-done@bugs.debian.org; Thu, 02 Sep 2004 12:00:50 +0000
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost (Postfix) with ESMTP id A570510D6D1
	for <186183-done@bugs.debian.org>; Thu,  2 Sep 2004 14:01:31 +0200 (CEST)
Subject: Presume fixed
From: Thomas Hood <jdthood@aglu.demon.nl>
To: 186183-done@bugs.debian.org
Content-Type: text/plain
Message-Id: <1094126491.11462.362.camel@thanatos>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 02 Sep 2004 14:01:31 +0200
Content-Transfer-Encoding: 7bit
Delivered-To: 186183-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.0 required=4.0 tests=BAYES_20 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

> Can you confirm that this bug persists in the latest releases
> of alsa-base?

In the absence of a response, let's assume that the bug was fixed
somewhere along the way.

--
Thomas