Your message dated Sat, 23 May 2026 15:26:11 +0200
with message-id <[email protected]>
and subject line Re: alsa-utils: please make alsactl store/restore more
devfs-friendly
has caused the Debian Bug report #274456,
regarding alsa-base: alsactl should only restore the known cards
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
274456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274456
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: alsa-base
Version: 1.0.9b-2
Severity: minor
Servus,
alsactl tries to restore the configuration of all cards by searching for
all possible files in /dev/snd/. This cause a very long delay on a 200MHz
CPU at boottime. IMO "alsactl restore" should only restore the
configuration of the cards named in /v/l/alsa/asound.state.
Bye, Jörg.
-- Package-specific info:
--- Begin additional package status ---
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Säubern/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install.
|/ Fehler?=(keiner)/Halten/R=Neuinst. notw/X=beides (Status, Fehler:
GROß=schlecht)
||/ Name Version Beschreibung
+++-==============-==============-============================================
ii libasound2 1.0.9-2 ALSA library
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32
2005 UTC).
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
0 [Snapper ]: PMac Snapper - PowerMac Snapper
PowerMac Snapper (Dev 38) Sub-frame 0
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
insgesamt 0
crw-rw---- 1 root audio 116, 0 1970-01-01 01:00 controlC0
crw-rw---- 1 root audio 116, 32 1970-01-01 01:00 controlC1
crw-rw---- 1 root audio 116, 64 1970-01-01 01:00 controlC2
crw-rw---- 1 root audio 116, 96 1970-01-01 01:00 controlC3
crw-rw---- 1 root audio 116, 24 1970-01-01 01:00 pcmC0D0c
crw-rw---- 1 root audio 116, 16 1970-01-01 01:00 pcmC0D0p
crw-rw---- 1 root audio 116, 33 1970-01-01 01:00 timer
--- End /dev/snd/ listing ---
-- System Information:
Debian Release: unstable/experimental
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages alsa-base depends on:
ii alsa-utils 1.0.9a-2 ALSA utilities
ii debconf [debconf-2.0] 1.4.51 Debian configuration management sy
ii debianutils 2.14.1 Miscellaneous utilities specific t
ii linux-sound-base 1.0.9b-2 base package for ALSA and OSS soun
ii lsof 4.75.dfsg.1-1 List open files.
ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
alsa-base recommends no packages.
Versions of packages libasound2 depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
-- debconf information:
alsa-common/card-list:
* alsa-base/alsactl_store_on_shutdown: always autosave
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
devfs is long gone (replaced by udev).
Thus closing this old and stale bug report.
On Fri, 01 Oct 2004 16:55:28 -0500 Ryan Underwood
<[email protected]> wrote:
Package: alsa-utils
Version: 1.0.4-1
Severity: minor
alsactl restore takes a long time on a slow devfs machine. The problem
is the following:
open("/dev/snd/controlC1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC6", O_RDONLY) = -1 ENOENT (No such file or directory)
.....
Each of these attempts causes about a 1 second delay on my machine
(P120). I presume this is due to devfs trying to modprobe stuff in the
background.
A more efficient method would probably be to opendir() and scan through
the directory entries to check for existence.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages alsa-utils depends on:
ii alsa-base 1.0.4-3 ALSA sound driver common files
ii dialog 0.9b-20040421-1 Displays user-friendly dialog boxe
ii libasound2 1.0.5-1 Advanced Linux Sound Architecture
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii module-init-tools 3.0-pre10-4 tools for managing Linux kernel mo
ii modutils 2.4.26-1 Linux module utilities
ii pciutils 1:2.1.11-8 Linux PCI Utilities (for 2.*.* ker
ii whiptail 0.51.6-3 Displays user-friendly dialog boxe
-- no debconf information
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---