Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Wifi firmware load fails

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
25 posts • Page 1 of 1
Author
Message
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

Wifi firmware load fails

  • Quote

Post by mark4 » Thu Jul 17, 2025 2:34 pm

[ 24.133720] Loading firmware: iwlwifi-so-a0-gf-a0-66.ucode
[ 24.135796] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-66.ucode failed with error -2


This is with gentoo-sources-5.15.188 which I am testing because my CPU turbo works here (mostly). Unfortunately my Network controller: Intel Corporation Raptor Lake-S PCH CNVi WiFi (rev 11) does not work :/

Any Idea how I can get firmware to load in this kernel version too?
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Jul 17, 2025 2:50 pm

That says it failed to find the file. Do you have the file you are trying to load, and in the directory from which the kernel will try to load it? What is the output of emerge --pretend --verbose sys-kernel/linux-firmware?
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Thu Jul 17, 2025 2:51 pm

Hu wrote:That says it failed to find the file. Do you have the file you are trying to load, and in the directory from which the kernel will try to load it? What is the output of emerge --pretend --verbose sys-kernel/linux-firmware?
yes because that firmware loads just fine if i boot to 6.15.x :)
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Jul 17, 2025 3:13 pm

So when you boot 6.15.x with an equivalent kernel configuration, you get the exact same "Loading firmware" message? If yes, then you could just upgrade to 6.15.x and call this done. You'll need to upgrade eventually, so it may as well be now.
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Thu Jul 17, 2025 3:27 pm

Hu wrote:So when you boot 6.15.x with an equivalent kernel configuration, you get the exact same "Loading firmware" message? If yes, then you could just upgrade to 6.15.x and call this done. You'll need to upgrade eventually, so it may as well be now.
In 6.15 there is a bug preventing my 12900hx clocks going higher than 2.1Ghz. I should be able to get 5.x (possibly 6.x because its the S model but I doubt the laptop has the cooling for that).

in 5.15 my turbo mode is not disabled by the kernel but I still cant get 5Ghz

In neither kernel does audio through speakers work and I do not believe there is a fix for this presently, anywhere.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Jul 17, 2025 3:44 pm

If you want to work on the 5.15.x firmware problem, then please provide the information I requested.
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Thu Jul 17, 2025 3:47 pm

Hu wrote:If you want to work on the 5.15.x firmware problem, then please provide the information I requested.
[ebuild R ] sys-kernel/linux-firmware-20250708::gentoo USE="initramfs redistributable -bindist -compress-xz -compress-zstd -deduplicate -dist-kernel -savedconfig (-unknown-license)" 0 KiB

did not think the request might have been related to the firmware package version, just assumed it was to prove firmware was installed.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56072
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Jul 17, 2025 7:28 pm

mark4,

Different kernels can expect different firmware versions.
iwlwifi tries a whole list of versions before it gives up. Any version in the list will keep it happy.

Lets not work through a keyhole. Put all of dmesg onto a pastebin please.
Extra points for providing pastebins of both dmesgs.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Thu Jul 17, 2025 8:08 pm

NeddySeagoon wrote:mark4,

Different kernels can expect different firmware versions.
iwlwifi tries a whole list of versions before it gives up. Any version in the list will keep it happy.

Lets not work through a keyhole. Put all of dmesg onto a pastebin please.
Extra points for providing pastebins of both dmesgs.
'

Kernel 5.15.x dmesg https://paste.gentoo.zip/NS7jAxDb
Kernel 6.15.x dmest https://paste.gentoo.zip/28ISvOg7
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56072
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Jul 17, 2025 8:25 pm

mark4,

Code: Select all

 
[   13.459508] iwlwifi 0000:00:14.3: no suitable firmware found!
[   13.459509] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-so-a0-gf-a0-39
[   13.459510] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-so-a0-gf-a0-66
It lists them all in reverse order, as they are tested but not found.

Code: Select all

[   24.187575] Loading firmware: iwlwifi-so-a0-gf-a0-89.ucode
That version is too new for the old kernel as its not in the 5.15.x supported range.

Looking at

Code: Select all

$ ls /lib/firmware/iwlwifi-so-a0-gf-a0
iwlwifi-so-a0-gf-a0-72.ucode  iwlwifi-so-a0-gf-a0-81.ucode
iwlwifi-so-a0-gf-a0-73.ucode  iwlwifi-so-a0-gf-a0-83.ucode
iwlwifi-so-a0-gf-a0-74.ucode  iwlwifi-so-a0-gf-a0-84.ucode
iwlwifi-so-a0-gf-a0-77.ucode  iwlwifi-so-a0-gf-a0-86.ucode
iwlwifi-so-a0-gf-a0-78.ucode  iwlwifi-so-a0-gf-a0-89.ucode
iwlwifi-so-a0-gf-a0-79.ucode  iwlwifi-so-a0-gf-a0.pnvm
are all too new for your 5.15.x.

You need to find a firmware file that 5.15.x can use.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Thu Jul 17, 2025 9:41 pm

NeddySeagoon wrote:mark4,

Code: Select all

 
[   13.459508] iwlwifi 0000:00:14.3: no suitable firmware found!
[   13.459509] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-so-a0-gf-a0-39
[   13.459510] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-so-a0-gf-a0-66
It lists them all in reverse order, as they are tested but not found.

Code: Select all

[   24.187575] Loading firmware: iwlwifi-so-a0-gf-a0-89.ucode
That version is too new for the old kernel as its not in the 5.15.x supported range.

Looking at

Code: Select all

$ ls /lib/firmware/iwlwifi-so-a0-gf-a0
iwlwifi-so-a0-gf-a0-72.ucode  iwlwifi-so-a0-gf-a0-81.ucode
iwlwifi-so-a0-gf-a0-73.ucode  iwlwifi-so-a0-gf-a0-83.ucode
iwlwifi-so-a0-gf-a0-74.ucode  iwlwifi-so-a0-gf-a0-84.ucode
iwlwifi-so-a0-gf-a0-77.ucode  iwlwifi-so-a0-gf-a0-86.ucode
iwlwifi-so-a0-gf-a0-78.ucode  iwlwifi-so-a0-gf-a0-89.ucode
iwlwifi-so-a0-gf-a0-79.ucode  iwlwifi-so-a0-gf-a0.pnvm
are all too new for your 5.15.x.


iwlwifi-so-a0-gf-a0-64.ucode from the arch live media works but im not sure I like dumping that in /usr/lib/firmware because the next time linux-firmware is updated it goes POOF lol

meanwhile, till I do that I have wifi in 5.15.x

You need to find a firmware file that 5.15.x can use.
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Thu Jul 17, 2025 10:58 pm

Internal note:

Code: Select all

[    0.000000] microcode: microcode updated early to revision 0x12f, date = 2025-03-17

[    0.000000] DMI: Notebook PD5x_7xSNC_SND_SNE/PD5x_7xSNC_SND_SNE, BIOS 1.07.17SMTE07 03/19/2024

[    0.000000] tsc: Detected 2400.000 MHz processor

[    0.108525] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.188-gentoo-x86_64 root=UUID=3c4624f3-420e-461a-8b55-200c20cb0eb8 ro intremap=off crypt_root=UUID=f03a3ba9-2ac4-41f5-a006-291b16eb0feb root=/dev/mapper/root root_trim=yes

[    0.239103] Memory: 65437972K/66879352K available (16393K kernel code, 2102K rwdata, 11136K rodata, 2228K init, 3188K bss, 1441120K reserved, 0K cma-reserved)

[    0.274547] x2apic: IRQ remapping doesn't support X2APIC mode

[    0.283156] smpboot: CPU0: Intel(R) Core(TM) i9-14900HX (family: 0x6, model: 0xb7, stepping: 0x1)

[    1.120238] intel_pstate: Intel P-state driver initializing
[    1.123929] intel_pstate: HWP enabled

[   15.492825] intel_pstate: Turbo disabled by BIOS or unavailable on processor
* WHY "intremap=off" ?

* Have you disabled VT-d or VT-x in your BIOS? (x2APIC) If yes, why?

* Why 5.15? If you have a new machine, I suggest to use the newest kernel (6.15.7 at the moment; there are a lot of new patches for SND).

I have read a lot of your posts and maybe give us your current 6.15 .config ... maybe something is wrong/misssing ... have you tried to boot with the newest Ubuntu LiveCD and checked if SND works and if CPU frequencies are detected correct? If yes, have you cheked the output of "lsmod" there?
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Fri Jul 18, 2025 3:59 am

pietinger wrote:Internal note:

Code: Select all

[    0.000000] microcode: microcode updated early to revision 0x12f, date = 2025-03-17

[    0.000000] DMI: Notebook PD5x_7xSNC_SND_SNE/PD5x_7xSNC_SND_SNE, BIOS 1.07.17SMTE07 03/19/2024

[    0.000000] tsc: Detected 2400.000 MHz processor

[    0.108525] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.188-gentoo-x86_64 root=UUID=3c4624f3-420e-461a-8b55-200c20cb0eb8 ro intremap=off crypt_root=UUID=f03a3ba9-2ac4-41f5-a006-291b16eb0feb root=/dev/mapper/root root_trim=yes

[    0.239103] Memory: 65437972K/66879352K available (16393K kernel code, 2102K rwdata, 11136K rodata, 2228K init, 3188K bss, 1441120K reserved, 0K cma-reserved)

[    0.274547] x2apic: IRQ remapping doesn't support X2APIC mode

[    0.283156] smpboot: CPU0: Intel(R) Core(TM) i9-14900HX (family: 0x6, model: 0xb7, stepping: 0x1)

[    1.120238] intel_pstate: Intel P-state driver initializing
[    1.123929] intel_pstate: HWP enabled

[   15.492825] intel_pstate: Turbo disabled by BIOS or unavailable on processor
* WHY "intremap=off" ?

* Have you disabled VT-d or VT-x in your BIOS? (C) If yes, why?

* Why 5.15? If you have a new machine, I suggest to use the newest kernel (6.15.7 at the moment; there are a lot of new patches for SND).

I have read a lot of your posts and maybe give us your current 6.15 .config ... maybe something is wrong/misssing ... have you tried to boot with the newest Ubuntu LiveCD and checked if SND works and if CPU frequencies are detected correct? If yes, have you cheked the output of "lsmod" there?
AHA I missed that, that intremap=off was a suggestion from some random web page related to problems someone was having with their raptor lake high def audio and this was some "experts" suggested fix. It didnt work and i meant to remove it. no x2APIC is def not disabled.

As for why 5.15? Because in every other kernel in portage my /sys/devices/system/cpu/intel_pstate/no_turbo is hard locked to 1 and cant be changed. This makes my 5000000 MPH porsche runat 120000o MPH. I would like to see 5.x Ghz under load even if its just briefly it will tell me things are working the way they should. The CPU I have is the i9-14900HX but lspci tells me it is the Raptor Lake-S (special) edition of this processor so unless I read that wrong, given the right cooling system this processor should be able to hit 6Ghz (not on this laptop probably).

I would gladly revert back to the 6.15.x kernel if I could get turbo working even as limited as it is here in this kernel version where I never see sustained core frequencies above 3.3ghz under load. In windows I see 5.x under load (thats with the software that comes with the laptop).

I dont think there are any kernel versions currently in portage or menu configs where my audio is going to work, I think the kernel devs broke something and Ill just have to wait for them to fix it. I have used ubuntu, mint, fedora and arch and in all of the above audio does not work at all through the speakers and in all but arch turbo was hard locked off.

Im not getting pissy about that, i am absolutely amazed at how well the linux kernel works across all the available hardware setups there are out there and I cant even get my custom curses library to work reliably across all terminal versions lol. If there is a fubar in my config nobody has found it over the past couple of weeks or so and you put in considerable help yourself, always appreciated.

my 6.15 kernel config is here... https://paste.gentoo.zip/jTbpoQrs
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56072
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Jul 18, 2025 11:00 am

mark4,

Audio, wifi and turbo are three separate problems. PIck one to work on on both you and your helpers will get in a 'fankle'.
One at a time please.

To throw you a bone for audio, you have two separate audio cards, at least.
The snd_hda_intel module may need the model parameter provided at load time.
Also, you may need a /etc/asound.conf filo ta arrange the parts.
Now it gets worse. These thing may change for different kernels.

As its a laptop, with poor/grossly inadequate cooling by design, I would put turbo at the back of the queue.

The text in lspci is from a lookup table based on the Vendor and Device IDs. Similar things are lumped together.
Do not read the text literally.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Jul 18, 2025 11:18 am

I have compared your .config with mine (only relevant parts; also have RaptorLake). I have marked critical changes with an X.

Code: Select all

1.
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
2.
CONFIG_X86_SGX=y
3.
# CONFIG_X86_USER_SHADOW_STACK is not set
4.
# CONFIG_ACPI_SPCR_TABLE is not set
# CONFIG_ACPI_FPDT is not set
# CONFIG_ACPI_EC is not set
5.
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_P4_CLOCKMOD=y
6.
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
CONFIG_SGI_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
7.
CONFIG_I2C_CCGX_UCSI=m
CONFIG_I2C_AMD756=m
CONFIG_I2C_AMD8111=m
CONFIG_I2C_AMD_MP2=m
CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=m
CONFIG_I2C_ISMT=m
CONFIG_I2C_PIIX4=m
CONFIG_I2C_NFORCE2=m
CONFIG_I2C_NVIDIA_GPU=m
CONFIG_I2C_SIS96X=m
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
8.
# CONFIG_SPI_MEM is not set
9.
CONFIG_PINCTRL_CHERRYVIEW=m
CONFIG_PINCTRL_INTEL=m
# CONFIG_PINCTRL_ALDERLAKE is not set
CONFIG_PINCTRL_BROXTON=m
CONFIG_PINCTRL_CANNONLAKE=m
CONFIG_PINCTRL_CEDARFORK=m
CONFIG_PINCTRL_DENVERTON=m
CONFIG_PINCTRL_GEMINILAKE=m
CONFIG_PINCTRL_ICELAKE=m
CONFIG_PINCTRL_LEWISBURG=m
CONFIG_PINCTRL_SUNRISEPOINT=m
CONFIG_PINCTRL_TIGERLAKE=m
10.
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
11.
CONFIG_SECURITY_SELINUX=y
CONFIG_INTEGRITY=y
CONFIG_IMA=y
# CONFIG_SECURITY_LANDLOCK is not set
1. Enable it
2. I would disable it
3. Enable it
4. X Enable it ... especially ACPI_FPDT
5. Not needed; you can disable it
6. You have a lot of strange partition types ... :lol:
7. You need only I2C_I801 (and maybe I2C_NVIDIA_GPU if using a NVIDIA)
8. You must enable this to get the options for Intel
9. X You need PINCTRL_ALDERLAKE ... disable all other
(best is to configure this as built-in <*> together with:
CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y
also built-in)
10. X Enable it
11. Do you really use them? ... but the only useful one is not activated ... enable Landlock
Last edited by pietinger on Fri Jul 18, 2025 11:39 am, edited 2 times in total.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Jul 18, 2025 11:35 am

P.S.: AFAIR I have already said somewhere that if Ubuntu also gives you no sound, then it is highly unlikely that we get it to work with our kernel. So, I would suggest to wait for the next Ubuntu where sound works ... THEN we can check again sound for your gentoo kernel.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56072
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Jul 18, 2025 2:09 pm

PINCTRL and LPSS (control) in the kernel will fix a multitude of problems
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Fri Jul 18, 2025 4:30 pm

pietinger wrote:I have compared your .config with mine (only relevant parts; also have RaptorLake). I have marked critical changes with an X.

Code: Select all

1.
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
2.
CONFIG_X86_SGX=y
3.
# CONFIG_X86_USER_SHADOW_STACK is not set
4.
# CONFIG_ACPI_SPCR_TABLE is not set
# CONFIG_ACPI_FPDT is not set
# CONFIG_ACPI_EC is not set
5.
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_P4_CLOCKMOD=y
6.
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
CONFIG_SGI_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
7.
CONFIG_I2C_CCGX_UCSI=m
CONFIG_I2C_AMD756=m
CONFIG_I2C_AMD8111=m
CONFIG_I2C_AMD_MP2=m
CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=m
CONFIG_I2C_ISMT=m
CONFIG_I2C_PIIX4=m
CONFIG_I2C_NFORCE2=m
CONFIG_I2C_NVIDIA_GPU=m
CONFIG_I2C_SIS96X=m
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
8.
# CONFIG_SPI_MEM is not set
9.
CONFIG_PINCTRL_CHERRYVIEW=m
CONFIG_PINCTRL_INTEL=m
# CONFIG_PINCTRL_ALDERLAKE is not set
CONFIG_PINCTRL_BROXTON=m
CONFIG_PINCTRL_CANNONLAKE=m
CONFIG_PINCTRL_CEDARFORK=m
CONFIG_PINCTRL_DENVERTON=m
CONFIG_PINCTRL_GEMINILAKE=m
CONFIG_PINCTRL_ICELAKE=m
CONFIG_PINCTRL_LEWISBURG=m
CONFIG_PINCTRL_SUNRISEPOINT=m
CONFIG_PINCTRL_TIGERLAKE=m
10.
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
11.
CONFIG_SECURITY_SELINUX=y
CONFIG_INTEGRITY=y
CONFIG_IMA=y
# CONFIG_SECURITY_LANDLOCK is not set
1. Enable it
2. I would disable it
3. Enable it
4. X Enable it ... especially ACPI_FPDT
5. Not needed; you can disable it
6. You have a lot of strange partition types ... :lol:
7. You need only I2C_I801 (and maybe I2C_NVIDIA_GPU if using a NVIDIA)
8. You must enable this to get the options for Intel
9. X You need PINCTRL_ALDERLAKE ... disable all other
(best is to configure this as built-in <*> together with:
CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y
also built-in)
10. X Enable it
11. Do you really use them? ... but the only useful one is not activated ... enable Landlock
Lol Yes I usually go through and purge all the deadwood I know about like err amiga partions ?? It was just on the back burner for now.

As for the PINCTRL I did not know which one I should pick for raptor lake so I picked ALL of them lol
I will def go through all of the above and make adjustments. ty!!!
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Fri Jul 18, 2025 4:42 pm

mark4 wrote:
pietinger wrote:I have compared your .config with mine (only relevant parts; also have RaptorLake). I have marked critical changes with an X.

Code: Select all

1.
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
2.
CONFIG_X86_SGX=y
3.
# CONFIG_X86_USER_SHADOW_STACK is not set
4.
# CONFIG_ACPI_SPCR_TABLE is not set
# CONFIG_ACPI_FPDT is not set
# CONFIG_ACPI_EC is not set
5.
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_P4_CLOCKMOD=y
6.
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
CONFIG_SGI_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
7.
CONFIG_I2C_CCGX_UCSI=m
CONFIG_I2C_AMD756=m
CONFIG_I2C_AMD8111=m
CONFIG_I2C_AMD_MP2=m
CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=m
CONFIG_I2C_ISMT=m
CONFIG_I2C_PIIX4=m
CONFIG_I2C_NFORCE2=m
CONFIG_I2C_NVIDIA_GPU=m
CONFIG_I2C_SIS96X=m
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
8.
# CONFIG_SPI_MEM is not set
9.
CONFIG_PINCTRL_CHERRYVIEW=m
CONFIG_PINCTRL_INTEL=m
# CONFIG_PINCTRL_ALDERLAKE is not set
CONFIG_PINCTRL_BROXTON=m
CONFIG_PINCTRL_CANNONLAKE=m
CONFIG_PINCTRL_CEDARFORK=m
CONFIG_PINCTRL_DENVERTON=m
CONFIG_PINCTRL_GEMINILAKE=m
CONFIG_PINCTRL_ICELAKE=m
CONFIG_PINCTRL_LEWISBURG=m
CONFIG_PINCTRL_SUNRISEPOINT=m
CONFIG_PINCTRL_TIGERLAKE=m
10.
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
11.
CONFIG_SECURITY_SELINUX=y
CONFIG_INTEGRITY=y
CONFIG_IMA=y
# CONFIG_SECURITY_LANDLOCK is not set
1. Enable it
2. I would disable it
3. Enable it
4. X Enable it ... especially ACPI_FPDT
5. Not needed; you can disable it
6. You have a lot of strange partition types ... :lol:
7. You need only I2C_I801 (and maybe I2C_NVIDIA_GPU if using a NVIDIA)
8. You must enable this to get the options for Intel
9. X You need PINCTRL_ALDERLAKE ... disable all other
(best is to configure this as built-in <*> together with:
CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y
also built-in)
10. X Enable it
11. Do you really use them? ... but the only useful one is not activated ... enable Landlock
Lol Yes I usually go through and purge all the deadwood I know about like err amiga partions ?? It was just on the back burner for now.

Oh, the shadow stack thing was disabled deliberately and it does say if unsure pick no. I code forth and forth often does things with the stack that are completely different from what other languages might do such as using return addresses as pointers to data. If I enable this there is a possibility that my forth might puke.

As for the PINCTRL I did not know which one I should pick for raptor lake so I picked ALL of them lol
I will def go through all of the above and make adjustments. ty!!!
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Fri Jul 18, 2025 5:58 pm

NeddySeagoon wrote:mark4,


As its a laptop, with poor/grossly inadequate cooling by design, I would put turbo at the back of the queue.
When booted to kernel 5.15 and playing minecraft (more GPU intensive than CPU) I see sustained frequencies of 4.x ghz on my P cores and 3.x ghz on my E cores and my temperatures are in the 80's and only occasionally dipping their pinky toe into the 90's. I was never expecting sustained 5.8Ghz / 3.xGhz on this laptop but I would like a more recent kernel than 5.15 to give me better than 2.2Ghz on my proficiency cores.

ON 6.15 I get 2.xGhz / 1.xGhz which is really not acceptable to me but I have no problem waiting for a newer kernel that will fix this or any of my other issues.
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Jul 20, 2025 10:07 am

mark4, how are things looking for you now after the changes in the kernel configuration?
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Sun Jul 20, 2025 3:08 pm

pietinger wrote:mark4, how are things looking for you now after the changes in the kernel configuration?
The changes made to the 6.15 kernel did not enable turbo there, I think this one will need some kernel devs to fix :)
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Jul 20, 2025 8:42 pm

mark4 wrote:The changes made to the 6.15 kernel did not enable turbo there, I think this one will need some kernel devs to fix :)
It's very hard for me to believe that it's the kernel code - especially since there were no problems with an old version (and/or Ubuntu version); I still think it's the configuration (an Intel i14xxx is an "old" CPU). Have you ever edited the .config file with an editor?
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
mark4
Apprentice
Apprentice
Posts: 218
Joined: Sat Feb 26, 2011 2:34 pm

  • Quote

Post by mark4 » Sun Jul 20, 2025 10:05 pm

pietinger wrote:
mark4 wrote:The changes made to the 6.15 kernel did not enable turbo there, I think this one will need some kernel devs to fix :)
It's very hard for me to believe that it's the kernel code - especially since there were no problems with an old version (and/or Ubuntu version); I still think it's the configuration (an Intel i14xxx is an "old" CPU). Have you ever edited the .config file with an editor?
turbo did not work in Ubuntu or fedora or debian or mint, it was not until I tried arch was I able to get turbo working and that was in an older kernel. I spent quite a bit of time trying to find a solution and the only one I came up with was to use the config.gz from arch to build the 6.15 gentoo sources.

It is possible that if you were sitting at my keyboard you might be able to go "oh look, you didn't have this set in .config" and would fix it because you have a much greater knowledge of these things than I do! i found a "solution" but I agree, it is not ideal.
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Jul 20, 2025 11:43 pm

mark4 wrote:turbo did not work in Ubuntu [...] until I tried arch was I able to get turbo working and that was in an older kernel. [...]
That it doesn't work with a (newer) Ubuntu, but with Arch is very surprising to me. 8O
mark4 wrote:[...] was to use the config.gz from arch to build the 6.15 gentoo sources. [...]
6.15 or 5.15 ? (I got this from the other thread).
mark4 wrote:It is possible that if you were sitting at my keyboard you might be able to go "oh look, you didn't have this set in .config" and would fix it [...]
... a bold assumption ... I am not convinced ... :lol:

So, if you have a working .config (for whatever version) you should be able to copy this old .config into a new (freshly emerged) /usr/src/linux-6.15.7-gentoo and (change into it) do a "make oldconfig" (Yes, this means to answer many questions, but most of them you can just adopt the default). By human judgement, this configuration should then also work for the current kernel version.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Post Reply

25 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy