Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150328 - via82xx sound not working on any kernel later than 2.6.8
Summary: via82xx sound not working on any kernel later than 2.6.8
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-06 15:52 UTC by Roger Hill-Cottingham
Modified: 2006-10-15 16:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/modprobe.conf (modprobe.conf,5.83 KB, text/plain)
2006-10-12 15:51 UTC, Roger Hill-Cottingham
Details
/etc/modules.conf (modules.conf,3.11 KB, text/plain)
2006-10-12 15:52 UTC, Roger Hill-Cottingham
Details
dmesg with kernel-supplied sound drivers (dmesg-20061013,13.51 KB, text/plain)
2006-10-13 15:56 UTC, Roger Hill-Cottingham
Details
cat /proc/interrupts with 2.6.8 kernel (proc_interrupts_2.6.8,634 bytes, text/plain)
2006-10-14 16:22 UTC, Roger Hill-Cottingham
Details
dmesg with 2.6.8 kernel (dmesg-2.6.8,14.96 KB, text/plain)
2006-10-14 16:23 UTC, Roger Hill-Cottingham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Hill-Cottingham 2006-10-06 15:52:45 UTC
$ emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 22:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/roger/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt dlloader dri dvdread eds elibc_glibc emboss encode f77 foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_ati video_cards_radeon video_cards_vesa video_cards_vga xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

$ /usr/sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0a.0 Network controller: Intersil Corporation ISL3890 [Prism GT/Prism Duette]/ISL3886 [Prism Javelin/Prism Xbow] (rev 01)
00:0b.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
00:0b.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
00:0b.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02)
00:0c.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]

Hardware: Acer Aspire 1501LMi (with original broadcom wifi mini-pci card replaced with generic prism card)

With kernel 2.6.8 using the kernel-supplied driver, sound with via82xx.o driver works perfectly.

With any later kernel, the kernel-supplied driver fails to find the card, giving messages such as

snd: Unknown parameter `device_mode'
snd_seq_device: Unknown symbol snd_info_register
snd_seq_device: Unknown symbol snd_info_create_module_entry
snd_seq_device: Unknown symbol snd_info_free_entry
snd_seq_device: Unknown symbol snd_seq_root
snd_seq_device: Unknown symbol snd_iprintf
snd_seq_device: Unknown symbol snd_device_new
snd_seq_device: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_info_register
snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl_compat
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_info_free_entry
snd_rawmidi: Unknown symbol snd_unregister_oss_device
snd_rawmidi: Unknown symbol snd_register_oss_device
.
.
.

etc in dmesg. (I'd paste the whole dmesg file but it is 325 lines long)

The sound module fails to load.

With alsa-device package (and the kernel alsa sound turned off as per the instructions in http://www.gentoo.org/doc/en/alsa-guide.xml) the module loads, but the devices, while present in /dev, do not exist:

$ aplay track01.cdda.wav 
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:547: audio open error: No such device


This used to be no problem; I'd simply keep using kernel 2.6.8. Now, however, emerge -uv system wants to install glibc2.4, which fails with:

    fatal: kernel too old

with kernel 2.6.8

Any advice on how to get sound working on this machine gratefully received.
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2006-10-06 16:00:32 UTC
Do you have alsa-utils installed and did /etc/init.d/alsasound start?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-07 01:31:41 UTC
See comment #1. Plus, if you have lines with device_mode" in /etc/modules.d/alsa, remove them.
Comment 3 Roger Hill-Cottingham 2006-10-08 12:31:07 UTC
(In reply to comment #1)
> Do you have alsa-utils installed and did /etc/init.d/alsasound start?
> 

Yes to both. However, although started, the starting process is not successful:

# /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                              [ ok ]
 *   Loading: snd-seq ...                                                 [ ok ]
 * Restoring Mixer Levels ...
/usr/sbin/alsactl: load_state:1250: Cannot find soundcard '0'...
 * Errors while restoring defaults, ignoring                              [ ok ]

Although it cannot find soundcard '0', the modules are loaded:

# lsmod | grep snd
snd_seq                50816  0 
snd_via82xx            24416  0 
snd_ac97_codec        103448  1 snd_via82xx
snd_ac97_bus            2624  1 snd_ac97_codec
snd_pcm                81740  2 snd_via82xx,snd_ac97_codec
snd_timer              20168  2 snd_seq,snd_pcm
snd_page_alloc          8656  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6848  1 snd_via82xx
snd_rawmidi            20288  1 snd_mpu401_uart
snd_seq_device          7760  2 snd_seq,snd_rawmidi
snd                    47024  8 snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device


(In reply to comment #2)
> See comment #1. Plus, if you have lines with device_mode" in
> /etc/modules.d/alsa, remove them.
> 

The only non-commented lines in /etc/modules.d/alsa are these:

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx

(The file was generated by alsaconf)

Comment 4 Roger Hill-Cottingham 2006-10-09 16:03:55 UTC
Excuse me, but why has this been marked RESOLVED, when it is not? At the moment is is impossible for me to fix security issues because portage requires glibc2.4 the building of which fatally dies with kernel 2.6.8; any later kernel than 2.6.8 effectively removes sound from the system.

I might add that when booting from a Gentoo LiveCD (2006.1) I get exactly the same sound failures.
Comment 5 Roger Hill-Cottingham 2006-10-10 01:39:33 UTC
Reopening because the "resolution" did not resolve the problem.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-10-11 17:54:37 UTC
(In reply to comment #0)
> snd: Unknown parameter `device_mode'
> snd_seq_device: Unknown symbol snd_info_register
> snd_seq_device: Unknown symbol snd_info_create_module_entry
> snd_seq_device: Unknown symbol snd_info_free_entry
> snd_seq_device: Unknown symbol snd_seq_root

Please confirm that these messages still appear in your latest tests. Then attach /etc/modules.conf and /etc/modprobe.conf to this bug.
Comment 7 Roger Hill-Cottingham 2006-10-12 15:51:37 UTC
Created attachment 99482 [details]
/etc/modprobe.conf
Comment 8 Roger Hill-Cottingham 2006-10-12 15:52:36 UTC
Created attachment 99483 [details]
/etc/modules.conf
Comment 9 Roger Hill-Cottingham 2006-10-12 15:59:25 UTC
(In reply to comment #6)
> (In reply to comment #0)
> > snd: Unknown parameter `device_mode'
> > snd_seq_device: Unknown symbol snd_info_register
> > snd_seq_device: Unknown symbol snd_info_create_module_entry
> > snd_seq_device: Unknown symbol snd_info_free_entry
> > snd_seq_device: Unknown symbol snd_seq_root
> 
> Please confirm that these messages still appear in your latest tests. Then
> attach /etc/modules.conf and /etc/modprobe.conf to this bug.
> 

The above messages appear only when using the kernel-supplied sound driver modules. With the alsa-driver package supplied modules, they do not appear.

However, with the alsa-devices-suppled sound modules, the modules load, but give these errors to stderr when the sound card is accessed:

$ aplay track01.cdda.wav
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:547: audio open error: No such device


This is the current state of the machine: it seems to be in a more advanced state than when using the kernel-suppled modules (which fail to load at all).

I've attached /etc/modprobe.conf and /etc/modules.conf as requested.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2006-10-12 19:20:11 UTC
Please stop using the portage alsa-drivers package, as in kernel we only support the kernel versions. After unmerging alsa-driver, be sure to completely remove /lib/modules/<kernel version>/alsa-driver to prevent conflicts with the in-kernel stuff.

Then, rebuild the alsa-driver kernel modules, try to load them, they will fail in the way you describe, then attach full dmesg output to this bug.
Comment 11 Roger Hill-Cottingham 2006-10-13 15:55:10 UTC
(In reply to comment #10)
> Please stop using the portage alsa-drivers package, as in kernel we only
> support the kernel versions. After unmerging alsa-driver, be sure to completely
> remove /lib/modules/<kernel version>/alsa-driver to prevent conflicts with the
> in-kernel stuff.

OK.

> Then, rebuild the alsa-driver kernel modules, try to load them, they will fail
> in the way you describe, then attach full dmesg output to this bug.

This is what I have done.

# emerge -C alsa-driver

# rm -rf /lib/modules/2.6.17-gentoo-r8/alsa-driver

# cd /usr/src/linux

(which is a symlink to /usr/src/linux-2.6.17-gentoo-r8)

# make menuconfig

(set sound up to use the kernel drivers -- I can attach the .config if you need it)

# make clean;make;make modules_install
# mount /boot
# cp arch/x86_64/boot/bzImage /boot/bzImage-2.6.17-gentoo-r8

(made sure that grub would access this kernel)

# sync
#/sbin/shutdown -r now

Rebooted into this new kernel, and things are different from that which I initially described. The "unknown symbol" messages no longer appear in dmesg, the modules do load, but I still get the "cannot find card '0'" message whenI try to access the sound card.

$ uname -a
Linux amber.rogerhome.net 2.6.17-gentoo-r8 #5 Fri Oct 13 23:20:47 BST 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux

$ file track01.cdda.wav 
track01.cdda.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

$ aplay track01.cdda.wav
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:547: audio open error: No such device

$ lsmod
Module                  Size  Used by
ide_cd                 38496  0 
cdrom                  36648  1 ide_cd
ohci_hcd               18692  0 
usbhid                 31812  0 
snd_via82xx_modem      12812  0 
i2c_viapro              8792  0 
ehci_hcd               27848  0 
uhci_hcd               21080  0 
ohci1394               29960  0 
ieee1394               90872  1 ohci1394
yenta_socket           24460  0 
rsrc_nonstatic         10880  1 yenta_socket
pcmcia_core            36060  2 yenta_socket,rsrc_nonstatic
prism54                52232  0 
firmware_class          9088  1 prism54
joydev                  9792  0 
snd_pcm_oss            39840  0 
snd_mixer_oss          16064  1 snd_pcm_oss
snd_seq_oss            31296  0 
snd_seq_midi_event      6912  1 snd_seq_oss
snd_seq                50176  4 snd_seq_oss,snd_seq_midi_event
usbcore               121888  5 ohci_hcd,usbhid,ehci_hcd,uhci_hcd
snd_via82xx            24224  0 
snd_ac97_codec        103000  2 snd_via82xx_modem,snd_via82xx
snd_ac97_bus            2624  1 snd_ac97_codec
snd_pcm                81868  4 snd_via82xx_modem,snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              20168  2 snd_seq,snd_pcm
snd_page_alloc          8272  3 snd_via82xx_modem,snd_via82xx,snd_pcm
snd_mpu401_uart         6720  1 snd_via82xx
snd_rawmidi            21856  1 snd_mpu401_uart
snd_seq_device          7504  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    52008  12 snd_via82xx_modem,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
lp                     10952  0 
tg3                    98116  0 

I've attached the dmesg.
Comment 12 Roger Hill-Cottingham 2006-10-13 15:56:43 UTC
Created attachment 99604 [details]
dmesg with kernel-supplied sound drivers
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2006-10-13 16:18:53 UTC
Please post output of:

lspci -n
ls -l "/sys/bus/pci/0000:00:11.5"
cat /proc/asound/cards
cat /proc/interrupts

Please also attach "cat /proc/interrupts" from 2.6.8 as well as dmesg there.
Comment 14 Roger Hill-Cottingham 2006-10-14 16:13:05 UTC
(In reply to comment #13)
> Please post output of:
> 
> lspci -n

00:00.0 0600: 1106:3188 (rev 01)
00:01.0 0604: 1106:b188
00:0a.0 0280: 1260:3890 (rev 01)
00:0b.0 0607: 1180:0476 (rev aa)
00:0b.1 0607: 1180:0476 (rev aa)
00:0b.2 0c00: 1180:0552 (rev 02)
00:0c.0 0200: 14e4:169c (rev 03)
00:10.0 0c03: 1106:3038 (rev 80)
00:10.1 0c03: 1106:3038 (rev 80)
00:10.2 0c03: 1106:3038 (rev 80)
00:10.3 0c03: 1106:3104 (rev 82)
00:11.0 0601: 1106:3177
00:11.1 0101: 1106:0571 (rev 06)
00:11.5 0401: 1106:3059 (rev 50)
00:11.6 0780: 1106:3068 (rev 80)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:00.0 0300: 1002:4e50


> ls -l "/sys/bus/pci/0000:00:11.5"

ls: /sys/bus/pci/0000:00:11.5: No such file or directory

however, this file does exist:
# ls -l "/sys/bus/pci/devices/0000:00:11.5"
lrwxrwxrwx 1 root root 0 Oct 14 23:36 /sys/bus/pci/devices/0000:00:11.5 -> ../../../devices/pci0000:00/0000:00:11.5

and the pointed-to file is:
# ls -l "/sys/devices/pci0000:00/0000:00:11.5"
total 0
drwxr-xr-x 3 root root    0 Oct 14 23:52 0-0:VIA1612A
lrwxrwxrwx 1 root root    0 Oct 14 23:51 bus -> ../../../bus/pci
-r--r--r-- 1 root root 4096 Oct 14 23:36 class
-rw-r--r-- 1 root root  256 Oct 14 23:43 config
-r--r--r-- 1 root root 4096 Oct 14 23:36 device
lrwxrwxrwx 1 root root    0 Oct 14 23:51 driver -> ../../../bus/pci/drivers/VIA 82xx Audio
-r--r--r-- 1 root root 4096 Oct 14 23:43 irq
-r--r--r-- 1 root root 4096 Oct 14 23:51 local_cpus
-r--r--r-- 1 root root 4096 Oct 14 23:51 modalias
drwxr-xr-x 2 root root    0 Oct 14 23:52 power
-r--r--r-- 1 root root 4096 Oct 14 23:43 resource
-rw------- 1 root root  256 Oct 14 23:51 resource0
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:adsp -> ../../../class/sound/adsp
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:audio -> ../../../class/sound/audio
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:controlC0 -> ../../../class/sound/controlC0
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:dsp -> ../../../class/sound/dsp
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:mixer -> ../../../class/sound/mixer
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:pcmC0D0c -> ../../../class/sound/pcmC0D0c
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:pcmC0D0p -> ../../../class/sound/pcmC0D0p
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:pcmC0D1c -> ../../../class/sound/pcmC0D1c
lrwxrwxrwx 1 root root    0 Oct 14 23:51 sound:pcmC0D1p -> ../../../class/sound/pcmC0D1p
-r--r--r-- 1 root root 4096 Oct 14 23:36 subsystem_device
-r--r--r-- 1 root root 4096 Oct 14 23:36 subsystem_vendor
--w------- 1 root root 4096 Oct 14 23:51 uevent
-r--r--r-- 1 root root 4096 Oct 14 23:36 vendor

> cat /proc/asound/cards


 0 [V8235          ]: VIA8233 - VIA 8235
                      VIA 8235 with VIA1612A at 0x1400, irq 19
 1 [modem          ]: VIA82XX-MODEM - VIA 82XX modem
                      VIA 82XX modem at 0x1800, irq 19


> cat /proc/interrupts

           CPU0       
  0:     312718    IO-APIC-edge  timer
  1:       1661    IO-APIC-edge  i8042
  8:          0    IO-APIC-edge  rtc
  9:        125   IO-APIC-level  acpi
 12:       2130    IO-APIC-edge  i8042
 14:      10031    IO-APIC-edge  ide0
 15:         27    IO-APIC-edge  ide1
 16:          0   IO-APIC-level  yenta
 17:          0   IO-APIC-level  yenta
 18:      12840   IO-APIC-level  eth0
 19:          0   IO-APIC-level  VIA8233, VIA82XX-MODEM
 20:      59231   IO-APIC-level  eth1, uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, ehci_hcd:usb4
 21:          2   IO-APIC-level  ohci1394
NMI:        105 
LOC:     312700 
ERR:          0
MIS:          0



> 
> Please also attach "cat /proc/interrupts" from 2.6.8 as well as dmesg there.
> 

OK, I'll do that after a reboot...
Comment 15 Roger Hill-Cottingham 2006-10-14 16:22:25 UTC
Created attachment 99690 [details]
cat /proc/interrupts with 2.6.8 kernel
Comment 16 Roger Hill-Cottingham 2006-10-14 16:23:09 UTC
Created attachment 99691 [details]
dmesg with 2.6.8 kernel
Comment 17 Daniel Drake (RETIRED) gentoo-dev 2006-10-15 13:32:00 UTC
Strange. How about these:

ls -l /dev/snd
ls -l /dev/sound
ls -l /dev/dsp
Comment 18 Roger Hill-Cottingham 2006-10-15 16:23:22 UTC
(In reply to comment #17)
> Strange. How about these:
> 
> ls -l /dev/snd
> ls -l /dev/sound
> ls -l /dev/dsp
> 

With 2.6.17-gentoo-r8 kernel:
$ ls -l /dev/snd
ls: /dev/snd: No such file or directory
$ ls -l /dev/sound
ls: /dev/sound: No such file or directory
$ ls -l /dev/dsp  
crw-rw---- 1 root audio 14, 3 Feb  2  2004 /dev/dsp


With 2.6.8 kernel:
$ ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116,  0 Jan  1  1970 controlC0
crw-rw---- 1 root audio 116, 24 Jan  1  1970 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Jan  1  1970 pcmC0D0p
crw-rw---- 1 root audio 116, 25 Jan  1  1970 pcmC0D1c
crw-rw---- 1 root audio 116, 17 Jan  1  1970 pcmC0D1p
crw-rw---- 1 root audio 116,  1 Jan  1  1970 seq
crw-rw---- 1 root audio 116, 33 Jan  1  1970 timer
roger@amber ~ $ 
$ ls -l /dev/sound
total 0
crw-rw---- 1 root audio 14, 12 Jan  1  1970 adsp
crw-rw---- 1 root audio 14,  4 Jan  1  1970 audio
crw-rw---- 1 root audio 14,  3 Jan  1  1970 dsp
crw-rw---- 1 root audio 14,  0 Jan  1  1970 mixer
crw-rw---- 1 root audio 14,  1 Jan  1  1970 sequencer
crw-rw---- 1 root audio 14,  8 Jan  1  1970 sequencer2
$ ls -l /dev/dsp
lr-xr-xr-x 1 root root 9 Oct 15 22:21 /dev/dsp -> sound/dsp

Comment 19 Roger Hill-Cottingham 2006-10-15 16:33:48 UTC
Ha, I've sorted it. 

Kernel 2.6.8 was using devfs. 2.6.17 has to use udev, but I had not emerged udev.  As a result, only the hard-wired devices in /dev worked. Sound not working was only a symptom of no dynamic devices being created. 

After emerging udev and rebooting, sound now works.

Bug now marked resolved invalid; as it was operator error not a true bug. Sorry to waste your time.