LinuxQuestions.org
Review your favorite Linux distribution.
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 06-28-2002, 01:00 AM   #1
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 223

Rep: Reputation: 30
insmod


when i go to insmod stv680( the driver for a digital cam), i get
/lib/modules/2.4.18/kernel/drivers/usb/stv680.o: unresolved symbol video_unregister_device_Rsmp_55ac2b50

/lib/modules/2.4.18/kernel/drivers/usb/stv680.o: unresolved symbol
video_register_device_Rsmp_924aa3b6

/lib/modules/2.4.18/kernel/drivers/usb/stv680.0: unresolved symbol
video_proc_entry_Rsmp_bbc51cf6

similar lines come up for other drivers while dabusb.o loaded ok
what are these "symbol"s and what's the message here?
lsmod shows only lp
is there a list somewhere of all compiled modules loaded or not?
storm's comin up so i'll post this now case i go down - any help appreciated
 
Old 06-28-2002, 09:34 AM   #2
Phonics3k
Member
 
Registered: Jun 2002
Location: Wales, UK
Distribution: Gentoo 2005.1
Posts: 213

Rep: Reputation: 30
I had this problem with the newest drivers for my modem and had to use older 1's

Thats about the only help I can give u on this subject, u could type "man insmod" and see what it says in there about unresolved symbols. otherwise u have to change some code to match the new symbols
 
Old 06-28-2002, 10:48 PM   #3
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
The modules ready for use are in /lib/modules/.

To see the modules loaded run /sbin/lsmod.

Finally, try using the modprobe command instead of insmod to load modules, it's the preferred way of loading kernel modules.
 
Old 06-29-2002, 05:10 PM   #4
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 223

Original Poster
Rep: Reputation: 30
modprobe was my first effort-i switched to insmod to see if i would gain any options. i have noticed that two of the unresolved symbol notices are identical for several of the unworkable modules i have tried to load,leading me to wonder if i have sommehow compiled them for the wrong kernel, or as Phonics3k has suggested, i need older drivers. will press on. thanks, everyone for taking some time out for this.
 
Old 06-30-2002, 06:30 AM   #5
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Has this happened after you installed a newer kernel?
 
Old 06-30-2002, 04:28 PM   #6
Phonics3k
Member
 
Registered: Jun 2002
Location: Wales, UK
Distribution: Gentoo 2005.1
Posts: 213

Rep: Reputation: 30
with the modules for my modem I had 2 modules
pctel.o
ptserial.o

If I typed "insmod ptserial" first then I would get unresolved symbols, but if I typed "insmod pctel" first then I wouldnt get the unresolved symbols error
 
Old 07-01-2002, 03:37 AM   #7
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 223

Original Poster
Rep: Reputation: 30
order does seem to matter in that i have to enable certain usb supports to open the port to the camera, but then both the possible drivers, stv680 and ov511 gave me the same unresolved symbols. and yes, this all happened after installing 5.4.18 after a botched 5.4.18 following an original cd installed 2.2.19. the second 5.4.18 was botched because i added a make install step not realizing that lilo.conf would be rewritten thus moving the Sys.map and linuz to Sys.map.old and linuz.old(which were booting 2.2.19 in my manually edited lilo.cof from the first attempt at 2.4.18). at that point, booting 2.4.18 gave me an immediate crc error-system halted- while booting 2.2.19(from the lilo screen) gave me 2.4.18 whch seemed to be working great- however-aside from the general mess of things-i can believe that the modules may or may not have suffered from all this-they were all compiled for the same kernel(2.4.18) but from one menuconfig to the next, i changed some things(mostly to maximize modularization-minimize kernel size-had to bzImage anyway)
am back to 2.2.19 after a reinstall-had /home on its own partition so nothing lost there-did however have some errors in auto full install which i've not had before- had to restart setup to get /dev/hda5 mounted as/home and had to skip a couple of files because of compressed data problem-went back and installed them individually-so there are enough anomalies here to wonder that i am not just typing to a blank screen-haven't mentioned the several momentary power outages this week, always in the middle of something-a UPS will be in place as soon as funding is available- windows2000(a dual boot setup here) has become corrupted simultaneously with this, but i wasaiming at trashing that with the inauguration of gphoto, gtkam and xine(all up and running on 2nd 2.4.5)
so, will continue on and will continue to appreciate all the help you guys will offer. more later
 
Old 07-02-2002, 02:25 PM   #8
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
when you installed the new kernel, make bzImage, did you run:

make modules

then:

make modules_install

???
 
Old 07-03-2002, 02:50 AM   #9
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 223

Original Poster
Rep: Reputation: 30
no, i will do that on the next attempt after i sort out the rest-i've dumped win2000 from /dev/hda1 and when i went to boot the mandrake install.cd, i got the exact kernel panic message i got after my first 2.4.18 install-so maybe i will rearrange the partitioning and put slack on /hda1-lilo is on the mbr -is that wiped by a format of /hda1? thanks much.
 
Old 07-03-2002, 05:42 PM   #10
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
remember to run:

depmod -a

as well after all that.
 
Old 07-05-2002, 01:26 AM   #11
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 223

Original Poster
Rep: Reputation: 30
will do and thanks
 
Old 07-06-2002, 08:39 PM   #12
Phonics3k
Member
 
Registered: Jun 2002
Location: Wales, UK
Distribution: Gentoo 2005.1
Posts: 213

Rep: Reputation: 30
what does the depmod -a do?
 
Old 07-07-2002, 03:11 AM   #13
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 223

Original Poster
Rep: Reputation: 30
my reading of man depmod indicates that depmod -a will search for modules stored in any directories in /etc/modules.conf as it searches deps for its object module-i assume one could then use this file as a place to get your ducks in a row, so to speak. but, as always, i welcome enlightenment and caution that i offer only supposition here.
 
  


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
insmod pantera Programming 1 05-24-2005 12:40 PM
Help with insmod. I have a problem with insmod. RJARRRPCGP Linux - Newbie 5 08-24-2004 09:23 PM
insmod help rmosh Linux - Hardware 5 06-08-2004 07:35 PM
how to insmod? toastermaker Linux - Newbie 11 12-09-2003 10:07 PM
Where is insmod??? yalanop Linux - Newbie 1 01-26-2003 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:04 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