LinuxQuestions.org
Help answer threads with 0 replies.
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 09-25-2003, 05:57 AM   #1
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Rep: Reputation: 15
module compilation problems


hi i got some problem by compileing of modules when i do kernel upgrade
It seems to have something to do with orig . suse config file
because when i set configuration myself it make modules.
any ideas ?
ps : its 2.422 kernel .

thx

Last edited by Vencalator; 09-25-2003 at 07:00 AM.
 
Old 09-25-2003, 10:26 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,187

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
It sounds like you are not doing the make xconfig step. Here are instructions on how to compile a kernel.


http://www.tldp.org/HOWTO/Kernel-HOWTO/
 
Old 09-25-2003, 10:50 AM   #3
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
i did make xconfig and i even tried make menuconfig
but no luck
 
Old 09-25-2003, 11:43 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,187

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
"It seems to have something to do with orig . suse config file"

Where did you get your kernel source from?

Where did you get the .config file that you began configuring with make xconfig?

If you are using the SuSE source rpm kernel then you can start with the original SuSE .config by:
make cloneconfig

Last edited by jailbait; 09-25-2003 at 11:49 AM.
 
Old 09-25-2003, 01:16 PM   #5
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
ok
my kernel i got from kernel.org
my config file i got form /boot/vmlinuz.config (people told me thats the orig. one, so i used that)

and i installed suse source(i think i got files in /usr/src/suse-2.4.20-4gb or so )

where do i get config u say ?
is it in source of suse kernel ?
thx
 
Old 09-25-2003, 03:47 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,187

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
"where do i get config u say ?
is it in source of suse kernel ?"

Yes. But it should be the same thing as vmlinuz.config.

When you start make xconfig the first thing that you should do is click on "Load Config File" and load vmlinuz.config into make xconfig
 
Old 09-25-2003, 03:59 PM   #7
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
i did this but still modules not crated dont know why..
 
Old 09-25-2003, 05:12 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,187

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
"i did this but still modules not crated dont know why.."

Later in the kernel compile you have to enter the commands:
make modules
make modules_install
 
Old 09-26-2003, 08:35 AM   #9
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
i have done this too

i get crazy
 
Old 09-26-2003, 10:26 AM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,187

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
Look in /lib/modules and see what modules you have. You should have directories for the modules for both your old and new kernel.
 
Old 09-29-2003, 07:40 AM   #11
Vencalator
Member
 
Registered: Sep 2003
Location: Prague
Distribution: Suse 8.2
Posts: 40

Original Poster
Rep: Reputation: 15
some are there for 2.4.22 and all for 2.4.20-suse it just made some a few of 2.4.22 modules.
like 60-75 % is missing.
 
Old 09-29-2003, 04:32 PM   #12
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,187

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
I think that what you said in your original post is probably correct:

"It seems to have something to do with orig . suse config file"

I think that you should check out the suse config file this way:
Go into make xconfig and load the suse config file. Then check to see if any module that is specified as "m" in make xconfig is missing in /lib/modules/2.4.22.

In any case I think that the best thing to do is to just set up your own kernel config file and ignore SuSE's since there seems to be some problem with it.
 
  


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
comilation problem with g77 appopson Mandriva 2 05-19-2005 12:46 PM
module problems hyperriven Linux - Networking 4 10-17-2004 05:19 PM
2.6.0 module problems? computeridiot01 Linux - Software 1 01-13-2004 05:14 AM
module problems in w/ 2.4.5 mrtwice Slackware 5 08-24-2002 02:17 PM
kernel comilation rh7.1 Martin Linux - General 1 06-02-2001 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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