LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 06: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 08:00 AM.
 
Old 09-25-2003, 11:26 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 11: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, 12:43 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"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 12:49 PM.
 
Old 09-25-2003, 02: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, 04:47 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"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, 04: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, 06:12 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"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, 09: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, 11:26 AM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 08: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, 05:32 PM   #12
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
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 01:46 PM
module problems hyperriven Linux - Networking 4 10-17-2004 06:19 PM
2.6.0 module problems? computeridiot01 Linux - Software 1 01-13-2004 06:14 AM
module problems in w/ 2.4.5 mrtwice Slackware 5 08-24-2002 03:17 PM
kernel comilation rh7.1 Martin Linux - General 1 06-02-2001 06:34 PM


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