Existence of /etc/modprobe.conf

Bug #8751 reported by Eric Deleforterie
4
Affects Status Importance Assigned to Milestone
ubuntu-sounds (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hi

I have installed Ubuntu and do an upgrade after the first install.
Then it seems i have the 1943 Bug, so i do the "gconftool-2 -s -t bool
/schemas/desktop/gnome/sound/event_sounds false" command.
After i could open a session, but i haven't a /dev/dsp device.
I have 2 sound cards a c-Media on borad and a Sb on a pci slot :

rico@dele ~ $ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
===> 0000:00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738
(rev 10)
0000:00:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 50)
0000:00:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 50)
0000:00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:0d.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
0000:00:0f.0 Ethernet controller: National Semiconductor Corporation DP83815
(MacPhyter) Ethernet Controller
===> 0000:00:10.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
(rev 08)
0000:00:10.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 23)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 23)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti
4400] (rev a2)

When i launch XMMS it works fine, i have the music, but with Rhythmbox i have
nothing !!!
XMMS use this out-plugin : ALSA 1.2.10
So i launch gstreamer-properties for configuring Alsa ( someone tail me that
Rhythmbox use gstreamer ) but sometimes i have an error when testing and
sometimes not
For me the is a very big problem, Xmms said Alsa, but gstreamer seems to can't
working with !!!!!

Then i launch :
dele:/usr/share/alsa-base# ./snddevices
Creating /dev/mixer?... done
Creating /dev/sequencer... done
Creating /dev/midi0?... done
Creating /dev/dsp?... done
Creating /dev/audio?... done
Creating /dev/sndstat... done
Creating /dev/music... done
Creating /dev/dmmidi?... done
Creating /dev/dmfm?... done
Creating /dev/amixer?... done
Creating /dev/adsp?... done
Creating /dev/amidi?... done
Creating /dev/admmidi?... done
create symbolic link `/dev/mixer' to `/dev/mixer0'
create symbolic link `/dev/midi' to `/dev/midi00'
create symbolic link `/dev/dsp' to `/dev/dsp0'
create symbolic link `/dev/audio' to `/dev/audio0'
create symbolic link `/dev/sequencer2' to `/dev/music'
create symbolic link `/dev/adsp' to `/dev/adsp0'
create symbolic link `/dev/amidi' to `/dev/amidi0'
rm: cannot remove `/dev/snd': Is a directory
Creating /dev/snd/control?... done
Creating /dev/snd/seq... done
Creating /dev/snd/timer... done
Creating /dev/snd/hw??... done
Creating /dev/snd/midi??... done
Creating /dev/snd/pcm??p... done
Creating /dev/snd/pcm??c... done
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done

I have after that :
dele:/usr/share/alsa-base# ll /dev/dsp*
lrwxrwxrwx 1 root root 9 Oct 3 14:37 /dev/dsp -> /dev/dsp0
crw-rw---- 1 root audio 14, 3 Oct 3 14:37 /dev/dsp0
crw-rw---- 1 root audio 14, 19 Oct 3 14:37 /dev/dsp1
crw-rw---- 1 root audio 14, 35 Oct 3 14:37 /dev/dsp2
crw-rw---- 1 root audio 14, 51 Oct 3 14:37 /dev/dsp3

But no changes after that :'(

My lsmod out:
rico@dele ~ $ lsmod
Module Size Used by
snd_pcm_oss 48168 0
snd_mixer_oss 16640 1 snd_pcm_oss
proc_intf 3968 0
freq_table 4356 0
cpufreq_userspace 5336 0
cpufreq_powersave 2048 0
ds 17796 0
yenta_socket 19328 0
pcmcia_core 63156 2 ds,yenta_socket
button 6680 0
battery 9740 0
ac 5132 0
asus_acpi 11544 0
ipv6 230020 8
af_packet 20872 2
via_ircc 20368 0
irda 167360 1 via_ircc
crc_ccitt 2432 1 irda
emu10k1_gp 3840 0
snd_emu10k1 80776 2
snd_ac97_codec 59268 1 snd_emu10k1
snd_util_mem 4608 1 snd_emu10k1
natsemi 25824 0
crc32 4608 1 natsemi
aic7xxx 177128 0
ehci_hcd 27780 0
uhci_hcd 29328 0
usbcore 104292 4 ehci_hcd,uhci_hcd
snd_cmipci 30372 4
snd_pcm 85540 4 snd_pcm_oss,snd_emu10k1,snd_cmipci
snd_page_alloc 11144 2 snd_emu10k1,snd_pcm
snd_opl3_lib 9728 1 snd_cmipci
snd_timer 23172 2 snd_pcm,snd_opl3_lib
snd_hwdep 9120 2 snd_emu10k1,snd_opl3_lib
gameport 4736 2 emu10k1_gp,snd_cmipci
snd_mpu401_uart 7296 1 snd_cmipci
snd_rawmidi 23232 2 snd_emu10k1,snd_mpu401_uart
snd_seq_device 7944 3 snd_emu10k1,snd_opl3_lib,snd_rawmidi
snd 50660 24
snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_ac97_codec,snd_util_mem,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9824 1 snd
pci_hotplug 30640 0
via_agp 8832 1
agpgart 31784 1 via_agp
parport_pc 32064 1
nls_iso8859_1 4352 1
nls_cp437 6016 1
md 44744 0
dm_mod 51068 1
capability 4872 0
commoncap 7168 1 capability
lp 10436 0
parport 37320 2 parport_pc,lp
ide_cd 38276 0
tsdev 7168 0
evdev 9088 0
mousedev 10124 1
psmouse 17800 0
sr_mod 15780 0
scsi_mod 115148 2 aic7xxx,sr_mod
cdrom 35872 2 ide_cd,sr_mod
xfs 500184 0
reiserfs 207600 0
jfs 157632 0
vfat 13312 1
fat 41792 1 vfat
isofs 33976 0
ext3 109544 5
jbd 54552 1 ext3
ide_generic 1664 0
via82cxxx 13084 1
ide_disk 16768 10
ide_core 125272 4 ide_cd,ide_generic,via82cxxx,ide_disk
unix 25904 794
fan 4236 0
thermal 12944 0
processor 17584 1 thermal
font 8576 0
vesafb 6688 0
cfbcopyarea 3968 1 vesafb
cfbimgblt 3200 1 vesafb
cfbfillrect 3712 1 vesafb

Why Xmms work and not Events and Rhythmbox ? Is it possible to configure Events
and Rhythmbox for using the same driver than Xmms ?

Revision history for this message
Matt Zimmerman (mdz) wrote :

/dev/dsp is created automatically by the snd-pcm-oss module via udev. Please
send the output of the following, immediately after a reboot:

ls -l /dev/dsp
ls -l /dev/snd
dpkg -l udev
ps aux | grep udev
grep udev /var/log/syslog

Have you made any changes to the module loading configuration, or anything else
which may be preventing it from working correctly?

Revision history for this message
Eric Deleforterie (eric-deleforterie) wrote :
Download full text (32.6 KiB)

Here the commands :

dele:/home/rico# ls -l /dev/dsp*
ls: /dev/dsp*: Aucun fichier ou répertoire de ce type
dele:/home/rico# ls -l /dev/snd*
lrwxrwxrwx 1 root root 24 2004-10-04 18:36 /dev/sndstat -> /pro
c/asound/oss/sndstat

/dev/snd:
total 0
crw-rw---- 1 root audio 116, 0 2004-10-04 18:36 controlC0
crw-rw---- 1 root audio 116, 32 2004-10-04 18:36 controlC1
crw-rw---- 1 root audio 116, 36 2004-10-04 18:36 hwC1D0
crw-rw---- 1 root audio 14, 18 2004-10-04 18:36 midi1
crw-rw---- 1 root audio 116, 40 2004-10-04 18:36 midiC1D0
crw-rw---- 1 root audio 116, 24 2004-10-04 18:36 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2004-10-04 18:36 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2004-10-04 18:36 pcmC0D1p
crw-rw---- 1 root audio 116, 26 2004-10-04 18:36 pcmC0D2c
crw-rw---- 1 root audio 116, 18 2004-10-04 18:36 pcmC0D2p
crw-rw---- 1 root audio 116, 56 2004-10-04 18:36 pcmC1D0c
crw-rw---- 1 root audio 116, 48 2004-10-04 18:36 pcmC1D0p
crw-rw---- 1 root audio 116, 57 2004-10-04 18:36 pcmC1D1c
crw-rw---- 1 root audio 116, 58 2004-10-04 18:36 pcmC1D2c
crw-rw---- 1 root audio 116, 51 2004-10-04 18:36 pcmC1D3p
crw-rw---- 1 root audio 116, 33 2004-10-04 18:36
timerdele:/home/rico# dpkg -l udev
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé
|/ Err?=(aucune)/H=à garder/besoin Réinstallation/X=les deux (État,Err:
majuscule=mauvais)
||/ Nom Version Description
+++-=================-=================-==================================================
ii udev 0.026-1ubuntu5 /dev/ management daemon
dele:/home/rico# ps aux|grep udev
root 410 0.0 0.0 1472 372 ? S<s 18:36 0:00 udevd
root 7057 0.0 0.1 1872 696 pts/0 S+ 18:47 0:00 grep udev
dele:/home/rico# grep udev /var/log/syslog
Oct 2 17:34:38 localhost udev[3124]: creating device node '/dev/vcs1'
Oct 2 17:34:38 localhost udev[3160]: removing device node '/dev/vcs1'
Oct 2 17:34:38 localhost udev[3125]: creating device node '/dev/vcsa1'
Oct 2 17:34:38 localhost udev[3164]: removing device node '/dev/vcsa1'
Oct 2 17:34:38 localhost udev[3162]: creating device node '/dev/vcs1'
Oct 2 17:34:38 localhost udev[3182]: removing device node '/dev/vcs1'
Oct 2 17:34:38 localhost udev[3166]: creating device node '/dev/vcsa1'
Oct 2 17:34:38 localhost udev[3186]: removing device node '/dev/vcsa1'
Oct 2 17:34:38 localhost udev[3184]: creating device node '/dev/vcs1'
Oct 2 17:34:38 localhost udev[3194]: removing device node '/dev/vcs1'
Oct 2 17:34:38 localhost udev[3188]: creating device node '/dev/vcsa1'
Oct 2 17:34:38 localhost udev[3198]: removing device node '/dev/vcsa1'
Oct 2 17:34:38 localhost udev[3196]: creating device node '/dev/vcs1'
Oct 2 17:34:38 localhost udev[3200]: creating device node '/dev/vcsa1'
Oct 2 17:34:39 localhost udev[3451]: removing device node '/dev/vcs1'
Oct 2 17:34:39 localhost udev[3458]: removing device node '/dev/vcsa1'
Oct 2 17:34:40 localhost...

Revision history for this message
Eric Deleforterie (eric-deleforterie) wrote :

sorry forget a word on the devices list ls -l /dev/snd*:

crw-rw---- 1 root audio 116, 33 2004-10-04 18:36 timer

Revision history for this message
Matt Zimmerman (mdz) wrote :

OK, so the log shows that /dev/dsp is being created exactly as it should be.
Perhaps something is removing it? What changes have you made to the system
which could be having an effect? This works perfectly in every Ubuntu
installation I have tried.

Revision history for this message
Eric Deleforterie (eric-deleforterie) wrote :
Download full text (3.2 KiB)

Sorry, but this evening when i boot i had this :

Oct 4 18:36:51 localhost udev[3298]: creating device node '/dev/vcs1'
Oct 4 18:36:51 localhost udev[3299]: creating device node '/dev/vcsa1'
Oct 4 18:36:51 localhost udev[3325]: removing device node '/dev/vcs1'
Oct 4 18:36:51 localhost udev[3329]: removing device node '/dev/vcsa1'
Oct 4 18:36:51 localhost udev[3332]: creating device node '/dev/vcs1'
Oct 4 18:36:51 localhost udev[3357]: removing device node '/dev/vcs1'
Oct 4 18:36:51 localhost udev[3333]: creating device node '/dev/vcsa1'
Oct 4 18:36:51 localhost udev[3363]: removing device node '/dev/vcsa1'
Oct 4 18:36:51 localhost udev[3360]: creating device node '/dev/vcs1'
Oct 4 18:36:51 localhost udev[3406]: removing device node '/dev/vcs1'
Oct 4 18:36:51 localhost udev[3366]: creating device node '/dev/vcsa1'
Oct 4 18:36:51 localhost udev[3412]: removing device node '/dev/vcsa1'
Oct 4 18:36:51 localhost udev[3409]: creating device node '/dev/vcs1'
Oct 4 18:36:51 localhost udev[3415]: creating device node '/dev/vcsa1'
Oct 4 18:36:55 localhost udev[3900]: removing device node '/dev/vcs1'
Oct 4 18:36:55 localhost udev[3903]: removing device node '/dev/vcsa1'
Oct 4 18:36:55 localhost udev[3906]: creating device node '/dev/vcs1'
Oct 4 18:36:55 localhost udev[3907]: creating device node '/dev/vcsa1'
Oct 4 18:36:55 localhost udev[3992]: creating device node '/dev/vcsa5'
Oct 4 18:36:55 localhost udev[3993]: creating device node '/dev/vcs6'
Oct 4 18:36:55 localhost udev[3994]: creating device node '/dev/vcsa6'
Oct 4 18:36:55 localhost udev[4001]: creating device node '/dev/vcs7'
Oct 4 18:36:55 localhost udev[4008]: creating device node '/dev/vcsa7'
Oct 4 18:36:55 localhost udev[4033]: removing device node '/dev/vcs7'
Oct 4 18:36:55 localhost udev[4036]: removing device node '/dev/vcsa7'
Oct 4 18:36:56 localhost udev[4054]: creating device node '/dev/vcsa7'
Oct 4 18:36:56 localhost udev[4053]: creating device node '/dev/vcs7'
Oct 4 18:36:56 localhost udev[3915]: creating device node '/dev/vcs2'
Oct 4 18:36:56 localhost udev[3923]: creating device node '/dev/vcs3'
Oct 4 18:36:56 localhost udev[3931]: creating device node '/dev/vcsa2'
Oct 4 18:36:56 localhost udev[3939]: creating device node '/dev/vcs4'
Oct 4 18:36:56 localhost udev[3947]: creating device node '/dev/vcsa3'
Oct 4 18:36:56 localhost udev[3955]: creating device node '/dev/vcs5'
Oct 4 18:36:56 localhost udev[3963]: creating device node '/dev/vcsa4'
Oct 4 18:38:46 localhost udev[5268]: removing device node '/dev/vcs7'
Oct 4 18:38:46 localhost udev[5278]: removing device node '/dev/vcsa7'
Oct 4 18:38:48 localhost udev[5289]: creating device node '/dev/vcs7'
Oct 4 18:38:48 localhost udev[5330]: removing device node '/dev/vcs7'
Oct 4 18:38:48 localhost udev[5297]: creating device node '/dev/vcsa7'
Oct 4 18:38:48 localhost udev[5336]: removing device node '/dev/vcsa7'
Oct 4 18:38:48 localhost udev[5333]: creating device node '/dev/vcs7'
Oct 4 18:38:48 localhost udev[5339]: creating device node '/dev/vcsa7'

there is no sound device fon me which are created, the log from the other days
is because i launch manually the snddevices from /usr/share/alas-ba...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

OK, as I asked before, please send the output of all of those commands
_immediately after a reboot_.

Also check:

ls -l /etc/modprobe.conf (should not exist)

Revision history for this message
Eric Deleforterie (eric-deleforterie) wrote :

The output i send you are just after the power on boot, isn't it similar to a
reboot ?
I'll send you the modprobe.conf if exists this evening ( french time )

Revision history for this message
Eric Deleforterie (eric-deleforterie) wrote :

dele:/home/rico# ls -l /etc/modprobe.conf
-rw-r--r-- 1 root root 0 2004-10-02 22:35 /etc/modprobe.conf

Revision history for this message
Eric Deleforterie (eric-deleforterie) wrote :

Ok i think i found where is the problem.

There is 2 cards on the PC : the first cmipci (card 0) on the motherboard the
second SB!Live (card 1) on a pci slot
XMMS use a direct address for playing ( hw:1,0 )
Rhythmbox don't use something like this and it play on the card 0 which is not use

Even if t's strange for me, it seems that there is no need of a /dev/dsp for
playing on the card, but the question is how could i do for that Rhythmbox play
on the card 1 ?

Revision history for this message
Matt Zimmerman (mdz) wrote :

The output that you sent included messages from (In reply to comment #8)
> dele:/home/rico# ls -l /etc/modprobe.conf
> -rw-r--r-- 1 root root 0 2004-10-02 22:35 /etc/modprobe.conf

Bingo; this is the problem. Perhaps you ran alsaconf at some point?

This bug has been marked as a duplicate of bug 8717.

Revision history for this message
Matt Zimmerman (mdz) wrote :

By the way, you should be able to fix the issue with: rm -f /etc/modprobe.conf

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.