LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-24-2006, 11:08 PM   #46
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30



woooooow, I wonder if there is a wikibook where I can read all about how computers worked 10-20 years ago
 
Old 04-24-2006, 11:20 PM   #47
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
If compile fails, don't run make clean before make?

To be specific, my (Debian) make-kpkg was humming along, albeit slowly (it's a 433Mh Celeron) and stopped after a compile error in USBNET.C (message you need to configure some hardware for this). So I went back into menuconfig and made the necessary change(s) (unchecked support for device(s) I don't have, put Tulip support in while I was in there) and ran make-kpkg clean again.

Result was what I was afraid of: all the object modules (.o) which had just been compiled got blown away. This would seem to be contrary to the whole make concept (only build what needs to be built based on recently changed source).
 
Old 04-24-2006, 11:48 PM   #48
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
Wink "Dinosaur" Wiki

No Wiki that I know of, but I used to be active in the IBM-MAIN newsgroup and they archive all their stuff. All the posts from 1995 are here:

http://bama.ua.edu/cgi-bin/wa?A1=ind9501&L=ibm-main

Many similarities in generating the OS's, just different terms. The most startling difference is how little RAM (core) was available back (on the order of kilobytes) then and how much the OS accomplished in so little space (kind of like Linux today ).

I considered any type of telecommunication small miracles then and still do now.
 
Old 04-25-2006, 03:48 AM   #49
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
I started compiling with the release of 2.6 kernel and the last count of my kernel compilation was # 154.
 
Old 04-25-2006, 04:23 AM   #50
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
The first time I compiled my own kernel which was back in 1998 using Redhat 6.0, was an absolute thrill. Becoz, this is something I can never dream of doing in Windoz !! ;-)
 
Old 04-25-2006, 08:19 AM   #51
haymaker2000
Member
 
Registered: Jan 2006
Location: New Zealand
Distribution: Ubuntu 5.10 (Breezy), Debian 3.1 (Sarge)
Posts: 37

Rep: Reputation: 15
I've compiled my own kernel at least 4 times (first was 2.4.x), but at least twice I was unsuccessful. I recently compiled my own 2.6.16.9 kernel on my Dell Latitude C610 Laptop. Everything works fine, except for my Synaptics (?) touchpad, which goes crazy or just hangs somewhere in the corner. However, this does not happen with a 2.4 kernel. I've discovered a patch that might fix this problem http://www.ee.oulu.fi/~tuukkat/tmp/linux-2.6.7-userdev.20040625.patch but it doesn't work with 2.6.16 and for some other reason I couldn't compile the 2.6.7 kernel on that machine. Any pointers on how I could compile 2.6.7 or how to rewrite the patch, so that it works in 2.6.16? I know about programming (C, C++, Java, Delphi, PHP, Shell scripting, ...) but I don't know how kernel patching works. I'm afraid I don't understand it at that low level.

Have a look here for more detail:
http://ubuntuforums.org/showthread.php?t=28372
http://ubuntuforums.org/showthread.php?t=124567

Please, I've spent so much time on this issue and if you all are such gurus in installing kernels, maybe you can help. Thanks in advance.
 
Old 04-25-2006, 12:55 PM   #52
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
Kernel Patch Procedure

Have a look at this Wiki, it seems pretty straightforward:

http://gentoo-wiki.com/HOWTO_Install_a_Kernel_Patch

Hope this helps.
 
Old 04-25-2006, 02:38 PM   #53
burntfuse
Member
 
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
Quote:
Originally Posted by sixerjman
The 2.6 menuconfig has a new look but I found out I left so many drivers and support modules in the old config (combination of thinking 'better to have and not need than need and not have' and 'enough already, I'm tired, let's see some action!') I spent about 3 hours total going through and stripping what I (think) I don't need. Lots of trust in my 'lshw' and 'lspci' listings.

Noticed that ALSA support was an option in the 2.6.8 config, not sure if it was there in 2.4.27. Anyway, it's compiling now <* fingers crossed *>.
Same here, I'm always happy (and a little surprised) when I see that my custom-built kernel ACTUALLY WORKS.

I think ALSA was only integrated with the kernel source in the 2.6 series...that confused me at first when I recompiled my 2.4.29 kernel for the first time and couldn't get any sound (until I figured out what all those error messages meant, at least ).
 
Old 04-25-2006, 05:59 PM   #54
Anders1
LQ Newbie
 
Registered: Feb 2005
Location: Sweden
Distribution: Arch Linux
Posts: 16

Rep: Reputation: 0
The first time I compiled my own kernel I accidentaly missed the PCI drivers (or something). So I recompiled again (another stupid mistake), and again, and again... and then it worked! After that I used to compile a new kernel each time a new one was out. But now I just use the standard kernels that come with the distributions.
 
Old 04-25-2006, 10:49 PM   #55
haymaker2000
Member
 
Registered: Jan 2006
Location: New Zealand
Distribution: Ubuntu 5.10 (Breezy), Debian 3.1 (Sarge)
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by sixerjman
Have a look at this Wiki, it seems pretty straightforward:

http://gentoo-wiki.com/HOWTO_Install_a_Kernel_Patch

Hope this helps.
Mmhh, actually it didn't help much, because what I want to do is rewrite the patch, so that it works with the new kernel. I know how to patch a kernel with the right patch. But thanks anyway.
 
Old 04-26-2006, 09:43 AM   #56
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
Refit 2.6.7 patch to 2.6.x (x > 7)

From what I understand the patch file is created by 'diff'
so the basic idea would be to copy the source from 2.6.x to a target file, add the code with '+' in front of it, delete the lines with '-' in front of them and run diff on the two.

You'd have to read and understand the effected sections of the code because there might not be exact matches on the deleted lines and variable names/symbols might not exactly match either.

Linux Kernel Module Programming Guide from http://www.tldp.org might be handy reference, I'll see if I can find more info.

 
Old 04-26-2006, 10:57 AM   #57
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
*http://www.tldp.org *

ooooooooooooooh I'll add this one to my bookmarks

I'm so childish
 
Old 04-27-2006, 06:45 PM   #58
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
It's A Boy!

His name is 'Hal'. Cigars and drinks all around.

<dmesg>
Linux version 2.6.8-686 (root@emach433) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Thu Apr 27 17:23:30 EDT 2006

<*snip*>

<INIT log (/var/log/boot)>
Thu Apr 27 19:36:39 2006: Starting Hardware abstraction layer: hald.
 
Old 04-27-2006, 06:54 PM   #59
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Testing / Unstable
Posts: 180
Blog Entries: 1

Rep: Reputation: 32
LOL mimi - I too am "easily amused". :-D
 
Old 04-27-2006, 06:57 PM   #60
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by sixerjman
His name is 'Hal'. Cigars and drinks all around.

<dmesg>
Linux version 2.6.8-686 (root@emach433) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Thu Apr 27 17:23:30 EDT 2006

<*snip*>

<INIT log (/var/log/boot)>
Thu Apr 27 19:36:39 2006: Starting Hardware abstraction layer: hald.


awwwwwwwwwww, can I hold him?
 
  


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 01:52 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