LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2002, 04:47 PM   #1
Creator
LQ Newbie
 
Registered: Jan 2002
Location: Edinburgh
Posts: 8

Rep: Reputation: 0
Unhappy Module Versioning!!!????


HELP???
I am very much a newbie! I can navigate round Linux but never had to install hardware.
I am trying to install a Logitech Pro 3000 Webcam on Redhat 7.2 through a USB port.
I have checked out the hardware compatibility pages and found that as my web cam contains Phillips componants that it works (once installed!!! aggg)
Having done this I downloaded the files I need, namely one file called pwcx-i386.o which had to renamed pwcx.o and placed in the lib/modules/usb directory (its in the real directory, but can't remember the full destination)
I then try to use the command
'depmod -a'
which comes up with the error 'not for the correct architecture' this is because I don't know how to turn OFF module versioning. It is called CONFIG_VERMODULE=X in a file called .config (I beleve)
Which should be under the directory /usr/src/linux. I do not have this directory, I just have /usr/src/Redhat

Can somebody please give me a step by step guide on how to solve my problem and turn the module versioning off, or if somebody has a webcam running through a USB just as good.
I have the Redhat 7.2 installation disks.

Thank you for any help
 
Old 01-06-2002, 05:14 PM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
well in order to do wehat that means, you need to ercompile your kernel, which is not really somethign you want to be doing at your stage i'd guess. in order to do that tho, you need to install the kernel-source rpm from your installation cd's and go from there, check the kernal-howto if you want to keep going at it.
 
Old 01-06-2002, 05:24 PM   #3
Creator
LQ Newbie
 
Registered: Jan 2002
Location: Edinburgh
Posts: 8

Original Poster
Rep: Reputation: 0
Unfortunatly I need to keep going at it as I need to get it running for my Univercity project. Cheers for the advice.
Any handy hints are always welcome.

Oh yeah one thing: where is the kernal HOW-TO??

Last edited by Creator; 01-06-2002 at 05:33 PM.
 
Old 01-06-2002, 08:45 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The kernel HOW-TO can be found at the Linux Documentation Project, along with a lot of other useful stuf. bluecadet is correct in that you'll have to recompile your kernel to install this module.
 
Old 01-07-2002, 03:02 AM   #5
Creator
LQ Newbie
 
Registered: Jan 2002
Location: Edinburgh
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks again! I will hopefully be doing that today, so I hope you are ready for a barrage of questions
ALso I have not yet looked at the HOW-TO (I will, this is just a short reply) but once I have installed the Kernal files is it a case of altering the .config file then running make menuconfig? I will read the HOW-TO!?

Cheers
 
Old 01-07-2002, 03:13 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
If you follow the how-to you (should) will end up with two kernels, the new one and the default one that you can still boot in case the new one dosn't work (it happens to me, sometimes because of an ID10T error and sometimes because a kernel is borked....greased-turkey anyone?). One other option before you dive into the kernel is to see if there is a source code version of the module available that you can compile against your kernel.
 
Old 01-07-2002, 03:16 AM   #7
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
sorry... spelling mistake.. kernel.

you would probably want to change the value inside the menuconfig part. that's what set's up those values. you could do it manually tho i guess. i don't know where this value comes from, i'd guess maybe it's obselete, and is now CONFIG_MODVERSIONS but i'm not sure. if so, it's under Loadable Module Support in menuconfig of xconfig
 
Old 01-07-2002, 03:24 AM   #8
Creator
LQ Newbie
 
Registered: Jan 2002
Location: Edinburgh
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks fr the spelling help

The CONFIG_MODVERSIONS is what I'm looking for, if I don't have to change it manually all the better as I am a 'newbie' (although I'd like to think I was a novice if I pull this off)

"One other option before you dive into the kernel is to see if there is a source code version of the module available that you can compile against your kernel."

What do you mean? If I am right, you are talking about the pwcx.o module I am trying to install? If so then I haven't seen one in my (many) hours of surfing just to find out which one it was. If you see it and know what I have to do with all the better

ps "it happens to me, sometimes because of an ID10T error" did they really mean IDIOT error? Sorry gotta laugh!
 
Old 01-07-2002, 03:35 AM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The old eye dee ten tee error....it's something you encounter on a regular basis when you do any form of tech support....it's not unlike the dreaded PBCAK fault.......
 
Old 01-07-2002, 05:58 AM   #10
Creator
LQ Newbie
 
Registered: Jan 2002
Location: Edinburgh
Posts: 8

Original Poster
Rep: Reputation: 0
OK well I have made the new Kernel, nothing blow up! But when I try to run it a) from my origional boot disk, by hitting tab then my new label, it says no image found.
b) use old kernel to go into system created a boot disk and it just hangs after saying, "Uncompressing Linux..OK. Starting Kernel" STOP.

If it helps to know that I boot into Linux through a boot disk, then all well and good.

I have also noticed that I didn't have a lilo.conf file, so I copied the lilo.conf.anaconda to lilo.conf.

But I seem to have an additional line that all example lilo.conf don't have, here is my complete lilo.conf

prompt
timeout=50
default=linux
boot=/dev/hda2
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.7-10
label=linux
initrd=/boot/initrd-2.4.7-10.img ***extra line****
read-only
root=/dev/hda3
append="hdc=ide-scsi"

***new kernel bit so I can test it****
image=/boot/bzlinuz.myker.07jan2002
label=myker
read-only
root=/dev/hda3
append="hdc=ide-scsi" ***Added this myself as I thought if its in the origional it should be here too!****



Any suggestions please, does anybody else have this or 7.2 and has done what I'm trying. Cheers

Last edited by Creator; 01-07-2002 at 11:28 AM.
 
  


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
libstdc++ versioning vani Linux - Software 4 12-06-2005 12:33 PM
alternative to versioning system rblampain Linux - Security 8 09-13-2005 07:12 PM
[HOWTO] Get Module Versioning working in FC2 paudle Fedora 1 09-07-2004 01:40 PM
How do I get module versioning into the kernel? paudle Linux - Software 1 09-03-2004 12:48 PM
What is symbol versioning newbie Mike Linux - Software 1 04-01-2004 04:24 AM


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

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