Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292969 - Kernel 2.6.30 r 8 & udev not creating sound devices.
Summary: Kernel 2.6.30 r 8 & udev not creating sound devices.
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: IA64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 01:05 UTC by Martyn Braithwaite
Modified: 2009-11-13 02:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martyn Braithwaite 2009-11-13 01:05:19 UTC
Using gentoo kernel 2.6.30-r8, i have added the emu10k1 device driver to the kernel, initially i compiled these in but i gave up on this, so i recompiled the kernel again using sound modules. However, my sound devices are missing, alsaconfig seems to acknowledge the card, but alsamixer does not and neither does anything in proc. I have tried running the script snddevices to create the devices manually but for some reason they do not work. I do not have alsa-driver installed and I am not using OSS, although i have included the oss api's as modules in the kernel. I have also run several straces to see what files seem to be missing. There doesn't seem to be anything i can do to force udev to rescan the hardware and add the devices. I have also tried kernel 2.6.31-r5 and this seems to have the same problems. I can't revert to a previous kernel, because this is a clean install, although I know that in previous kernel releases this has worked on this system using the exact same hardware configuration. I have alsa-utils, alsa-headers installed. 


Hades linux # lsmod                  
Module                  Size  Used by
snd_seq               123672  0 
snd_pcm_oss            55968  0 
snd_mixer_oss          33808  1 snd_pcm_oss
usbhid                 91328  0 
snd_emu10k1           290024  0 
snd_rawmidi            49432  1 snd_emu10k1
snd_ac97_codec        197664  1 snd_emu10k1
ac97_bus                2944  1 snd_ac97_codec
snd_pcm               157904  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device         14000  3 snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              49016  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc         17824  2 snd_emu10k1,snd_pcm
snd_util_mem            7336  1 snd_emu10k1
snd_hwdep              17760  1 snd_emu10k1
snd                   121504  10 snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,s
nd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
ehci_hcd               84260  0 
ohci_hcd               59932  0 
usbcore               299616  4 usbhid,ehci_hcd,ohci_hcd
Hades linux # uname -a
Linux Hades 2.6.30-gentoo-r8 #10 SMP Wed Nov 11 20:57:01 Local time zone must be set--see zic ia64 31 GenuineIntel GNU/Linux
Hades linux # cat /proc/asound/cards 
--- no soundcards ---
Hades linux # cat /proc/asound/devices 
  1:        : sequencer
 33:        : timer
Hades linux # ls /dev/d*
/dev/device-mapper  /dev/dvd

/dev/disk:
by-id  by-label  by-path  by-uuid
Hades linux # ls /dev/snd/
seq  timer

Hades linux # cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.20.


Hades linux # lspci
00:01.0 USB Controller: NEC Corporation USB (rev 41)
00:01.1 USB Controller: NEC Corporation USB (rev 41)
00:01.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
00:02.0 IDE interface: Silicon Image, Inc. SiI 0649 Ultra ATA/100 PCI to ATA Host Controller (rev 02)
00:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d)
20:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
20:01.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
20:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
40:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
40:01.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
40:01.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
80:00.0 VGA compatible controller: nVidia Corporation NV28GL [Quadro4 980 XGL] (rev a1)
c0:01.0 SATA controller: Initio Corporation INI-1623 PCI SATA-II Controller (rev 01)
e0:01.0 Communication controller: Hewlett-Packard Company Auxiliary Diva Serial Port (rev 01)
e0:01.1 Serial controller: Hewlett-Packard Company Diva Serial [GSP] Multiport UART (rev 03)
Hades linux # 
Hades ~ # alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory
Hades ~ # strace -eopen alsamixer
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libncurses.so.5", O_RDONLY)  = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/usr/lib/libasound.so.2", O_RDONLY) = 3
open("/lib/libm.so.6.1", O_RDONLY)      = 3
open("/lib/libpthread.so.0", O_RDONLY)  = 3
open("/lib/libc.so.6.1", O_RDONLY)      = 3
open("/lib/librt.so.1", O_RDONLY)       = 3
open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
open("/dev/snd/controlC0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/dev/aloadC0", O_RDONLY)          = -1 ENOENT (No such file or directory)

alsamixer: function snd_ctl_open failed for default: No such file or directory
Hades Lennon - Imagine # /etc/init.d/alsasound stop
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
alsactl: save_state:1502: No soundcards found...
 * Error saving levels.                                                   [ !! ]
Hades Lennon - Imagine # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                              [ ok ]
 *   Loading: snd-card-0 ...                                              [ ok ]
 *   ERROR: Failed to load necessary drivers                              [ ok ]
 * Restoring Mixer Levels ...
 * No mixer config in /var/lib/alsa/asound.state, you have to unmute you  [ ok ]
Hades Lennon - Imagine # 


Please let me know what other information is needed.


Reproducible: Always

Steps to Reproduce:
1.On an ia64, emerge kernel-sources 2.6.30 r5
2.compile alsa into the kernel or leave as modules
3.

Actual Results:  
udev (v141) is not creating the sound devices, alsa and proc are not detecting the sound card.

Expected Results:  
the kernel needs to successfully update udev with the soundcard information so udev can create the devices so that i can play sound.
Comment 1 Martyn Braithwaite 2009-11-13 02:25:09 UTC
Recompiled this kernel with alsa modules compiled in and it just worked straight off. Not sure what I missed the first time, but it was definitely a problem with the kernel configuration. 
Comment 2 Martyn Braithwaite 2009-11-13 02:29:50 UTC
I also changed the system from 

HP-zx1/sx1000 with software I/O TLB  

to:

DIG-compliant

Which reminded me that I had this problem before with the system type affecting sound. I will play about with it some more tomorrow.