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: 1560
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#661 by neko » 09 Aug 2019, 15:20

@donald
Thank you for your explain.
I understand it.

@ralcocer's question
"Does the kernei 5.1 comes with pae?"
is the question what the PAE spec value about the configuration of 32bit kernel 5.1 is.
---->
You can get the value from "Kernel builder" tool.
activate the current "Kernel builder" tool mkKernel-xx.xx.xx-noarch-x.xzm.
get the value by grep commnand.

Code: Select all

$ grep PAE /usr/local/share/mkKernel/lib/v5.1/32bit.config
CONFIG_X86_PAE=y
Thanks.

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

Porteus Kernel Builder

Post#662 by neko » 10 Aug 2019, 03:11

Most recent versions of build examples were updated.
5.2.8, 4.19.66

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#663 by neko » 12 Aug 2019, 05:59

1. "Porteus Kernel Builder" was updated.
19.07.31
Configs were updated.

2. Most recent versions of build examples were updated.
5.3-rc4

3. The example of replacement the kernel of another distri which uses OverlayFS/AUFS was updated.
austrumi 4.0.5 + kernel 5.3-rc4


Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#664 by Blaze » 12 Aug 2019, 12:28

GCC 9.2 released [2019-08-12]
PRU support [2019-06-12]
GCC support for TI PRU I/O processors has been added.
https://www.mail-archive.com/gcc@gcc.../msg88941.html

https://gcc.gnu.org/gcc-9/

https://gcc.gnu.org/gcc-9/changes.html
Linux 5.4.0-rc7-porteus #2 SMP Tue Nov 12 17:45:45 UTC 2019 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

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

Porteus Kernel Builder

Post#665 by neko » 13 Aug 2019, 02:51

@Blaze
Thank you for your useful information.
I checked the Arch package database (including test directory).
But the binary packages are not yet ready to release.
I will get those as soon as possible when it will be released.

Thanks.

--------------------------------------------------------------
BTW,
I uploaded another distri (most recent version Austrumi + kernel 5.3-rc4).
It includes Russian.

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

Porteus Kernel Builder

Post#666 by Blaze » 13 Aug 2019, 17:35

neko, just for information.
I can't to build VirtualBox on kernel 5.3.0-rc3 x86_64
But I think it's RC and this behavior is normal.
Image

Code: Select all

/sbin/vboxconfig 
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
:url: /var/log/vbox-setup.log
Linux 5.4.0-rc7-porteus #2 SMP Tue Nov 12 17:45:45 UTC 2019 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

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

Porteus Kernel Builder

Post#667 by neko » 16 Aug 2019, 23:34

@Blaze
Thank you for pointing out the problem.
I have little knowledge and experience about VirtualBox.
If something is needed to deal with this problem, would you tell me what to do.

Thanks.


----------------------------------------------------------------
Most recent versions of build examples were updated.
5.2.9, 4.19.67

Please refer to the top article of this thread.
Porteus Kernel Builder


[update kernel config by "make oldconfig" command with following spec]
==== 5.2.9 64Bit ====
iSCSI Boot Firmware Table Attributes module (ISCSI_IBFT) [N/m/y/?] (NEW) N
==== 5.2.9 32Bit ====
iSCSI Boot Firmware Table Attributes module (ISCSI_IBFT) [N/m/y/?] (NEW) N
==== 4.19.67 64Bit ====
iSCSI Boot Firmware Table Attributes module (ISCSI_IBFT) [N/m/y/?] (NEW) N
==== 4.19.67 32Bit ====
iSCSI Boot Firmware Table Attributes module (ISCSI_IBFT) [N/m/y/?] (NEW) N


Thanks.

babam
Black ninja
Black ninja
Posts: 64
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 3.2.2
Location: Rainy city

Porteus Kernel Builder

Post#668 by babam » 17 Aug 2019, 03:36

@neko
Why is the kernel 4.19.XX only patched with basic AUFS patches. Please to apply all AUFS patches.

Thanks.
Sorry, my English is bad.

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

Porteus Kernel Builder

Post#669 by neko » 17 Aug 2019, 03:59

@babam
"Why is the kernel 4.19.XX only patched with basic AUFS patches."
---->
Because the AUFS patch (AUFS_VERSION "4.19-20190805") is not patched correctly.

Code: Select all

$ pwd
/path/linux-4.19.67/
$ patch -p1 <../../v4.19.67/NG-aufs.patch
patching file Documentation/ABI/testing/debugfs-aufs
patching file Documentation/ABI/testing/sysfs-aufs
patching file Documentation/filesystems/aufs/README
patching file Documentation/filesystems/aufs/design/01intro.txt
patching file Documentation/filesystems/aufs/design/02struct.txt
patching file Documentation/filesystems/aufs/design/03atomic_open.txt
patching file Documentation/filesystems/aufs/design/03lookup.txt
patching file Documentation/filesystems/aufs/design/04branch.txt
patching file Documentation/filesystems/aufs/design/05wbr_policy.txt
patching file Documentation/filesystems/aufs/design/06dirren.dot
patching file Documentation/filesystems/aufs/design/06dirren.txt
patching file Documentation/filesystems/aufs/design/06fhsm.txt
patching file Documentation/filesystems/aufs/design/06mmap.txt
patching file Documentation/filesystems/aufs/design/06xattr.txt
patching file Documentation/filesystems/aufs/design/07export.txt
patching file Documentation/filesystems/aufs/design/08shwh.txt
patching file Documentation/filesystems/aufs/design/10dynop.txt
patching file fs/aufs/Kconfig
patching file fs/aufs/Makefile
patching file fs/aufs/aufs.h
patching file fs/aufs/branch.c
patching file fs/aufs/branch.h
patching file fs/aufs/conf.mk
patching file fs/aufs/cpup.c
patching file fs/aufs/cpup.h
patching file fs/aufs/dbgaufs.c
patching file fs/aufs/dbgaufs.h
patching file fs/aufs/dcsub.c
patching file fs/aufs/dcsub.h
patching file fs/aufs/debug.c
patching file fs/aufs/debug.h
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/dir.c
patching file fs/aufs/dir.h
patching file fs/aufs/dirren.c
patching file fs/aufs/dirren.h
patching file fs/aufs/dynop.c
patching file fs/aufs/dynop.h
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/fhsm.c
patching file fs/aufs/file.c
patching file fs/aufs/file.h
patching file fs/aufs/finfo.c
patching file fs/aufs/fstype.h
patching file fs/aufs/hbl.h
patching file fs/aufs/hfsnotify.c
patching file fs/aufs/hfsplus.c
patching file fs/aufs/hnotify.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_add.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/iinfo.c
patching file fs/aufs/inode.c
patching file fs/aufs/inode.h
patching file fs/aufs/ioctl.c
patching file fs/aufs/lcnt.h
patching file fs/aufs/loop.c
patching file fs/aufs/loop.h
patching file fs/aufs/magic.mk
patching file fs/aufs/module.c
patching file fs/aufs/module.h
patching file fs/aufs/mvdown.c
patching file fs/aufs/opts.c
patching file fs/aufs/opts.h
patching file fs/aufs/plink.c
patching file fs/aufs/poll.c
patching file fs/aufs/posix_acl.c
patching file fs/aufs/procfs.c
patching file fs/aufs/rdu.c
patching file fs/aufs/rwsem.h
patching file fs/aufs/sbinfo.c
patching file fs/aufs/super.c
patching file fs/aufs/super.h
patching file fs/aufs/sysaufs.c
patching file fs/aufs/sysaufs.h
patching file fs/aufs/sysfs.c
patching file fs/aufs/sysrq.c
patching file fs/aufs/vdir.c
patching file fs/aufs/vfsub.c
patching file fs/aufs/vfsub.h
patching file fs/aufs/wbr_policy.c
patching file fs/aufs/whout.c
patching file fs/aufs/whout.h
patching file fs/aufs/wkq.c
patching file fs/aufs/wkq.h
patching file fs/aufs/xattr.c
patching file fs/aufs/xino.c
patching file include/uapi/linux/aufs_type.h
patching file MAINTAINERS
patching file drivers/block/loop.c
patching file fs/dcache.c
Hunk #1 succeeded at 1234 (offset -4 lines).
patching file fs/fcntl.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file include/linux/fs.h
Hunk #1 succeeded at 1295 (offset 9 lines).
Hunk #2 succeeded at 1760 (offset 12 lines).
Hunk #3 succeeded at 1832 (offset 12 lines).
Hunk #4 succeeded at 2263 (offset 12 lines).
Hunk #5 succeeded at 2551 (offset 12 lines).
patching file include/linux/lockdep.h
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
patching file fs/Kconfig
patching file fs/Makefile
patching file drivers/block/loop.c
Hunk #2 FAILED at 699.
Hunk #3 FAILED at 714.
Hunk #4 succeeded at 724 (offset -7 lines).
Hunk #5 FAILED at 739.
Hunk #7 succeeded at 947 with fuzz 2 (offset 1 line).
Hunk #8 succeeded at 989 (offset 5 lines).
Hunk #9 FAILED at 1018.
Hunk #10 FAILED at 1064.
Hunk #11 succeeded at 1096 with fuzz 2 (offset 1 line).
Hunk #12 FAILED at 1144.
6 out of 12 hunks FAILED -- saving rejects to file drivers/block/loop.c.rej
patching file drivers/block/loop.h
patching file fs/aufs/f_op.c
Hunk #1 succeeded at 369 (offset 10 lines).
patching file fs/aufs/loop.c
Hunk #1 succeeded at 146 (offset 13 lines).
patching file fs/aufs/loop.h
Hunk #1 succeeded at 39 (offset 13 lines).
Hunk #2 succeeded at 51 (offset 13 lines).
patching file fs/aufs/super.c
Hunk #1 succeeded at 859 (offset 13 lines).
patching file include/linux/fs.h
Hunk #1 succeeded at 1894 (offset 12 lines).
patching file fs/proc/base.c
Hunk #1 succeeded at 2036 with fuzz 1 (offset 20 lines).
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
Hunk #1 succeeded at 309 (offset 4 lines).
Hunk #2 succeeded at 1769 (offset 39 lines).
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
Hunk #1 succeeded at 1453 (offset 13 lines).
patching file include/linux/mm_types.h
patching file kernel/fork.c
patching file mm/Makefile
patching file mm/filemap.c
Hunk #1 succeeded at 2722 (offset 22 lines).
patching file mm/mmap.c
Hunk #1 succeeded at 181 (offset 1 line).
Hunk #2 succeeded at 906 (offset 1 line).
Hunk #3 succeeded at 1822 (offset 1 line).
Hunk #4 succeeded at 2645 (offset 4 lines).
Hunk #5 succeeded at 2664 (offset 4 lines).
Hunk #6 succeeded at 2826 (offset 4 lines).
Hunk #7 succeeded at 2901 (offset 4 lines).
Hunk #8 succeeded at 3227 (offset 4 lines).
patching file mm/nommu.c
patching file mm/prfile.c
patching file fs/dcache.c
Hunk #1 succeeded at 1339 (offset -4 lines).
Hunk #2 succeeded at 2836 (offset -2 lines).
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/namespace.c
Hunk #3 succeeded at 1846 (offset 12 lines).
patching file fs/notify/group.c
patching file fs/notify/mark.c
Hunk #1 succeeded at 285 (offset 22 lines).
Hunk #2 succeeded at 440 (offset 22 lines).
Hunk #3 succeeded at 656 (offset 22 lines).
Hunk #4 succeeded at 780 (offset 23 lines).
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/device_cgroup.c
patching file security/security.c
patching file include/linux/lockdep.h
patching file include/linux/rculist.h
patching file kernel/locking/lockdep.c
patching file kernel/locking/lockdep_internals.h
patching file fs/mount.h
patching file fs/namespace.c
Hunk #1 succeeded at 1246 (offset 8 lines).
patching file fs/proc_namespace.c
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
Hunk #2 succeeded at 1114 (offset 4 lines).
Hunk #3 succeeded at 2194 (offset 6 lines).
Hunk #4 succeeded at 2243 (offset 6 lines).
Hunk #5 succeeded at 3269 (offset 33 lines).
Hunk #6 succeeded at 3289 (offset 33 lines).
Hunk #7 succeeded at 3305 (offset 33 lines).
Hunk #8 succeeded at 3377 (offset 33 lines).
Hunk #9 succeeded at 3442 (offset 33 lines).
Hunk #10 succeeded at 3491 (offset 33 lines).
Hunk #11 succeeded at 3515 (offset 33 lines).
Hunk #12 succeeded at 3535 (offset 33 lines).
Hunk #13 succeeded at 3644 (offset 33 lines).
Hunk #14 succeeded at 3783 (offset 33 lines).
patching file fs/inode.c
$
==== FAILED ====
patching file drivers/block/loop.c
Hunk #2 FAILED at 699.
Hunk #3 FAILED at 714.
Hunk #4 succeeded at 724 (offset -7 lines).
Hunk #5 FAILED at 739.
Hunk #7 succeeded at 947 with fuzz 2 (offset 1 line).
Hunk #8 succeeded at 989 (offset 5 lines).
Hunk #9 FAILED at 1018.
Hunk #10 FAILED at 1064.
Hunk #11 succeeded at 1096 with fuzz 2 (offset 1 line).
Hunk #12 FAILED at 1144.
6 out of 12 hunks FAILED -- saving rejects to file drivers/block/loop.c.rej
=================


Thanks.

babam
Black ninja
Black ninja
Posts: 64
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 3.2.2
Location: Rainy city

Porteus Kernel Builder

Post#670 by babam » 17 Aug 2019, 04:21

@neko
Can you fix it?
Maybe this is the cause of failure when building the Paragon NTFS module.

Thanks.
Sorry, my English is bad.

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

Porteus Kernel Builder

Post#671 by neko » 17 Aug 2019, 05:57

@babam
"Can you fix it?"
---->
No, I can not. I am only a operator of kernel building.

On modifying kernel source, wide and deep knowledges are needed.

Very long time ago, I modified UNIX kernel to add a new driver and some usefull functions. At the time, C compile and assenbler (for DEC machine) knowledges were needed. About same time, I developed portable C, assenbler and linker.

But now I don't know ANSI C and Intel CPU.
And I don't know LINUX kernel/driver well.


Thanks.

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

Porteus Kernel Builder

Post#672 by neko » 19 Aug 2019, 08:21

Most recent versions of build examples were updated.
5.3-rc5

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#673 by neko » 29 Aug 2019, 06:29

1. Most recent versions of build examples were updated.
5.3-rc6, 5.2.11, 4.19.69

Note:
The update span from 5.2.10/4.19.68 to 5.2.11/4.19.69 is very short.

2. The example of replacement the kernel of another distri which uses OverlayFS/AUFS was updated.
austrumi 4.0.6 + kernel 5.3-rc6


Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#674 by neko » 03 Sep 2019, 03:15

Most recent versions of build examples were updated.
5.3-rc7

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#675 by neko » 06 Sep 2019, 15:06

Most recent versions of build examples were updated.
5.2.13, 4.19.71

The update span from 5.2.12/4.19.70 to 5.2.13/4.19.71 is very short.

Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

Post Reply