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

Porteus Kernel Builder

Post#736 by neko » 20 Nov 2019, 09:12

@Blaze
"Kernel builder" uses a firmware database.
It is not a full set.
Therefore some firmwares might be lack.
Kernel builder reports the result of picking up firmwares from the database.
If your needed driver's firmware is lack, please search, get and set it by yourself.

The lack firmwares part of the report of 64bit-BPLUS-kernel5.4-rc8-2.tar as followed.

Code: Select all

$ ls repo_getFW-v5.4-rc8-64/
all  emptyS  findS  linkS
$
$ cat repo_getFW-v5.4-rc8-64/emptyS
====kernel/drivers/bluetooth/bfusb.ko
bfubase.frm
====kernel/drivers/bluetooth/bt3c_cs.ko
BT3CPCC.bin
====kernel/drivers/bluetooth/btmrvl_sdio.ko
mrvl/sd8977_uapsta.bin
mrvl/sd8987_uapsta.bin
mrvl/sd8997_uapsta.bin
====kernel/drivers/bluetooth/btrtl.ko
rtl_bt/rtl8723b_config.bin
rtl_bt/rtl8723bs_config.bin
rtl_bt/rtl8723ds_config.bin
rtl_bt/rtl8723ds_fw.bin
rtl_bt/rtl8761a_config.bin
rtl_bt/rtl8821a_config.bin
====kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
amdgpu/arcturus_asd.bin
amdgpu/arcturus_gpu_info.bin
amdgpu/arcturus_mec.bin
amdgpu/arcturus_mec2.bin
amdgpu/arcturus_rlc.bin
amdgpu/arcturus_sdma.bin
amdgpu/arcturus_smc.bin
amdgpu/arcturus_sos.bin
amdgpu/arcturus_vcn.bin
amdgpu/navi10_mes.bin
amdgpu/navi12_asd.bin
amdgpu/navi12_ce.bin
amdgpu/navi12_gpu_info.bin
amdgpu/navi12_me.bin
amdgpu/navi12_mec.bin
amdgpu/navi12_mec2.bin
amdgpu/navi12_pfp.bin
amdgpu/navi12_rlc.bin
amdgpu/navi12_sdma.bin
amdgpu/navi12_sdma1.bin
amdgpu/navi12_smc.bin
amdgpu/navi12_sos.bin
amdgpu/navi12_vcn.bin
amdgpu/navi14_asd.bin
amdgpu/navi14_ce.bin
amdgpu/navi14_ce_wks.bin
amdgpu/navi14_gpu_info.bin
amdgpu/navi14_me.bin
amdgpu/navi14_me_wks.bin
amdgpu/navi14_mec.bin
amdgpu/navi14_mec2.bin
amdgpu/navi14_mec2_wks.bin
amdgpu/navi14_mec_wks.bin
amdgpu/navi14_pfp.bin
amdgpu/navi14_pfp_wks.bin
amdgpu/navi14_rlc.bin
amdgpu/navi14_sdma.bin
amdgpu/navi14_sdma1.bin
amdgpu/navi14_smc.bin
amdgpu/navi14_sos.bin
amdgpu/navi14_vcn.bin
amdgpu/raven_kicker_rlc.bin
amdgpu/renoir_asd.bin
amdgpu/renoir_ce.bin
amdgpu/renoir_gpu_info.bin
amdgpu/renoir_me.bin
amdgpu/renoir_mec.bin
amdgpu/renoir_mec2.bin
amdgpu/renoir_pfp.bin
amdgpu/renoir_rlc.bin
amdgpu/renoir_sdma.bin
amdgpu/renoir_vcn.bin
amdgpu/vega20_ta.bin
====kernel/drivers/isdn/hardware/mISDN/speedfax.ko
isdn/ISAR.BIN
====kernel/drivers/media/common/siano/smsmdtv.ko
atsc_denver.inp
cmmb_ming_app.inp
dvb_rio.inp
dvbh_rio.inp
fm_radio.inp
fm_radio_rio.inp
isdbt_pele.inp
tdmb_denver.inp
tdmb_nova_12mhz_b0.inp
====kernel/drivers/media/dvb-frontends/af9013.ko
dvb-fe-af9013.fw
====kernel/drivers/media/dvb-frontends/cx24117.ko
dvb-fe-cx24117.fw
====kernel/drivers/media/dvb-frontends/drx39xyj/drx39xyj.ko
dvb-fe-drxj-mc-1.0.8.fw
====kernel/drivers/media/dvb-frontends/ds3000.ko
dvb-fe-ds3000.fw
====kernel/drivers/media/dvb-frontends/m88ds3103.ko
dvb-demod-m88ds3103.fw
dvb-demod-m88rs6000.fw
====kernel/drivers/media/dvb-frontends/mn88472.ko
dvb-demod-mn88472-02.fw
====kernel/drivers/media/dvb-frontends/mn88473.ko
dvb-demod-mn88473-01.fw
====kernel/drivers/media/dvb-frontends/si2165.ko
dvb-demod-si2165.fw
====kernel/drivers/media/dvb-frontends/si2168.ko
dvb-demod-si2168-a20-01.fw
dvb-demod-si2168-a30-01.fw
dvb-demod-si2168-b40-01.fw
dvb-demod-si2168-d60-01.fw
====kernel/drivers/media/dvb-frontends/tda10071.ko
dvb-fe-tda10071.fw
====kernel/drivers/media/pci/cx18/cx18.ko
dvb-cx18-mpc718-mt352.fw
xc3028-v27.fw
====kernel/drivers/media/pci/cx23885/cx23885.ko
v4l-cx23885-enc.fw
====kernel/drivers/media/tuners/si2157.ko
dvb-tuner-si2141-a10-01.fw
dvb-tuner-si2157-a30-01.fw
dvb-tuner-si2158-a20-01.fw
====kernel/drivers/media/tuners/tuner-xc2028.ko
xc3028-v27.fw
xc3028L-v36.fw
====kernel/drivers/media/tuners/xc4000.ko
dvb-fe-xc4000-1.4.fw
====kernel/drivers/media/usb/cx231xx/cx231xx.ko
v4l-cx23885-enc.fw
====kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-af9015.ko
dvb-usb-af9015.fw
====kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-af9035.ko
dvb-usb-af9035-02.fw
dvb-usb-it9303-01.fw
====kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-az6007.ko
dvb-usb-terratec-h7-az6007.fw
====kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-ec168.ko
dvb-usb-ec168.fw
====kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-lmedm04.ko
dvb-usb-lme2510-lg.fw
dvb-usb-lme2510-s0194.fw
dvb-usb-lme2510c-lg.fw
dvb-usb-lme2510c-rs2000.fw
dvb-usb-lme2510c-s0194.fw
dvb-usb-lme2510c-s7395.fw
====kernel/drivers/media/usb/dvb-usb/dvb-usb-dw2102.ko
dvb-usb-dw2101.fw
dvb-usb-dw2102.fw
dvb-usb-dw2104.fw
dvb-usb-dw3101.fw
dvb-usb-p1100.fw
dvb-usb-p7500.fw
dvb-usb-s630.fw
dvb-usb-s660.fw
====kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
ath10k/QCA6174/hw2.1/firmware-4.bin
ath10k/QCA6174/hw3.0/firmware-5.bin
ath10k/QCA9887/hw1.0/board-2.bin
ath10k/QCA988X/hw2.0/board-2.bin
ath10k/QCA988X/hw2.0/firmware-2.bin
ath10k/QCA988X/hw2.0/firmware-3.bin
====kernel/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
ath6k/AR6003/hw2.0/bdata.bin
ath6k/AR6003/hw2.1.1/bdata.bin
ath6k/AR6004/hw1.0/bdata.DB132.bin
ath6k/AR6004/hw1.0/bdata.bin
ath6k/AR6004/hw1.0/fw.ram.bin
ath6k/AR6004/hw1.1/bdata.DB132.bin
ath6k/AR6004/hw1.1/bdata.bin
ath6k/AR6004/hw1.1/fw.ram.bin
ath6k/AR6004/hw1.2/fw.ram.bin
ath6k/AR6004/hw1.3/fw.ram.bin
====kernel/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko
ath6k/AR6004/hw1.0/bdata.DB132.bin
ath6k/AR6004/hw1.0/bdata.bin
ath6k/AR6004/hw1.1/bdata.DB132.bin
ath6k/AR6004/hw1.1/bdata.bin
ath6k/AR6004/hw1.3/fw.ram.bin
fw.ram.bin
====kernel/drivers/net/wireless/ath/wcn36xx/wcn36xx.ko
wlan/prima/WCNSS_qcom_wlan_nv.bin
====kernel/drivers/net/wireless/ath/wil6210/wil6210.ko
wil6210_sparrow_plus.fw
wil6436.brd
wil6436.fw
====kernel/drivers/net/wireless/atmel/at76c50x-usb.ko
atmel_at76c503-i3861.bin
atmel_at76c503-i3863.bin
atmel_at76c503-rfmd-acc.bin
atmel_at76c503-rfmd.bin
atmel_at76c505-rfmd.bin
atmel_at76c505-rfmd2958.bin
atmel_at76c505a-rfmd2958.bin
atmel_at76c505amx-rfmd.bin
====kernel/drivers/net/wireless/atmel/atmel.ko
atmel_at76c502-wpa.bin
atmel_at76c502.bin
atmel_at76c502_3com-wpa.bin
atmel_at76c502_3com.bin
atmel_at76c502d-wpa.bin
atmel_at76c502d.bin
atmel_at76c502e-wpa.bin
atmel_at76c502e.bin
atmel_at76c504-wpa.bin
atmel_at76c504.bin
atmel_at76c504_2958-wpa.bin
atmel_at76c504_2958.bin
atmel_at76c504a_2958-wpa.bin
atmel_at76c504a_2958.bin
atmel_at76c506-wpa.bin
atmel_at76c506.bin
====kernel/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko
b43legacy/ucode2.fw
b43legacy/ucode4.fw
====kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
brcm/brcmfmac43012-sdio.bin
brcm/brcmfmac43456-sdio.bin
brcm/brcmfmac4359-pcie.bin
brcm/brcmfmac4365b-pcie.bin
brcm/brcmfmac4365c-pcie.bin
====kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
iwlwifi-6000-6.ucode
iwlwifi-Qu-a0-hr-a0-50.ucode
iwlwifi-Qu-a0-jf-b0-50.ucode
iwlwifi-Qu-b0-jf-b0-50.ucode
iwlwifi-Qu-c0-hr-b0-50.ucode
iwlwifi-QuQnj-a0-hr-a0-50.ucode
iwlwifi-QuQnj-b0-hr-b0-50.ucode
iwlwifi-QuQnj-b0-jf-b0-50.ucode
iwlwifi-QuQnj-f0-hr-a0-50.ucode
iwlwifi-QuZ-a0-hr-b0-50.ucode
iwlwifi-QuZ-a0-jf-b0-50.ucode
iwlwifi-cc-a0-50.ucode
iwlwifi-so-a0-gf-a0-50.ucode
iwlwifi-so-a0-hr-b0-50.ucode
iwlwifi-so-a0-jf-b0-50.ucode
iwlwifi-ty-a0-gf-a0-50.ucode
====kernel/drivers/net/wireless/intersil/orinoco/orinoco.ko
prism_ap_fw.bin
prism_sta_fw.bin
symbol_sp24t_prim_fw
symbol_sp24t_sec_fw
====kernel/drivers/net/wireless/intersil/orinoco/orinoco_usb.ko
orinoco_ezusb_fw
====kernel/drivers/net/wireless/intersil/p54/p54pci.ko
isl3886pci
====kernel/drivers/net/wireless/intersil/p54/p54usb.ko
isl3886usb
isl3887usb
====kernel/drivers/net/wireless/marvell/libertas/libertas_cs.ko
libertas/cf8305.bin
libertas_cs.fw
libertas_cs_helper.fw
====kernel/drivers/net/wireless/marvell/libertas/libertas_sdio.ko
sd8385.bin
sd8385_helper.bin
sd8686.bin
sd8686_helper.bin
sd8688.bin
sd8688_helper.bin
====kernel/drivers/net/wireless/marvell/libertas/usb8xxx.ko
libertas/usb8388.bin
usb8388.bin
====kernel/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko
mrvl/sd8786_uapsta.bin
mrvl/sd8977_uapsta.bin
mrvl/sd8987_uapsta.bin
mrvl/sd8997_uapsta.bin
====kernel/drivers/net/wireless/marvell/mwl8k.ko
mwl8k/fmimage_8363.fw
mwl8k/helper_8363.fw
====kernel/drivers/net/wireless/mediatek/mt76/mt7603/mt7603e.ko
mt7603_e1.bin
mt7603_e2.bin
mt7628_e1.bin
mt7628_e2.bin
====kernel/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko
rtlwifi/rtl8723bu_bt.bin
====kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rtl8723ae.ko
rtlwifi/rtl8723efw.bin
====kernel/drivers/net/wireless/rsi/rsi_sdio.ko
rs9113_wlan_qspi.rps
====kernel/drivers/net/wireless/rsi/rsi_usb.ko
rs9113_wlan_qspi.rps
====kernel/drivers/net/wireless/zydas/zd1201.ko
zd1201-ap.fw
zd1201.fw
====kernel/drivers/scsi/aic94xx/aic94xx.ko
aic94xx-seq.fw
====kernel/drivers/scsi/wd719x.ko
wd719x-risc.bin
wd719x-wcs.bin
====kernel/drivers/staging/rtl8192u/r8192u_usb.ko
RTL8192U/boot.img
RTL8192U/data.img
RTL8192U/main.img
====kernel/drivers/staging/wlan-ng/prism2_usb.ko
prism2_ru.fw
====kernel/drivers/usb/atm/ueagle-atm.ko
ueagle-atm/CMV4i.bin
ueagle-atm/CMV4i.bin.v2
ueagle-atm/CMV4p.bin
ueagle-atm/CMV9i.bin.v2
ueagle-atm/CMV9p.bin.v2
ueagle-atm/CMVei.bin.v2
ueagle-atm/CMVep.bin.v2
ueagle-atm/DSP4i.bin
ueagle-atm/eagle.fw
====kernel/drivers/usb/misc/isight_firmware.ko
isight.fw
====kernel/sound/pci/hda/snd-hda-codec-ca0132.ko
ctefx-desktop.bin
ctefx-r3di.bin
====kernel/sound/pci/riptide/snd-riptide.ko
riptide.hex
====kernel/sound/usb/6fire/snd-usb-6fire.ko
6fire/dmx6fireap.ihx
6fire/dmx6firecf.bin
6fire/dmx6firel2.ihx
$
The driver "kernel/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko" doesn't have the firmwares;
b43legacy/ucode2.fw
b43legacy/ucode4.fw

The result of my search "b43legacy firmware" on network was nothing.


The firmware set of b43-firmware-6.30.163.46-fw-1bl.xzm that Blaze informed is already included
in "kernel builder" firmware database.
http://www.mediafire.com/file/ec4mndm30 ... -1plus.xzm
And then only needed firmwares were set in lib.

Code: Select all

$ modinfo -F firmware lib/modules/5.4.0-rc8-porteus/kernel/drivers/net/wireless/broadcom/b43/b43.ko
b43/ucode9.fw
b43/ucode42.fw
b43/ucode40.fw
b43/ucode5.fw
b43/ucode30_mimo.fw
b43/ucode33_lcn40.fw
b43/ucode29_mimo.fw
b43/ucode26_mimo.fw
b43/ucode25_mimo.fw
b43/ucode25_lcn.fw
b43/ucode24_lcn.fw
b43/ucode16_mimo.fw
b43/ucode16_lp.fw
b43/ucode15.fw
b43/ucode14.fw
b43/ucode13.fw
b43/ucode11.fw
$
$ ls -1 lib/firmware/b43/
ucode11.fw
ucode13.fw
ucode14.fw
ucode15.fw
ucode16_lp.fw
ucode16_mimo.fw
ucode24_lcn.fw
ucode25_lcn.fw
ucode25_mimo.fw
ucode26_mimo.fw
ucode29_mimo.fw
ucode30_mimo.fw
ucode33_lcn40.fw
ucode40.fw
ucode42.fw
ucode5.fw
ucode9.fw
$

Thanks.

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

Porteus Kernel Builder

Post#737 by neko » 21 Nov 2019, 09:08

1. "Porteus Kernel Builder" was updated.
Version: 19.11.21
Kernel build prototype configs were updated.


2. Most recent versions of build examples were updated.
Kernel Version: 5.3.12, 4.19.85

Note : update the config of kernel 5.3.12/4.19.85 with "make menuconfig" command.
==5.3.12 64bit config==

Code: Select all

# diff ../../64bit.config .config
3c3
< # Linux/x86 5.3.11 Kernel Configuration
---
> # Linux/x86 5.3.12 Kernel Configuration
2531,2532c2531,2536
< # CONFIG_RTW88_8822BE is not set
< # CONFIG_RTW88_8822CE is not set
---
> CONFIG_RTW88_CORE=m
> CONFIG_RTW88_PCI=m
> CONFIG_RTW88_8822BE=y
> CONFIG_RTW88_8822CE=y
> # CONFIG_RTW88_DEBUG is not set
> # CONFIG_RTW88_DEBUGFS is not set
6375c6379
< CONFIG_CRYPTO_CRC32C_INTEL=m
---
> CONFIG_CRYPTO_CRC32C_INTEL=y
#
==5.3.12 32bit config==

Code: Select all

# diff ../../32bit.config .config
3c3
< # Linux/x86 5.3.11 Kernel Configuration
---
> # Linux/x86 5.3.12 Kernel Configuration
2510,2511c2510,2515
< # CONFIG_RTW88_8822BE is not set
< # CONFIG_RTW88_8822CE is not set
---
> CONFIG_RTW88_CORE=m
> CONFIG_RTW88_PCI=m
> CONFIG_RTW88_8822BE=y
> CONFIG_RTW88_8822CE=y
> # CONFIG_RTW88_DEBUG is not set
> # CONFIG_RTW88_DEBUGFS is not set
6337c6341
< CONFIG_CRYPTO_CRC32C_INTEL=m
---
> CONFIG_CRYPTO_CRC32C_INTEL=y
#
==4.19.85 64bit config==

Code: Select all

# diff ../../64bit.config .config
3c3
< # Linux/x86 4.19.84 Kernel Configuration
---
> # Linux/x86 4.19.85 Kernel Configuration
6005c6005
< CONFIG_CRYPTO_CRC32C_INTEL=m
---
> CONFIG_CRYPTO_CRC32C_INTEL=y
#
==4.19.84 32bit config==

Code: Select all

# diff ../../32bit.config .config
3c3
< # Linux/x86 4.19.84 Kernel Configuration
---
> # Linux/x86 4.19.85 Kernel Configuration
5981c5981
< CONFIG_CRYPTO_CRC32C_INTEL=m
---
> CONFIG_CRYPTO_CRC32C_INTEL=y
#
Please refer to the top article of this thread.
Porteus Kernel Builder


Thanks.

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

Porteus Kernel Builder

Post#738 by neko » 24 Nov 2019, 14:53

Most recent versions of build examples were updated.
Kernel Version: 5.3.13, 4.19.86


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


Thanks.

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

Porteus Kernel Builder

Post#739 by neko » 26 Nov 2019, 07:58

Kernel Version Line 5.4-rc was updated to 5.4.

-----------------------------------
Most recent version of build examples was updated.
Kernel Version: 5.4

Note : AUFS patch "5.4" is not yet ready, and
AUFS patch "5.x-rcN-20191021" is not yet ready for kernel version 5.4.

It was patched by manual as same as patching to kernel version 5.4.0-rc2.
Porteus Kernel Builder (Post by neko #74116)


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


Thanks.

peebee
White ninja
White ninja
Posts: 17
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#740 by peebee » 29 Nov 2019, 11:12

Hi @neko

Thank you for these cutting edge AUFS enabled kernels.

Would it be possible for you to make the 5.4 AUFS manually created patches available to download?

Many thanks in anticipation.
peebee

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

Porteus Kernel Builder

Post#741 by neko » 29 Nov 2019, 13:09

@peebee
The procedure for applying the AUFS patch to kernel 5.4 is described below.

1. Get the latest version of the kernel builder.
Activate this.

mkKernel-19.11.21-noarch-1.xzm (5.5 M)
http://www.mediafire.com/file/gxkbg1js4 ... arch-1.xzm
md5sum: d90899f71d06045761cec3430e996ac8 mkKernel-19.11.21-noarch-1.xzm

2. Create the entry for version 5.4 as follows.

Code: Select all

% su
# ln -sf v5.4-rc /usr/local/share/mkKernel/lib/v5.4
#
3. Activate the 05-devel.xzm module.

4. Launch the builder and download 5.4 source.
Example Arch: 64bit
Example work directory: /work

[GUI]
Kernel Builder ---> [setting window]

Kernel Builder directory: /work
Kernel Version: 5.4
Build Kernel: 64Bit, download=on, expand&patch=off, compile=off, cleanup=off, Create FW=off

push OK button

5. Check the version of the AUFS patch.

Code: Select all

% grep VERSION v5.4/aufs.patch
+	if (!err && (flags & S_VERSION))
+MODULE_VERSION(AUFS_VERSION);
+	printk(KERN_INFO AUFS_NAME " " AUFS_VERSION "\n");
+	if (sb->s_flags & SB_I_VERSION)
+	sb->s_flags |= SB_I_VERSION; /* do we really need this? */
+#define AUFS_VERSION	"5.x-rcN-20191021"
$


If not updated, (If "AUFS_VERSION" is"5.x-rcN-20191021",) it needs this manual patching.

6. Apply the AUFS patch manually referring to the shell sources
/usr/local/share/mkKernel/bin/aufsBase.sh,
/usr/local/share/mkKernel/bin/aufsOption.sh

Code: Select all

% cat /usr/local/share/mkKernel/bin/aufsBase.sh /usr/local/share/mkKernel/bin/aufsOption.sh
#!/bin/sh
# arg1: "Kernel Builder" work directory
# arg2: kernel version: exp. 3.18.140, 4.19.57, 5.1.16, 5.2-rc7
# arg3: 32/64
KDIR=$1
KVER=$2
COMPARCH=$3

V3_4=${KVER%%.*}
SUB=${KVER#*.}
SUB=${SUB%%.*}
RCN=${SUB#*-}
SUB=${SUB%-*}
if [ "$SUB" = "$RCN" ]
then
	RCN=""
else
	SUB="${SUB}-rc"
	RCN=${RCN#rc}
fi
cd $KDIR/v$KVER/$COMPARCH/linux-${KVER}/

PATCHDIR=../../auf/aufs${V3_4}-standalone.git
if [ ! -d $PATCHDIR ]
then
	echo "Not yet get aufs${V3_4}-standalone.git"
	exit 1
fi

# [auf/aufs5-standalone.git/README]
#==== copy ./{Documentation,fs,include/uapi/linux/aufs_type.h} files to your
#  kernel source tree. Never copy $PWD/include/uapi/linux/Kbuild.
cp -r "$PATCHDIR"/fs ./
cp -r "$PATCHDIR"/Documentation ./
cp "$PATCHDIR"/include/uapi/linux/aufs_type.h ./include/uapi/linux

#==== apply ./aufsN-kbuild.patch to your kernel source files.
if [ ! -f "$PATCHDIR"/aufs${V3_4}-kbuild.patch ]
then
	exit 1
fi
echo "-------------------aufs${V3_4}-kbuild.patch"
ERROR=`cat "$PATCHDIR"/aufs${V3_4}-kbuild.patch | patch -p1 | grep FAILED`
if [ -n "$ERROR" ]
then
	echo "ERROR: aufs${V3_4}-kbuild.patch"
	mv "$PATCHDIR"/aufs${V3_4}-kbuild.patch "$PATCHDIR"/NG-aufs${V3_4}-kbuild.patch
	exit 1
fi

#==== apply ./aufsN-base.patch too.
if [ ! -f "$PATCHDIR"/aufs${V3_4}-base.patch ]
then
	exit 1
fi
echo "-------------------aufs${V3_4}-base.patch"
ERROR=`cat "$PATCHDIR"/aufs${V3_4}-base.patch | patch -p1 | grep FAILED`
if [ -n "$ERROR" ]
then
	echo "ERROR: aufs${V3_4}-base.patch"
	mv "$PATCHDIR"/aufs${V3_4}-base.patch "$PATCHDIR"/NG-aufs${V3_4}-base.patch
	exit 1
fi

#==== apply ./aufsN-mmap.patch too.
if [ ! -f "$PATCHDIR"/aufs${V3_4}-mmap.patch ]
then
	exit 1
fi
echo "-------------------aufs${V3_4}-mmap.patch"
ERROR=`cat "$PATCHDIR"/aufs${V3_4}-mmap.patch | patch -p1 | grep FAILED`
if [ -n "$ERROR" ]
then
	echo "ERROR: aufs${V3_4}-mmap.patch"
	mv "$PATCHDIR"/aufs${V3_4}-mmap.patch "$PATCHDIR"/NG-aufs${V3_4}-mmap.patch
	exit 1
fi

exit 0
#!/bin/sh
# arg1: "Kernel Builder" work directory
# arg2: kernel version: exp. 3.18.140, 4.19.57, 5.1.16, 5.2-rc7
# arg3: 32/64
KDIR=$1
KVER=$2
COMPARCH=$3

V3_4=${KVER%%.*}
SUB=${KVER#*.}
SUB=${SUB%%.*}
RCN=${SUB#*-}
SUB=${SUB%-*}
if [ "$SUB" = "$RCN" ]
then
	RCN=""
else
	SUB="${SUB}-rc"
	RCN=${RCN#rc}
fi
cd $KDIR/v$KVER/$COMPARCH/linux-${KVER}/

PATCHDIR=../../auf/aufs${V3_4}-standalone.git
if [ ! -d $PATCHDIR ]
then
	echo "Not yet get aufs${V3_4}-standalone.git"
	exit 1
fi

#- aufsN-loopback.patch
#  Supports a nested loopback mount in a branch-fs. This patch is
#  unnecessary until aufs produces a message like "you may want to try
#  another patch for loopback file".
#==== apply aufsN-loopback.patch to your kernel source files.
if [ ! -f "$PATCHDIR"/aufs${V3_4}-loopback.patch ]
then
	exit 1
fi
echo "-------------------aufs${V3_4}-loopback.patch"
ERROR=`cat "$PATCHDIR"/aufs${V3_4}-loopback.patch | patch -p1 | grep FAILED`
if [ -n "$ERROR" ]
then
	echo "ERROR: aufs${V3_4}-loopback.patch"
	mv "$PATCHDIR"/aufs${V3_4}-loopback.patch "$PATCHDIR"/NG-aufs${V3_4}-loopback.patch
	exit 1
fi

#- proc_mounts.patch
#  When there are many mountpoints and many mount(2)/umount(2) are
#  running, then /proc/mounts may not show the all mountpoints.  This
#  patch makes /proc/mounts always show the full mountpoints list.
#  If you don't want to apply this patch and meet such problem, then you
#  need to increase the value of 'ProcMounts_Times' make-variable in
#  aufs-util.git as a second best solution.

#- vfs-ino.patch
#  Modifies a system global kernel internal function get_next_ino() in
#  order to stop assigning 0 for an inode-number. Not directly related to
#  aufs, but recommended generally.

#- tmpfs-idr.patch
#  Keeps the tmpfs inode number as the lowest value. Effective to reduce
#  the size of aufs XINO files for tmpfs branch. Also it prevents the
#  duplication of inode number, which is important for backup tools and
#  other utilities. When you find aufs XINO files for tmpfs branch
#  growing too much, try this patch.

#- lockdep-debug.patch
#  Because aufs is not only an ordinary filesystem (callee of VFS), but
#  also a caller of VFS functions for branch filesystems, subclassing of
#  the internal locks for LOCKDEP is necessary. LOCKDEP is a debugging
#  feature of linux kernel. If you enable CONFIG_LOCKDEP, then you will
#  need to apply this debug patch to expand several constant values.
#  If don't know what LOCKDEP, then you don't have apply this patch.



exit 0
%
expand source file and then patch AUFS using
/usr/local/share/mkKernel/lib/v5.4/own.patch.fs+Kconfig
and
/usr/local/share/mkKernel/lib/v5.4/own.patch.fs+Makefile

Code: Select all

% su
# cd /work/v5.4/
# mkdir 64
# cd 64
# xz -dc ../linux-5.4.tar.xz | tar -x
# cd linux-5.4
# cp -r ../../auf/aufs5-standalone.git/fs ./
# cp -r ../../auf/aufs5-standalone.git/Documentation ./
# cp ../../auf/aufs5-standalone.git/include/uapi/linux/aufs_type.h ./include/uapi/linux
# cat ../../auf/aufs5-standalone.git/aufs5-base.patch | patch -p1
# cat ../../auf/aufs5-standalone.git/aufs5-mmap.patch | patch -p1
# cat ../../auf/aufs5-standalone.git/aufs5-loopback.patch | patch -p1
# cp /usr/local/share/mkKernel/lib/v5.4/own.patch.fs+Kconfig fs/Kconfig
# cp /usr/local/share/mkKernel/lib/v5.4/own.patch.fs+Makefile fs/Makefile
#
Note: Example Build Config is /usr/local/share/mkKernel/lib/v5.4/64bit.config


Thanks.

peebee
White ninja
White ninja
Posts: 17
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#742 by peebee » 30 Nov 2019, 09:10

@neko - many thanks.

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

Porteus Kernel Builder

Post#743 by neko » 30 Nov 2019, 12:36

Most recent version of build examples was updated.
Kernel Version: 5.4.1, 5.3.14

Note : AUFS patch "5.4.1" is not yet ready, and
AUFS patch "5.x-rcN-20191021" is not yet ready for kernel version 5.4.1.
It was patched by manual.
Porteus Kernel Builder (Post by neko #74824)


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


Thanks.

peebee
White ninja
White ninja
Posts: 17
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#744 by peebee » 30 Nov 2019, 17:00

aufs-5.4 may be some time....

https://sourceforge.net/p/aufs/mailman/ ... /36794691/

> Ouch!
> My test machine is finally dead. It is Core2-duo, 4GB, 512GB HDD, 10
> year old...
> I have to get a new pc and replace it. Until then, all my development
> stops. Hopefully it will be within a week or two.

I cannot get the new pc until 18 Dec.
I am afraid that my aufs development, especially compile and tests are
done this year.

J. R. Okajima

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

Porteus Kernel Builder

Post#745 by neko » 01 Dec 2019, 02:53

@peebee
Thank you for information about AUFS.
I would like to thank Mr. Okajima for his volunteer activities.


Thanks.

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

Porteus Kernel Builder

Post#746 by neko » 01 Dec 2019, 13:57

Most recent versions of build examples were updated.
Kernel Version: 4.19.87


Thanks.

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

Porteus Kernel Builder

Post#747 by neko » 05 Dec 2019, 10:43

Most recent version of build examples was updated.
Kernel Version: 5.4.2, 5.3.15, 4.19.88

Note : AUFS patch "5.4.2" is not yet ready, and
AUFS patch "5.x-rcN-20191021" is not yet ready for kernel version 5.4.
It was patched by manual.
Porteus Kernel Builder (Post by neko #74824)



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


Thanks.

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

Porteus Kernel Builder

Post#748 by neko » 07 Dec 2019, 12:29

1. "Porteus Kernel Builder" was updated.
Version: 19.11.26

Kernel Version Line 5.4-rc was updated to 5.4.
Therefore the new entry for 5.4 is introduced into "Porteus Kernel Builder".


2. The example of replacement the kernel of another distri which uses OverlayFS/AUFS was updated.
austrumi 4.1.2 + kernel 5.4.2
(includes libreoffice 6.3.4.1, firefox 71.0 etc,.)

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


Thanks.

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

Porteus Kernel Builder

Post#749 by neko » 10 Dec 2019, 00:14

1. A new kernel version series 5.5-rc was introduced.
The AUFS patch cannot be applied yet and was built with overlay FS.

Note 1: AUFS patch
AUFS patch is not yet ready for kernel v5.5-rc.
Applying AUFS patch "5.x-rcN-20191021" to kernel 5.5-rc has some patching errors.

Code: Select all

# patch -p1 < ../../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
Hunk #1 succeeded at 2874 (offset 52 lines).
patching file drivers/block/loop.c
Hunk #1 succeeded at 750 (offset 12 lines).
patching file fs/dcache.c
Hunk #1 succeeded at 1266 (offset 2 lines).
patching file fs/fcntl.c
patching file fs/inode.c
Hunk #1 succeeded at 1673 (offset 3 lines).
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
Hunk #1 succeeded at 849 (offset 15 lines).
Hunk #2 succeeded at 866 (offset 15 lines).
patching file fs/sync.c
patching file include/linux/fs.h
Hunk #1 succeeded at 1349 (offset 18 lines).
Hunk #2 succeeded at 1843 (offset 32 lines).
Hunk #3 succeeded at 1914 (offset 32 lines).
Hunk #4 succeeded at 2340 (offset 34 lines).
Hunk #5 succeeded at 2629 (offset 34 lines).
patching file include/linux/lockdep.h
Hunk #1 succeeded at 331 (offset -3 lines).
Hunk #2 succeeded at 474 (offset -4 lines).
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
patching file fs/Kconfig
Hunk #1 FAILED at 261.
1 out of 1 hunk FAILED -- saving rejects to file fs/Kconfig.rej
patching file fs/Makefile
Hunk #1 FAILED at 130.
1 out of 1 hunk FAILED -- saving rejects to file fs/Makefile.rej
patching file drivers/block/loop.c
Hunk #1 succeeded at 635 (offset 10 lines).
Hunk #2 succeeded at 699 (offset 12 lines).
Hunk #3 succeeded at 719 (offset 12 lines).
Hunk #4 succeeded at 743 (offset 12 lines).
Hunk #5 succeeded at 757 (offset 12 lines).
Hunk #6 succeeded at 767 (offset 12 lines).
Hunk #7 succeeded at 973 (offset 12 lines).
Hunk #8 succeeded at 989 (offset 12 lines).
Hunk #9 succeeded at 1043 (offset 12 lines).
Hunk #10 succeeded at 1097 (offset 22 lines).
Hunk #11 succeeded at 1145 (offset 22 lines).
Hunk #12 succeeded at 1169 (offset 22 lines).
Hunk #13 succeeded at 1253 (offset 23 lines).
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 857 (offset 13 lines).
patching file include/linux/fs.h
Hunk #1 succeeded at 1980 (offset 32 lines).
patching file fs/proc/base.c
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
Hunk #2 succeeded at 1822 with fuzz 2 (offset 12 lines).
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
Hunk #1 succeeded at 1495 (offset -43 lines).
patching file include/linux/mm_types.h
Hunk #1 succeeded at 267 (offset 5 lines).
Hunk #2 succeeded at 342 (offset 5 lines).
patching file kernel/fork.c
Hunk #1 succeeded at 565 (offset 12 lines).
patching file mm/Makefile
Hunk #1 succeeded at 42 (offset 3 lines).
patching file mm/filemap.c
Hunk #1 succeeded at 2675 (offset -46 lines).
patching file mm/mmap.c
Hunk #2 succeeded at 915 (offset -16 lines).
Hunk #3 succeeded at 1843 (offset -4 lines).
Hunk #4 succeeded at 2673 (offset -7 lines).
Hunk #5 succeeded at 2692 (offset -7 lines).
Hunk #6 succeeded at 2884 (offset -6 lines).
Hunk #7 succeeded at 2959 (offset -6 lines).
Hunk #8 succeeded at 3270 (offset -5 lines).
patching file mm/nommu.c
Hunk #1 succeeded at 563 (offset 11 lines).
Hunk #2 succeeded at 695 (offset 5 lines).
Hunk #3 succeeded at 1218 (offset 5 lines).
Hunk #4 succeeded at 1295 (offset 5 lines).
patching file mm/prfile.c
patching file fs/dcache.c
Hunk #1 succeeded at 1371 (offset 2 lines).
Hunk #2 succeeded at 2917 (offset 2 lines).
patching file fs/exec.c
Hunk #1 succeeded at 109 (offset -1 lines).
patching file fs/fcntl.c
patching file fs/file_table.c
Hunk #2 succeeded at 313 with fuzz 2 (offset -15 lines).
Hunk #3 succeeded at 377 (offset 1 line).
patching file fs/inode.c
Hunk #1 succeeded at 1682 (offset 3 lines).
patching file fs/namespace.c
Hunk #3 succeeded at 1905 (offset 3 lines).
patching file fs/notify/group.c
Hunk #2 FAILED at 109.
Hunk #3 FAILED at 138.
2 out of 3 hunks FAILED -- saving rejects to file fs/notify/group.c.rej
patching file fs/notify/mark.c
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file fs/notify/mark.c.rej
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
Hunk #1 succeeded at 862 (offset 15 lines).
Hunk #2 succeeded at 892 (offset 15 lines).
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
Hunk #1 FAILED at 824.
1 out of 1 hunk FAILED -- saving rejects to file security/device_cgroup.c.rej
patching file security/security.c
Hunk #1 succeeded at 1036 (offset 40 lines).
Hunk #2 succeeded at 1053 (offset 40 lines).
Hunk #3 succeeded at 1062 (offset 40 lines).
Hunk #4 succeeded at 1090 (offset 40 lines).
Hunk #5 succeeded at 1098 (offset 40 lines).
Hunk #6 succeeded at 1106 (offset 40 lines).
Hunk #7 succeeded at 1207 (offset 40 lines).
Hunk #8 succeeded at 1385 (offset 40 lines).
patching file include/linux/lockdep.h
patching file kernel/locking/lockdep.c
Hunk #1 succeeded at 4764 (offset 72 lines).
patching file kernel/locking/lockdep_internals.h
Hunk #1 FAILED at 93.
1 out of 1 hunk FAILED -- saving rejects to file kernel/locking/lockdep_internals.h.rej
patching file fs/mount.h
patching file fs/namespace.c
Hunk #1 succeeded at 1254 (offset 8 lines).
patching file fs/proc_namespace.c
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
Hunk #1 succeeded at 128 (offset 15 lines).
Hunk #2 succeeded at 1115 (offset 15 lines).
Hunk #3 succeeded at 2249 (offset 20 lines).
Hunk #4 succeeded at 2299 (offset 20 lines).
Hunk #5 succeeded at 3323 (offset 20 lines).
Hunk #6 succeeded at 3343 (offset 20 lines).
Hunk #7 succeeded at 3359 (offset 20 lines).
Hunk #8 FAILED at 3411.
Hunk #9 FAILED at 3476.
Hunk #10 succeeded at 3605 (offset 80 lines).
Hunk #11 succeeded at 3629 (offset 80 lines).
Hunk #12 FAILED at 3569.
Hunk #13 succeeded at 3782 (offset 108 lines).
Hunk #14 succeeded at 3931 (offset 121 lines).
3 out of 14 hunks FAILED -- saving rejects to file mm/shmem.c.rej
patching file fs/inode.c
Hunk #1 succeeded at 885 (offset 3 lines).
Hunk #2 succeeded at 899 (offset 3 lines).
#
A compile error occurs even if the patch is applied in the same way as v5.4.

Code: Select all

fs/aufs/i_op.c: In function 'au_pin_hdir_release':
fs/aufs/i_op.c:659:65: error: macro "rwsem_release" passed 3 arguments, but takes just 2
  659 |   rwsem_release(&p->hdir->hi_inode->i_rwsem.dep_map, 1, _RET_IP_);
      |                                                                 ^
In file included from ./include/linux/rcupdate.h:29,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ././include/uapi/linux/aufs_type.h:31,
                 from <command-line>:
./include/linux/lockdep.h:613: note: macro "rwsem_release" defined here
  613 | #define rwsem_release(l, i)   lock_release(l, i)
      | 
fs/aufs/i_op.c:659:3: error: 'rwsem_release' undeclared (first use in this function); did you mean 'seq_release'?
  659 |   rwsem_release(&p->hdir->hi_inode->i_rwsem.dep_map, 1, _RET_IP_);
      |   ^~~~~~~~~~~~~
      |   seq_release
fs/aufs/i_op.c:659:3: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:266: fs/aufs/i_op.o] Error 1
make[1]: *** [scripts/Makefile.build:503: fs/aufs] Error 2
make: *** [Makefile:1692: fs] Error 2

Note 2: kernel 5.5-rc config
==== Change the config from 5.4 to 5.5 by "make oldconfig" command with following spec. ====
[32bit]

Code: Select all

Processor family
  1. 486SX (M486SX) (NEW)
  2. 486DX (M486)
  3. 586/K5/5x86/6x86/6x86MX (M586)
  4. Pentium-Classic (M586TSC)
  5. Pentium-MMX (M586MMX)
> 6. Pentium-Pro (M686)
  7. Pentium-II/Celeron(pre-Coppermine) (MPENTIUMII)
  8. Pentium-III/Celeron(Coppermine)/Pentium-III Xeon (MPENTIUMIII)
  9. Pentium M (MPENTIUMM)
  10. Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon (MPENTIUM4)
  11. K6/K6-II/K6-III (MK6)
  12. Athlon/Duron/K7 (MK7)
  13. Opteron/Athlon64/Hammer/K8 (MK8)
  14. Crusoe (MCRUSOE)
  15. Efficeon (MEFFICEON)
  16. Winchip-C6 (MWINCHIPC6)
  17. Winchip-2/Winchip-2A/Winchip-3 (MWINCHIP3D)
  18. AMD Elan (MELAN)
  19. GeodeGX1 (MGEODEGX1)
  20. Geode GX/LX (MGEODE_LX)
  21. CyrixIII/VIA-C3 (MCYRIXIII)
  22. VIA C3-2 (Nehemiah) (MVIAC3_2)
  23. VIA C7 (MVIAC7)
  24. Core 2/newer Xeon (MCORE2)
  25. Intel Atom (MATOM)
choice[1-25?]: 6
IOPERM and IOPL Emulation (X86_IOPL_IOPERM) [Y/n/?] (NEW) n
User Mode Instruction Prevention (X86_UMIP) [Y/n/?] (NEW) n
Enable firmware caching during suspend (FW_CACHE) [Y/n/?] (NEW) n
NVMe hardware monitoring (NVME_HWMON) [N/y/?] (NEW) n
Texas Instruments DP83869 Gigabit PHY (DP83869_PHY) [N/m/?] (NEW) n
IDT CLOCKMATRIX as PTP clock (PTP_1588_CLOCK_IDTCM) [N/m/y/?] (NEW) n

Intel Tiger Lake pinctrl and GPIO driver (PINCTRL_TIGERLAKE) [N/m/y/?] (NEW) y
Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC (PINCTRL_EQUILIBRIUM) [N/m/y/?] (NEW) y

Analog Devices LTC2947 High Precision Power and Energy Monitor over I2C (SENSORS_LTC2947_I2C) [N/m/y/?] (NEW) n
Analog Devices LTC2947 High Precision Power and Energy Monitor over SPI (SENSORS_LTC2947_SPI) [N/m/y/?] (NEW) n
Bel PFE Compatible Power Supplies (SENSORS_BEL_PFE) [N/m/?] (NEW) n
Texas Instruments TMP513 and compatibles (SENSORS_TMP513) [N/m/y/?] (NEW) n
Enable refcount backtrace history in the DP MST helpers (DRM_DEBUG_DP_MST_TOPOLOGY_REFS) [N/y/?] (NEW) n
Enable HDCP support in DC (DRM_AMD_DC_HDCP) [N/y/?] (NEW) n

Interval between heartbeat pulses (ms) (DRM_I915_HEARTBEAT_INTERVAL) [2500] (NEW) 
Preempt timeout (ms, jiffy granularity) (DRM_I915_PREEMPT_TIMEOUT) [640] (NEW) 
Busywait for request completion (us) (DRM_I915_SPIN_REQUEST) [5] 5
How long to wait for an engine to quiesce gracefully before reset (ms) (DRM_I915_STOP_TIMEOUT) [100] (NEW) 
Scheduling quantum for userspace batches (ms, jiffy granularity) (DRM_I915_TIMESLICE_DURATION) [1] (NEW) 


Qualcomm PMIC WLED Driver (BACKLIGHT_QCOM_WLED) [N/m/y/?] (NEW) n
TI HD3SS3220 Type-C DRP Port controller driver (TYPEC_HD3SS3220) [N/m/?] (NEW) n
Sifive PDMA controller driver (SF_PDMA) [N/m/y/?] (NEW) n
Support for small TFT LCD display modules (FB_TFT) [N/m/y/?] (NEW) n
Silicon Labs wireless chips WF200 and further (WFX) [N/m/?] (NEW) n
System76 ACPI Driver (SYSTEM76_ACPI) [N/m/y/?] (NEW) n
Curve25519 algorithm (CRYPTO_CURVE25519) [N/m/y/?] (NEW) n

BLAKE2b digest algorithm (CRYPTO_BLAKE2B) [N/m/y/?] (NEW) m
  BLAKE2s digest algorithm (CRYPTO_BLAKE2S) [N/m/y/?] (NEW) m
  BLAKE2s hash function library (CRYPTO_LIB_BLAKE2S) [N/m/y/?] (NEW) m
ChaCha library interface (CRYPTO_LIB_CHACHA) [N/m/y/?] (NEW) m
Curve25519 scalar multiplication library (CRYPTO_LIB_CURVE25519) [N/m/y/?] (NEW) m
Poly1305 library interface (CRYPTO_LIB_POLY1305) [N/m/y/?] (NEW) m
ChaCha20-Poly1305 AEAD support (8-byte nonce library version) (CRYPTO_LIB_CHACHA20POLY1305) [N/m/y/?] (NEW) m
Support for amlogic cryptographic offloader (CRYPTO_DEV_AMLOGIC_GXL) [N/m/y/?] (NEW) m

Enable amlogic stats (CRYPTO_DEV_AMLOGIC_GXL_DEBUG) [N/y/?] (NEW) n
Support symbolic error names in printf (SYMBOLIC_ERRNAME) [Y/n/?] (NEW) n
KUnit - Enable support for unit tests (KUNIT) [N/y/?] (NEW) n
[64bit]

Code: Select all

IOPERM and IOPL Emulation (X86_IOPL_IOPERM) [Y/n/?] (NEW) n
User Mode Instruction Prevention (X86_UMIP) [Y/n/?] (NEW) n
Enable firmware caching during suspend (FW_CACHE) [Y/n/?] (NEW) n
NVMe hardware monitoring (NVME_HWMON) [N/y/?] (NEW) n
Texas Instruments DP83869 Gigabit PHY (DP83869_PHY) [N/m/?] (NEW) n
IDT CLOCKMATRIX as PTP clock (PTP_1588_CLOCK_IDTCM) [N/m/y/?] (NEW) n

Intel Tiger Lake pinctrl and GPIO driver (PINCTRL_TIGERLAKE) [N/m/y/?] (NEW) y
Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC (PINCTRL_EQUILIBRIUM) [N/m/y/?] (NEW) y

Analog Devices LTC2947 High Precision Power and Energy Monitor over I2C (SENSORS_LTC2947_I2C) [N/m/y/?] (NEW) n
Analog Devices LTC2947 High Precision Power and Energy Monitor over SPI (SENSORS_LTC2947_SPI) [N/m/y/?] (NEW) n
Bel PFE Compatible Power Supplies (SENSORS_BEL_PFE) [N/m/?] (NEW) n
Texas Instruments TMP513 and compatibles (SENSORS_TMP513) [N/m/y/?] (NEW) n
Enable refcount backtrace history in the DP MST helpers (DRM_DEBUG_DP_MST_TOPOLOGY_REFS) [N/y/?] (NEW) n
Enable HDCP support in DC (DRM_AMD_DC_HDCP) [N/y/?] (NEW) n

Interval between heartbeat pulses (ms) (DRM_I915_HEARTBEAT_INTERVAL) [2500] (NEW) 
Preempt timeout (ms, jiffy granularity) (DRM_I915_PREEMPT_TIMEOUT) [640] (NEW) 
Busywait for request completion (us) (DRM_I915_SPIN_REQUEST) [5] 5
How long to wait for an engine to quiesce gracefully before reset (ms) (DRM_I915_STOP_TIMEOUT) [100] (NEW) 
Scheduling quantum for userspace batches (ms, jiffy granularity) (DRM_I915_TIMESLICE_DURATION) [1] (NEW) 

Qualcomm PMIC WLED Driver (BACKLIGHT_QCOM_WLED) [N/m/y/?] (NEW) n
TI HD3SS3220 Type-C DRP Port controller driver (TYPEC_HD3SS3220) [N/m/?] (NEW) n
Sifive PDMA controller driver (SF_PDMA) [N/m/y/?] (NEW) n
Support for small TFT LCD display modules (FB_TFT) [N/m/y/?] (NEW) n
Silicon Labs wireless chips WF200 and further (WFX) [N/m/?] (NEW) n
System76 ACPI Driver (SYSTEM76_ACPI) [N/m/y/?] (NEW) n
Curve25519 algorithm (CRYPTO_CURVE25519) [N/m/y/?] (NEW) n
x86_64 accelerated Curve25519 scalar multiplication library (CRYPTO_CURVE25519_X86) [N/m/y/?] (NEW) n

BLAKE2b digest algorithm (CRYPTO_BLAKE2B) [N/m/y/?] (NEW) m
BLAKE2s digest algorithm (CRYPTO_BLAKE2S) [N/m/y/?] (NEW) m
BLAKE2s digest algorithm (x86 accelerated version) (CRYPTO_BLAKE2S_X86) [N/m/y/?] (NEW) m
BLAKE2s hash function library (CRYPTO_LIB_BLAKE2S) [N/m/?] (NEW) m
ChaCha library interface (CRYPTO_LIB_CHACHA) [N/m/?] (NEW) m
Curve25519 scalar multiplication library (CRYPTO_LIB_CURVE25519) [N/m/y/?] (NEW) m
Poly1305 library interface (CRYPTO_LIB_POLY1305) [N/m/y/?] (NEW) m
ChaCha20-Poly1305 AEAD support (8-byte nonce library version) (CRYPTO_LIB_CHACHA20POLY1305) [N/m/?] (NEW) m
Support for amlogic cryptographic offloader (CRYPTO_DEV_AMLOGIC_GXL) [N/m/y/?] (NEW) m

Enable amlogic stats (CRYPTO_DEV_AMLOGIC_GXL_DEBUG) [N/y/?] (NEW) n
Support symbolic error names in printf (SYMBOLIC_ERRNAME) [Y/n/?] (NEW) n
KUnit - Enable support for unit tests (KUNIT) [N/y/?] (NEW) n
Please refer to the top article of this thread.
Porteus Kernel Builder


2. Overlayfs ISO: trial version

Porteus v5.0rc1 OPENBOX 64Bit + integrated initrd.xz + Kernel 5.5-rc1 without AUFS patch (= Overlayfs)

OV.Porteus-OPENBOX-v5.0rc1-k5.5-rc1-x86_64.iso (340 M)
http://www.mediafire.com/file/u6byigkbe ... x86_64.iso
md5sum: 59eefc755f30fc11d82244c6b60679c6 OV.Porteus-OPENBOX-v5.0rc1-k5.5-rc1-x86_64.iso


Thanks.

fulalas
DEV Team
DEV Team
Posts: 1456
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus Kernel Builder

Post#750 by fulalas » 10 Dec 2019, 06:41

@neko, is there any limitation in the current 5.4.2 x64? Thanks!

Post Reply