LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-22-2004, 12:48 PM   #1
xtknight
LQ Newbie
 
Registered: Jun 2004
Location: Michigan, United States
Distribution: Ubuntu 6.10
Posts: 24

Rep: Reputation: 15
Unhappy snd-intel8x0 failing to load on Fedora 1


I have an ASUS P4P800 Deluxe/Intel P4/865PE Chipset and an AD1985 Analog Devices sound chip. It uses the AC97 codec. I have tried ALSA and their guide for the AD1985, but it seems to fail on Fedora Core 1. (kernel 2.4.22-1.2115.nptl) It has worked for me before on Mandrake Linux 9 and 10..
I have tried three versions of ALSA( 0.94, 1.03, 1.05 ), all miserably failing with the same messages. This is configured without the alsa OSS and sequencer. If I ./configure with the sequencer, i get errors about the sequencer..so I thought turning it off in configure might help, but apparently not. Both turned off I still get these error messages:

[root@localhost alsa-driver-1.0.3]# modprobe snd-intel8x0
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_ctl_unregister_ioctl_Rbe83da37
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_device_new_R747d564a
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_card_file_remove_R7426ab6c
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_ctl_register_ioctl_Rdbac0140
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_info_create_card_entry_Rf58c8215
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_info_register_R29855d36
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_register_device_R901fc6fc
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_info_unregister_Ra91b9d3d
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_unregister_device_Rcc93fee2
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_info_free_entry_R6df399a4
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: unresolved symbol snd_card_file_add_R20838245
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/sound/acore/snd-rawmidi.o: insmod snd-intel8x0 failed
[root@localhost alsa-driver-1.0.3]#

My dmesg has nothing relevant to the intel8x0 in it..

lspci:

[root@localhost alsa-lib-1.0.3]# lspci | grep audio
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 02)
[root@localhost alsa-lib-1.0.3]#

lsmod:

[root@localhost alsa-lib-1.0.3]# lsmod
Module Size Used by Tainted: P
nls_iso8859-1 3516 1 (autoclean)
viamraid 98080 1
sd_mod 13772 2 (autoclean)
ntfs 59232 1 (autoclean)
snd 47620 0
soundcore 6468 0 (autoclean) [snd]
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13364 0 (autoclean) (unused)
sk98lin 163136 1
floppy 58012 0 (autoclean)
sg 36492 0 (autoclean)
sr_mod 18168 0 (autoclean)
microcode 4700 0 (autoclean)
ide-scsi 12208 0
scsi_mod 108168 5 [viamraid sd_mod sg sr_mod ide-scsi]
ide-cd 35776 0
cdrom 33728 0 [sr_mod ide-cd]
ohci1394 29160 0 (unused)
ieee1394 204676 0 [ohci1394]
keybdev 2976 0 (unused)
hid 24708 0 (unused)
ehci-hcd 20264 0 (unused)
usb-uhci 26380 0 (unused)
usbcore 79168 1 [hid ehci-hcd usb-uhci]
mousedev 5556 1 (autoclean)
input 5888 0 (autoclean) [keybdev hid mousedev]
fglrx 194408 118
agpgart 54820 0 (unused)
ext3 71300 1
jbd 52084 1 [ext3]

Any help would be greatly appreciated. Thanks in advance.
 
Old 06-22-2004, 02:27 PM   #2
CountZero16
LQ Newbie
 
Registered: Jun 2004
Location: Liberty, Missouri
Distribution: Mandrake 10.0
Posts: 12

Rep: Reputation: 0
i have a different soundcard, SiS 7012, but same sort of problem, it refuses to load the modules =/
 
Old 06-22-2004, 08:04 PM   #3
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
Well, unresolved symbols means the file is accessing external symbols but can't find them. You can try doing a

depmod -a

then modprobe it again, or as I do it myself, the manual way:

cd /lib/modules/[kernel-version]/kernel/sound
for i in `find . -type f`; do grep -l $symbol $i; done

Replace $symbol for the unresolved symbols, lika for example snd_device_new_R747d564a. It looks like you don't have the soundcore module loaded, though, but I'm not sure.

Oh, and if you find the symbols in a module called, say, modulexx.o, but upon

insmod modulexx

you get

/lib/modules/[kernel-version]/kernel/sound/modulexx.o: unresolved symbol snd_some_symbol_here_1234567

Then repeat the search with the symbol snd_some_symbol_here_1234567, and so on until you have loaded all the modules. Just like recursing

And keep your progress, preferably on a notebook, so that when you have succesfully loaded all the modules, you can insert the dependency into /etc/modules.conf (read the man page)

 
Old 06-22-2004, 08:34 PM   #4
xtknight
LQ Newbie
 
Registered: Jun 2004
Location: Michigan, United States
Distribution: Ubuntu 6.10
Posts: 24

Original Poster
Rep: Reputation: 15
wpyh, thanks a lot!

I now have my snd-intel8x0 driver loaded.

[root@localhost root]# cd /lib/modules/`uname -r`/kernel/sound
[root@localhost sound]# rmmod snd
[root@localhost sound]# rmmod soundcore
[root@localhost sound]# for i in `find . -type f`; do grep -l snd_ctl_unregister_ioctl_Rbe83da37 $i; done
./acore/snd-pcm.o
./acore/snd-rawmidi.o
./acore/snd.o
[root@localhost sound]# insmod ./acore/snd.o
[root@localhost sound]# insmod ./acore/snd-pcm.o
./acore/snd-pcm.o: unresolved symbol snd_dma_free_pages_Rb8f535b9
./acore/snd-pcm.o: unresolved symbol snd_malloc_pages_Rd2c7e32e
./acore/snd-pcm.o: unresolved symbol snd_dma_free_reserved_R7850d92d
./acore/snd-pcm.o: unresolved symbol snd_dma_set_reserved_Rf7f1ac41
./acore/snd-pcm.o: unresolved symbol snd_timer_interrupt_R6abc3bfc
./acore/snd-pcm.o: unresolved symbol snd_free_pages_R3b91f3af
./acore/snd-pcm.o: unresolved symbol snd_dma_get_reserved_Rd244b0d5
./acore/snd-pcm.o: unresolved symbol snd_timer_notify_R7ffd7fd9
./acore/snd-pcm.o: unresolved symbol snd_dma_alloc_pages_R8041f620
./acore/snd-pcm.o: unresolved symbol snd_timer_new_Rb72f2efd
[root@localhost sound]# for i in `find . -type f`; do grep -l snd_dma_free_pages_Rb8f535b9 $i; done
./acore/snd-page-alloc.o
./acore/snd-pcm.o
[root@localhost sound]# insmod ./acore/snd-page-alloc.o
[root@localhost sound]# insmod ./acore/snd-pcm.o
./acore/snd-pcm.o: unresolved symbol snd_timer_interrupt_R6abc3bfc
./acore/snd-pcm.o: unresolved symbol snd_timer_notify_R7ffd7fd9
./acore/snd-pcm.o: unresolved symbol snd_timer_new_Rb72f2efd
[root@localhost sound]# for i in `find . -type f`; do grep -l snd_timer_new_Rb72f2efd $i; done
./acore/snd-pcm.o
./acore/snd-timer.o
[root@localhost sound]# insmod ./acore/snd-timer.o
[root@localhost sound]# insmod ./acore/snd-pcm.o
[root@localhost sound]# insmod ./acore/snd-rawmidi.o
[root@localhost sound]# modprobe snd-intel8x0
[root@localhost sound]#



[root@localhost sound]# dmesg | grep intel8x0
intel8x0_measure_ac97_clock: measured 49925 usecs
intel8x0: clocking to 48000

Excellent, excellent!

Thank you so much. Hopefully I can use this for other 'unresolved symbols' as well.
One question: Do I have to insert these commands in /lib/modules.conf?

Current /lib/modules.conf:
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd
alias ieee1394-controller ohci1394
alias eth0 sk98lin
alias sound-slot-0 snd-intel8x0
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

# and would I insert ALL of those insmod commands right here? or just modprobe snd-intel8x0?

I will also test the audio to make sure it works, if it doesnt, I'm probably doing something wrong. I'll report my findings here.

Oh.. and one more thing yet: do you know any easy way to restart ALSA (or to avoid those "/dev/dsp device in use" messages when an audio application crashes)?

Thanks again.

Last edited by xtknight; 06-22-2004 at 08:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
alsaconf fails to load driver for snd-intel8x0 jojotx0 Linux - Software 5 08-01-2007 04:47 PM
no sound with snd-intel8x0 rgogada Slackware 23 07-03-2005 10:00 AM
snd-intel8x0, alsamixer and more jasone Slackware 7 04-09-2005 04:33 AM
snd-intel8x0 and Fedora C3 tinny noise madj42 Linux - Laptop and Netbook 2 02-27-2005 05:29 PM
missing snd-intel8x0 Vencalator Linux - Newbie 3 09-21-2003 02:21 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration