Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 10:56
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Compiling the new 2.6.26 Kernel for puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [53 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
PlatonicPimp

Joined: 26 Jun 2007
Posts: 34

PostPosted: Sun 14 Sep 2008, 13:14    Post subject:  Compiling the new 2.6.26 Kernel for puppy  

As you might know, I'm trying to get puppy to work on my OLPC. Apparently the latest Kernel release includes support for the OLPC out of the box, so I'd like to try that out. The trouble is, I've never compiled anything before, much less a kernel,, and I understand from reading here that to work for puppy a kernel needs specific patching.

So the questions are:
Can anyone recommend a good overview on compiling a Kernel?
How do I specifically compile the kernel for Dingo 4.0?
What patches do I need to apply for puppy, where do I get them, and how do I apply them?

Also, There seemed to be mention of a repository of kernel source modified for puppy already. Where is that, does it already have 2.6.26, and if not, maybe we can make that source to add to the depository?

_________________
I am running Buddapup 4.00 on an Itronix gobook 1 with an intel 85 processer and 256 MB ram, and an old desktop who's stats I completely don't know. In both cases I boot from CD at all times. I'm desperately trying to get this to work on an OLPC.
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Tue 16 Sep 2008, 20:08    Post subject:  

Hi Platonic Pimp

Not sure that you won't have already seen this?

http://www.murga-linux.com/puppy/viewtopic.php?t=1077&sid=9ee71870d6345260980703c16c9db471

& Barry's Blog

http://www.puppylinux.com/blog/?viewDetailed=00169

& Steffan's Howto

http://www.murga-linux.com/puppy/viewtopic.php?t=2583&sid=72a059fd5501b5a359791f8695e7c6dd

HTH

Aitch Smile
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Wed 17 Sep 2008, 04:38    Post subject: Re: Compiling the new 2.6.26 Kernel for puppy  

PlatonicPimp wrote:

What patches do I need to apply for puppy, where do I get them, and how do I apply them?


It is wise to consider the question before wasting your time compiling it.

The developer is supposed to include the complete* kernel software used in the compilation, with the distribution; or include a written offer, with the distribution, to provide it.

The complete source code is obviously not included in the Puppy distribution. The distribution doesn't offer to provide it either.

In view of it not being offered, you can ask the developer.

* Definition of complete source code:
    For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable.

Emphasis mine, verbatim copy from a portion of Section 3 of GPL version 2

That's how I think it should be. And what you need is the complete source code.

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Wed 17 Sep 2008, 04:51    Post subject:  

Aitch wrote:
Hi Platonic Pimp

Not sure that you won't have already seen this?

http://www.murga-linux.com/puppy/viewtopic.php?t=1077&sid=9ee71870d6345260980703c16c9db471

{text cut}

Aitch :)


What struck me as odd about the link you provided was the guy was looking to download the kernel source code and couldn't find it.

At first glance, there doesn't seem anything odd about that does there?

But my experience with Vector Linux is they include the kernel source code with the distribution. Meaning to say, I think the guy already had the code in the .iso file and / or on his cd disc and then started looking in all the places it wasn't.

Bruce

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 17 Sep 2008, 06:27    Post subject:  

The kernel source, patches, 3rd-party drivers, are always made available for download. Where? Well, look at the download page, which has the appropriate link:

http://puppylinux.com/download/

The link is to:

http://puptrix.org/sources/

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Wed 17 Sep 2008, 09:27    Post subject:  

Is it posiible to have a special power-saving kernel for netbooks
like in Ubuntu
http://www.ubuntu-eee.com/index.php5?title=How_to:_use_custom_Eee_Linux_kernel
and to use powertop with puppy linux

_________________
skype: desafimager
Back to top
View user's profile Send private message 
PlatonicPimp

Joined: 26 Jun 2007
Posts: 34

PostPosted: Wed 17 Sep 2008, 11:28    Post subject:  

Bruce, I'm not sure I'm following you. Yes, Puppy does include the complete Kernel, I'm trying to use a later one. So as I understand this, the Developer did provide the complete code, I just want to replace parts of it and I'm not skilled enough to recognize what to do without help.

Honestly I have no business attempting a kernel recompile at my skill level in linux, but it doesn't look like anyone else is going to port puppy to the XO for me.

Aitch, thanks for the links, that's a big help. I still don't understand quite a bit of it, But I have the feeling that the information I need is contained there, and I just have to learn what I'm doing. Right now I'm wondering, if I want to swap the Kernel, if I can do that with Puppy Unleashed or if I'm going to have to go with Puppy from scratch.

_________________
I am running Buddapup 4.00 on an Itronix gobook 1 with an intel 85 processer and 256 MB ram, and an old desktop who's stats I completely don't know. In both cases I boot from CD at all times. I'm desperately trying to get this to work on an OLPC.
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 1999
Location: Maine, USA

PostPosted: Wed 17 Sep 2008, 12:07    Post subject:  

Years ago when I played with RedHat, I seem to recall a gui for kernel configuration.
Is there still such a beast out there that would work with puppy?

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Wed 17 Sep 2008, 12:11    Post subject:  

PlatonicPimp wrote:
Bruce, I'm not sure I'm following you. Yes, Puppy does include the complete Kernel, I'm trying to use a later one. So as I understand this, the Developer did provide the complete code, I just want to replace parts of it and I'm not skilled enough to recognize what to do without help.


If that's true, I was wrong.

PlatonicPimp wrote:
Honestly I have no business attempting a kernel recompile at my skill level in linux, but it doesn't look like anyone else is going to port puppy to the XO for me.


That's why sometimes people need to recompile the kernel, in order to have support for something it wasn't compiled for.

PlatonicPimp wrote:
Aitch, thanks for the links, that's a big help. I still don't understand quite a bit of it, But I have the feeling that the information I need is contained there, and I just have to learn what I'm doing. Right now I'm wondering, if I want to swap the Kernel, if I can do that with Puppy Unleashed or if I'm going to have to go with Puppy from scratch.


Somethings don't change. Linux is not one of them. Two of the three links Aitch referenced are three years old. Some of the content in those posts are timeless, other parts are dated and kernel specific.

There are plenty of kernel compiling tutorials on the web. Review a few of them and see which ones speak best to you. Then study, it is not all that hard.

Tip: You probably don't want to vary much from the way the kernel was compiled. There is a very important file you will want to use and understand at /lib/modules/DOTconfig-K2.6.21.7 (for Dingo 4.00)

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Wed 17 Sep 2008, 12:18    Post subject:  

trapster wrote:
Years ago when I played with RedHat, I seem to recall a gui for kernel configuration.
Is there still such a beast out there that would work with puppy?


There are different ways to compile the kernel, and yes easy to use interfaces are included with the kernel. It is mostly a matter of checking or not checking options.

If the file I referenced in my last post is used, the existing options are already checked and unchecked. Then, it's just a matter of seeing what else needs to be checked or maybe unchecked.

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Wed 17 Sep 2008, 12:26    Post subject:  

trapster wrote:
Years ago when I played with RedHat, I seem to recall a gui for kernel configuration.
Is there still such a beast out there that would work with puppy?


maybe something like this, trapster? [way out of my league]

http://linux.softpedia.com/get/System/Operating-Systems/Other/Kernel-Configuration-Comparison-5572.shtml

though it was more likely linuxconf, top of the list, here

http://www.comptechdoc.org/os/linux/usersguide/linux_ugdiag.html

@Bruce - Yes, I knew they were old, but as you say, some things never change & on balance, IMHO, they were more useful than nowt [or, not]

Aitch Smile
edit: dang, Bruce, it doesn't seem to warn of a post, if you are editing Very Happy
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11088
Location: The Peoples Republic of California

PostPosted: Wed 17 Sep 2008, 13:20    Post subject:  

A picture of the interface attached
kernel-config.jpg
 Description   
 Filesize   27.37 KB
 Viewed   1807 Time(s)

kernel-config.jpg


_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Wed 17 Sep 2008, 15:27    Post subject:  

@topic-starter:

For getting started about kernel compilation:

http://kernelnewbies.org/FAQ/KernelCompilation

I have compiled the kernel (latest stable 2.6.26.5) for Dingo for my classmate clone and had nothing to look for beyond that link. Obviously I have crashed the system quite a few times due to bad kernel configuration, but kernel compilation isn't that hard. In fact, its fun and satisfactory. Even if you go for the most basic command line interface , even that's full of help. You just gotta be patient and gotta know the basic hardware information(a little more will be helpful, though !) about your system. Oh and having a lot of free time for experimenting is quite helpful too. Wink

Also, I should mention that compiling the kernel for Puppy has been far more consistent and easier when compared to Ubuntu (and probably other distributions as well). So, go ahead, crash your system few times and get that thing working !

You do need to have the devx_400.sfs package installed first.

Have fun.
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 1999
Location: Maine, USA

PostPosted: Wed 17 Sep 2008, 16:30    Post subject:  

OK, I give up Bruce. What program is that a picture of?
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Wed 17 Sep 2008, 18:38    Post subject:  

also available - kernel config, needs basic but not QT3/4 as KCC [previous link]

http://linux.softpedia.com/get/System/Operating-Systems/Kernels/Kernelconfig-4075.shtml

Aitch Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [53 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0915s ][ Queries: 13 (0.0056s) ][ GZIP on ]