LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-19-2004, 11:36 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?)


I need to install a driver provided by a custom hardware manufacterer for a card I am testing. The driver is tested for Redhat 9 and Redhat Enterprise. only. However I have also gotten it to work under Fedora Core 1 (2.4 kernel). I just tried to install this driver on Fedora Core 2 and got the following error:

//////////////////////////////
<snip>
mkdir -p /lib/modules/2.6.5-1.358smp/kernel/drivers/misc
cp LINUX.2.6.5-1.358smp/windrvr6.ko /lib/modules/2.6.5-1.358smp/kernel/drivers/misc
./wdreg windrvr6
FATAL: Error inserting windrvr6 (/lib/modules/2.6.5-1.358smp/kernel/drivers/misc/windrvr6.ko): Invalid module format
make: *** [install] Error 1
//////////////////////////

A successful install on Fedora Core 1 looks like this.

<snip>
mkdir -p /lib/modules/misc
cp LINUX.2.4.22-1.2197.nptlsmp/windrvr6.o /lib/modules/misc
./wdreg LINUX.2.4.22-1.2197.nptlsmp/windrvr6.o
Warning: loading /lib/modules/misc/windrvr6.o will taint the kernel: non-GPL license - Proprietary
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module windrvr6 loaded, with warnings
///////////////////////////


I believe this is an issue with the 2.6 kernel? Is it a security feature (notice the taint the kernel message from FC1 install) so they don't allow these types of installs anymore? Are there any workarounnds I can do on my part or do I have to rely on the driver maker? They are only supporting Redhat so I can't rely on them to make something compatible with FC. The driver itself comes packaged in an rpm BTW. Thanks.
 
Old 07-20-2004, 01:18 PM   #2
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Definately a 2.6 error. That's a binary-only module, so it can't be recompiled to work with 2.6 (unless the company does it). You can ask them to make a 2.6 kernel version (should only require a recompile).
 
Old 07-20-2004, 05:09 PM   #3
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Original Poster
Rep: Reputation: 17
Is it possible for them to release the driver in a tar format that I can compile myself? I believe before rpm's that's how most installations worked? Can they release such a driver while still protecting their source code?

Having dealt with their tech support before, I don't expect them to recompile a driver just for me but I'll give it a shot.

BTW, from a hardware company point of view, is it very difficult to make a driver that is compatible with all the different linux distributions/kernels?

Last edited by Arodef; 07-20-2004 at 05:12 PM.
 
Old 11-30-2007, 02:55 PM   #4
debsys07
Member
 
Registered: Mar 2007
Posts: 46

Rep: Reputation: 16
Problem resolved?

I'm having similar problems running some Xilinx s/w (V6.2i) under Debian 'etch'. Windrvr6 module is not there & current version (9.x) is probably incompatible. Did you ever resolve this?

Thanks, Ron
 
  


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
Problem installing Fedora Core 4 hacabrera071 Fedora 1 10-06-2005 11:36 AM
Problem with installing Fedora Core 3 OrangeSoda Fedora - Installation 5 08-20-2005 09:52 PM
Problem Installing Fedora Core 4 azuiden Fedora 2 06-19-2005 03:03 AM
Kernel 2.6.x module installing problem cb951303 Slackware 7 12-02-2004 03:24 PM
Problem installing Fedora Core 2 freeboard8 Linux - Newbie 3 05-24-2004 10:47 PM

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

All times are GMT -5. The time now is 02:56 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
Open Source Consulting | Domain Registration