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 23 Apr 2014, 06:35
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Compiling kernel 2.4.29 modules, matching pup1.0.4
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Staffan

Joined: 14 Sep 2005
Posts: 12
Location: Sweden

PostPosted: Tue 27 Sep 2005, 05:29    Post subject:  Compiling kernel 2.4.29 modules, matching pup1.0.4  

Hello,

I would like to recompile the kernel found in puppy 1.0.4.
Essentially, I follow the instructions found in http://www.goosee.com/puppy/development/compilekernel.htm
and it seems to work fine. However, I end up with a lot more modules and they are not in the same structure as I find them in the compressed image.gz that is found on the live CD.
I should mention that I do the work on a RedHat 8 machine (gcc 2.96), but there seems to be no trouble compiling or other problems.
Does anyone know how to end up with precisely the same set of modules as the ones that are found on the live CD? Preferably they should be compressed also.

/Staffan
Back to top
View user's profile Send private message 
BarryK
Puppy Master


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

PostPosted: Tue 27 Sep 2005, 23:46    Post subject:  

...oo, ah, redat 8, asking for trouble with the old glibc.
...but then, if it is only for compiling the kernel, perhaps you can get away with it.

You will get all the modules, you then have to copy out the one you want for Puppy.

I have attached a script that I use, but I haven't looked at it for awhile, and you will have to edit it, fix paths etc.
updatemodules.sh.gz
Description 
gz

 Download 
Filename  updatemodules.sh.gz 
Filesize  2.83 KB 
Downloaded  169 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Staffan

Joined: 14 Sep 2005
Posts: 12
Location: Sweden

PostPosted: Wed 28 Sep 2005, 08:55    Post subject:  

Barry,

thanks a (add big number here) times for your work on Puppy Linux!

Thanks also for your fast reply! I had a quick look at your script and it seems to be what I need. Now I also think I see how to get the modules compressed.
Could it be an idea to write a small howto on just re-generating the kernel that is found on the live-cd? For me, I need to just alter a small parameter and I want to stay on a CD (the sound of the HD spinning down just after boot --- and staying quiet while still working is great!) so the steps of mounting image.gz etc and remastering everything would be neat. Essentially this is what remaster-cd does, only that I'm doing it on a different machine where Puppy isn't running.

Again, many thanks!

/Staffan
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Thu 06 Oct 2005, 07:28    Post subject:  

Unless you plan to replace the kernel and all the modules in puppy with your new ones, I think you may have problems here.

I had tried a something similar when I first compiled my hcf/hsf modem drivers. However, when trying to load them in puppy I got errors (or warnings can't remember which) about the different versions of gcc used to compile the kernel and the modules.

I not sure if this would be true for some apps as well.
Back to top
View user's profile Send private message 
Staffan

Joined: 14 Sep 2005
Posts: 12
Location: Sweden

PostPosted: Thu 06 Oct 2005, 13:46    Post subject:  

It works, I added a topic in HOWTO on how I did. There are probably some warnings, but it all worked out well. What I did was to recompile the kernel and the modules at the same time so, yes, you most likely have to replace everything. It isn't too difficult though.

Regards,
Staffan
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0668s ][ Queries: 12 (0.0232s) ][ GZIP on ]