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 Sep 2019, 08:15
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 5 of 38 [563 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 36, 37, 38 Next
Author Message
stemsee

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

PostPosted: Mon 02 Feb 2015, 03:32    Post subject:  

Ah!

I never tested that scenario! The config file is configured for features that are not in the old kernel version, so what happens? Will need to enter source dir and examine .config file. Maybe in this case there needs to be a manual 'make menuconfig' interaction. An option I was intending to implement anyway! I think that when one enables IA32 there appear two or three more options to configure. When it is not set then those lines are no longer in the config file. I should be able to hack it one way or another or even include 3 alternative config files for such a scenario, for old configs, maybe Fd32 and Fd64 configs from kernel kit!

Let me have a think.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Mon 02 Feb 2015, 14:03    Post subject: Re: no-ia32  

Dry Falls wrote:
Slapping it in externally is no good because the kernel and modules (builtin, etc.) have to agree.


I think you can use the same config and kernel source and manually build said modules shoud be fine!

http://sourceforge.net/p/tianocore/edk2/ci/970e4d2bcc3ffa3858b880bd24fd62caa59d5894/tree/EdkCompatibilityPkg/Sample/Platform/Ia32/Build/build.bat
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Mon 02 Feb 2015, 14:06    Post subject:  

Could you send me the .config file from inside the sources?
Back to top
View user's profile Send private message MSN Messenger 
Dry Falls

Joined: 16 Dec 2014
Posts: 590
Location: Upper Columbia

PostPosted: Mon 02 Feb 2015, 16:33    Post subject: configs  

not sure if the attachment worked.
configs.tar.gz
Description 
gz

 Download 
Filename  configs.tar.gz 
Filesize  67.89 KB 
Downloaded  178 Time(s) 
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Mon 02 Feb 2015, 17:54    Post subject:  

Here they are edited.

after copying them back to the sources dir open a terminal in there and

1. make oldconfig = recompile entirely
Code:
make oldconfig
configs.tar.gz
Description 
gz

 Download 
Filename  configs.tar.gz 
Filesize  67.89 KB 
Downloaded  178 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Dry Falls

Joined: 16 Dec 2014
Posts: 590
Location: Upper Columbia

PostPosted: Mon 02 Feb 2015, 20:04    Post subject:  

build.bat didn't work even after removing the dos language (rem).

Got the sources fixed but am having trouble rebuilding the modules (remember, I'm totally new at this).

first three lines of xerrors log:
Code:
Window Manager: CURRENTWM=openbox-session
/usr/bin/start32: line 35: /usr/bin/32/bash: cannot execute binary file
cups: unable to restart scheduler.


I tried running the build script again and it finds the kernel tar.xz but not aufs...tar.bz2 (I slipped them into vanilla). removed them and tried a new download but in both cases got
Code:
cannot download aufs...
or some such.

getting confused, will try a gin and tonic with three aspirin.

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

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

PostPosted: Tue 03 Feb 2015, 06:13    Post subject:  

EDIT: Use my script. Then stop it 'ctrl+c' after it says kernel is configured. This must be done to get the kernel sources patched with aufs etc. Then enter the kernel sources dir. Copy the configs i sent in to there. Then open teerminal and type
Code:
make oldconfig
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Tue 03 Feb 2015, 17:46    Post subject:  

Here is Stems-Unattended-Kernel-Kit SUKK-0.1

Added option to manually configure kernel.
Change aufsv to match kernel_version for all configs.
Also backs up edited .config from sources with date stamp per kernel compiled.
Fixed logic bugs and tested thoroughly.
Creates tar.bzip2 kernel package for use in woof-ce next.

If no bug is found I pretty much feel this is the release candidate.
Lacks only a gui perhaps.
sukk-0.1.tar.zip
Description 
zip

 Download 
Filename  sukk-0.1.tar.zip 
Filesize  113.76 KB 
Downloaded  158 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Wed 04 Feb 2015, 02:11    Post subject:  

experimental

Added code to build authentic debian kernel packages!
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Thu 05 Feb 2015, 09:11    Post subject:  

Building the authentic debian packages requires fakeroot and kernel-package to be installed, however there seems to be no way to test both packages, especially on a deb puppy. Also the old method has a replacement.
old
Code:
Patches
make-kpg clean
make menuconfig
time fakeroot make-kpkg -j4 --initrd kernel_image kernel_headers

new
Code:
Patches
make-kpg clean
make menuconfig
make deb-pkg


Didn't work for me on puppy or makululinux.

New sukk-0.3 changed the logic entirely. Old complicated out - new simple in.
Now the three builds are three functions which can be called in one of seven orders; 1, 2, 3,
12, 13, 23, or
123.
sukk-0.3.tar.gz
Description 
gz

 Download 
Filename  sukk-0.3.tar.gz 
Filesize  160.6 KB 
Downloaded  183 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Thu 05 Feb 2015, 20:15    Post subject:  

A few bugs ironed out:

1) importing variables from build.conf s (kept building 64bit)
2) stop it creating new dist/packages when finished compiling.
3) couldn't find aufs package for build 2 & 3
4) when building only 2 or 3 couldn't find kernel source package.
5) Wrapped test around make clean and make-kpg clean.
6) removed duplicate code for unpacking aufs.
7) reduced multiple instances of mkkernsrc to one.
sukk-0.4.tar.gz
Description 
gz

 Download 
Filename  sukk-0.4.tar.gz 
Filesize  160.67 KB 
Downloaded  197 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Fri 06 Feb 2015, 14:20    Post subject:  

Here is the final script.

Next to add a gui.
sukk-0.5.tar.gz
Description 
gz

 Download 
Filename  sukk-0.5.tar.gz 
Filesize  111.74 KB 
Downloaded  208 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Sun 08 Feb 2015, 19:40    Post subject:  

Just when you thought ... !

I left out the patches in 0.5

Added make oldconfig option default. Which ever options is used for the first compile will be carried to the rest.
sukk-0.6.tar.gz
Description 
gz

 Download 
Filename  sukk-0.6.tar.gz 
Filesize  112.56 KB 
Downloaded  212 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Mon 09 Feb 2015, 03:20    Post subject:  

Back on track. Compiled 3.18.6-64 and pae ... running on it now,.
capture19599.jpg
 Description   latest and greatest
 Filesize   9.41 KB
 Viewed   421 Time(s)

capture19599.jpg

Back to top
View user's profile Send private message MSN Messenger 
Gobbi

Joined: 09 Mar 2012
Posts: 252

PostPosted: Tue 10 Feb 2015, 08:17    Post subject:  

Hi @stemsee ,
Using sukk-0.6 on FD630 - only the '64' . Attached the log . IF it would be a good try - which are the first steps to do to go on and use the new kernel ?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 38 [563 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 36, 37, 38 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.0630s ][ Queries: 12 (0.0161s) ][ GZIP on ]