Page 39 of 135

Porteus Kernel Builder

Posted: 03 Jun 2019, 08:32
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest stable version of the Linux kernel is: 5.1.6
The latest mainline version of the Linux kernel is: 5.2-rc3 <---NEW
The latest stable 5.1 version of the Linux kernel is: 5.1.6
The latest stable 5.0 version of the Linux kernel is: 5.0.20
The latest longterm 4.19 version of the Linux kernel is: 4.19.47
The latest longterm 4.14 version of the Linux kernel is: 4.14.123
The latest longterm 4.9 version of the Linux kernel is: 4.9.180
The latest longterm 4.4 version of the Linux kernel is: 4.4.180
The latest longterm 3.18 version of the Linux kernel is: 3.18.140 (EOL)
The latest linux-next version of the Linux kernel is: next-20190531


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

"copy firmwares from firmware packages" function was used when build kernel.


=== Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm) ===
[5.2-rc3]
32bit-kernel5.2-rc3.tar (87 M)
http://www.mediafire.com/file/1wo2rynf1 ... .2-rc3.tar
md5sum: 1332a5e8bc5539db63afc3cc4f9b0c58 32bit-kernel5.2-rc3.tar

64bit-kernel5.2-rc3.tar (92 M)
http://www.mediafire.com/file/2uak727jk ... .2-rc3.tar
md5sum: 926c6c3ba3318fb54cfd32312ab03fe7 64bit-kernel5.2-rc3.tar


Note 1: Compiler
Compiled by gcc-8.3.0-x86_64-1

Note 2: AUFS patch
Kernel 5.2-rc3 was patched with AUFS_VERSION AUFS_VERSION "5.x-rcN-20190603".
"fs/aufs/hfsnotify.c" syntax error was fixed.



Thanks.

Porteus Kernel Builder

Posted: 04 Jun 2019, 13:40
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest stable version of the Linux kernel is: 5.1.7
The latest mainline version of the Linux kernel is: 5.2-rc3
The latest stable 5.1 version of the Linux kernel is: 5.1.7 <---NEW
The latest stable 5.0 version of the Linux kernel is: 5.0.21 (EOL) <---NEW
The latest longterm 4.19 version of the Linux kernel is: 4.19.48 <---NEW
The latest longterm 4.14 version of the Linux kernel is: 4.14.123
The latest longterm 4.9 version of the Linux kernel is: 4.9.180
The latest longterm 4.4 version of the Linux kernel is: 4.4.180
The latest longterm 3.18 version of the Linux kernel is: 3.18.140 (EOL)
The latest linux-next version of the Linux kernel is: next-20190604


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

"copy firmwares from firmware packages" function was used when build kernel.


=== Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm) ===
[5.1.7]
32bit-kernel5.1.7.tar (87 M)
http://www.mediafire.com/file/g8a8gcekm ... l5.1.7.tar
md5sum: 22660be6ca0157739246d740783c27a2 32bit-kernel5.1.7.tar

64bit-kernel5.1.7.tar (92 M)
http://www.mediafire.com/file/6erh7v2zd ... l5.1.7.tar
md5sum: f683ed7bc6c56b64b2938cad7276398e 64bit-kernel5.1.7.tar

[5.0.21]
32bit-kernel5.0.21.tar (87 M)
http://www.mediafire.com/file/wt9n7i4iy ... 5.0.21.tar
md5sum: f2a2d5d154a1a6b921ae9f58c3db8faa 32bit-kernel5.0.21.tar

64bit-kernel5.0.21.tar (92 M)
http://www.mediafire.com/file/d1wfq837v ... 5.0.21.tar
md5sum: e8ea5f4906c37568130a1de76b791b14 64bit-kernel5.0.21.tar

[4.19.48]
32bit-kernel4.19.48.tar (86 M)
http://www.mediafire.com/file/1u1b7x2xc ... .19.48.tar
md5sum: e342bbe3e01d097eda5fec11e1186ab4 32bit-kernel4.19.48.tar

64bit-kernel4.19.48.tar (91 M)
http://www.mediafire.com/file/evn3dzzyu ... .19.48.tar
md5sum: a7c6b7e6f92bd50b7c5de00b7d65f317 64bit-kernel4.19.48.tar


Note 1: Compiler
Compiled by gcc-8.3.0-x86_64-1

Note 2: AUFS patch
Kernel 5.1.7 was patched with AUFS_VERSION AUFS_VERSION "5.1-20190603".
Kernel 5.0.21 was patched with AUFS_VERSION AUFS_VERSION "5.0-20190603".
Kernel 4.19.48 was patched with AUFS_VERSION AUFS_VERSION "4.19-20190603".

Note 3:
Most recent versions of build examples are gotten from the top article.
Porteus Kernel Builder


Thanks.

Porteus Kernel Builder

Posted: 08 Jun 2019, 10:35
by Rava
neko wrote:
26 May 2019, 11:19
64bit-kernel5.1.5
The link You provided gives me this
Something appears to be missing…
Download
The key you provided for file access was invalid. This is usually caused because the file is no longer stored on MediaFire. This occurs when the file is removed by the originating user or MediaFire. Still have questions, or think we've made a mistake? Please contact support for further assistance.
Same error with 64bit-kernel5.1.7.tar (92 M)

System used: Android, most current Chrome Browser.

Update
Since Android Chrome created issues with several web pages in the past I installed Dolphin as backup browser and http://www.mediafire.com/file/6erh7v2zd ... l5.1.7.tar downloaded okay with Dolphin.

Porteus Kernel Builder

Posted: 09 Jun 2019, 09:41
by raja
neko...a request.:

Long ago, porteus dev team and you, enabled , the following in Kernel COFIG, on my request.

Since implementation of pcieport 1.2 and 3 had some problems with different board manufacturer, Kernel function to Automatic Error Correction (AER), I thought, will help.

But, in practice, AER has become like a spam in dmesg, continuously, acting to rectify, same message running into 100s of lines.

Code: Select all

[   10.286613] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[   10.286675] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[   10.286680] pcieport 0000:00:1d.2:   device [8086:9d1a] error status/mask=00001000/00002000
[   10.286685] pcieport 0000:00:1d.2:    [12] Timeout 

[   10.418069] pcieport 0000:00:1d.2: AER: Multiple Corrected error received: 0000:00:1d.2
[   10.418078] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[   10.418080] pcieport 0000:00:1d.2:   device [8086:9d1a] error status/mask=00000001/00002000
[   10.418082] pcieport 0000:00:1d.2:    [ 0] RxErr                 
[   10.418121] pcieport 0000:00:1d.2: AER: Multiple Corrected error received: 0000:00:1d.2
[   10.418132] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[   10.418137] pcieport 0000:00:1d.2:   device [8086:9d1a] error status/mask=00000001/00002000
[   10.418139] pcieport 0000:00:1d.2:    [ 0] RxErr                 
[   10.418145] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[   10.418150] pcieport 0000:00:1d.2: can't find device of ID00ea
So, please, disable this line in CONFIG, when you make v 5.2.

Code: Select all

CONFIG_PCIEAER=y
Though ASPM too is not working in my system, get only few errors.

Thanks.

Porteus Kernel Builder

Posted: 10 Jun 2019, 14:56
by neko
@Rava
Please forgive me for the late reply.

When the build sample is uploaded, the old version is deleted due to the capacity limitation.

The latest is already up.
[5.2-rc4] <---NEW
[5.1.8] <---NEW
[4.19.49] <---NEW
"Kernel Builder": mkKernel-19.06.09-noarch-1.xzm

Please refer to Porteus Kernel Builder


Thanks.

------------------------------------------------------------------
@raja
I will include the specified changes in the next build sample.

==before==

Code: Select all

# grep CONFIG_PCIEAER /usr/local/share/mkKernel/lib/v5.2-rc/*bit.config
/usr/local/share/mkKernel/lib/v5.2-rc/32bit.config:CONFIG_PCIEAER=y
/usr/local/share/mkKernel/lib/v5.2-rc/32bit.config:CONFIG_PCIEAER_INJECT=y
/usr/local/share/mkKernel/lib/v5.2-rc/64bit.config:CONFIG_PCIEAER=y
/usr/local/share/mkKernel/lib/v5.2-rc/64bit.config:CONFIG_PCIEAER_INJECT=y
== update with "make menuconfig" command ==
│ Symbol: PCIEAER_INJECT [=y] │
│ Type : tristate │
│ Prompt: PCI Express error injection support │
│ Location: │
│ -> Device Drivers │
│ -> PCI support (PCI [=y]) │
│ -> PCI Express Port Bus support (PCIEPORTBUS [=y]) │
│ (3) -> PCI Express Advanced Error Reporting support (PCIEAER [=y]) │
│ Defined at drivers/pci/pcie/Kconfig:35 │
│ Depends on: PCI [=y] && PCIEAER [=y] │

== after ==

Code: Select all

# diff .config.old .config
1356,1358c1356
< CONFIG_PCIEAER=y
< CONFIG_PCIEAER_INJECT=y
< CONFIG_PCIE_ECRC=y
---
> # CONFIG_PCIEAER is not set
1366d1363
< CONFIG_PCIE_DPC=y

Thanks.

------------------------------------------------------------------

Postscript:
A lot of problems have come out and I am confusing now with APorteus's major remodeling.

Porteus Kernel Builder

Posted: 18 Jun 2019, 02:55
by neko
1. "Porteus Kernel Builder" was updated.
2. Most recent versions of build examples were updated.
3. The example of replacement the kernel of another distri which uses OverlayFS/AUFS was updated.

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


------------------------------------------------------------------------------
@raja

Code: Select all

% grep CONFIG_PCIEAER v5.2-rc5/*/*config
v5.2-rc5/32/32bit.config:# CONFIG_PCIEAER is not set
v5.2-rc5/64/64bit.config:# CONFIG_PCIEAER is not set

Thanks.

Porteus Kernel Builder

Posted: 18 Jun 2019, 16:35
by raja
Goodbye to AER spamming... Thanks nekosan.

Porteus Kernel Builder

Posted: 20 Jun 2019, 02:06
by neko
Most recent versions of build examples were updated.

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


Thanks.

Porteus Kernel Builder

Posted: 20 Jun 2019, 08:16
by Blaze
Arch Linux now comes with gcc 9.1.0-1

Porteus Kernel Builder

Posted: 20 Jun 2019, 09:33
by neko
@Blaze
Thank you for your information.
I have built the new "devel.xzm" module for 64Bit APorteus.
I will build a sample kernel with this new "devel.xzm".

devel-19.06.20-x86_64-1.xzm (57 M)
http://www.mediafire.com/file/4l3mf5x0w ... 6_64-1.xzm
md5sum: 8e285b6ac838bc389baa669dce3680b4 devel-19.06.20-x86_64-1.xzm

Code: Select all

% lsxzm devel-19.06.20-x86_64-1.xzm | grep /var/log/pa
/var/log/packages
/var/log/packages/autoconf-2.69-noarch-5
/var/log/packages/automake-1.16.1-noarch-1
/var/log/packages/b43-fwcutter-019-x86_64-2
/var/log/packages/bison-3.3.2-x86_64-1
/var/log/packages/fakeroot-1.23-x86_64-1
/var/log/packages/flex-2.6.4-x86_64-2
/var/log/packages/gc-7.6.8-x86_64-1
/var/log/packages/gcc-9.1.0-x86_64-1
/var/log/packages/git-2.22.0-x86_64-1
/var/log/packages/glibc-2.29-x86_64-2
/var/log/packages/guile-2.2.4-x86_64-2
/var/log/packages/kernel-headers-musl-3.12.6_6-x86_64-1new
/var/log/packages/libatomic_ops-7.6.10-x86_64-1
/var/log/packages/libelf-0.176-x86_64-1
/var/log/packages/libmpc-1.1.0-x86_64-1
/var/log/packages/make-4.2.1-x86_64-3
/var/log/packages/ncurses-6.1-x86_64-6
/var/log/packages/openssl-1.1.1.c-x86_64-1
/var/log/packages/pacman-5.1.3-x86_64-1
/var/log/packages/patch-2.7.6-x86_64-7
/var/log/packages/pcre2-10.33-x86_64-1
/var/log/packages/pkgconf-1.6.1-x86_64-1
/var/log/packages/pkgs.devel
/var/log/packages/texinfo-6.6-x86_64-1
Thanks.

Porteus Kernel Builder

Posted: 22 Jun 2019, 14:24
by neko
Most recent versions of build examples that were built with gcc-9.1.0-x86_64-1 were updated.

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


Note:
Version 5.1.13 & 4.19.54 were missing.


Thanks.

Porteus Kernel Builder

Posted: 24 Jun 2019, 02:41
by fulalas
neko, I have a suggestion for you. Instead of calling from mkKernel.sh this:

Code: Select all

make -j4
You can detect how many CPU threads the machine actually has by doing this:

Code: Select all

CPU_THREADS="$(nproc --all)"
make -j$CPU_THREADS
:good:

Porteus Kernel Builder

Posted: 24 Jun 2019, 04:24
by neko
@fulalas
Thank you very much for your helpful advice.
I will change the shell script (Compile.inc) at next "Kernel Builder" update.

[New Compile.inc]
/usr/local/share/mkKernel/inc/Compile.inc ---> new.Compile.inc

Code: Select all

% diff new.Compile.inc /usr/local/share/mkKernel/inc/Compile.inc
45,46c45
< CPU_THREADS=\`nproc --all\`
< make -j\$CPU_THREADS
---
> make -j4
--------------------------------
Now, I have uploaded 64Bit APorteus ISOs for building kernel with new "Arch gcc 9.1.0" compiler.
ArchLinux packages manager for Porteus (Post by neko #72441)
Lang: English, Japanese, German, Spanish, French, Italian, Portugal/Brazil, Russian

Note:
"Compile.inc" of these ISO is not yet updated.


Thanks.

Porteus Kernel Builder

Posted: 24 Jun 2019, 07:35
by fulalas
Great! :)

Porteus Kernel Builder

Posted: 24 Jun 2019, 12:50
by Rava
fulalas wrote:
24 Jun 2019, 02:41
nproc --all
Thanks fulalas for that heads up.

Thats the amazing thing with Linux, you always discover new stuff CLI-wise, no matter how many years of decades you already have used it.

Code: Select all

guest@porteus:/$ nproc --all
8
Looks good. :D