LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2003, 01:49 PM   #1
DJSpaceMouse
LQ Newbie
 
Registered: May 2003
Location: /usa/pa/ambridge/home/upstairs
Distribution: Red Hat Linux 9
Posts: 24

Rep: Reputation: 15
modprobe unresolved symbol


I think this is an easy one but please bear with me here...

I'm trying to install the ALSA sound drivers. Everything seemed to install correctly after the configure/make/make install, but when I try to modprobe the module for my sound device, I see the following:

/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol __pollwait_R39189358
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol remove_proc_entry_Rbdb9859c
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol register_sound_special_Rcb712755
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol add_wait_queue_R6a3b22a4
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol proc_symlink_R585ba7c1
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol fasync_helper_R12772f3c
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol register_chrdev_R3ed6ffcc
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol proc_root_R50946273
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol remove_wait_queue_R4b8f71ce
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol kill_fasync_R43f1e6f2
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: unresolved symbol create_proc_entry_R2a959760
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-19.9/kernel/sound/acore/snd.o: insmod snd failed

The audio device is an on-board CM8738. Here's the output from lspci:

00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev
04)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1)
02:05.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link)
02:07.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller
(rev 03)
02:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

If there's anything else that's needed, please let me know...
 
Old 08-08-2003, 02:38 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Did anything in the installing instructions mention that you need kernel-sources installed and that you need a symbolic link for /usr/src/linux?

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
Old 08-08-2003, 03:52 PM   #3
DJSpaceMouse
LQ Newbie
 
Registered: May 2003
Location: /usa/pa/ambridge/home/upstairs
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
Though none of your suggestions directly helped me, I solved the problem.

I did indeed have the kernel-source-2.4.20-19.9 rpm package installed, something was apparently awry with it. I rpm -e'd it and reinstalled it. Then I reinstalled the ALSA drivers, this time with no errors when it does a depmod during the make install. Don't know what the problem was but it's fixed.

So far, everything seems to be working correctly, with one small problem: GNOME user interface events don't seem to be playing. Maybe a reboot will fix this.

Thanks!
 
Old 08-08-2003, 03:55 PM   #4
DJSpaceMouse
LQ Newbie
 
Registered: May 2003
Location: /usa/pa/ambridge/home/upstairs
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
Yup, a reboot fixed that, too!
 
  


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
unresolved symbol htons mintong Linux - Software 4 08-03-2005 10:53 PM
unresolved symbol haddon Linux - Hardware 3 03-11-2005 03:24 PM
Unresolved symbol? Elonch Programming 2 03-02-2005 12:48 AM
unresolved symbol gameport_register_port amea Linux - Newbie 1 04-15-2004 04:16 AM
modprobe ndiswrapper fails (unresolved symbol) Ctawp Linux - Wireless Networking 3 04-11-2004 04:40 PM


All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration