Author |
Message |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Mon 02 Feb 2015, 14:06 Post subject:
|
|
Could you send me the .config file from inside the sources?
|
Back to top
|
|
 |
Dry Falls
Joined: 16 Dec 2014 Posts: 616 Location: Upper Columbia
|
Posted: Mon 02 Feb 2015, 16:33 Post subject:
configs |
|
not sure if the attachment worked.
Description |
|

Download |
Filename |
configs.tar.gz |
Filesize |
67.89 KB |
Downloaded |
278 Time(s) |
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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
Description |
|

Download |
Filename |
configs.tar.gz |
Filesize |
67.89 KB |
Downloaded |
272 Time(s) |
|
Back to top
|
|
 |
Dry Falls
Joined: 16 Dec 2014 Posts: 616 Location: Upper Columbia
|
Posted: 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
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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.
Description |
|

Download |
Filename |
sukk-0.1.tar.zip |
Filesize |
113.76 KB |
Downloaded |
259 Time(s) |
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Wed 04 Feb 2015, 02:11 Post subject:
|
|
experimental
Added code to build authentic debian kernel packages!
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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.
Description |
|

Download |
Filename |
sukk-0.3.tar.gz |
Filesize |
160.6 KB |
Downloaded |
279 Time(s) |
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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.
Description |
|

Download |
Filename |
sukk-0.4.tar.gz |
Filesize |
160.67 KB |
Downloaded |
292 Time(s) |
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Fri 06 Feb 2015, 14:20 Post subject:
|
|
Here is the final script.
Next to add a gui.
Description |
|

Download |
Filename |
sukk-0.5.tar.gz |
Filesize |
111.74 KB |
Downloaded |
307 Time(s) |
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: 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.
Description |
|

Download |
Filename |
sukk-0.6.tar.gz |
Filesize |
112.56 KB |
Downloaded |
307 Time(s) |
|
Back to top
|
|
 |
stemsee
Joined: 27 Jun 2013 Posts: 2572 Location: In The Way
|
Posted: Mon 09 Feb 2015, 03:20 Post subject:
|
|
Back on track. Compiled 3.18.6-64 and pae ... running on it now,.
Description |
latest and greatest |
Filesize |
9.41 KB |
Viewed |
454 Time(s) |

|
|
Back to top
|
|
 |
Gobbi
Joined: 09 Mar 2012 Posts: 255
|
Posted: 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
|
|
 |
|