nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   nvaudio.o sometimes load, sometimes doesn't (http://www.nvnews.net/vbulletin/showthread.php?t=28949)

maroon 05-19-04 02:01 PM

nvaudio.o sometimes loads, sometimes doesn't (mandrake 9.2)
 
Downloaded NVIDIA_nforce-1.0-0261.tar.gz and compiled
it for Mandrake 9.2 (kernel 2.4.22)

Motherboard is by MSI (Mega 180 PC).

nvnet driver works great.
nvaudio works great when it loads.

Sometimes nvaudio.o does not load at boot.

I get these error messages in syslog:

kernel: Nvidia + AC97 Audio, version 0.24, 19:49:02 Apr 13 2004
kernel: Nvaudio: in Funcction Nvaudio_init_module
modprobe: /lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o:
moddprobe: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
modprobe: You may find more information in syslog or the output from dmesg
modprobe: init_module: No such device
modprobe: modprobe: insmod /lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o failed
modprobe: modprobe: insmod nvaudio failed

so I do...

[root@myhostname root]# insmod nvaudio
Using /lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol ac97_probe_codec_Redf32a8e
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol unregister_sound_mixer_R7afc9d8a
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol ac97_set_dac_rate_R99dd7def
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol register_sound_dsp_Re73c7876
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol register_sound_mixer_Rd4e85ca1
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol ac97_set_adc_rate_R2f0e0a59
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol unregister_sound_dsp_Rcd083b10

so then I do this to get rid of 3 unresolved symbols...

[root@photoclock root]# insmod ac97_codec
Using /lib/modules/2.4.22-10mdk/kernel/drivers/sound/ac97_codec.o.gz

and now I have 3 less unresolved symbols...

[root@myhostname root]# insmod nvaudio
Using /lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol unregister_sound_mixer_R7afc9d8a
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol register_sound_dsp_Re73c7876
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol register_sound_mixer_Rd4e85ca1
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/nvaudio.o: unresolved symbol unregister_sound_dsp_Rcd083b10

And that's where I get stuck.
How can I satisfy the rest of these unresolved symbols?

I have a pretty simple modules.conf file:

alias ieee1394-controller ohci1394
alias eth1 tulip
#######above snd-intel8x0 snd-pcm-oss
#######above nvaudio snd-pcm-oss
above snd-pcm-oss
alias sound-slot-0 nvaudio
#######options nvaudio spdif_status=0
#######probeall usb-interface usb-ohci
probeall usb-interface usb-ohci ehci-hcd
probeall scsi_hostadapter ide-scsi
#######alias sound-slot-0 snd-intel8x0
#######alias usbserial pl2303 vendor=0x067b product=0x2303
alias eth0 nvnet
#alias usb-interface usb-ohci
alias /dev/nvidia* nvidia

Output from lsmod when nvaudio.o doesn't load at boot:

Module Size Used by Tainted: P
floppy 55932 0 (autoclean)
agpgart 48292 3 (autoclean)
nvidia 2126440 6 (autoclean)
af_packet 14856 0 (autoclean)
tulip 43968 0 (autoclean) (unused)
nvnet 30656 1 (autoclean)
ohci1394 27696 0 (unused)
ieee1394 201284 0 [ohci1394]
supermount 84032 1 (autoclean)
ide-cd 33956 0
sr_mod 19384 2
cdrom 32608 0 [ide-cd sr_mod]
ide-scsi 11376 1
sd_mod 13804 0
scsimon 9312 0 (unused)
usb-storage 91616 0
scsi_mod 106176 5 [sr_mod ide-scsi sd_mod scsimon usb-storage]
pl2303 13336 1
usbserial 21724 0 [pl2303]
ehci-hcd 19212 0 (unused)
usb-ohci 21080 0 (unused)
usbcore 74988 1 [usb-storage pl2303 usbserial ehci-hcd usb-ohci]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]

Output from lsmod when nvaudio.o *does* load at boot:

Module Size Used by Tainted: P
floppy 55932 0 (autoclean)
agpgart 48292 3 (autoclean)
nvidia 2126440 6 (autoclean)
nvaudio 39412 0
ac97_codec 15828 0 [nvaudio]
soundcore 6340 0 [nvaudio]
af_packet 14856 0 (autoclean)
tulip 43968 0 (autoclean) (unused)
nvnet 30656 1 (autoclean)
ohci1394 27696 0 (unused)
ieee1394 201284 0 [ohci1394]
supermount 84032 1 (autoclean)
ide-cd 33956 0
sr_mod 19384 2
cdrom 32608 0 [ide-cd sr_mod]
ide-scsi 11376 1
sd_mod 13804 0
scsimon 9312 0 (unused)
usb-storage 91616 0
scsi_mod 106176 5 [sr_mod ide-scsi sd_mod scsimon usb-storage]
pl2303 13336 1
usbserial 21724 0 [pl2303]
ehci-hcd 19212 0 (unused)
usb-ohci 21080 0 (unused)
usbcore 74988 1 [usb-storage pl2303 usbserial ehci-hcd usb-ohci]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]



Appreciate any help, thanks.
-Eric

maroon 05-22-04 06:52 PM

Re: nvaudio.o sometimes load, sometimes doesn't
 
Problem solved for Mandrake 9.2
Might work for other distributions though.
Don't use nvaudio.o driver.

Use Alsa driver instead.
Loads and works great.

If still no sound, then
at the command line, you may need
to run kmix and/or alsamixer
and make sure to (un)mute the
setting(s) you need, like
master volume, CD, etc...

Details here...
http://www.alsa-project.org/alsa-doc...odule=intel8x0

Now my modules.conf looks like this:

[modules.conf]
alias ieee1394-controller ohci1394
alias eth1 tulip
probeall usb-interface usb-ohci ehci-hcd
probeall scsi_hostadapter ide-scsi
alias eth0 nvnet
alias /dev/nvidia* nvidia
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

and output from lsmod looks like this:

nls_iso8859-1 3484 0 (autoclean)
nls_cp437 5116 0 (autoclean)
vfat 11820 0 (autoclean)
fat 38040 0 (autoclean) [vfat]
scsimon 9312 0 (unused)
usb-storage 91616 0
sd_mod 13804 0 (autoclean)
sr_mod 19384 2 (autoclean)
floppy 55932 0 (autoclean)
agpgart 48292 3 (autoclean)
nvidia 2126440 6 (autoclean)
snd-seq-oss 32000 0 (unused)
snd-seq-midi-event 6080 0 [snd-seq-oss]
snd-seq 42544 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43652 0
snd-mixer-oss 14200 0 [snd-pcm-oss]
snd-intel8x0 22020 0
snd-pcm 79588 0 [snd-pcm-oss snd-intel8x0]
snd-timer 18436 0 [snd-seq snd-pcm]
snd-ac97-codec 45720 0 [snd-intel8x0]
snd-mpu401-uart 4704 0 [snd-intel8x0]
snd-rawmidi 17760 0 [snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi]
snd-page-alloc 9044 0 [snd-intel8x0 snd-pcm]
snd 41380 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6340 0 [snd]
af_packet 14856 0 (autoclean)
tulip 43968 0 (autoclean) (unused)
nvnet 30656 1 (autoclean)
pl2303 13336 1
usbserial 21724 0 [pl2303]
ohci1394 27696 0 (unused)
ieee1394 201284 0 [ohci1394]
supermount 84032 1 (autoclean)
ide-cd 33956 0
cdrom 32608 0 [sr_mod ide-cd]
ide-scsi 11376 1
scsi_mod 106176 5 [scsimon usb-storage sd_mod sr_mod ide-scsi]
ehci-hcd 19212 0 (unused)
usb-ohci 21080 0 (unused)
usbcore 74988 1 [usb-storage pl2303 usbserial ehci-hcd usb-ohci]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]


All times are GMT -5. The time now is 09:09 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.