[Pkg-alsa-devel] Bug#526648: alsa-base: /proc/asound/dev not present

Charles G Montgomery cgm at physics.utoledo.edu
Sat May 2 13:45:32 UTC 2009


Package: alsa-base
Version: 1.0.19.dfsg-3
Severity: grave
Justification: renders package unusable

When freshly booted, there is no /proc/asound/dev directory present. 
The symlink /dev/snd is dangling.  The rest of /proc/asound/
seems to be present:

~ [502]$ file /dev/snd
/dev/snd: broken symbolic link to `/proc/asound/dev'
~ [503]$ ls -lR /proc/asound
/proc/asound:
total 0
lrwxrwxrwx 1 root root 5 May  2 09:18 I82801AAICH -> card0
lrwxrwxrwx 1 root root 5 May  2 09:18 UART -> card1
dr-xr-xr-x 6 root root 0 May  2 09:18 card0
dr-xr-xr-x 2 root root 0 May  2 09:18 card1
-r--r--r-- 1 root root 0 May  2 09:18 cards
-r--r--r-- 1 root root 0 May  2 09:18 devices
-r--r--r-- 1 root root 0 May  2 09:18 hwdep
-r--r--r-- 1 root root 0 May  2 09:18 modules
dr-xr-xr-x 2 root root 0 May  2 09:18 oss
-r--r--r-- 1 root root 0 May  2 09:18 pcm
dr-xr-xr-x 2 root root 0 May  2 09:18 seq
-r--r--r-- 1 root root 0 May  2 09:18 timers
-r--r--r-- 1 root root 0 May  2 09:18 version

/proc/asound/card0:
total 0
dr-xr-xr-x 2 root root 0 May  2 09:18 codec97#0
-r--r--r-- 1 root root 0 May  2 09:18 id
-r--r--r-- 1 root root 0 May  2 09:18 intel8x0
-rw-r--r-- 1 root root 0 May  2 09:18 oss_mixer
dr-xr-xr-x 3 root root 0 May  2 09:18 pcm0c
dr-xr-xr-x 3 root root 0 May  2 09:18 pcm0p
dr-xr-xr-x 3 root root 0 May  2 09:18 pcm1c

/proc/asound/card0/codec97#0:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 ac97#0-0
-r--r--r-- 1 root root 0 May  2 09:18 ac97#0-0+regs

/proc/asound/card0/pcm0c:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 info
-rw-r--r-- 1 root root 0 May  2 09:18 oss
dr-xr-xr-x 2 root root 0 May  2 09:18 sub0

/proc/asound/card0/pcm0c/sub0:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 hw_params
-r--r--r-- 1 root root 0 May  2 09:18 info
-rw-r--r-- 1 root root 0 May  2 09:18 prealloc
-r--r--r-- 1 root root 0 May  2 09:18 prealloc_max
-r--r--r-- 1 root root 0 May  2 09:18 status
-r--r--r-- 1 root root 0 May  2 09:18 sw_params

/proc/asound/card0/pcm0p:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 info
-rw-r--r-- 1 root root 0 May  2 09:18 oss
dr-xr-xr-x 2 root root 0 May  2 09:18 sub0

/proc/asound/card0/pcm0p/sub0:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 hw_params
-r--r--r-- 1 root root 0 May  2 09:18 info
-rw-r--r-- 1 root root 0 May  2 09:18 prealloc
-r--r--r-- 1 root root 0 May  2 09:18 prealloc_max
-r--r--r-- 1 root root 0 May  2 09:18 status
-r--r--r-- 1 root root 0 May  2 09:18 sw_params

/proc/asound/card0/pcm1c:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 info
-rw-r--r-- 1 root root 0 May  2 09:18 oss
dr-xr-xr-x 2 root root 0 May  2 09:18 sub0

/proc/asound/card0/pcm1c/sub0:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 hw_params
-r--r--r-- 1 root root 0 May  2 09:18 info
-rw-r--r-- 1 root root 0 May  2 09:18 prealloc
-r--r--r-- 1 root root 0 May  2 09:18 prealloc_max
-r--r--r-- 1 root root 0 May  2 09:18 status
-r--r--r-- 1 root root 0 May  2 09:18 sw_params

/proc/asound/card1:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 id
-r--r--r-- 1 root root 0 May  2 09:18 midi0
-rw-r--r-- 1 root root 0 May  2 09:18 oss_mixer

/proc/asound/oss:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 devices
-r--r--r-- 1 root root 0 May  2 09:18 sndstat

/proc/asound/seq:
total 0
-r--r--r-- 1 root root 0 May  2 09:18 clients
-r--r--r-- 1 root root 0 May  2 09:18 drivers
-r--r--r-- 1 root root 0 May  2 09:18 oss
-r--r--r-- 1 root root 0 May  2 09:18 queues
-r--r--r-- 1 root root 0 May  2 09:18 timer

Then most alsa programs fail, e.g.

~ [504]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
aplay: device_list:226: control open (0): No such file or directory
aplay: device_list:226: control open (1): No such file or directory

The same behavior occurs if I boot into the previous kernel,
2.6.22-3, although everything worked with that kernel while Lenny was
still testing, so it shouldn't be hardware-related.  My system is
up-to-date pure testing.  I suppose udev might be involved.  The current
version is 0.141-1.

Please let me know if further information would be useful.
Many thanks   cgm

-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libasound2     1.0.19-1       shared library for ALSA applications
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.16.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [I82801AAICH    ]: ICH - Intel 82801AA-ICH
                      Intel 82801AA-ICH with CS4299 at irq 9
 1 [UART           ]: MPU-401 UART - MPU-401 UART
                      MPU-401 UART at 0x300, irq 5
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
lrwxrwxrwx 1 root root 16 May  1 15:00 /dev/snd -> /proc/asound/dev
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.19.dfsg-3 base package for ALSA and OSS soun
ii  lsof                       4.81.dfsg.1-1 List open files
ii  module-init-tools          3.7-pre9-1    tools for managing Linux kernel mo
ii  udev                       0.141-1       /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.19-2   ALSA utilities

Versions of packages alsa-base suggests:
pn  alsa-oss                      <none>     (no description available)
pn  apmd                          <none>     (no description available)
ii  oss-compat                    0.0.4+nmu3 OSS compatibility package

Versions of packages libasound2 depends on:
ii  libc6                         2.9-4      GNU C Library: Shared libraries

-- debconf information:
  alsa-common/card-list:
  alsa-base/alsactl_store_on_shutdown: always autosave





More information about the Pkg-alsa-devel mailing list