Page 87 of 135
Porteus Kernel Builder
Posted: 12 Jun 2021, 10:39
by raja
blaze, some more info from kernel-5.1.13
Code: Select all
guest@porteus:~$ lsmod
Module Size Used by
ccm 16384 6
ipv6 290816 210
snd_hda_codec_hdmi 40960 1
arc4 12288 2
intel_rapl 16384 0
coretemp 12288 0
btusb 36864 0
btrtl 12288 1 btusb
btbcm 12288 1 btusb
btintel 12288 1 btusb
kvm_intel 159744 0
acer_wmi 20480 0
hid_multitouch 20480 0
bluetooth 290816 5 btrtl,btintel,btbcm,btusb
intel_wmi_thunderbolt 12288 0
sparse_keymap 12288 1 acer_wmi
kvm 303104 1 kvm_intel
snd_hda_codec_realtek 77824 1
ecdh_generic 16384 1 bluetooth
snd_hda_codec_generic 53248 1 snd_hda_codec_realtek
irqbypass 12288 1 kvm
crct10dif_pclmul 12288 1
ledtrig_audio 12288 2 snd_hda_codec_generic,snd_hda_codec_realtek
crc32_pclmul 12288 0
ath10k_pci 32768 0
crc32c_intel 16384 0
ghash_clmulni_intel 12288 0
ath10k_core 258048 1 ath10k_pci
i915 1212416 9
aesni_intel 323584 4
ath 24576 1 ath10k_core
aes_x86_64 16384 1 aesni_intel
mac80211 323584 1 ath10k_core
snd_hda_intel 28672 3
crypto_simd 12288 1 aesni_intel
cryptd 16384 3 crypto_simd,ghash_clmulni_intel,aesni_intel
snd_hda_codec 77824 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
glue_helper 12288 1 aesni_intel
intel_cstate 12288 0
cfg80211 249856 3 ath,mac80211,ath10k_core
snd_hda_core 45056 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
input_leds 12288 0
intel_rapl_perf 12288 0
led_class 12288 2 input_leds,acer_wmi
snd_hwdep 12288 1 snd_hda_codec
rfkill 20480 5 acer_wmi,bluetooth,cfg80211
acpi_pad 16384 0
i2c_hid 20480 0
snd_pcm 61440 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
mei_me 20480 0
wmi 16384 2 intel_wmi_thunderbolt,acer_wmi
intel_gtt 16384 1 i915
intel_pch_thermal 12288 0
i2c_i801 20480 0
intel_lpss_pci 16384 0
snd_timer 24576 1 snd_pcm
intel_lpss 12288 1 intel_lpss_pci
mei 49152 1 mei_me
pcc_cpufreq 12288 0
dmesg on touchpad:
[ 8.621230] udevd[734]: starting eudev-3.2.5
[ 8.828953] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[ 8.829204] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[ 8.829246] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 8.944214] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[ 9.113042] input: SYNA7DB5:00 06CB:7DB7 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-SYNA7DB5:00/0018:06CB:7DB7.0001/input/input5
[ 9.113146] input: SYNA7DB5:00 06CB:7DB7 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-SYNA7DB5:00/0018:06CB:7DB7.0001/input/input6
[ 9.113238] hid-generic 0018:06CB:7DB7.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA7DB5:00 06CB:7DB7] on i2c-SYNA7DB5:00
Porteus Kernel Builder
Posted: 12 Jun 2021, 12:54
by Blaze
raja, I use EXT2 FS:
Code: Select all
# uname -a
Linux porteus.example.net 5.12.10-porteus #1 SMP Sat Jun 12 15:21:46 MSK 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
# dmesg --level=err
[ 0.245936] ACPI BIOS Error (bug): Could not resolve symbol [\_PR.CPU0._CPC], AE_NOT_FOUND (20210105/psargs-330)
[ 0.245992] ACPI Error: Aborting method \_PR.CPU1._CPC due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.246068] ACPI BIOS Error (bug): Could not resolve symbol [\_PR.CPU0._CPC], AE_NOT_FOUND (20210105/psargs-330)
[ 0.246121] ACPI Error: Aborting method \_PR.CPU2._CPC due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.246195] ACPI BIOS Error (bug): Could not resolve symbol [\_PR.CPU0._CPC], AE_NOT_FOUND (20210105/psargs-330)
[ 0.246251] ACPI Error: Aborting method \_PR.CPU3._CPC due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.584129] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20210105/psargs-330)
[ 0.584247] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.584566] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT2._GTF.DSSP], AE_NOT_FOUND (20210105/psargs-330)
[ 0.584677] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT2._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.585257] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20210105/psargs-330)
[ 0.585368] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.586155] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20210105/psargs-330)
[ 0.586314] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.586724] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT2._GTF.DSSP], AE_NOT_FOUND (20210105/psargs-330)
[ 0.586872] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT2._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.596046] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT3._GTF.DSSP], AE_NOT_FOUND (20210105/psargs-330)
[ 0.596192] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT3._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.596471] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20210105/psargs-330)
[ 0.596618] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 0.598023] ACPI BIOS Error (bug):
[ 0.598126] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT3._GTF due to previous error (AE_NOT_FOUND) (20210105/psparse-529)
[ 3.587100] udevd[782]: '/usr/sbin/alsactl restore 1' [934] terminated by signal 6 (Aborted)
[ 4.544622] udevd[684]: '/usr/sbin/alsactl restore 0' [970] terminated by signal 6 (Aborted)
guest@porteus:~$
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)
[
5.12.10] <--
NEW : "All patches" patching was done.
ZSTD version
64bit-ALL-kernel5.12.10-zstd.tar (~123 M)
https://files.sberdisk.ru/s/CqCeA2fEeLcC7Pw
b9f4527c314951d479e396b8174c5cd4 64bit-ALL-kernel5.12.10-zstd.tar
Note 1: Compiler that was used.
for kernel 5.12.10:
10.3.0-x86_64
Code: Select all
# Changelog
# Added to .config
#
# I2C HID support
#
CONFIG_I2C_HID_ACPI=m
# end of I2C HID support
CONFIG_I2C_HID_CORE=m
Thanks to
neko for his support.
Porteus Kernel Builder
Posted: 13 Jun 2021, 09:12
by raja
Thanks blaze, for adding i2c HID support in the kernel, again.
Touchpad works.
I tested your new kernel with neko's overlay version of porteus-5.0rc2.
Code: Select all
guest@porteus:~$ uname -a
Linux porteus.example.net 5.12.10-porteus #1 SMP Sat Jun 12 15:21:46 MSK 2021 x86_64 Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz GenuineIntel GNU/Linux
guest@porteus:~$
guest@porteus:~$ dmesg --level=err
[ 0.149870] platform MSFT0101:00: failed to claim resource 1: [mem 0xfed40000-0xfed40fff]
[ 0.149879] acpi MSFT0101:00: platform device creation failed: -16
[ 1.885893] /mnt/sda7/porteus/base/000-kernel.xzm: Can't open blockdev
[ 1.885910] /mnt/sda7/porteus/base/000-kernel.xzm: Can't open blockdev
[ 1.885934] /mnt/sda7/porteus/base/000-kernel.xzm: Can't open blockdev
[ 2.211695] sd 2:0:0:0: [sdb] No Caching mode page found
[ 2.211698] sd 2:0:0:0: [sdb] Assuming drive cache: write through
What is this "can't open blockdev" error? Booting was perfect, and kernel modules are loaded.
dmesg:
Code: Select all
6.926056] input: SYNA7DB5:00 06CB:7DB7 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-SYNA7DB5:00/0018:06CB:7DB7.0001/input/input17
[ 6.926256] input: SYNA7DB5:00 06CB:7DB7 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-SYNA7DB5:00/0018:06CB:7DB7.0001/input/input18
[ 6.926315] hid-multitouch 0018:06CB:7DB7.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA7DB5:00 06CB:7DB7] on i2c-SYNA7DB5:00
I shall report on errors in porteus aufs system ,later.
neko's overlay -xfce, booted in 10 seconds flat and I am satisfied with k-5.12.10.
Porteus Kernel Builder
Posted: 14 Jun 2021, 06:33
by neko
"Kernel Builder" was updated to version 21.06.12. (Please refer to the first article.)
32bit/64bit 5.12/5.13 configs are updated.
Code: Select all
5458c5458
< # CONFIG_I2C_HID_ACPI is not set
---
> CONFIG_I2C_HID_ACPI=m
5459a5460,5461
>
> CONFIG_I2C_HID_CORE=m
#
Note:
APorteus-XFCE_ja-v21.06.13-x86_64.iso can be used as "Kernel Builder" ISO.
ArchLinux packages manager for Porteus (Post by neko #82685)
Thanks.
Porteus Kernel Builder
Posted: 15 Jun 2021, 09:48
by raja
neko/blaze,
Though these are not considered as 'errors' by kernel, considerable time is lost.. in this case, 5-6 seconds, with current kernels, with aufs patch.
dmesg:
Code: Select all
[ 3.530172] loop0: detected capacity change from 0 to 190648
[ 8.935735] loop0: detected capacity change from 0 to 190648
[ 8.987718] loop1: detected capacity change from 0 to 254384
[ 9.042657] loop2: detected capacity change from 0 to 37600
[ 9.090199] loop3: detected capacity change from 0 to 347208
[ 9.139555] loop4: detected capacity change from 0 to 71496
[ 9.195866] loop5: detected capacity change from 0 to 21704
[ 9.246849] loop6: detected capacity change from 0 to 60648
[ 9.301966] loop7: detected capacity change from 0 to 7872
[ 9.362375] loop8: detected capacity change from 0 to 17120
[ 9.425325] loop9: detected capacity change from 0 to 34536
[ 9.487919] loop10: detected capacity change from 0 to 28336
[ 9.550727] loop11: detected capacity change from 0 to 132720
needs to be studied and rectified.
Porteus Kernel Builder
Posted: 15 Jun 2021, 10:57
by Blaze
raja, seems this is issue of your drive.
Try to check your drive via e2fsck or fsck on errors (badblocks).
BTW on the next Porteus RC3 x86_64 I don't have messages with loop or can't open blockdev.
Porteus Kernel Builder
Posted: 15 Jun 2021, 14:25
by babam
RC3?
I want to feel it soon, hopefully in RC3 there will be many surprises.
Porteus Kernel Builder
Posted: 15 Jun 2021, 18:57
by raja
blaze,
That partition is in ext4 and older kernels don't give out these kind of messages.
Found a message in the net, about similar complaint long ago.
The offending file is "/fs/block_dev.c
If you store the source tree for k-5.4.xx series and k-5.12.xx series , please compare for difference. That may be causing these error messages.
May be replacing the file from 5.4 series may solve this problem. It is only about "rescan" of said devices, and don't matter.
A old patch I found went like this..
Yes, it is harmless. The order was changed between
rescan_partitions() and bd_set_size() - rescan_partitions() checked
for size change too and it resulted in simpler condition checks.
However, rescan_partitions() triggers the above message when it
detects size change unlike the silient bd_set_size().
Does the following patch remove the messages for you?
Yes - messages are gone with this patch applied.
Porteus Kernel Builder
Posted: 15 Jun 2021, 20:05
by Blaze
raja, look at this
https://pastebin.com/KpTryrBc
# In Kernel 5.4.57 is not have these options:
> CONFIG_HAVE_KERNEL_ZSTD=y
> CONFIG_KERNEL_ZSTD=y
As I said before need to test it on Porteus RC3 or you can try to manual update ZSTD:
Code: Select all
su
toor
getpkg zstd
# save to /tmp
removepkg zstd
installpkg /tmp/zstd-1.5.0-x86_64-1.txz
reboot
dmesg --level=err
Porteus Kernel Builder
Posted: 16 Jun 2021, 10:25
by raja
zstd-1.5.0, probably requires updated GLIBC to version 2.33.
Let me wait or the whole update of porteus to rc3. thanks, blaze.
Porteus Kernel Builder
Posted: 17 Jun 2021, 08:22
by raja
blaze, I made kernel-5.4.126, using neko's fantastic tool yesterday, and used in porteus-5.0rc2.
As expected no block device errors. So disk is okay. As you said, zstd code in kernel, in later kernels, is listing those errors, in rc2.
Code: Select all
[ 0.000000] microcode: microcode updated early to revision 0xd6, date = 2020-04-27
[ 0.000000] Linux version 5.4.126-porteus (root@porteus) (gcc version 11.1.0 (GCC)) #1 SMP Wed Jun 16 17:24:43 UTC 2021
0.137343] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.137345] Spectre V2 : Mitigation: Full generic retpoline
[ 0.137345] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.137346] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.137347] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.137348] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[ 0.137349] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.137353] SRBDS: Mitigation: Microcode
[ 0.137354] MDS: Mitigation: Clear CPU buffers
Porteus Kernel Builder
Posted: 17 Jun 2021, 11:00
by babam
Blaze, what kernel version on RC3?
Porteus Kernel Builder
Posted: 19 Jun 2021, 09:15
by Blaze
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)
[
5.12.12] <--
NEW : "All patches" patching was done.
ZSTD version
32bit-ALL-kernel5.12.10.tar (~116 M)
https://files.sberdisk.ru/s/7jpzmCDBXrzem3F
206e7b18b3d516afde1fa293c58bcb54 32bit-ALL-kernel5.12.12.tar
Note 1: Compiler that was used.
for kernel 5.12.12:
10.3.0-i686
*****
[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)
[
5.12.12] <--
NEW : "All patches" patching was done.
ZSTD version
64bit-ALL-kernel5.12.12.tar (~123 M)
https://files.sberdisk.ru/s/a8Mb7Q54FPJa5gp
88446f43ca606994e04f08fbd3964eff 64bit-ALL-kernel5.12.12.tar
Note 1: Compiler that was used.
for kernel 5.12.12:
10.3.0-x86_64
Thanks to
neko for his support.
babam wrote: ↑17 Jun 2021, 11:00
what kernel version on RC3?
Stable and newest.
Porteus Kernel Builder
Posted: 21 Jun 2021, 09:16
by neko
"Kernel Builder" was updated to version 21.06.21. (Please refer to the first article.)
32bit/64bit 5.13 configs are updated.
Code: Select all
# diff .config.old .config
5089a5090
> CONFIG_SND_SOC_TOPOLOGY=y
5145a5147
> # CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH is not set
5147c5149,5180
< # CONFIG_SND_SOC_SOF_TOPLEVEL is not set
---
> CONFIG_SND_SOC_SOF_TOPLEVEL=y
> CONFIG_SND_SOC_SOF_PCI_DEV=m
> CONFIG_SND_SOC_SOF_PCI=m
> # CONFIG_SND_SOC_SOF_ACPI is not set
> # CONFIG_SND_SOC_SOF_DEBUG_PROBES is not set
> # CONFIG_SND_SOC_SOF_DEVELOPER_SUPPORT is not set
> CONFIG_SND_SOC_SOF=m
> CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y
> CONFIG_SND_SOC_SOF_INTEL_HIFI_EP_IPC=m
> CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP=m
> CONFIG_SND_SOC_SOF_INTEL_COMMON=m
> CONFIG_SND_SOC_SOF_MERRIFIELD=m
> CONFIG_SND_SOC_SOF_INTEL_APL=m
> CONFIG_SND_SOC_SOF_APOLLOLAKE=m
> CONFIG_SND_SOC_SOF_GEMINILAKE=m
> CONFIG_SND_SOC_SOF_INTEL_CNL=m
> CONFIG_SND_SOC_SOF_CANNONLAKE=m
> CONFIG_SND_SOC_SOF_COFFEELAKE=m
> CONFIG_SND_SOC_SOF_COMETLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_ICL=m
> CONFIG_SND_SOC_SOF_ICELAKE=m
> CONFIG_SND_SOC_SOF_JASPERLAKE=m
> CONFIG_SND_SOC_SOF_INTEL_TGL=m
> CONFIG_SND_SOC_SOF_TIGERLAKE=m
> CONFIG_SND_SOC_SOF_ELKHARTLAKE=m
> CONFIG_SND_SOC_SOF_ALDERLAKE=m
> CONFIG_SND_SOC_SOF_HDA_COMMON=m
> # CONFIG_SND_SOC_SOF_HDA_LINK is not set
> # CONFIG_SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1 is not set
> CONFIG_SND_SOC_SOF_HDA_LINK_BASELINE=m
> CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=m
> CONFIG_SND_SOC_SOF_XTENSA=m
#
Note:
APorteus-XFCE_ja-v21.06.21-x86_64.iso can be used as "Kernel Builder" ISO.
ArchLinux packages manager for Porteus (Post by neko #82781)
Thanks.
Porteus Kernel Builder
Posted: 22 Jun 2021, 08:22
by Blaze
Hi
neko.
Not bad if you update kernel-firmwares from Slackware-current repo in you next update of "Kernel Builder".
kernel-firmware-20210609_0f66b74-noarch-1.txz
Thanks.