Subject: alsa-utils: please make alsactl store/restore more devfs-friendly
Date: Fri, 01 Oct 2004 16:55:28 -0500
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
Subject: Re: [Pkg-alsa-devel] Bug#274456: alsa-utils: please make alsactl
store/restore more devfs-friendly
Date: Sat, 02 Oct 2004 10:10:11 +0200
On Fri, 2004-10-01 at 23:55, Ryan Underwood wrote:
> alsactl restore takes a long time on a slow devfs machine.
As devfs is obsolete I don't expect that this will be fixed.
--
Thomas Hood <[email protected]>
Information stored: Bug#274456; Package alsa-utils.
(full text, mbox, link).
On Sat, Oct 02, 2004 at 10:10:11AM +0200, Thomas Hood wrote:
> On Fri, 2004-10-01 at 23:55, Ryan Underwood wrote:
> > alsactl restore takes a long time on a slow devfs machine.
>
>
> As devfs is obsolete I don't expect that this will be fixed.
Well, the 2.4 kernel is not obsolete yet, and its dynamic device
filesystem is devfs until someone ports udev. Would the similar problem
occur with udev on a slow machine? I'm not familiar with its operation.
--
Ryan Underwood, <[email protected]>
Sehr geehrte/r Arbeitsuchender,
folgender Jobvorschlag ist für alle geeignet, da diese Arbeit ohne Vorwissen auch von zu Hause zu bewerkstelligen ist. Der Arbeitnehmer hat keine Ausgaben und muss keine besonderen Kenntnisse mitbringen. Die benötigte technische Ausrüstung wird von uns frei zur Verfügung gestellt Zu Ihren Aufgaben gehört die Datendigitalisierung, die Koordinierung, das Erstellen von Mediatheken, das Erstellen von Buchwerken und die Betreuung von Onlinebibliotheken. Wir bieten eine attraktive Bezahlung in Höhe von 19€ die Stunde Brutto.
Unser Betrieb verfügt über viele Außenstellen in ganz Europa und wir arbeiten in der Medienindustrie. Derzeit suchen wir nach neuen Mitarbeitern.
Ihre Voraussetzungen für diese Arbeit wären: Sie verfügen über ein Paar Stunden Zeit am Tag, eine Tätigkeit von zu Hause entspricht Ihrer Vorstellung, Sie besitzen eine teamorientierte Arbeitsweise, sie verfügen über ein Paar Stunden Zeit am Tag, Sie besitzen Flexibilität und Grundkenntnisse von MS-Office sind von Vorteil.
Konnten wir Ihr Interesse wecken? Dann freuen wir uns über Ihre Bewerbung! Schicken Sie Ihre kompletten Bewerbungsbögen an: LibbyTaylorb@gmxcom
Wir freuen uns auf Ihre Bewerbung.
Mit freundlichen Grüßen
Andreas Schulz Ltd
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.