Porteus Kernel Builder

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#241 by neko » 28 Nov 2017, 06:10

@fulalas
Thanks for the words of encouragement.

On a regular basis, I am watching kernel update.
And I update APorteus.

Now I have many plans.
1. study on Slax for how-to-use systemd.
2. introduce "changes=EXIT" to APorteus.
3. study next Porteus "porteus-4.0-x86_64-20171120"
(1) kernel config
(2) firmware
(3) initrd
4. make kernel patch "drivers/acpi/sleep.c" for version 4.14/4.15

My skill is too poor to do those items.


Thanks.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#242 by neko » 29 Nov 2017, 02:19

1. "Porteus Kernel Builder" was updated to mkKernel-17.11.28-noarch-1.xzm
Please refer to Porteus Kernel Builder (Post by neko #52232)

(1)New version line 4.15-rc was included in "Kernel Builder".

(2)Own patches to "drivers/acpi/sleep.c" for 4.14 & 4.15-rc lines were introduced in "Kernel Builder".


2. NEW Examples of updated kernel that were built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)

These new examples (v4.15-rc1-2 & v4.14.2-2) were adopted with Own patches to "drivers/acpi/sleep.c".


Thanks.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#243 by neko » 01 Dec 2017, 06:10

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc1
The latest stable 4.14 version of the Linux kernel is: 4.14.3 <---NEW
The latest stable 4.13 version of the Linux kernel is: 4.13.16 (EOL)
The latest longterm 4.9 version of the Linux kernel is: 4.9.66 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.103 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.46
The latest longterm 3.18 version of the Linux kernel is: 3.18.85 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171201


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


3. The 32Bit&64Bit firmwares of kernel 4.14.3
were built from Arch package "linux-firmware-20171009.bf04291-noarch-1" and etc.,.

[v4.14.3.tar.xz]
v4.14.3/aufs.patch
v4.14.3/own.patch.drivers+acpi+sleep.c

v4.14.3/32/32bit.config
v4.14.3/32/lib/firmware:........built from Arch package "linux-firmware-20171009.bf04291-noarch-1" and etc.,
v4.14.3/32/lib/modules
v4.14.3/32/repo_getFW-v4.14.3-32
v4.14.3/32/vmlinuz

v4.14.3/64/64bit.config
v4.14.3/64/lib/firmware:........built from Arch package "linux-firmware-20171009.bf04291-noarch-1" and etc.,
v4.14.3/64/lib/modules
v4.14.3/64/repo_getFW-v4.14.3-64
v4.14.3/64/vmlinuz

[repo_getFW-v4.14.3-32/64] : firmware build report list (".ko" and firmwares of the ".ko" list)
all........mixed emptyS, findS and linkS
emptyS:....missing firmware (red notation)
findS:.....setting firmware
linkS:.....symbolic linkage firmware (blue notation)


Note:
The function of building firmware from Arch packages will be included at next "Kernel Builder" update.



Thanks.

M. Eerie
Black ninja
Black ninja
Posts: 32
Joined: 31 Aug 2017, 21:18
Distribution: APorteus BUDGIE x64

Porteus Kernel Builder

Post#244 by M. Eerie » 01 Dec 2017, 20:42

I just came to say thank you for your hard work, @Neko.

:good: :Bravo:

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#245 by neko » 03 Dec 2017, 07:17

@M. Eerie
Thanks for the words of encouragement.

On a regular basis, I am watching kernel update.

When the new build example (v4.14.3) was uploaded,
New function that was presented by brokenman was included.

[New Function]
The function is for kernel build without "make firmware".
Instead of "make firmware", firmwares will be gotten from packages.

step1. pick up all ".ko" from lib/modules/XXX/modules.dep
`cat modules.dep | cut -d':' -f1 | sort -u`

step2. at every ".ko", pick up all firmwares that are related with the ".ko"
`modinfo -F firmware lib/modules/XXX/".ko" | sort -u`

step3. by using this firmware pick-up list, get firmwares from the package.
<the package>
brokenman uses the Slackware package "kernel-firmware".
I use the Archlinux packagr "linux-firmware".

[next update of "Kernel Builder"]
Image
New setting window

New button "Create FW" will be introduced in the "Build Kernel" circle.

Now, I am debugging on this function in order to release the next update.


Thanks.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#246 by neko » 04 Dec 2017, 08:03

1. "Porteus Kernel Builder" was updated to mkKernel-17.12.02-noarch-1.xzm
Please refer to Porteus Kernel Builder (Post by neko #52232)

The new function was introduced into "Porteus Kernel Builder".

The function is for kernel build without "make firmware".
Instead of "make firmware", firmwares can be gotten from packages.

If this function is used for kernel version whose "build make" includes "make firmware",
"from package" firmwares will be overwritten with "make firmware" firmwares.

2. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc2 <---NEW
The latest stable 4.14 version of the Linux kernel is: 4.14.3
The latest stable 4.13 version of the Linux kernel is: 4.13.16 (EOL)
The latest longterm 4.9 version of the Linux kernel is: 4.9.66
The latest longterm 4.4 version of the Linux kernel is: 4.4.103
The latest longterm 4.1 version of the Linux kernel is: 4.1.46
The latest longterm 3.18 version of the Linux kernel is: 3.18.85 (EOL)
The latest linux-next version of the Linux kernel is: next-20171204


3. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


Thanks.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#247 by neko » 05 Dec 2017, 03:47

NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)

This example is that
"copy firmwares from firmware packages" function was used
when build kernel version 4.9.66 whose "build make" includes "make firmware".

--------->
"from package" firmwares will be overwritten with "make firmware" firmwares.


Note.
4.9.66 "config prototype" were updated.
=== 32Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
=== 64Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
===
At next "Kernel Builder", the configes will be replaced with new ones.


Thanks.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#248 by neko » 05 Dec 2017, 15:52

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc2
The latest stable 4.14 version of the Linux kernel is: 4.14.4 <---NEW
The latest stable 4.13 version of the Linux kernel is: 4.13.16 (EOL)
The latest longterm 4.9 version of the Linux kernel is: 4.9.67 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.104 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.46
The latest longterm 3.18 version of the Linux kernel is: 3.18.86 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171205


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Thanks.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#249 by neko » 10 Dec 2017, 03:35

1. "Porteus Kernel Builder" was updated to mkKernel-17.12.05-noarch-1.xzm
Please refer to Porteus Kernel Builder (Post by neko #52232)

4.9 line "config prototype" were updated.
=== 32Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
=== 64Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
===

2. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc2
The latest stable 4.14 version of the Linux kernel is: 4.14.5 <---NEW
The latest stable 4.13 version of the Linux kernel is: 4.13.16 (EOL)
The latest longterm 4.9 version of the Linux kernel is: 4.9.68 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.105 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.47 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.87 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171208


3. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Thanks.
Last edited by neko on 10 Dec 2017, 23:43, edited 1 time in total.

Jack
Contributor
Contributor
Posts: 1246
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Porteus Kernel Builder

Post#250 by Jack » 10 Dec 2017, 07:27

Do you still have crippled_sources-4.9.67-64bit.xzm I need it when I downloaded Porteus-LXDE_ja-4.0-i586-20171203.iso
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#251 by neko » 10 Dec 2017, 07:51

@Jack
This is crippled_sources-4.9.67-64bit.xzm.
http://www.mediafire.com/file/9d8dxopte ... -64bit.xzm

Bytheway, give me time. Now I am debugging & confirming on following your spec of mail.

Thanks.

Jack
Contributor
Contributor
Posts: 1246
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Porteus Kernel Builder

Post#252 by Jack » 10 Dec 2017, 17:45

@neko

Thank you for what you did for me. And I will watch for another ISO that you use 4.9.xx kernel.

I have a Dell laptop that I easy remove the Hard Drive. I will change the Hard Dive so I can have the room for the build. I just need how to do it.

The Hard Drive I have are.

1. 320gb with Windows 7
2. 120gb with Porteus 3.2.2
3. 80gb for testing and can use to build the kernel
4. I have more Hard Drive I can use

These drive can be change in less 30 second all I need to do is power down and change it.

Jack
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

neko
DEV Team
DEV Team
Posts: 989
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#253 by neko » 11 Dec 2017, 03:57

==== "Kernel Builder" bugs ====
[issue]
Image

set full items in "setting window".
--->
"crippled_sources" module will not be created.
ISO will not be updated.
"000-kernel" module will not be created.

And compile work area has been removed.
--->
In order to create "crippled_sources" module, "build kernel" will be needed one more time.
(very big time loss)


[bug fix]: not yet done
It needs some time.
Maybe "Kernel Builder" specification should be redesigned.

Original is very simple.
It is designed to assist "Kernel Build procedure".
http://www.porteus.org/component/conten ... ernel.html


[how to avoid this bug]
To avoid this bug, please follow tool usages as follow.

Usage 1.
Please separate "builg kernel" function from the other functions.

Usage 2.
Please perform "create crippled_sources", "ISO update" and "create 000-kernel module" independently.

Usage 3.
Please perform "delete compile work area" function realy at end as only one function.
"realy at end" means that there is no more rebuild with config change, or no more recreate "crippled_sources".
Otherwise you should rebuild kernel with big time loss.

STEP 1
Image
"builg kernel"
Note:
"kernel version 3.18 line" has no "own patch".

STEP 2
Image
"create crippled_sources"

STEP 3
Image
"update ISO"

STEP 4
Image
"create 000-kerne"

Note:
Please move 000-kerne.xzm that is created to your area from "Kernel Builder" work.

STEP 5
"delete compile work area"


Thanks.

---------------------------------------
@Jack
Thank you for your question that be mailed.
It has made me know this bug.

Until at next "Kernel Builder" update, I do try to fix this bug.


Thanks.

Jack
Contributor
Contributor
Posts: 1246
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Porteus Kernel Builder

Post#254 by Jack » 11 Dec 2017, 04:56

These steps is the same for 4.9.68?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Post Reply