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...
User avatar
babam
Warlord
Warlord
Posts: 528
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1036 by babam » 03 Jan 2021, 06:26

maia wrote:
03 Jan 2021, 01:51

XZM is activated on the tmpfs :)
No, not tmpfs but aufs.
Sorry, my English is bad.

User avatar
maia
Samurai
Samurai
Posts: 123
Joined: 08 Aug 2019, 16:56
Distribution: Porteus-5 64b Openbox
Location: Brasil

Porteus Kernel Builder

Post#1037 by maia » 03 Jan 2021, 18:10

Yes :)
Sorry my english is really, g##gle-tr4nsl4t0r

peebee
Black ninja
Black ninja
Posts: 43
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#1038 by peebee » 03 Jan 2021, 18:52

Subject aufs5 GIT release (v5.{8,9,10})
From J. R. OkajimaAdd
Date Today 16:21
I'm back.
Thanks for your patience and sorry for you inconvenient.
Also I appriciate PB who has made his aufs patch for v5.{8,9,10}.
I hope I can keep my development pace as I had.

o news
- As previously announced, aufs4.19--aufs5.3 has ended.
The new development base is aufs5.4.3. Not aufs5.4, because NFSv3 ACL
is broken in linux-v5.4. (aufs5.4 is still supported)
- Since v5.8, proc_mounts.patch in aufs5-standalone.git became unnecessary.
- linux-v5.10 has removed an internal function 'set_fs()' (on some
architectures), and aufs had to follow that change. Also aufs removed
its f_op->read() and ->write() functions.


J. R. Okajima

----------------------------------------
- aufs5-linux.git#aufs5.4..aufs5.7
aufs: minor, pseudo keyword 'fallthrough'
aufs: minor, MAINTAINERS
aufs: cosmetic, fix a comment

- aufs5-linux.git#aufs5.8
Addition to above,
aufs: for v5.8-rc1, a_ops->readahead

- aufs5-linux.git#aufs5.9
Addition to above,
aufs: for linux-v5.9-rc1, arg of ->handle_event()

- aufs5-linux.git#aufs5.x-rcN
Addition to above,
aufs: linux-v5.10-rc1, no more f_op->read() and ->write()
aufs: linux-v5.10-rc1, no more set_fs()
for aufs: linux-v5.10-rc1, no more vfs_(read|write)f_t

- aufs5-standalone.git
Addition to above,
aufs: unnecessary proc_mounts.patch for linux-v5.8 and later

- aufs-util.git#aufs5.8..aufs5.x-rcN
Revert "minor, make-var ProcMounts_Times"
Revert "minor, check AUFS_SUPER_MAGIC"
Revert "au_proc_getmntent: optimize reading, retry"

User avatar
cad
Black ninja
Black ninja
Posts: 69
Joined: 06 Nov 2020, 22:40
Distribution: XFCE 5.01 x86_64 + 4.0 i586

Porteus Kernel Builder

Post#1039 by cad » 04 Jan 2021, 00:01

@peebee

Great news! :)

Could you please also post a link for downloading your new aufs5 patch set for kernel 5.10.4?
Is this a fully functional patch set?

Thank you.

roadie
Full of knowledge
Full of knowledge
Posts: 400
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1040 by roadie » 04 Jan 2021, 05:25

cad wrote:
02 Jan 2021, 19:35
roadie wrote:
15 Dec 2020, 06:00
Apparently something has changed in the kernel source for 5.10. When booting 5.10.0-rc7, I got a black screen right after starting udev and the only recourse was a hard shutdown. This has never happened with the 5.9 series up to 5.9.12. I was able to get the screen back with "nomodeset" on the command line, but it's unusable as X won't start.

The problem turned out to be my AMD graphics card and the fix that worked for me is putting the following on the command line:

Code: Select all

amdgpu.dc=0
Hopefully this will help someone else with AMD graphics.
I am getting exactly the same behavior with my last generation Lenovo IdeaPad with AMD graphics card, with Blaze's latest kernel Porteus Kernel Builder (Post by Blaze #80754)
Thank you for your fix, roadie, which worked in my case as well! :)
cad,
I'm glad it's helped someone, though I won't claim any credit as it's an acorn this blind pig dug up on the interweb.

peebee
Black ninja
Black ninja
Posts: 43
Joined: 13 Oct 2013, 15:31
Distribution: 4
Location: UK

Porteus Kernel Builder

Post#1041 by peebee » 04 Jan 2021, 07:14

cad wrote:
04 Jan 2021, 00:01
Could you please also post a link for downloading your new aufs5 patch set for kernel 5.10.4?
Is this a fully functional patch set?
Hi - no longer needed as the official aufs-5.10 is now available.............

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

Porteus Kernel Builder

Post#1042 by Blaze » 04 Jan 2021, 09:19

http://aufs.sourceforge.net/

Code: Select all

aufs5
Currently aufs5 supports these kernels.

version 	status on www.kernel.org 	support status
linux-5.x  	mainline 	supported and fully tested
linux-5.10 	stable 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.9 	stable 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.8 	EOL 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.7 	EOL 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.6 	EOL 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.5 	EOL 	supported but little tested, SIGIO doesn't work expectedly
linux-5.4.3 	longterm 	supported and fully tested
linux-5.4 	EOL 	supported but little tested, NFSv3 ACL before v5.4.3 doesn't work
:celebrate14:
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
cad
Black ninja
Black ninja
Posts: 69
Joined: 06 Nov 2020, 22:40
Distribution: XFCE 5.01 x86_64 + 4.0 i586

Porteus Kernel Builder

Post#1043 by cad » 04 Jan 2021, 15:48

peebee wrote:
04 Jan 2021, 07:14
cad wrote:
04 Jan 2021, 00:01
Could you please also post a link for downloading your new aufs5 patch set for kernel 5.10.4?
Is this a fully functional patch set?
Hi - no longer needed as the official aufs-5.10 is now available.............
Thanks! :Yahoo!:

User avatar
cad
Black ninja
Black ninja
Posts: 69
Joined: 06 Nov 2020, 22:40
Distribution: XFCE 5.01 x86_64 + 4.0 i586

Porteus Kernel Builder

Post#1044 by cad » 04 Jan 2021, 16:07

Blaze wrote:
04 Jan 2021, 09:19
http://aufs.sourceforge.net/

Code: Select all

aufs5
Currently aufs5 supports these kernels.

version 	status on www.kernel.org 	support status
linux-5.x  	mainline 	supported and fully tested
linux-5.10 	stable 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.9 	stable 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.8 	EOL 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.7 	EOL 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.6 	EOL 	supported and fully tested, except SIGIO which doesn't work expectedly
linux-5.5 	EOL 	supported but little tested, SIGIO doesn't work expectedly
linux-5.4.3 	longterm 	supported and fully tested
linux-5.4 	EOL 	supported but little tested, NFSv3 ACL before v5.4.3 doesn't work
:celebrate14:
Great! :)
In previous posts, you mentioned you used "10.2.0-x86_64" as compiler for kernel 5.10.x.
Where can I download it? Is there a Porteus devel module (05-devel.xzm) compatible with kernel 5.10.4 that I can download?
I would like to start experimenting with kernel 5.10.4 as soon as possible, so as to fix my laptop's ELAN touchpad problem (it is not being recognized).
First, I would like to try setting CONFIG_PINCTRL_AMD=y - as suggested by beny here: Porteus 5.0 RC2 bug reports (Post by beny #80831) It is compiled as a module (CONFIG_PINCTRL_AMD=m) in your latest kernel of Jan 1.
(I tried loading manually pinctrl-amd.ko and elan-i2c.ko, but the ELAN touchpad still does not work.) Then, if that does not work, I will try other things, until I get it to work.
Once I get the Lenovo IdeaPad's touchpad to work, I'll post results in the "Porteus 5.0 RC2 bug reports" section so that changes can be made to the official Porteus kernel accordingly, if approved.
So, now that a suitable aufs5 patch set for 5.10.4 is available, I need a compatible compiler (05-devel.xzm module?) to compile it. Can you help?

Thank you.

roadie
Full of knowledge
Full of knowledge
Posts: 400
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1045 by roadie » 04 Jan 2021, 17:32

cad,

With the AMD machines, CONFIG_PINCTRL_AMD must be set, though I set it as a module rather than builtin. The last config I looked at from a kernel that Blaze compiled had it set. There are also a few hotplug options that have to be set and might be the reason the kernel isn't working for you. There are a few posts between myself and Blaze that sum up the needed changes. I'll dig through my reminders to see what else is needed.

As I mentioned in another post, I'm surprised that Blaze's kernel isn't working, but I also remember a post in which Blaze mentioned using other config files, so probably some config settings have been changed. For compiling, I use the 05-devel.xzm that's built for the Porteus version I'm using, the 5.0-rc2 is available here:

Porteus-v5.0rc2 is released (Post by Blaze #78124)

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

Porteus Kernel Builder

Post#1046 by Blaze » 04 Jan 2021, 18:02

roadie,
cad wrote:
04 Jan 2021, 16:07
Where can I download it?
https://dropmefiles.com/n4MW8

Code: Select all

cat /usr/src/linux/.config  | egrep -i 'CTRL|ELAN'
# CONFIG_X86_CPU_RESCTRL is not set
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_MOUSE_PS2_ELANTECH_SMBUS=y
CONFIG_MOUSE_ELAN_I2C=m
CONFIG_MOUSE_ELAN_I2C_I2C=y
CONFIG_MOUSE_ELAN_I2C_SMBUS=y
CONFIG_TOUCHSCREEN_ELAN=m
CONFIG_SERIAL_MCTRL_GPIO=y
CONFIG_PINCTRL=y
# CONFIG_DEBUG_PINCTRL is not set
CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_DA9062 is not set
CONFIG_PINCTRL_MCP23S08_I2C=m
CONFIG_PINCTRL_MCP23S08_SPI=m
CONFIG_PINCTRL_MCP23S08=m
CONFIG_PINCTRL_SX150X=y
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_CHERRYVIEW=y
# CONFIG_PINCTRL_LYNXPOINT is not set
CONFIG_PINCTRL_INTEL=y
CONFIG_PINCTRL_BROXTON=y
CONFIG_PINCTRL_CANNONLAKE=y
CONFIG_PINCTRL_CEDARFORK=y
CONFIG_PINCTRL_DENVERTON=y
# CONFIG_PINCTRL_EMMITSBURG is not set
CONFIG_PINCTRL_GEMINILAKE=y
CONFIG_PINCTRL_ICELAKE=y
# CONFIG_PINCTRL_JASPERLAKE is not set
CONFIG_PINCTRL_LEWISBURG=y
CONFIG_PINCTRL_SUNRISEPOINT=y
# CONFIG_PINCTRL_TIGERLAKE is not set
# Renesas pinctrl drivers
# end of Renesas pinctrl drivers
CONFIG_PINCTRL_MADERA=m
CONFIG_PINCTRL_CS47L15=y
CONFIG_PINCTRL_CS47L35=y
CONFIG_PINCTRL_CS47L85=y
CONFIG_PINCTRL_CS47L90=y
CONFIG_PINCTRL_CS47L92=y
# CONFIG_SENSORS_W83795_FANCTRL is not set
CONFIG_HID_ELAN=m
CONFIG_USB_FTDI_ELAN=m
# CONFIG_NLS_MAC_ICELAND is not set
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

roadie
Full of knowledge
Full of knowledge
Posts: 400
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus Kernel Builder

Post#1047 by roadie » 04 Jan 2021, 18:14

Blaze,
What about the hotplug settings? My touchpad would not work without these:

Code: Select all

CONFIG_X86_AMD_PLATFORM_DEVICE=y
CONFIG_HOTPLUG_CPU=y

CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_HOTPLUG_MEMORY=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_ACPI=y
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_HOTPLUG_PCI_CPCI=y
CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m
CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
CONFIG_HOTPLUG_PCI_SHPC=y
CONFIG_HOTPLUG_SMT=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG_SPARSE=y


CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_SLAVE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
I'm not sure about the designware settings, but I've seen them mentioned for the Lenova machines and they do no harm for mine.


This one is interesting as I've seen it mentioned in connection with Lenova touchpads and I see you have it set in your config.

Code: Select all

CONFIG_TOUCHSCREEN_ELAN=m

User avatar
cad
Black ninja
Black ninja
Posts: 69
Joined: 06 Nov 2020, 22:40
Distribution: XFCE 5.01 x86_64 + 4.0 i586

Porteus Kernel Builder

Post#1048 by cad » 04 Jan 2021, 18:29

roadie wrote:
04 Jan 2021, 17:32
cad,

With the AMD machines, CONFIG_PINCTRL_AMD must be set, though I set it as a module rather than builtin. The last config I looked at from a kernel that Blaze compiled had it set. There are also a few hotplug options that have to be set and might be the reason the kernel isn't working for you. There are a few posts between myself and Blaze that sum up the needed changes. I'll dig through my reminders to see what else is needed.

As I mentioned in another post, I'm surprised that Blaze's kernel isn't working, but I also remember a post in which Blaze mentioned using other config files, so probably some config settings have been changed. For compiling, I use the 05-devel.xzm that's built for the Porteus version I'm using, the 5.0-rc2 is available here:

viewtopic.php?f=35&p=78124#p78124
Some progress was made by using a Blaze kernel with CONFIG_PINCTRL_AMD=y (compiled into the kernel, not as a module); please see post here:
viewtopic.php?p=80842#p80842
Latest Blaze kernel has it compiled as a module.
Thank you for confirming that using the 05-devel.xzm from 5.0-rc2 is OK. So, I'm all set now for tinkering with the new kernel! :)
Please let me know if you find your relevant reminder notes...

User avatar
cad
Black ninja
Black ninja
Posts: 69
Joined: 06 Nov 2020, 22:40
Distribution: XFCE 5.01 x86_64 + 4.0 i586

Porteus Kernel Builder

Post#1049 by cad » 04 Jan 2021, 18:31

Blaze wrote:
04 Jan 2021, 18:02
roadie,
cad wrote:
04 Jan 2021, 16:07
Where can I download it?
https://dropmefiles.com/n4MW8

Thank you, Blaze! :)

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

Porteus Kernel Builder

Post#1050 by Blaze » 04 Jan 2021, 19:12

roadie, now I compile kernel 5.10.4 with official aufs patch. I don't see you post, but I tweaked .config with options at my look :magic:

Отправлено спустя 27 минут 28 секунд:
Damn, seems official aufs-5.10 not apply correctly with Kernel Builder by neko
Image
I use my config >>> https://gofile.io/d/qPUeXc or https://pastebin.ubuntu.com/p/DVNZhGvM5p/ (is the same .config)
BTW I found very useful site - Linux kernel configuration navigator and finder >>> https://www.kernelconfig.io/
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply