LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-14-2005, 04:10 AM   #1
takatam
LQ Newbie
 
Registered: Apr 2004
Location: Zürich, Switzerland
Posts: 17

Rep: Reputation: 0
Question kernel version mixup for driver compilation


i've installed mandrake 9.2 and now i'm trying to compile the driver for my intel e1000 ethernet card. i've also added the kernel sources for the same version but something is not right.

when running 'make install' in the driver directory i get an error saying

>Warning: kernel source configuration (SMP)
>does not match running kernel (UP)
>Continuing with build,
>resulting driver may not be what you want

as a result the compiled driver is put into the wrong /lib/modules/<kernel-version>/... path and can not be found by the system.

so i then uninstalled the smp kernel, hoping to resolve the issue, but it didn't work.

here is what i tried to verify things are the way they should be:

uname -r -> 2.4.22-10mdk

uname -a -> Linux server 2.4.22-10mdk #1 Thu Sep 18 12:30:58 CEST 2003 i686 unknown unknown GNU/Linux

i'm rather sure i have the same version kernel source installed cause when i search for the installed rpms (in rpmdrake-remove) then the only package that matches 'source' is kernel-source-2.4.22-10mdk.

please help to resolve this version mixup. i don't care which version i end up with, as long as it is consistent within my system.

will installing later-version kernel and source rpms resove my problem (as recommended at http://www.zebulon.org.uk/urpmi_en.html)?

this might be a problem cause the machine doesn't have any network access until the driver is compiled right. the last kernel update i tried to do (urpmi) requried access to a mirror server.

thanks for any help,

T
 
Old 01-17-2005, 01:27 AM   #2
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
Check /usr/src/ and see if the source is really there.
 
Old 01-17-2005, 04:42 AM   #3
takatam
LQ Newbie
 
Registered: Apr 2004
Location: Zürich, Switzerland
Posts: 17

Original Poster
Rep: Reputation: 0
i've reinstalled the system and now i'm trying to compile the driver again. this time the problem seems to be solved. the driver doesn't work yet but that's a different problem :-)

thanks for showing me where the sources REALY are (instead of having to rely on tools).
 
Old 01-17-2005, 04:48 AM   #4
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
your welcome
 
  


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
Kernel Driver compilation amish_geek Linux - Software 1 09-20-2004 08:18 AM
problems with driver compilation, kernel 2.4.22-10mdk MasterOfTheWind Linux - General 0 07-29-2004 08:12 AM
IDE driver trend - compilation into kernel northtwilight Linux - Hardware 2 03-10-2004 07:28 AM
GCC version in kernel compilation Alpha_Beta Linux - Newbie 3 09-29-2003 11:39 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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