LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-28-2002, 07:29 AM   #1
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
help needed compiling kernel


Hi, I have just compiled my kernel and despite everything looking alright (kernel is booting and X is starting) there are still some things I don't know are right.
First, when I do "lsmod", no modules seem to be loaded. Is that alright?
second, I just compiled a module (pegasus.o) and when I try to insert it, the kernel complains about a kernel mismatch saying the module was build for the 2.4.18 kernel and that this is 2.4.19. But I changed the makefile of the module to include the 2.4.19 header files (so it would say something like
"gcc -I /to/my/kernel-2.4.19/include/ ..... ) and i'm sure I'm inserting the newly build module. when I force the insertion of the module, my system hangs. whats the deal here?
 
Old 11-28-2002, 01:18 PM   #2
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Original Poster
Rep: Reputation: 45
nevermind the second thing, got it fixed
 
Old 11-28-2002, 01:44 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Ad 1)
really, that depends on a number of things :)
How many of your drivers did you actually compile
as midules?
Does your initialization script know about them?

In my case for instance /etc/rc.d/rc.modules is
doing the job of actually loading my required modules.

Cheers,
Tink
 
  


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
Help needed with compiling Xorg SavageNick Slackware 6 07-20-2005 06:27 PM
Help Needed Badly With Compiling Php! The_Nerd Programming 3 11-26-2004 11:28 AM
How do I start in regards to SE Linux, compiling needed? Niceman2005 Linux - Security 1 11-17-2004 03:16 AM
Help needed for compiling the kernel JIV Linux - Software 1 02-14-2004 02:15 AM
Help needed Compiling Dowloaded Programs cyberhawk Linux - General 4 06-09-2003 02:35 PM


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