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 18 Jul 2018, 03:08
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
kernel compiling in woof-ce
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 36 [527 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 34, 35, 36 Next
Author Message
Gobbi

Joined: 09 Mar 2012
Posts: 241

PostPosted: Tue 10 Feb 2015, 15:48    Post subject:  

Following @rufwoof's idea - it cross my mind to open the Fatdog's intrid , replace kernel-modules.sfs with kernel-modules-3.18.6-Fatdog.sfs from /sukk-0.6/dist/packages64 and then renamed it . Repacked the intrid , threw it together with the new vmlinuz into a frugal install and here I am : I'm posting from it .
Of course no fglrx , but it's really cool .
Nice job , @stemsee Exclamation
screenshot.jpg
 Description   
 Filesize   104.43 KB
 Viewed   662 Time(s)

screenshot.jpg

Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2253
Location: In The Way

PostPosted: Tue 10 Feb 2015, 15:50    Post subject:  

In fatdog click on initrd. It will open. Replace kernel-modules.sfs click on repack-invited script. Copy vmlinuz to boot folder and reboot PC.

Ahh ok! I couldn't,t compile on fatdog or lighthouse!!!???[/list]

edit I wrote this response on an android tablet ... auto complete!

Last edited by stemsee on Wed 11 Feb 2015, 12:28; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2253
Location: In The Way

PostPosted: Wed 11 Feb 2015, 06:59    Post subject: kernels 3.18.6 pae 64
Subject description: latest kernels
 

3.18.6-pae
https://drive.google.com/file/d/0B4GhZVmB2RkwSjRfckoydDh3UFU

3.18.6-64
https://drive.google.com/file/d/0B4GhZVmB2RkwUms2Q3RmbFhHa0U
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2253
Location: In The Way

PostPosted: Sat 14 Feb 2015, 08:02    Post subject:  

updated configs, especially pae.
StemsUnKernKit-0.7.tar.gz
Description 
gz

 Download 
Filename  StemsUnKernKit-0.7.tar.gz 
Filesize  112.95 KB 
Downloaded  196 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
rufwoof

Joined: 24 Feb 2014
Posts: 2385

PostPosted: Sat 14 Feb 2015, 10:24    Post subject:  

Gobbi wrote:
Following @rufwoof's idea - it cross my mind to open the Fatdog's intrid , replace kernel-modules.sfs with kernel-modules-3.18.6-Fatdog.sfs from /sukk-0.6/dist/packages64 and then renamed it . Repacked the intrid , threw it together with the new vmlinuz into a frugal install and here I am : I'm posting from it .
Of course no fglrx , but it's really cool .
Nice job , @stemsee Exclamation

Great stuff Gobbi - and big thanks to stemsee

I've just extracted my initrd which contains my Slacko 5.3.3 pup sfs, unsquashed that pup sfs and dropped in EmSee's firmware and modules as replacements into /lib, copied the DOTconfig for the 32 PAE into /etc/modules .... and then copied all of those extracted folder/file contents directly over the normal (small) initrd contents ... i.e. to form a virtual full install - but that boots/resides in memory. Edited /init to just exec /sbin/init and nothing else (so no puppy layered file system setup up etc).

Reformed the intird using lz4 compression (with -l (little L)) switch, dropped in EmSee's vmlinuz and grub4dos booted using those vmlinuz and newly formed initrd.lz4 files.

All seems to be running great.

I mounted my external LibreOffice sfs, and cp -rs /mnt/lib/* /. symbolic linked copied the contents to the root directory and Libre's running fine.

Downloaded the latest firefox and that's ruhning ok as well.

I did try creating a lz4 squashfs - but the kernel doesn't recognise/load that. Looking at the config files (which I know very little about), I suspect the kernel has the squashfs suppoft of lz4 as a needed to be loaded module (outside of my area of knowledge).

So looks like the 64 bit and 32 bit PAE are both working ok.
emsee.jpg
 Description   
 Filesize   69.75 KB
 Viewed   598 Time(s)

emsee.jpg

Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2385

PostPosted: Sat 14 Feb 2015, 11:36    Post subject:  

Noob/unfamiliar - how do you know/how can you tell if zram is being used?

I've modprobe'd zram to activate the zram module as the first line in init, and then exec sbin/init and pup boots to desktop and works ok, but I've no idea how to see if its using zram or not.

System information and selecting kernel modules indicates that zram and lz4 compression are both installed.

Summary shows 210MB used and I know that the puppy uncompressed size is around twice that (399MB)

I've used non-layered file system, initrd and pupsfs files all dumped in together and just lz4 compressed those when creating the initrd.lz4, which comes out at around 200MB, but presumably when booted extracts/uncompresses into memory and without zram would presumably take up 399MB of ram, but with zram would presumably come out at around half that - which seems to be the case (210 MB indicated).

So my guess is that I'm running with zram active and working - but lack the knowledge of how to confirm such.

TIA.,
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2253
Location: In The Way

PostPosted: Sat 14 Feb 2015, 11:49    Post subject:  

I just compiled 3.18.7 32 pae and 64 bit kernels with lzo and lz4, natively supported by this kernel. Actually I thought that I had compiled in (not module) lz4 for previous kernel.

As for testing zram

Code:
dmesg | grep zram


http://wiki.gentoo.org/wiki/Zram
Back to top
View user's profile Send private message MSN Messenger 
rufwoof

Joined: 24 Feb 2014
Posts: 2385

PostPosted: Sat 14 Feb 2015, 12:30    Post subject:  

Thanks stemsee

zram working ok by the looks of it.
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2253
Location: In The Way

PostPosted: Thu 19 Feb 2015, 17:45    Post subject:  

cleaning is performed by typing
Code:
./ubuild.sh clean

or to run as is reusing resources unpacked kernel sources etc.
Code:
./ubuild.sh
Back to top
View user's profile Send private message MSN Messenger 
Ghost Dog


Joined: 27 Jan 2012
Posts: 164

PostPosted: Thu 19 Feb 2015, 19:02    Post subject:  

Did you have to do anything special to get 3.18.7 to compile? Because I'm trying to do that with the normal kernel kit and it's stopping with errors...
_________________
The Way of the Samurai
Back to top
View user's profile Send private message 
Q5sys


Joined: 11 Dec 2008
Posts: 1126

PostPosted: Thu 19 Feb 2015, 21:27    Post subject:  

Ghost Dog wrote:
Did you have to do anything special to get 3.18.7 to compile? Because I'm trying to do that with the normal kernel kit and it's stopping with errors...


I was able to get it to compile 3.18.7 tonight without any errors. What error did you get? That'll help someone diagnose the problem.
Back to top
View user's profile Send private message Visit poster's website 
Ghost Dog


Joined: 27 Jan 2012
Posts: 164

PostPosted: Thu 19 Feb 2015, 22:41    Post subject:  

It's working now. The problem was that I had to change the config to 3.18.1+ for the aufs version. Embarassed
_________________
The Way of the Samurai
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2253
Location: In The Way

PostPosted: Thu 19 Feb 2015, 22:56    Post subject:  

I will add another feature to update configs from manually configured .config files 'make menuconfig' updates. It will unpack the kernel apply patches then run 'make menuconfig' three times one for each DOTconfig file and save it to the relevant DOTconfig: 64, pae, nopae.

Also I tend to supply feature rich configs with too much firmware and too many drivers/modules which will not likely get used. I am going to look into making minimal compiles for those who like smaller packages. With a line of code to switch between sets of DOTconfig files.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2253
Location: In The Way

PostPosted: Sat 21 Feb 2015, 14:08    Post subject:  

StemsUnKernKit-0.8

DOTconfigs have no kernel version info in their names.

Update DOTconfigs (64,pae,nopae) in series. At the first menu option input 888, then at configure kernel menu select option 2. Manual config for 64, then for pae, then for nopae, each successive .config will be copied from and back to the relevant DOTconfig in ../configs_extra/ . After all three have been updated the script will continue to compile 64bit kernel or enter 'Ctrl+c' to exit.
sukk-0.8.tar.gz
Description 
gz

 Download 
Filename  sukk-0.8.tar.gz 
Filesize  114.72 KB 
Downloaded  172 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Q5sys


Joined: 11 Dec 2008
Posts: 1126

PostPosted: Sun 22 Feb 2015, 00:04    Post subject:  

Just curious... is there a reason you coded this script to ammend the date to the kernel sources SFS but not the kernel modules SFS?
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 6 of 36 [527 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 34, 35, 36 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0592s ][ Queries: 13 (0.0095s) ][ GZIP on ]