LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 04-14-2003, 03:03 PM   #46
timezero
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware 9.0, BeOS R5
Posts: 10

Rep: Reputation: 0
Post Re: Re: Re: Kernel compiling guide for newbies...


Quote:
Originally posted by aaron_n
make mproper is like an aggressive make clean
make config is make menuconfig but text based.

On Another Note:
If, like me, you can't be arsed to deal with modules. Just compile them directly into the kernel (e.g '*' and not 'M' in make menuconfigs selection boxes).
You loose the advantages of dynamically loading and unloading modules/drivers. But I have no need to do that :-)
And to get detailed information on an option in make menuconfig just press "SHIFT + ?" when the option is selected.

Aaron
Thanks for the reply!

Is it possible to compile the kernel with slackwares standard module configuration but perhaps adding 2 or 3 modules, without having to answer yes or no for every module?

I am also curios why my kernel guide doesn't include "make" after make bzimage?
 
Old 04-14-2003, 03:30 PM   #47
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Make bzImage is the command to make a compressed kernel image.
 
Old 04-15-2003, 08:28 AM   #48
timezero
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware 9.0, BeOS R5
Posts: 10

Rep: Reputation: 0
Quote:
Originally posted by Aussie
Make bzImage is the command to make a compressed kernel image.
Thanks, but,

I meant

make bzimage
make <-- this make
 
Old 04-15-2003, 08:53 AM   #49
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Because you have already issued the 'make' command, with the bzImage added on to specify a bz2 compressed kernel image, there are a few other options you can use instead of bzImage, see the kernel HOWTO for all the details.
 
Old 04-15-2003, 05:44 PM   #50
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
Is there an online guide/howto that will go into a detailed explanation of ALL the options available during menuconfig?

I'm asking this because, while I can just follow the simple steps mentioned here and other places, there is a whole bunch of other options in there. I'm very curious about what everything means in there. I've followed plenty of basic step-by-step, but I always feel like: huh? what did I just do? Huh! It feels like I'm in drone mode. Monkey see, monkey do!

LOL

Thanks.
 
Old 04-16-2003, 08:11 AM   #51
PapaNoHair
Member
 
Registered: May 2002
Location: Orlando
Distribution: Linspire 5.0
Posts: 82

Rep: Reputation: 15
Thanks! Took some time to go thru all those steps. Appreciate your help!
 
Old 04-16-2003, 08:39 AM   #52
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
hecresper,

The best thing to do is look at the .config that came with the default kernel you installed, mine is /boot/config-ide-2.4.20, copy it to /usr/src/linux/.config{*} and that will be what you see when you do make menuconfig, have a look at the <help> pages as you go through it, as a rule of thumb you can turn off any hardware that you don't have, like only building the module for the soundcard that you have in your computer for example. When it comes to things like file systems then the same rule applies, if your not going to network or dual boot on a mac then you won't need mac filesystem support, you'll be able to find information on specific options by searching for each on google/linux (this should be your number one bookmark ;-)

{*} Note the period (.) in .config.

Last edited by Aussie; 04-16-2003 at 08:42 AM.
 
Old 04-21-2003, 06:49 AM   #53
zahid@allbd.com
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
Question If I have a dual-processor system

If I have a dual-processor system, utilize both processors. If I have more than two processors?
 
Old 04-21-2003, 12:04 PM   #54
bluehz
LQ Newbie
 
Registered: Jul 2002
Posts: 12

Rep: Reputation: 0
This is great thread! I just built my first kernel after using Linux for over a year - started as a complete newbie! I was holding off on doing the kernel rebuild - just because it seemed it was abit dangerous - thx to this thread I found out its not so bad after all!

So I rebuild my kernel according to directions here - but I skipped the last install step - instead preferring to manually install System.map, config, and vmlinuz. I am having problems with teh modules though - I build a few modules, and I did do a "make modules install" and that completed fine - but it appears my modules are not being loaded. What do I need to do to get the new modules loaded? Do I need to manually edit my rc.modules to load the modules?
 
Old 04-21-2003, 05:16 PM   #55
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Original Poster
Rep: Reputation: 30
Quote:
and I did do a "make modules install" and that completed fine
Is this what you did...or did you mean make modules_install? To install the modules, the _ must be present. If you left this out, that could be your problem in a nutshell.

Quote:
Do I need to manually edit my rc.modules to load the modules?
This may be necessary for some modules. The only modules I need to edit rc.modules for are agpgart, and fglrx (for my Radeon 9700)...the rest load for me.
 
Old 04-21-2003, 11:08 PM   #56
zahid@allbd.com
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
I guess I got the answer:
/usr/src/linux/.config(dot config file. Note the dot before config)
# Processor type and features
#
# CONFIG_M386=y is not set
# CONFIG_M486 is not set
CONFIG_M586=y ####???Note the line (processor type)
# CONFIG_M586TSC is not set
#CONFIG_M686
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_1GB=y
# CONFIG_2GB is not set
CONFIG_MATH_EMULATION=y
CONFIG_MTRR=y
CONFIG_SMP=y ####???Note the line (allow multiprocessing)

Last edited by zahid@allbd.com; 04-21-2003 at 11:11 PM.
 
Old 04-22-2003, 07:21 AM   #57
bluehz
LQ Newbie
 
Registered: Jul 2002
Posts: 12

Rep: Reputation: 0
Yes I did use module_install - that was atypo on my part. I have trie dit four times and each time the compilation completes just fine, but when I reboot - I get no modules loading.

I really just want to create a custom kernel for my server which runs on an old 100MHz PC - very minimal. Any suggestions?

Last edited by bluehz; 04-22-2003 at 07:22 AM.
 
Old 04-22-2003, 07:51 AM   #58
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Did you select (M) or (Y) for the modules?
 
Old 04-22-2003, 06:04 PM   #59
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Don't you sometimes wish people would start a
new thread with their own problem/question rather
than appending to an existing one? ;)


Cheers,
Tink
 
Old 04-22-2003, 06:51 PM   #60
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Original Poster
Rep: Reputation: 30
Quote:
Don't you sometimes wish people would start a new thread with their own problem/question rather
than appending to an existing one?


But then...I guess the realization would be that most of these problems would end up being refered to this thread anyway. But hey...as long as they're getting the help they need, I guess I can't complain
 
  


Closed Thread



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
Newbie Guide To Compiling A Kernel! DrOzz Linux - General 318 08-20-2008 05:21 AM
I'm interested in compiling a 2.6.x kernel, is this is a decent guide? Erik_the_Red Linux - Newbie 7 08-14-2005 06:03 AM
Acid Guide to compiling Kernel 2.6.10 on Slack 10.1 acidjuice Slackware 54 03-11-2005 05:16 PM
Hardware identification guide for newbies ?? massai Linux - Hardware 5 02-03-2004 08:15 AM
: Kernel compiling guide for newbies Question Anibal Slackware 6 08-01-2003 07:06 AM

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

All times are GMT -5. The time now is 03:12 PM.

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