Page 6 of 135

Re: Porteus Kernel Builder

Posted: 07 May 2017, 00:33
by neko
@wread
Thank you for your interrest to this tool.

"to select the kernel version" problem might be caused from the reason that PC run without network connection.
This tool needs network connection.
It gets the current kernel version information from network.
https://www.kernel.org/finger_banner


Thanks.

Re: Porteus Kernel Builder

Posted: 07 May 2017, 05:15
by neko
"Porteus Kernel Builder" was updated to mkKernel-17.05.06-noarch-1.xzm
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

(1) in order to aboid "proxy" block.
1.1. "wget" command option
old: wget -c URL
--->
new: wget -c --no-check-certificate URL

1.2. "git clone" URL
old: git://...
--->
new: https://...

(2) delete used patch.

These fixes were pointed out by Falcony.
Falcony, Thanks a lot!


Thanks.

Re: Porteus Kernel Builder

Posted: 08 May 2017, 21:21
by neko
New "ISO update Example" v4.9.27, v4.4.67 and v3.18.52 were offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The kernel of Porteus ISO can be update to version v4.9.27/v4.4.67/v3.18.52 without compiling.


--------------------------------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.9.23".
http://forum.porteus.org/viewtopic.php? ... =60#p54648


Thanks

Re: Porteus Kernel Builder

Posted: 09 May 2017, 21:13
by neko
New "updated kernel Example" v4.10.15 was offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The kernel of Porteus ISO can be update to version v4.10.15 without compiling.


--------------------------------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.9.23".
http://forum.porteus.org/viewtopic.php? ... =60#p54648


Thanks

Re: Porteus Kernel Builder

Posted: 15 May 2017, 03:22
by neko
New "updated kernel Example" v4.11.1, v4.10.16, v4.9.28 and v4.4.68 were offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The kernel of Porteus ISO can be update to version v4.11.1/v4.10.16/v4.9.28/v4.4.68 without compiling.


--------------------------------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.9.23".
http://forum.porteus.org/viewtopic.php? ... =60#p54648


Thanks

Re: Porteus Kernel Builder

Posted: 15 May 2017, 03:59
by fulalas
@neko, currently 4.12-rc1 doesn't download in your kernel builder app. Here's a valid link: https://git.kernel.org/torvalds/t/linux-4.12-rc1.tar.gz

I'm looking forward for this new kernel version, since I'm using an Intel Kaby Lake and there's a patch for it. :)

Re: Porteus Kernel Builder

Posted: 15 May 2017, 07:11
by neko
@fulalas
Thank you for your information.
Kernel builder is not yet ready for 4.12-rc1.

1. source file
Kernel builder downloads a RC version from the following site.
https://www.kernel.org/pub/linux/kernel/v4.x/testing/
But there is not yet linux-4.12-rc1.tar.xz in the site.

2. AUFS patch
AUFS patch is not prepared in the following site.
https://github.com/sfjro/aufs4-standalone.git
aufs4.10 is used for 4.10 kernel line.
aufs4.x-rcN is used for 4.11 kernel line.
The current aufs4.x-rcN is not tested whether it can be used for 4.12-rc line.

3. config
kernel build configs (.config for both 32bit&64bit) for 4.12-rc line is not yet created.

4. kernel builder
Now this tool is not updated for 4.12-rc line.
When above item 1, 2 and 3 will be ready, it will be updated.


Thanks.

Re: Porteus Kernel Builder

Posted: 15 May 2017, 07:30
by fulalas
I see. Thanks, neko!

Re: Porteus Kernel Builder

Posted: 15 May 2017, 12:57
by neko
@fulalas
For Porteus v3.2.2 ISO, new tool was offered.
It will update kernel to v4.12-rc1 and will change basic duplicate mount system from AUFS to OVERLAY.
Please refer to http://forum.porteus.org/viewtopic.php? ... b60#p51451

1. source file
It was gotten from the site that fulalas introduced.
https://git.kernel.org/torvalds/t/linux-4.12-rc1.tar.gz

2. config
[v4.12-rc1 64 bit config]
step1:
change from the "64 bit v4.11.1" config by "make oldconfig" command with following inputs.
--------------------------
Kyber I/O scheduler (MQ_IOSCHED_KYBER) [Y/n/m/?] (NEW) n
BFQ I/O scheduler (IOSCHED_BFQ) [N/m/y/?] (NEW) n
Support for deprecated /dev/mcelog character device (X86_MCELOG_LEGACY) [N/y/?] (NEW) n
PCI Endpoint Support (PCI_ENDPOINT) [N/y/?] (NEW) n
MicroSemi Switchtec PCIe Switch Management Driver (PCI_SW_SWITCHTEC) [N/m/y/?] (NEW) n
PCI Endpoint Test driver (PCI_ENDPOINT_TEST) [N/m/y/?] (NEW) n
Integrity target support (DM_INTEGRITY) [N/m/?] (NEW) n
Virtual vsock monitoring device (VSOCKMON) [N/m/?] (NEW) n
Broadcom Tigon3 HWMON support (TIGON3_HWMON) [Y/n/?] (NEW) n
Synopsys devices (NET_VENDOR_SYNOPSYS) [Y/n/?] (NEW) n
MDIO bus device drivers (MDIO_DEVICE) [M/y/?] (NEW) m
Synaptics PS/2 SMbus companion (MOUSE_PS2_SYNAPTICS_SMBUS) [Y/n/?] (NEW) n
Maximum number of uartlite serial ports (SERIAL_UARTLITE_NR_UARTS) [1] (NEW)
LTC LTC4306/5 I2C multiplexer (I2C_MUX_LTC4306) [N/m/?] (NEW) n
ASPEED AST2400/AST2500 PWM and Fan tach driver (SENSORS_ASPEED) [N/m/y/?] (NEW) n
Emergency poweroff delay in milli-seconds (THERMAL_EMERGENCY_POWEROFF_DELAY_MS) [0] (NEW)
Support for Intel Broxton Whiskey Cove PMIC (INTEL_SOC_PMIC_BXTWC) [N/m/?] (NEW) n
TI Lighting Management Unit driver (MFD_TI_LMU) [N/m/y/?] (NEW) n
HDMI CEC RC integration (MEDIA_CEC_RC) [N/y/?] (NEW) n
Built-in SIR IrDA port (IR_SIR) [N/m/y/?] (NEW) n
RainShadow Tech HDMI CEC (USB_RAINSHADOW_CEC) [N/m/?] (NEW) n
CEC platform devices (CEC_PLATFORM_DRIVERS) [N/y] (NEW) n
OmniVision OV2640 sensor support (VIDEO_OV2640) [N/m/y/?] (NEW) n
Overallocation of the fbdev buffer (DRM_FBDEV_OVERALLOC) [100] (NEW)
Enable selftests upon driver load (DRM_I915_SELFTEST) [N/y/?] (NEW) n
Enable low level request tracing events (DRM_I915_LOW_LEVEL_TRACEPOINTS) [N/y/?] (NEW) n
Enable extra debug warnings for vblank evasion (DRM_I915_DEBUG_VBLANK_EVADE) [N/y/?] (NEW) n
Backlight driver for the Arctic Sands ARCxCnnnn family (BACKLIGHT_ARCXCNN) [N/m/y/?] (NEW) n
Mark of the unicorn FireWire series support (SND_FIREWIRE_MOTU) [N/m/?] (NEW) n
RME Fireface series support (SND_FIREFACE) [N/m/?] (NEW) n
Accutouch touch device (HID_ACCUTOUCH) [N/m/y/?] (NEW) n
NTI keyboard adapters (HID_NTI) [N/m/y/?] (NEW) n
PCI based USB host interface (USB_PCI) [Y/n/?] (NEW) y
Marvell Xenon eMMC/SD/SDIO SDHCI driver (MMC_SDHCI_XENON) [N/m/y/?] (NEW) y
Realtek RTL8723BS SDIO Wireless LAN NIC driver (RTL8723BS) [N/m/?] (NEW) m
USB Type-C Port Controller Manager (TYPEC_TCPM) [N/m/y/?] (NEW) n
External LED on Dell Business Netbooks (DELL_WMI_LED) [N/m/?] (NEW) n
Intel Cherry Trail ACPI INT33FE Driver (INTEL_CHT_INT33FE) [N/m/y/?] (NEW) m
DAX: direct access to differentiated memory (DAX) [M/y] (NEW) y
Trusted Execution Environment support (TEE) [N/m/y/?] (NEW) n
Provide system-wide ring of blacklisted keys (SYSTEM_BLACKLIST_KEYRING) [N/y/?] (NEW) n
---------------------------------
step 2:
add "overlay file system" and "ntfs file system" by "make menuconfig" command.
---------------------------------
CONFIG_OVERLAY_FS=y
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
---
CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y
---------------------------------

[v4.12-rc1 32 bit config]
change from "64 bit v4.12-rc1" config by "make menuconfig" command (delete 64bit item).


Thanks.

Re: Porteus Kernel Builder

Posted: 17 May 2017, 21:49
by neko
New "updated kernel Example" v3.18.53 was offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The kernel of Porteus ISO can be update to version v3.18.53 without compiling.


--------------------------------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.9.23".
http://forum.porteus.org/viewtopic.php? ... =60#p54648


Thanks

Re: Porteus Kernel Builder

Posted: 21 May 2017, 09:37
by neko
1. New "ISO update Example" v4.11.2, v4.10.17, v4.9.29, v4.4.69 and v3.18.54 were offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The kernel of Porteus ISO can be update to version v4.11.2/v4.10.17/v4.9.29/v4.4.69/v3.18.54 without compiling.

About each kernel version line, the config was updated as follows.
[v4.11, v4.10, v4.9]
(1)OVERLAY_FS
CONFIG_OVERLAY_FS=y
CONFIG_OVERLAY_FS_REDIRECT_DIR=y

(2)FAT UTF8, NTFS
CONFIG_FAT_DEFAULT_UTF8=y
CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y

[v4.4, v3.18]
(3)NTFS
CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y


2. "Porteus Kernel Builder" was updated to mkKernel-17.05.21-noarch-1.xzm
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The configs of v4.11, v4.10, v4.9, v4.4 and v3.18 were updated as above.


--------------------------------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.9.23".
http://forum.porteus.org/viewtopic.php? ... =60#p54648


Thanks.

Re: Porteus Kernel Builder

Posted: 26 May 2017, 05:40
by neko
New "ISO update Example" v4.9.30, v4.4.70 and v3.18.55 were offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The kernel of Porteus ISO can be update to version v4.9.30/v4.4.70/v3.18.55 without compiling.


NOTE1:
Kernel 4.11.3 build was in error result.
The AUFS patch (aufs4.x-rcN) has something mismatching.
fs/aufs/hfsnotify.c: In function 'au_hfsn_alloc':
fs/aufs/hfsnotify.c:57:27: error: passing argument 2 of 'fsnotify_init_mark' from incompatible pointer type [-Werror=incompatible-pointer-types]
fsnotify_init_mark(mark, br->br_hfsn->hfsn_group);
^~
In file included from ./include/linux/fsnotify.h:14:0,
from fs/aufs/inode.h:27,
from fs/aufs/aufs.h:46,
from fs/aufs/hfsnotify.c:22:
./include/linux/fsnotify_backend.h:322:13: note: expected 'void (*)(struct fsnotify_mark *)' but argument is of type 'struct fsnotify_group *'
extern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *mark));
^~~~~~~~~~~~~~~~~~
fs/aufs/hfsnotify.c:64:32: error: passing argument 2 of 'fsnotify_add_mark' from incompatible pointer type [-Werror=incompatible-pointer-types]
err = fsnotify_add_mark(mark, hinode->hi_inode, /*mnt*/NULL,
^~~~~~
In file included from ./include/linux/fsnotify.h:14:0,
from fs/aufs/inode.h:27,
from fs/aufs/aufs.h:46,
from fs/aufs/hfsnotify.c:22:
./include/linux/fsnotify_backend.h:332:12: note: expected 'struct fsnotify_group *' but argument is of type 'struct inode *'
extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group,
^~~~~~~~~~~~~~~~~
fs/aufs/hfsnotify.c:65:19: warning: passing argument 4 of 'fsnotify_add_mark' makes pointer from integer without a cast [-Wint-conversion]
/*allow_dups*/1);
^
In file included from ./include/linux/fsnotify.h:14:0,
from fs/aufs/inode.h:27,
from fs/aufs/aufs.h:46,
from fs/aufs/hfsnotify.c:22:
./include/linux/fsnotify_backend.h:332:12: note: expected 'struct vfsmount *' but argument is of type 'int'
extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group,
^~~~~~~~~~~~~~~~~
fs/aufs/hfsnotify.c:64:8: error: too few arguments to function 'fsnotify_add_mark'
err = fsnotify_add_mark(mark, hinode->hi_inode, /*mnt*/NULL,
^~~~~~~~~~~~~~~~~
In file included from ./include/linux/fsnotify.h:14:0,
from fs/aufs/inode.h:27,
from fs/aufs/aufs.h:46,
from fs/aufs/hfsnotify.c:22:
./include/linux/fsnotify_backend.h:332:12: note: declared here
extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group,
^~~~~~~~~~~~~~~~~
fs/aufs/hfsnotify.c: At top level:
fs/aufs/hfsnotify.c:168:12: warning: 'struct fsnotify_iter_info' declared inside parameter list will not be visible outside of this definition or declaration
struct fsnotify_iter_info *iter_info)
^~~~~~~~~~~~~~~~~~
fs/aufs/hfsnotify.c:206:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.handle_event = au_hfsn_handle_event,
^~~~~~~~~~~~~~~~~~~~
fs/aufs/hfsnotify.c:206:19: note: (near initialization for 'au_hfsn_ops.handle_event')
fs/aufs/hfsnotify.c:208:2: error: unknown field 'free_mark' specified in initializer
.free_mark = au_hfsn_free_mark
^
fs/aufs/hfsnotify.c:208:16: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.free_mark = au_hfsn_free_mark
^~~~~~~~~~~~~~~~~
fs/aufs/hfsnotify.c:208:16: note: (near initialization for 'au_hfsn_ops.freeing_mark')
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:294: fs/aufs/hfsnotify.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:553: fs/aufs] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1002: fs] Error 2
make: *** Waiting for unfinished jobs....
NOTE2:
Updating kernel of ISO to v4.11.3 can be done by "upkernel4.11" command.
But this command will change basic duplicate mount system from AUFS to OVERLAY.
Please refer to http://forum.porteus.org/viewtopic.php? ... 447#p51451

--------------------------------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.9.23".
http://forum.porteus.org/viewtopic.php? ... =60#p54648


Thanks.

Re: Porteus Kernel Builder

Posted: 01 Jun 2017, 13:33
by neko
New "updated kernel Example" v4.1.40 was offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 779#p52232

The kernel of Porteus ISO can be update to version v4.1.40 without compiling.


--------------------------------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.9.23".
http://forum.porteus.org/viewtopic.php? ... =60#p54648


Thanks.

Re: Porteus Kernel Builder

Posted: 07 Jun 2017, 20:31
by julian2407
please someone, what version of the kernel to download here have config_ipc_ns = y, it's for firejail program, isolation

Re: Porteus Kernel Builder

Posted: 08 Jun 2017, 02:20
by neko
@julian2407
You can change config and build by yourself.

----------------------------------------------------
[how to tune config]
1. preparation
(1)mkKernel-nn.nn.nn-noarch-n.xzm
About recent version,
refer to http://forum.porteus.org/viewtopic.php? ... 066#p52232

(2)05-devel.xzm (your architecture version)
will be gotten from Porteus release site.

2. activate mkKernel-nn.nn.nn-noarch-n.xzm and 05-devel.xzm.

3. execute "Kernel Builder" from GUI menu and set "setting window".
(1)"Kernel Builder directory"
(2)"kernel version"
(3) check "download" and "expand & patch" items.

4. push OK button.

5. tune config
Example: architecture=64bit, version=4.9.30

Code: Select all

% su
# cd yourKernelBuilderDirectory/v4.9.30/64/linux-4.9.30
# make menuconfig
change in menu of "make menuconfig", and then save.

6. execute "Kernel Builder" from GUI menu and set "setting window".
(1)"Kernel Builder directory"
(2)"kernel version"
(3) check "compile" item.

7. push OK button.


Thanks.

----------------------------------------------------
Current config
ubuntu/3.18.14/ubuntu.32bit-config-3.18.14-031814-generic:CONFIG_IPC_NS=y
ubuntu/4.4.0/config-4.4.0-040400-generic:CONFIG_IPC_NS=y
v3.18.55/32/32bit.config:CONFIG_IPC_NS=y
v3.18.55/64/64bit.config:CONFIG_IPC_NS=y
v4.1.40/32/32bit.config:CONFIG_IPC_NS=y
v4.1.40/64/64bit.config:CONFIG_IPC_NS=y
v4.10.17/32/32bit.config:CONFIG_IPC_NS=y
v4.10.17/64/64bit.config:CONFIG_IPC_NS=y
v4.11.3/32/32bit.config:CONFIG_IPC_NS=y
v4.11.3/64/64bit.config:CONFIG_IPC_NS=y
v4.12-rc4/32/32bit.config:CONFIG_IPC_NS=y
v4.12-rc4/64/64bit.config:CONFIG_IPC_NS=y
v4.4.70/32/32bit.config:CONFIG_IPC_NS=y
v4.4.70/64/64bit.config:CONFIG_IPC_NS=y
v4.9.30/32/32bit.config:CONFIG_IPC_NS=y
v4.9.30/64/64bit.config:CONFIG_IPC_NS=y
Note:
Version 4.10 line is not in the select menu of "Kernel Builder".
Version 4.11 and 4.12 lines are not yet ready for AUFS patch.

----------------------------------------------------
About kernel config paramater "CONFIG_IPC_NS"
http://cateee.net/lkddb/web-lkddb/IPC_NS.html

----------------------------------------------------
About firejail program
https://firejail.wordpress.com/