[mythtv-users] Re: ALSA problems (Jarod's ATrpms guide)
Chad Coulliette, Ph.D.
dr_chad at cox.net
Sun Nov 16 09:42:20 EST 2003
Axel & others,
On Fri, 2003-11-14 at 01:18, Axel Thimm wrote:
> On Fri, Nov 14, 2003 at 01:05:06AM -0700, Chad Coulliette, Ph.D. wrote:
> > I am having problems with step 9 of Jarod's ATrpms guide... after
> > following the steps to download/install alsa with apt-get, edit the
> > modules.conf file, and create the /home/mythtv/.asoundrc file, I tried
> > the aplay test described in the guide. This error occured:
> >
> > aplay: main:503: audio open error: No such device
>
> It looks like the modules have not been loaded. Check
> /var/log/messages to see why. Also check the output of lsmod (look for
> instances of snd and sound substrings).
>
> Best diagnostics can be made by running in single user (boot into
> single user), make sure no snd/sound and related modules are loaded
> and modprobe char-major-116. The errors should be displayed right on
> screen.
>
> Check also the output of
>
> rpm -qa alsa*
> rpm -q kernel
> uname -a
Thanks for your help and others advice on this matter. I ran the
diagnostics you requested. But, I am not sure how to interpret the
results or how to act on those results, so I copy & pasted them below:
# uname -a
Linux localhost.localdomain 2.4.20-20_29.rh9.at #1 Sat Sep 6 23:58:59
EDT 2003 i686 i686 i386 GNU/Linux
# rpm -q kernel
kernel-2.4.20-6
kernel-2.4.20-20.9
kernel-2.4.20-20_29.rh9.at
# rpm -qa alsa*
alsa-utils-0.9.8-1.fr
alsa-driver-0.9.8-13.rh9.at
alsa-lib-0.9.8-3.rh9.at
alsa-kmdl-2.4.20-20_29.rh9.at-0.9.8-13.rh9.at
# /sbin/modprobe char-major-116
[nothing happened, no result, error or otherwise]
# /sbin/lsmod
Module Size Used by Not tainted
snd-vx-lib 31760 0 (unused)
snd-hwdep 7136 0 [snd-vx-lib]
snd-pcm-oss 45060 0 (autoclean) (unused)
snd-pcm 85440 0 (autoclean) [snd-vx-lib snd-pcm-oss]
snd-page-alloc 9844 0 (autoclean) [snd-pcm]
snd-timer 19684 0 (autoclean) [snd-pcm]
snd-mixer-oss 16432 0 (autoclean) [snd-pcm-oss]
snd 46020 0 (autoclean) [snd-vx-lib snd-hwdep
snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore 6436 0 (autoclean) [snd]
parport_pc 19076 1 (autoclean)
lp 9028 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
iptable_filter 2444 0 (autoclean) (unused)
ip_tables 15096 1 [iptable_filter]
autofs4 12180 2 (autoclean)
3c59x 30736 1
sg 36524 0 (autoclean)
sr_mod 18168 0 (autoclean)
serial 55300 0 (autoclean)
microcode 4668 0 (autoclean)
ide-scsi 12208 0
scsi_mod 107576 3 [sg sr_mod ide-scsi]
ide-cd 35712 0
cdrom 33728 0 [sr_mod ide-cd]
ohci1394 20200 0 (unused)
ieee1394 48780 0 [ohci1394]
keybdev 2976 0 (unused)
mousedev 5556 1
hid 22276 0 (unused)
input 5888 0 [keybdev mousedev hid]
usb-uhci 26412 0 (unused)
ehci-hcd 20104 0 (unused)
usb-ohci 21704 0 (unused)
usbcore 79360 1 [hid usb-uhci ehci-hcd usb-ohci]
ext3 70976 2
jbd 51924 2 [ext3]
# more /var/log/messages
[this file is long, so I tailed a portion from the end of the file,
which seemed to include substantial references to the sound problem]
Nov 16 06:49:06 localhost kernel: EMU10K1/Audigy soundcard not found or
device b
usy
Nov 16 06:49:06 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: insmod snd-card-0 failed
Nov 16 06:49:06 localhost kernel: PCI: Found IRQ 5 for device 02:0b.0
Nov 16 06:49:06 localhost kernel: PCI: Sharing IRQ 5 with 01:00.0
Nov 16 06:49:06 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: init_module: No such device
Nov 16 06:49:06 localhost kernel: EMU10K1/Audigy soundcard not found or
device b
usy
Nov 16 06:49:06 localhost insmod: Hint: insmod errors can be caused by
incorrect
module parameters, including invalid IO or IRQ parameters. You
may find m
ore information in syslog or the output from dmesg
Nov 16 06:49:06 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: insmod snd-card-0 failed
Nov 16 06:49:06 localhost kernel: PCI: Found IRQ 5 for device 02:0b.0
Nov 16 06:49:06 localhost kernel: PCI: Sharing IRQ 5 with 01:00.0
Nov 16 06:49:06 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: init_module: No such device
Nov 16 06:49:06 localhost kernel: EMU10K1/Audigy soundcard not found or
device b
usy
Nov 16 06:49:06 localhost insmod: Hint: insmod errors can be caused by
incorrect
module parameters, including invalid IO or IRQ parameters. You
may find m
ore information in syslog or the output from dmesg
Nov 16 06:49:07 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: insmod snd-card-0 failed
Nov 16 06:49:07 localhost kernel: PCI: Found IRQ 5 for device 02:0b.0
Nov 16 06:49:07 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: init_module: No such device
Nov 16 06:49:07 localhost kernel: PCI: Sharing IRQ 5 with 01:00.0
Nov 16 06:49:07 localhost insmod: Hint: insmod errors can be caused by
incorrect
module parameters, including invalid IO or IRQ parameters. You
may find m
ore information in syslog or the output from dmesg
Nov 16 06:49:07 localhost kernel: EMU10K1/Audigy soundcard not found or
device b
usy
Nov 16 06:49:07 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: insmod snd-card-0 failed
Nov 16 06:54:02 localhost kernel: PCI: Found IRQ 5 for device 02:0b.0
Nov 16 06:54:02 localhost kernel: PCI: Sharing IRQ 5 with 01:00.0
Nov 16 06:54:02 localhost kernel: EMU10K1/Audigy soundcard not found or
device b
usy
Nov 16 06:54:02 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: init_module: No such device
Nov 16 06:54:02 localhost insmod: Hint: insmod errors can be caused by
incorrect
module parameters, including invalid IO or IRQ parameters. You
may find m
ore information in syslog or the output from dmesg
Nov 16 06:54:02 localhost insmod:
/lib/modules/2.4.20-20_29.rh9.at/updates/sound
/snd-emu10k1.o: insmod sound-slot-0 failed
Nov 16 07:10:47 localhost kernel: Yamaha DS-XG PCI soundcard not found
or device
busy
Nov 16 07:10:47 localhost kernel: No WaveFront cards found or devices
busy
Nov 16 07:10:47 localhost kernel: Linux Kernel Card Services 3.1.22
Nov 16 07:10:47 localhost kernel: options: [pci] [cardbus] [pm]
Nov 16 07:10:48 localhost kernel: ds: no socket drivers loaded!
Nov 16 07:10:48 localhost kernel: unloading Kernel Card Services
Nov 16 07:10:48 localhost kernel: Linux Kernel Card Services 3.1.22
Nov 16 07:10:48 localhost kernel: options: [pci] [cardbus] [pm]
Nov 16 07:10:48 localhost kernel: ds: no socket drivers loaded!
Nov 16 07:10:48 localhost kernel: unloading Kernel Card Services
Nov 16 07:10:48 localhost kernel: Digigram VX222 soundcard not found or
device b
usy
Let me know if that is enough of /var/log/messages to diagnose the
problem. Just to double check things again, I went back to the
www.alsa.org web page again to verify the modules.conf file and
.asoundrc against those provided on the SB Live! page. They are exactly
correct, expect for the last three lines that Jarod's guide says to add
under the "Save & restore settings":
# Save & restore settings
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
alias char-major-195 nvidia
I could not find any mention or reference to these lines at the ALSA web
page:
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Creative+Labs&card=Soundblaster+Live&chip=EMU10K1&module=emu10k1#expl
Are they necessary for SB Live cards? Could these lines have anything
to do with the current problem?
Do these diagnostics help to figure out why aplay or any of the ALSA
mixers do not work? I would like to understand why ALSA is not working
if you have any insight, or if anyone else can offer any further
advice.
Many Thanks,
Chad
More information about the mythtv-users
mailing list