LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


View Poll Results: How many times did you compile your kernel?
Never, I always use the distro's initial kernel 31 16.76%
1-20 65 35.14%
20-100 47 25.41%
I don't remember how many times! 42 22.70%
Voters: 185. You may not vote on this poll

Reply
  Search this Thread
Old 04-18-2006, 04:32 AM   #16
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46

Compiling it is when you, well, compile it Initial or defualt kernel is what comes with the distro and an update is just an update, precompiled (with stuff you don't need). With a compiled kernel you tend to compile a custom kernel to suit your machine. This might include certain patches, but mostly it just a somewhat more lean kernel that just has the things you need compiled in.
 
Old 04-18-2006, 04:52 AM   #17
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
I've only compiled 2.6 kernels. I guess around 15 times for friends as well as myself. It gets easier the more you do it.
 
Old 04-18-2006, 09:18 AM   #18
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
First compiled a kernel 10 - 11 years ago (slackware 2.3, kernel 1.2.8).
Took all night (+/- 14 hours) to compile, now it takes 15 minutes.......

I still like to 'play' with kernels.
 
Old 04-18-2006, 09:30 AM   #19
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
spooon: yeah, that's the initial kernel, the first kernel that comes with the distro, the one that makes you boot. If it's your only one you ever use, and never have compiled a kernel, that option in the poll is for you.

I was surprised that compiling a kernel was very easy. A couple of makes later, a grub adjustment, voila! Kernel!
 
Old 04-20-2006, 07:06 PM   #20
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
I successfully compiled the 2.4.27 kernel by following the excellent "cookbook" in the Debian Reference manual (after much confusion and missteps from web page articles I had googled). I think I did it to include sound functionality originally but there was so much more I learned about by going through the "menuconfig" stuff and then I replaced LILO with GRUB. Had to unset the 'CD' or 'CDPATH' variable that I was putting in the
.bashrc to get the compiles to complete but after that it went right on through.

BIG HUGE RUSH WHEN IT BOOTS UP! :-D Also, it runs VERY efficiently on my slowest machine, a 433Mh eMachine, all the while running 160-170 processes including many server processes, as opposed to the 35-60 Windoze bloatware "support" an application processes on WinXP running on machines with up to 7 times the speed.
 
Old 04-20-2006, 07:08 PM   #21
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
Being a man, successfully building and booting an OS is probably the closest I will get to having a baby LOL
 
Old 04-20-2006, 07:16 PM   #22
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
I just built a 2.6.16.9 kernel last night so add one to my tally.

Peace...
 
Old 04-20-2006, 08:53 PM   #23
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Quote:
Originally Posted by sixerjman
Being a man, successfully building and booting an OS is probably the closest I will get to having a baby LOL
This forum could use some more talk from real men.
You get the "Man of the Week" award
 
Old 04-20-2006, 09:01 PM   #24
burntfuse
Member
 
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
Quote:
Originally Posted by sixerjman
Being a man, successfully building and booting an OS is probably the closest I will get to having a baby LOL
Haha, that's why I use Slackware, build my own kernel, put together my own GUI, and try to customize everything to an insane degree.

I've probably built my kernel 6 or 7 times now, at first just for the fun of it (well, the first few times, since I didn't get it right the first time and it filled the screen with garbage when I booted it from LILO), then after that just because there was something else I needed that I'd left out of the last build...or sometimes I'd just be bored and decide to rebuild my kernel for the heck of it (it only takes ~10 minutes anyways). I still get a kick out of watching my custom-configured kernel actually boot and not panic and descend into an infinite loop, though.
 
Old 04-21-2006, 09:27 AM   #25
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
burntfuse: in 30-40 times of compilling the kernel, I've got only 4 or 5 that were bad ones (forgot to include USB drivers, my laptop keyboard being USB...)

How do you do it to crash and oops your kernel like that? If you write your own modules, I advise against while(1){} lol
 
Old 04-21-2006, 12:48 PM   #26
burntfuse
Member
 
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
I'm not really sure how I did it...but I have caused kernel panics by forgetting to include the reiserfs drivers (which all my drives are formatted with - "wait, but the driver's on the disk, why won't it load it?"). *hits self on head* I don't even have the excuse of added custom code which could make it unstable. I've done things like your while(1){} in programs though, so I'll have to be really careful if I ever start writing modules.
 
Old 04-21-2006, 01:30 PM   #27
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
I've done the same thing, not adding reiserfs support for my root partition. I've found compiling addictive, though I'm not a programmer and only really understand bash scripts, I love seeing the fruits of someones hard labour whizzing up the terminal; if a make error occurs due to a dependancy problem or some such thing there is always a clear and sometimes witty remark included inspiring me to compile more stuff until it works. Madness really but so intriguing you have to see it through.
 
Old 04-21-2006, 02:31 PM   #28
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Tuttle: I see what you mean

I rather compile if it's small packages (say: wesnoth) instead of getting the (outdated) debian package, or whatever distro I'm using that year.
 
Old 04-21-2006, 02:55 PM   #29
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by Tuttle
I've found compiling addictive, though I'm not a programmer and only really understand bash scripts, I love seeing the fruits of someones hard labour whizzing up the terminal; if a make error occurs due to a dependancy problem or some such thing there is always a clear and sometimes witty remark included inspiring me to compile more stuff until it works. Madness really but so intriguing you have to see it through.
LOL While I don't share your full enthusiasm, I tend to be in the same boat. In fact, I'm wading through this right now. I've got enough of the system built that I can run Mozilla Thunderbird and Firefox but still no xmms, gimp, OO or AbiWord, gaim, and the version of Enlightenment DR17 I've got running has hardly and E apps for it, so it's not very functional (yet).

Hopefully, I'll be back to normal in the next couple of weeks.

Peace...
 
Old 04-21-2006, 07:25 PM   #30
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
You are missing my response on your poll.
I use the distributions kernel and keep up on the upgrades. Perhaps this is what you meant with "I always use the distro's initial kernel" but it is not accurate.
I have compiled kernels for LFS, homemade floppy disks, and etc but I do not find a need to recompile kernels routinely.
 
  


Reply

Tags
build, compilation, kernel, poll, reference



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 Panic after trying to update Kernel to 2.6 several times LearningToLive Slackware 10 01-19-2006 08:57 AM
System hangs; Atheros Madwifi-ping times out every 15/16 times james 456 Linux - Networking 0 01-12-2006 06:55 PM
I've compiled my 2.6.12.3 kernel 3 times!!! CPUFreak91 Linux - General 11 08-04-2005 03:33 PM
New kernel = font problem at times! Slovak Slackware 2 12-20-2004 03:55 PM
kernel compile times danchan Linux - General 2 04-11-2004 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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