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...
beny
Full of knowledge
Full of knowledge
Posts: 916
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#856 by beny » 04 Apr 2020, 13:02

hi blaze inside the aporteus that i have the software work, i have to try to replace the 000.kernel and vmlinux , i have to reboot ....see you later..../tmp/crippled_sources-5.6.2-64bit.xzm

beny
Full of knowledge
Full of knowledge
Posts: 916
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#857 by beny » 04 Apr 2020, 14:31

system hang on hostname etc etc i try to rebuild again.....

beny
Full of knowledge
Full of knowledge
Posts: 916
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#858 by beny » 04 Apr 2020, 15:36

guest@porteus
-------------
OS: Arch Linux x86_64
Kernel: 5.6.2-porteus
Uptime: up 1 minute
Packages: 0
Shell: bash 5.0.16
Resolution: 1920x1080
DE: XFCE
WM: Xfwm4
WM Theme: Default
Theme: Adwaita [GTK2], Raleigh [GTK3]
Icons: NuoveXT2 [GTK2/3]
Terminal: Xfce4-terminal
CPU: AMD FX-6300 (6) @ 3.5GHz
GPU: NVIDIA GeForce GT 740
Memory: 1300MB / 7952MB
at second build seem all ok blaze.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3028
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#859 by Blaze » 04 Apr 2020, 15:39

I have issue with vbox too

Code: Select all

make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.5.11-porteus/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run '\''make oldconfig && make prepare'\'' on kernel src to fix it.";	\
echo >&2 ;							\
/bin/false)
mkdir -p /lib/modules/5.5.11-porteus/misc
make -f ./scripts/Makefile.modinst
  mkdir -p /lib/modules/5.5.11-porteus/misc ; cp /tmp/vbox.0/vboxnetadp.ko /lib/modules/5.5.11-porteus/misc ; true /lib/modules/5.5.11-porteus/misc/vboxnetadp.ko ; true /lib/modules/5.5.11-porteus/misc/vboxnetadp.ko || true ; true /lib/modules/5.5.11-porteus/misc/vboxnetadp.ko
  sh ./scripts/depmod.sh /sbin/depmod 5.5.11-porteus'
+ test -e /opt/VirtualBox/src/vboxhost/vboxpci
+ rm -f /etc/vbox/module_not_compiled
+ depmod -a
+ sync
+ succ_msg 'VirtualBox kernel modules built'
+ logger -t vboxdrv.sh 'VirtualBox kernel modules built.'
+ test -n ''
+ test -f /var/lib/shim-signed/mok/MOK.der
+ /sbin/modprobe vboxdrv
+ failure 'modprobe vboxdrv failed. Please use '\''dmesg'\'' to find out why'
+ fail_msg 'modprobe vboxdrv failed. Please use '\''dmesg'\'' to find out why'
+ echo 'vboxdrv.sh: failed: modprobe vboxdrv failed. Please use '\''dmesg'\'' to find out why.'
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
+ logger -t vboxdrv.sh 'failed: modprobe vboxdrv failed. Please use '\''dmesg'\'' to find out why.'
+ exit 1

Code: Select all

# dmesg
[ 1617.962929] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 1631.587188] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 1653.727265] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 1667.269484] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Blaze
DEV Team
DEV Team
Posts: 3028
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#860 by Blaze » 05 Apr 2020, 05:13

Thanks beny and neko.

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm)

[5.6.2] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.6.2.tar (98 M)
http://www.mediafire.com/file/ihbnc3e7r ... l5.6.2.tar
md5sum: b6e7dc1f40d1a7baa86c17189cf6ab3f 64bit-ALL-kernel5.6.2.tar
Image

[5.4.30] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.4.30.tar (96 M)
http://www.mediafire.com/file/bv4idvvmj ... 30.tar.tar
md5sum: 6c5de8af6764a9c1bdf25df4f3a18b8b 64bit-ALL-kernel5.4.30.tar

Note : Compiler that was used.
for kernel 5.6.2, 5.4.30 : gcc-9.3.0-x86_64
05-devel.xzm (2020-04-04)
md5sum: bda976e458a5762b461a22b239ae804a 05-devel.xzm
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Rava
Contributor
Contributor
Posts: 2679
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

Porteus Kernel Builder

Post#861 by Rava » 05 Apr 2020, 05:44

Blaze wrote:
05 Apr 2020, 05:13
Note : Compiler that was used.
for kernel 5.6.2, 5.4.30 : gcc-9.3.0-x86_64
05-devel.xzm (2020-04-04)
md5sum: bda976e458a5762b461a22b239ae804a 05-devel.xzm
What is the difference between this 05-devel and this one:

Code: Select all

1f1888874b9eb28a27a3cb1d24e2bdb0  05-devel_gcc-9.3.0-x86_64.xzm
It also includes gcc-9.3.0 and I presume that 05-devel was also made by you?
Cheers!
Yours Rava

User avatar
Blaze
DEV Team
DEV Team
Posts: 3028
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#862 by Blaze » 05 Apr 2020, 06:51

Builded by me from Slackware-current. Your seems by in Arch Linux.

Отправлено спустя 2 часа 35 минут 28 секунд:
Blaze wrote:
14 Feb 2020, 15:44
hwclock iopl() port access failed: function not implemented - the same on the 5.5.2 kernel build by neko
The same on kernel 5.6.2
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

beny
Full of knowledge
Full of knowledge
Posts: 916
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus Kernel Builder

Post#863 by beny » 05 Apr 2020, 10:01

hi blaze the vbox script into aporteus make the task but some libs ins't there so we have a loop vbox do not work,also with the ASM make the module but the same,well i hate vbox.but the script to upgrade kernel work well.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3028
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#864 by Blaze » 05 Apr 2020, 17:47

I think neko won’t be offended if I publish this useful material.

I got mkKernel-20.03.30-noarch-1 from
APorteus-OPENBOX-v20.04.02-x86_64.iso (512 M)
http://www.mediafire.com/file/47so5lsmy ... x86_64.iso
md5sum: b3d16000107fb4db2af91c60f77204a5 APorteus-OPENBOX-v20.04.02-x86_64.iso
step by step from neko message:

Code: Select all

You can get  mkKernel-20.03.30-noarch-1.xzm and gcc-9.3.0-x86_64-1.xzm from APorteus-OPENBOX-v20.04.02-x86_64.iso.

On the APorteus-OPENBOX-v20.04.02-x86_64.iso running environment, do following steps.
---------------------------
% su
# cd work
# cp YourGetWork/APorteus-OPENBOX-v20.04.02-x86_64.iso .
# dISO APorteus-OPENBOX-v20.04.02-x86_64.iso
# dXZM APorteus-OPENBOX-v20.04.02-x86_64/porteus/base/002-z.xorg.xzm
# sep2pkg 002-z.xorg
# mkXZM pkgs.002-z.xorg/mkKernel-20.03.30-noarch-1
# dXZM APorteus-OPENBOX-v20.04.02-x86_64/porteus/modules/05-devel.xzm
# sep2pkg 05-devel
# mkXZM pkgs.devel/gcc-9.3.0-x86_64-1
# ls
APorteus-OPENBOX-v20.04.02-x86_64 gcc-9.3.0-x86_64-1.xzm          pkgs.002-z.xorg
APorteus-OPENBOX-v20.04.02-x86_64.iso mkKernel-20.03.30-noarch-1.xzm  pkgs.devel
#
# sqFScmp mkKernel-20.03.30-noarch-1.xzm
zstd
# sqFScmp gcc-9.3.0-x86_64-1.xzm
zstd
---------------------------
Porteus Kernel Builder
Image

mkKernel-20.03.30-noarch-1.txz (2.9 M)
md5sum: 9993bd3ecaf0ebf114ec040e9d211a2a mkKernel-20.03.30-noarch-1.txz

P.S. you must to have psu, or run as root /usr/local/sbin/guimkKernel

Code: Select all

Exec=/opt/porteus-scripts/xorg/psu "/usr/local/sbin/guimkKernel"
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Blaze
DEV Team
DEV Team
Posts: 3028
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#865 by Blaze » 13 Apr 2020, 15:52

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm)

[5.7-rc1] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.7-rc1.tar (98 M)
http://www.mediafire.com/file/zydqixpv2 ... .7-rc1.tar
md5sum: ef786a28a99ba8310a35f61d12a2ab78 64bit-ALL-kernel5.7-rc1.tar

Note : Compiler that was used.
for kernel 5.7-rc1 : gcc-9.3.0-x86_64

Note:
From the 5.6 config, the 5.7 config was updated by "make oldconfig" command with the spec as followed.

Code: Select all

---------------------------------------
Enable periodic averaging of thermal pressure (SCHED_THERMAL_PRESSURE) [N/y/?] (NEW) N
IPv6: RPL Source Routing Header support (IPV6_RPL_LWTUNNEL) [N/y/?] (NEW) N
Modem Host Interface (MHI) bus (MHI_BUS) [N/m/y/?] (NEW) N
Accelerator Framework for User Land (UACCE) [N/m/y/?] (NEW) N

"libata.force=" kernel parameter support (ATA_FORCE) [Y/n/?] (NEW) y

Bare UDP Encapsulation (BAREUDP) [N/m/?] (NEW) N
Marvell USB to MDIO Adapter (MDIO_MVUSB) [N/m/?] (NEW) N
Synopsys DesignWare XPCS controller (MDIO_XPCS) [N/m/?] (NEW) N
Broadcom BCM84881 PHY (BCM84881_PHY) [N/m/?] (NEW) N
Support for Spreadtrum serial (SERIAL_SPRD) [N/m/y/?] (NEW) N
SPI multiplexer support (SPI_MUX) [N/m/y/?] (NEW) N
IDT 82P33xxx PTP clock (PTP_1588_CLOCK_IDT82P33) [N/m/y/?] (NEW) N
VMware virtual PTP clock (PTP_1588_CLOCK_VMW) [N/m/y/?] (NEW) N
Analog Devices FAN Control HDL Core driver (SENSORS_AXI_FAN_CONTROL) [N/m/y/?] (NEW) N
Azoteq IQS620A/621/622/624/625 core support (MFD_IQS62X) [N/m/y/?] (NEW) N

Busywait for request completion limit (ns) (DRM_I915_MAX_REQUEST_BUSYWAIT) [8000] (NEW)

DRM support for ILI9486 display panels (TINYDRM_ILI9486) [N/m/y/?] (NEW) N
Glorious PC Gaming Race mice (HID_GLORIOUS) [N/m/y/?] (NEW) N
Microchip MCP2221 HID USB-to-I2C/SMbus host support (HID_MCP2221) [N/m/y/?] (NEW) N
Fast charge control for iOS devices (APPLE_MFI_FASTCHARGE) [N/m/y/?] (NEW) N
MAX3420 (USB-over-SPI) support (USB_MAX3420_UDC) [N/m/?] (NEW) N
USB Raw Gadget (USB_RAW_GADGET) [N/m/?] (NEW) N
Intel PMC mux control (TYPEC_MUX_INTEL_PMC) [N/m/?] (NEW) N
MMC Host Software Queue support (MMC_HSQ) [N/m/y/?] (NEW) N
Move notify between drivers (EXPERIMENTAL) (DMABUF_MOVE_NOTIFY) [N/y/?] (NEW) N
vDPA driver for virtio devices (VIRTIO_VDPA) [N/m/y/?] (NEW) N
VDPA drivers (VDPA_MENU) [N/y/?] (NEW) N
VHOST drivers (VHOST_MENU) [Y/n/?] (NEW) n
Surface 3 battery platform operation region support (SURFACE_3_POWER_OPREGION) [N/m/y/?] (NEW) N
PWM lowlevel drivers additional checks and debug messages (PWM_DEBUG) [N/y/?] (NEW) N

ZSTD compression support (F2FS_FS_ZSTD) [Y/n/?] (NEW) Y
exFAT filesystem support (EXFAT_FS) [N/m/y/?] (NEW) y
Default iocharset for exFAT (EXFAT_DEFAULT_IOCHARSET) [utf8] (NEW)

Test module to generate lockups (TEST_LOCKUP) [N/m/y/?] (NEW) N
Min heap test (TEST_MIN_HEAP) [N/m/y/?] (NEW) N
---------------------------------------
Thanks to neko.
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

dorohov.alex77
White ninja
White ninja
Posts: 4
Joined: 25 Apr 2020, 05:47
Distribution: Porteus i586

Porteus Kernel Builder

Post#866 by dorohov.alex77 » 25 Apr 2020, 05:56

Blaze
Could you compile the latest kernel versions for Porteus i586.
All my attempts are unsuccessful.
Thanks in advance.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3028
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#867 by Blaze » 25 Apr 2020, 07:26

dorohov.alex77, sure :)

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm)

[5.7-rc2] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.7-rc2.tar (93 M)
http://www.mediafire.com/file/7f8vc2aw7 ... .7-rc2.tar
md5sum: 48361555b833f607c838f5e51c641b0b 32bit-ALL-kernel5.7-rc2.tar

[5.7-rc2] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.7-rc2.tar (98 M)
http://www.mediafire.com/file/mw5ihepjp ... .7-rc2.tar
md5sum: 3895d3f93739704a65d8dcc65374aac4 64bit-ALL-kernel5.7-rc2.tar

Note : Compiler that was used.
for kernel 5.7-rc1 : gcc-9.3.0-x86_64
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

dorohov.alex77
White ninja
White ninja
Posts: 4
Joined: 25 Apr 2020, 05:47
Distribution: Porteus i586

Porteus Kernel Builder

Post#868 by dorohov.alex77 » 27 Apr 2020, 06:29

Blaze thank you very much for your support. I have been using the 32 bit version for a long time. There are a lot of programs, I don’t really want to switch to version 64.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3028
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#869 by Blaze » 02 May 2020, 08:17

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm)

Thanks to neko

Code: Select all

(1) 5.7 config
From the 5.7-rc1, config the 5.7 config was updated by "make oldconfig" command with the spec as followed.
------------------
vDPA drivers (VDPA) [N/m/y/?] (NEW) N
------------------

(2) The firmware database was updated with following archlinux packages.
alsa-firmware-1.2.1-noarch-2
ipw2100-fw-1.3-noarch-10
ipw2200-fw-3.1-noarch-8
linux-atm-2.5.2-x86_64-6
linux-firmware-20200421.78c0348-noarch-1
sof-firmware-1.4.2-noarch-1
wireless-regdb-2019.06.03-noarch-2

(3) The Own patch for kernel 4.19 was updated depending on updating drivers/block/loop.c
[5.4.37] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.4.37.tar (91 M)
http://www.mediafire.com/file/jx44omgoq ... 5.4.37.tar
md5sum: 46c8fdf53a64682468ef859478391be5 32bit-ALL-kernel5.4.37.tar

[5.4.37] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.4.37.tar (96 M)
http://www.mediafire.com/file/6qj0e1j21 ... 5.4.37.tar
md5sum: 8de13ae5f10c82a43b5a204ecc02d94 64bit-ALL-kernel5.4.37.tar

Note : Compiler that was used.
for kernel 5.4.37 : gcc-9.3.0-x86_64
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

johnny.mau
Ronin
Ronin
Posts: 1
Joined: 21 May 2020, 08:54
Distribution: TT

Porteus Kernel Builder

Post#870 by johnny.mau » 21 May 2020, 08:57

Hello Blaze,
Could you help to complie Kernel 5.6.14 (x64) but disable driver for: SATA. I did do it, but it could not complete :(

thank you very much!

Post Reply