Page 107 of 135

Porteus Kernel Builder

Posted: 22 Apr 2022, 15:57
by babam
Blaze wrote:
22 Apr 2022, 14:54
[Updated kernel Examples]

64bit-ALL-kernel5.17.4.tar
Does it include iwlwifi-QuZ-a0-hr-b0-68.ucode?
Wifi on my laptop can work if it has that firmware

Thanks.

Porteus Kernel Builder

Posted: 23 Apr 2022, 05:35
by Blaze
babam, no, only iwlwifi-QuZ-a0-hr-b0-63.ucode
linux-5.17.4/drivers/net/wireless/intel/iwlwifi/cfg/22000.c is have this tweak for Ed_P

Code: Select all

/* Highest firmware API version supported */
#define IWL_22000_UCODE_API_MAX 63

Code: Select all

# modinfo -F firmware /lib/modules/`uname -r`/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
iwlwifi-100-5.ucode
iwlwifi-1000-5.ucode
iwlwifi-135-6.ucode
iwlwifi-105-6.ucode
iwlwifi-2030-6.ucode
iwlwifi-2000-6.ucode
iwlwifi-5150-2.ucode
iwlwifi-5000-5.ucode
iwlwifi-6000g2b-6.ucode
iwlwifi-6000g2a-6.ucode
iwlwifi-6050-5.ucode
iwlwifi-6000-6.ucode
iwlwifi-7265D-29.ucode
iwlwifi-7265-17.ucode
iwlwifi-3168-29.ucode
iwlwifi-3160-17.ucode
iwlwifi-7260-17.ucode
iwlwifi-8265-36.ucode
iwlwifi-8000C-36.ucode
iwlwifi-9260-th-b0-jf-b0-46.ucode
iwlwifi-9000-pu-b0-jf-b0-46.ucode
iwlwifi-BzBnj-a0-hr-b0-63.ucode
iwlwifi-BzBnj-a0-gf4-a0-63.ucode
iwlwifi-BzBnj-a0-gf-a0-63.ucode
iwlwifi-BzBnj-a0-fm4-a0-63.ucode
iwlwifi-BzBnj-a0-fm-a0-63.ucode
iwlwifi-gl-a0-fm-a0-63.ucode
iwlwifi-bz-a0-fm-a0-63.ucode
iwlwifi-bz-a0-mr-a0-63.ucode
iwlwifi-bz-a0-gf4-a0-63.ucode
iwlwifi-bz-a0-gf-a0-63.ucode
iwlwifi-bz-a0-hr-b0-63.ucode
iwlwifi-SoSnj-a0-mr-a0-63.ucode
iwlwifi-ma-a0-fm-a0-63.ucode
iwlwifi-ma-a0-mr-a0-63.ucode
iwlwifi-ma-a0-gf4-a0-63.ucode
iwlwifi-ma-a0-gf-a0-63.ucode
iwlwifi-ma-a0-hr-b0-63.ucode
iwlwifi-SoSnj-a0-jf-b0-63.ucode
iwlwifi-SoSnj-a0-hr-b0-63.ucode
iwlwifi-SoSnj-a0-gf-a0-63.ucode
iwlwifi-SoSnj-a0-gf4-a0-63.ucode
iwlwifi-ty-a0-gf-a0-63.ucode
iwlwifi-so-a0-gf-a0-63.ucode
iwlwifi-so-a0-hr-b0-63.ucode
iwlwifi-so-a0-jf-b0-63.ucode
iwlwifi-cc-a0-63.ucode
iwlwifi-QuQnj-b0-jf-b0-63.ucode
iwlwifi-QuZ-a0-jf-b0-63.ucode
iwlwifi-QuZ-a0-hr-b0-63.ucode
iwlwifi-Qu-b0-jf-b0-63.ucode
iwlwifi-Qu-c0-hr-b0-63.ucode
iwlwifi-QuQnj-b0-hr-b0-63.ucode
iwlwifi-Qu-b0-hr-b0-63.ucode

# ls -1 /lib/firmware/iw*
/lib/firmware/iwlwifi-100-5.ucode
/lib/firmware/iwlwifi-1000-5.ucode
/lib/firmware/iwlwifi-105-6.ucode
/lib/firmware/iwlwifi-135-6.ucode
/lib/firmware/iwlwifi-2000-6.ucode
/lib/firmware/iwlwifi-2030-6.ucode
/lib/firmware/iwlwifi-3160-17.ucode
/lib/firmware/iwlwifi-3168-29.ucode
/lib/firmware/iwlwifi-3945-2.ucode
/lib/firmware/iwlwifi-4965-2.ucode
/lib/firmware/iwlwifi-5000-5.ucode
/lib/firmware/iwlwifi-5150-2.ucode
/lib/firmware/iwlwifi-6000g2a-6.ucode
/lib/firmware/iwlwifi-6000g2b-6.ucode
/lib/firmware/iwlwifi-6050-5.ucode
/lib/firmware/iwlwifi-7260-17.ucode
/lib/firmware/iwlwifi-7265-17.ucode
/lib/firmware/iwlwifi-7265D-29.ucode
/lib/firmware/iwlwifi-8000C-36.ucode
/lib/firmware/iwlwifi-8265-36.ucode
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode
/lib/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode
/lib/firmware/iwlwifi-Qu-b0-hr-b0-63.ucode
/lib/firmware/iwlwifi-Qu-b0-jf-b0-63.ucode
/lib/firmware/iwlwifi-Qu-c0-hr-b0-63.ucode
/lib/firmware/iwlwifi-QuZ-a0-hr-b0-63.ucode
/lib/firmware/iwlwifi-QuZ-a0-jf-b0-63.ucode
/lib/firmware/iwlwifi-cc-a0-63.ucode
/lib/firmware/iwlwifi-ty-a0-gf-a0-63.ucode
not bad if you test this kernel with your wifi.

Porteus Kernel Builder

Posted: 23 Apr 2022, 06:17
by Ed_P
I was going to post to babam that the 5.17.4 kernel works for me on my new Dell notebook system but I couldn't signon for the past 25 minutes.

Interesting to note these commands with the 5.17.4 kernel show the 63.ucode being used with my Dell.

Code: Select all

guest@porteus:~$ ls -l /mnt/live/memory/images/000-kernel.xzm/lib/firmware/*QuZ*
-rw-r--r-- 1 root root 1334804 Apr 14 15:44 /mnt/live/memory/images/000-kernel.xzm/lib/firmware/iwlwifi-QuZ-a0-hr-b0-63.ucode
-rw-r--r-- 1 root root 1252744 Apr 14 15:44 /mnt/live/memory/images/000-kernel.xzm/lib/firmware/iwlwifi-QuZ-a0-jf-b0-63.ucode

guest@porteus:~$ dmesg | grep firmware
[    1.828689] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.028203] iwlwifi 0000:00:14.3: loaded firmware version 63.c04f3485.0 QuZ-a0-hr-b0-63.ucode op_mode iwlmvm
[    2.119137] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[    2.278282] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    2.279692] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-19-0-4.sfi (-2)
guest@porteus:~$ 
With the 5.17.2 kernel I was seeing 67.ucode files being used.

Code: Select all

guest@porteus:~$ ls -l /mnt/live/memory/images/000-kernel.xzm/lib/firmware/*QuZ*
-rw-r--r-- 1 root root 1347524 Mar 17 06:14 /mnt/live/memory/images/000-kernel.xzm/lib/firmware/iwlwifi-QuZ-a0-hr-b0-67.ucode

guest@porteus:~$ dmesg | grep firmware
[    1.580727] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.782694] iwlwifi 0000:00:14.3: loaded firmware version 67.8f59b80b.0 QuZ-a0-hr-b0-67.ucode op_mode iwlmvm
[    1.927898] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[    2.037168] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    2.037238] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-19-0-4.sfi (-2)
guest@porteus:~$
Why did you revert to older drivers?

Porteus Kernel Builder

Posted: 23 Apr 2022, 07:10
by babam
@Ed_P, Does bluetooth on your Dell work?

For Intel wifi, what is the output for

Code: Select all

dmesg | grep iwlwifi.*ucode
Thanks.

Porteus Kernel Builder

Posted: 23 Apr 2022, 16:18
by Ed_P
I've never tried bluetooth babam.

Code: Select all

guest@porteus:~$ dmesg | grep iwlwifi.*ucode
[    2.046906] iwlwifi 0000:00:14.3: loaded firmware version 63.c04f3485.0 QuZ-a0-hr-b0-63.ucode op_mode iwlmvm
guest@porteus:~$ 

Porteus Kernel Builder

Posted: 05 May 2022, 12:38
by neko
"Kernel Builder" was updated to version 22.05.05. (Please refer to the first article of this thread.)

[update mediafire I/F]
issue:
Download from mediafire database will be error.

cause:
Batch interface of mediafire access has been changed.

fix:
Change the batch procedure of downloading from mediafire database.


Thanks.

Porteus Kernel Builder

Posted: 06 May 2022, 21:49
by Ed_P
neko wrote:
05 May 2022, 12:38
Change the batch procedure of downloading from mediafire database.

Can you elaborate? :)

Porteus Kernel Builder

Posted: 07 May 2022, 01:06
by neko
@Ed_P

"Kernel Builder" will download a firmware database at setting "Create Firmware from ArchLinux Packages" if there is not the database.

The database is on "mediafire".

At ordinary case the download from "mediafire" is performed via WEB.
"Kernel Builder" perform the download via command (shell script).

"mediafire" WEB of the download was changed.
Therefor the command should be changed.

The command is included in "Kernel Builder" version 22.05.05.
Please see mkKernel-22.05.05-noarch-1@/usr/local/sbin/mediafire.


Thanks.

Porteus Kernel Builder

Posted: 07 May 2022, 04:40
by Ed_P
neko wrote:
07 May 2022, 01:06
"mediafire" WEB of the download was changed.
Therefor the command should be changed.

The command is included in "Kernel Builder" version 22.05.05.
Please see mkKernel-22.05.05-noarch-1@/usr/local/sbin/mediafire.
Thank you neko. I did download it and see the changed command. Very clever of you. :good:

Code: Select all

guest@porteus:/mnt/nvme0n1p7/porteus5.0/Guest/Downloads$ ls -l mkK*
-rwxrwxrwx 1 guest root 9482240 May  6 14:53 mkKernel-22.05.05-noarch-1.xzm*
guest@porteus:/mnt/nvme0n1p7/porteus5.0/Guest/Downloads$ 
I also tried the app. :o

Image

Image

Unfortunately it didn't go well. :( And /tmp has 4 GB of free space so space wasn't the problem.

Porteus Kernel Builder

Posted: 07 May 2022, 05:15
by neko
@Ed_P
"Unfortunately it didn't go well."

--------------------------------------------------------------
You set (/ check) "Creat FW".
But "Creat FW" will be activate only when there is built "lib".

You set (/ check) "download".
---> will be download kernel souce "tar" file

"none expand :NONE"
---> Kernel souce "tar" file will not be expanded for build.
If you need kernel with AUFS patch, you should select "expand & AUFS patch".

"none compile :NONE"
---> Kernel Build will not start. "lib" will not be create.
You should select "compile with prototype config"

You set (/ check) "000-kernel"
It might not be needed.
Because you already selected ISO.
Selected ISO will include kernel updated "000-kernel".
--------------------------------------------------------------


Thanks.

Porteus Kernel Builder

Posted: 07 May 2022, 18:49
by beny
hi, with the last kernel, all branch, the aufs patch do not work so please neko active only the overlayfs the firmware we can downloaded on the site,but the script block the task i think so the mkernel fail to build,but maybe i can go wrong,i have used the sir lucjan script for the arch-linux-aufs for the 5.17.5 and work but the build environment is too huge 20 giga of space for...

Porteus Kernel Builder

Posted: 08 May 2022, 00:36
by neko
@beny
My English skill is very poor.
Therefore it is hard for me to understand your English.

1."with the last kernel, all branch"
means
"Kernel version 5.17.5, 5.17.4, 5.17.3, 5.17.2, and 5.17.1"
doesn't it ?

2."the aufs patch do not work"
Applying the AUFS patch to kernel 5.17.5 was successful.

AUFS patch version: "5.17-20220404"
aufs5-standalone.git/include/uapi/linux/aufs_type.h:#define AUFS_VERSION "5.17-20220404"

3."active only the overlayfs the firmware we can downloaded on the site"
The firmware database downloaded will be used for both AUFS and OVFS.

4."but the script block the task"
What is "the script"?
Is "the script" what is created by "Kernel Builder" ?
What meens "block task" ?

5."i have used the sir lucjan script for the arch-linux-aufs for the 5.17.5 and work"
What is "the sir lucjan script" ?


Thanks.

Porteus Kernel Builder

Posted: 08 May 2022, 10:12
by beny
hi neko you are too kind to me:
https://aur.archlinux.org/packages/linux-aufs
the kernel builder fail to make the packages with all kernel version 5.10,5.17, and 5.15, dig into the kernel build folder we don't have the aufs patch applied and the only package that i have in the 64 directory is the vmlinuz ,btw maybe my system porteus fail with devel i have upgraded the gcc version to 11.3. well seem that after a while work i have unchecked the create firmware module, the 000-kernel package weight is 25 mb and work with the 5.17.5-porteus.

Porteus Kernel Builder

Posted: 08 May 2022, 23:53
by Arleson
Arleson wrote:
18 Apr 2022, 12:33
Hi, recently I bought a new laptop and I can't make the sound work. My main distro is Porteus, but I tried many other ones, including Slackware 15, Ubuntu nightly, Fedora nightly and Manjaro current. They all show the output/input device as dummy, with the exception of Fedora which correctly identifies it as sof-essx8386 but still no sound.

I tried to copy both Slackware and Arch firmware for sof in the firmware folder (/lib/firmware) but it didn't fix the issue.

Running 'inxi -Fxz' I get the following:

Code: Select all

System:
  Kernel: 5.17.3-porteus x86_64 bits: 64 compiler: gcc v: 2.36.1-slack15
    Desktop: Xfce 4.16.0 Distro: Porteus-v5.0
Machine:
  Type: Laptop System: Positivo Tecnologia SA product: C4120F-S v: N/A
    serial: <superuser required>
  Mobo: Positivo Tecnologia SA model: N14DP7-V2 v: 11173397
    serial: <superuser required> UEFI: N/A v: 1.12.X date: 06/30/2021
Battery:
  ID-1: BAT0 charge: 37.0 Wh (100.0%) condition: 37.0/37.0 Wh (100.0%)
    volts: 8.7 min: N/A model: WB SR 1 WB Lion Battery status: Charging
  Device-1: hidpp_battery_0 model: Logitech M215
    charge: 50% (should be ignored) status: N/A
CPU:
  Info: dual core model: Intel Celeron N4020 bits: 64 type: MCP
    arch: Goldmont Plus rev: 8 cache: L1: 112 KiB L2: 4 MiB
  Speed (MHz): avg: 796 min/max: 800/2800 cores: 1: 796 2: 796
    bogomips: 4377
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: SunplusIT MTD camera type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-8:4
  Display: x11 server: X.org 1.20.13 driver: loaded: modesetting
    unloaded: fbdev,vesa resolution: <missing: xdpyinfo>
  OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 21.2.2
    direct render: Yes
Audio:
  Device-1: Intel driver: snd_hda_intel v: kernel bus-ID: 00:0e.0
  Device-2: SunplusIT MTD camera type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-8:4
  Sound Server-1: ALSA v: k5.17.3-porteus running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
Network:
  Message: No device data found.
  IF-ID-1: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek 802.11n WLAN Adapter type: USB driver: btusb,rtl8xxxu
    bus-ID: 1-7:3
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.0
Drives:
  Local Storage: total: 176.55 GiB used: 32.77 GiB (18.6%)
  ID-1: /dev/sda vendor: BIWIN model: C6370 128GB size: 119.24 GiB
  ID-2: /dev/sdb type: USB vendor: SanDisk model: USB 3.2Gen1
    size: 57.3 GiB
Partition:
  Message: No partition data found.
Swap:
  ID-1: swap-1 type: zram size: 1.1 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 145 Uptime: 36m Memory: 3.67 GiB used: 1.73 GiB (47.0%)
  Init: SysVinit runlevel: 4 Compilers: gcc: 11.2.0 Packages: 1
  note: see --pkg Shell: Bash v: 5.1.8 inxi: 3.3.12
Running 'aplay -l' give me this:

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Any help is welcome!
Thanks!
My problem can be solved by adding this line in the kernel configuration:

Code: Select all

CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=y
https://cateee.net/lkddb/web-lkddb/SND_ ... _MACH.html

How to proceed?

Porteus Kernel Builder

Posted: 09 May 2022, 00:44
by neko
@Arleson
At the next update of "Kernel Builder",
configs for kernel 5.18 and 5.17 will be set "CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=y".

Thanks.