if you have snd-pcm-oss modules in autoload or if you load it with modprobe, the /dev/dsp device not appears. if you execute /etc/init.d/alsasound restart then the device appear, but then sound works no more. I have 2.6.10-gentoo-r5 with following modules loaded snd_intel8x0m 19012 2 snd_ac97_codec 77408 1 snd_intel8x0m snd_seq_oss 35712 0 snd_seq_midi_event 7808 1 snd_seq_oss snd_seq 54672 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 8844 2 snd_seq_oss,snd_seq snd_pcm_oss 54436 0 snd_pcm 98824 3 snd_intel8x0m,snd_ac97_codec,snd_pcm_oss snd_timer 26116 2 snd_seq,snd_pcm snd_page_alloc 10244 2 snd_intel8x0m,snd_pcm snd_mixer_oss 20608 2 snd_pcm_oss snd 56676 11 snd_intel8x0m,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 10080 2 snd fglrx 241344 7 joydev 9920 0 evdev 9600 0 uhci_hcd 34192 0 thermal 13448 0 processor 19756 1 thermal fan 4612 0 intel_agp 22812 1 agpgart 34856 2 intel_agp with kernel 2.6.9 all worked fine Reproducible: Always Steps to Reproduce: 1. modprobe snd-pcm-oss 2. 3. Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686) ================================================================= System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 aalib acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bluetooth bootsplash cdparanoia cdr cdw cjk crypt cups dga directfb divx4linux doc dvd dvdr encode esd f77 fam fbcon fbdev flac flash font-server foomaticdb fortran fpx freetds ftp gcj gdbm gif gimp ginac gmp gnome gnutls gphoto2 gpm gps graphviz gstreamer gtk gtk2 guile hal hdf5 howl imagemagick imap imlib ipv6 irda java javascript jbig jce joystick jpeg junit kde kerberos lcms ldap libcaca libg++ libwww lirc live lzo lzw-tiff mad mcal mikmod mmx motif mozilla mpeg mpi mssql multitarget mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses net network nls nptl oggvorbis opengl pam pcmcia pdflib perl png pnp postgres pthreads python qhull qt quicktime readline real rtc samba scanner sdl slang slp snmp spell sse ssl svg svga tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 wifi winbind wmf wxwindows xanim xine xml xml2 xmms xpm xprint xv xvid xvmc yaz zlib video_cards_radeon"
Jedi: Please use New -> Gentoo Linux -> Component: Ebuilds. Infrastructure is not the correct addressee.
Using alsasound is the correct way to do it, you shouldn't autoload another way unless you know what you are doing. Please define what you mean by "sound works no more"
alsasound is started at boot with module snd_intel8x0. when I need to play with et normally I load with modprobe snd-pcm-oss that created the necessary /dev/dsp device. starting from kernel 2.6.10 that device will not be created loading the module, but only restarting alsasound. restarting alsasound /dev/dsp is created (and seems to work) but all my gnome sound effects disappears (master and pcm volume are ok, no mute). another question is why manually restarting alsasound it loads all sound modules and by boot not. I don't need normally sequencer and oss stuffs but only when I need they I load manually and up to 2.6.9 has worked well.
I should correct me: restarting alsasound /dev/dsp is created (and seems to work) but all my gnome sound effects disappears (master and pcm volume are ok, no mute) it is not true: only the gnome shortcuts for volume adjusting works no more still remains the problem that using modprobe snd-pcm-oss, /dev/dsp not appears
I'm getting this bug as well. The OSS devices aren't created unless /etc/init.d/alsasound is restarted by hand.
Jedi, I've found that I had my sound card driver listed in /etc/modules.autoload.d/kernel-2.6 (snd-cmipci), and removing it from that file seemed to solve the OSS device problem, that I do not need to rerun alsasound to have the OSS compatibility layer generated by alsasound.
if I remove module from autoload, then the alsa init script loads all sound modules. I with older kernel, you can load oss modules after the boot (at the time you need it) and the dsp device appears without problems. with 2.6.10 not.
I think this might be relating to udev actually. can you please paste the output of ls -l /etc/udev/ if you see a permissions.d, please delete this directly completely (or move it out the way for safe keeping for now!) and then try again. Please let me know how you get on.
Ok, could everyone still experiencing this problem please try 2.6.11 and also post here which udev version is in use.
If someone can test on the latest kernels and provide with more info then please reopen.
ok, I tried with 2.6.15 and latest alsasound script, now seems to work correctly.