View previous topic :: View next topic |
Author |
Message |
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 220
|
Posted: Thu Dec 26, 2024 5:02 pm Post subject: wireless card not detected |
|
|
Hello forum,
I start by saying that I have never had these many issues installing Gentoo on a PC or laptop. Xorg is not working and there is no wireless card detected...but let's start with one issue at a time.
When I boot into my new install and run
I get enp0s31f6, which is my wired card, and lo:. No wireless card...
If I run
1: lo
2: enp0s31f6
3. sit0@none
I added the firmware for the wifi by going into CONFIG_EXTRA_FIRMWARE, after running Code: | dmesg | grep firmware | with the Gentoo LiveCD. I therefore added
Quote: | iwlwifi-ma-b0-gf-a0-89.ucode | in the kernel. but, when running Code: | dmesg | grep firmware | in the new booted system, all I see is the 1915 firmware, and there is no mention of the iwlwifi which I expected to see. I also added the firmware for bluetooth support, and for sound, and I do not see either.
I have installed iwd following the iwd Gentoo wiki, but it cannot function with no firmware.
So, like I said, let's start with one issue at a time. I am putting a lot of effort and hours into this, but I am not going anywhere...next will be Xorg (I cannot startx), and sound...
Let's see if a patient helping hand is able to get me out of this mess...like I said, one step at a time, until I can finally have a working Gentoo... |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3821 Location: Rasi, Finland
|
Posted: Thu Dec 26, 2024 6:08 pm Post subject: Re: wireless card not detected |
|
|
enrico68 wrote: | but, when running Code: | dmesg | grep firmware | in the new booted system, all I see is the 1915 firmware, and there is no mention of the iwlwifi which I expected to see. | Please paste the output of that command.
Also output of lspci -k could help, and zfgrep IWL /proc/config.gz too.
... finally lsmod could show us if the module for your network device is loaded. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 220
|
Posted: Fri Dec 27, 2024 3:14 pm Post subject: |
|
|
Hello Zucca:
Here is the info you requested. As I do not have video capability, I could not copy/paste and I had to type all the below, as my Gentoo installation has only a console with a prompt; hopefully I did not make any mistakes...
Code: | dmesg | grep firmware |
loading firmware i915/mtl_dmc.bin
i915 0000:00:02.0 [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.23)
Loading firmware i915/mtl_guc_70.bin
Loading firmware i915/mtl_guc_70.bin
Loading firmware i915 /mtl_huc_gsc.bin
1915 0000:00:02:o [drm] *ERROR* GT1: GSC firmware i915/mtl_gsc_1.bin: fetch failed -NOENT
1915 0000.00.02.0 [drm] GT1: GSC firmware can be downloaded from https:// git/kernel.org/pu/src/linux/kernel/git/firmware/inux-firmware.git/tree/1915
1915 0000.00.02.0 [drm] GT0: GUC firmware i915/mtl_guc_70.bin version 70.36.0
1915 0000.00.02.0 [drm] GT1: GUC firmware i915/mtl_guc_70.bin version 70.36.0
i915 0000.00.02.0 [drm] GT1 HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
psmouse serio1: trackpoint : Elan Trackpoint firmware : 0x0, buttons: 3x3
loading firmware: regulatory.db
Loading firmware: regulatory.db.p7s
00.00.0 Host bridge: Intel Corporation Device 7d02 (rev 04)
00.02.0 VGA copatible controller: Intel Corporation MeteorLake-P [Intel Graphics] (rev04)
Subsystem Lenovo Device 2327
Kernel Driver in use: i915
00.04.0 Signal processing controller: Intel Corporation Meteor-Lake-P Dynamic Tuning Technology (rev 04)
Subsystem Lenovo Device 2327
00.06.0 PCI bridge: Intel Corporation Device 7e4d (rev 20)
Subsystem Lenovo Device 2327
00.06.1 PCI bridge Intel Corporation Device 7eca (rev 10)
Subsystem Lenovo Device 2327
Kernel Driver in use: pcieport
00.07.0 PCI bridge: Intel Corporation Meteor Lake -P Thunderbolt 4 PCI Express Root Port #0 (rev02)
Subsystem LenovoDevice 2327
Kernel Driver in use: pcieport
00.07.2 PCI bridge: Intel Corporation Meteor Lake -P Thunderbolt 4 PCI Express Root Port #2 (rev02)
Subsystem LenovoDevice 2327
Kernel Driver in use: pcieport
00.0a.0 SignalProcessing Controller: Intel Corporation Meteor Lake-P Platform Monitoring Technology (rev01)
Subsystem LenovoDevice 2327
00.0b.0 Processing accelerators: Intel Corporation Meteor Lake NPU (rev04)
Subsystem LenovoDevice 2327
00.0d.0 USB controller: Intel Corporation Meteor Lake -P Thunderbolt 4 USB controller (rev02)
Subsystem LenovoDevice 2327
00.0d.2 USB controller: Intel Corporation Meteor Lake -P Thunderbolt 4 NHI #0 (rev02)
Subsystem LenovoDevice 2327
Kernel Driver in use: thunderbolt
00.0d.3 USB controller: Intel Corporation Meteor Lake -P Thunderbolt 4 NHI #1 (rev02)
Subsystem LenovoDevice 2327
Kernel Driver in use: thunderbolt
00.14.0 USB controller: Intel Corporation Meteor Lake -P USB 3.2 Gen 2x1 xHCI Host Controller (rev20)
Subsystem LenovoDevice 2327
Kernel Driver in use: xhci_hcd
00.14.2 RAM memory: Intel Corporation Device 7e7f (rev20)
Subsystem LenovoDevice 2327
00.14.3 Network Controller: Intel Corporation Meteor Lake PCH CNVi WiFi (rev20)
Subsystem: Intel Corporation Device 0090
00.15.0 Serial bus controller: Intel Corporation Meteor Lake -P Serial IO I2C Controller #0 (rev20)
Subsystem LenovoDevice 2327
Kernel Driver in use: intel-lpss
00.16.0 Communication controller: Intel Corporation Meteor Lake -P CSME HECI #1 (rev20)
Subsystem LenovoDevice 2327
Kernel Driver in use: mei_me
00.16.3 Serial Controller: Intel Corporation Meteor Lake -P Keyboard and Text (KT) Redirection (rev20)
Subsystem LenovoDevice 2327
Kernel Driver in use: serial
00.1c.0 PCI bridge: Intel Corporation Device 7e38 (rev20)
Subsystem LenovoDevice 2327
Kernel driver in use: pcieport
00.1f.0 ISA bridge: Intel Corporation Device 7e03 (rev20)
Subsystem LenovoDevice 2327
00.1f.3 Audio device: Intel Corporation Meteor Lake -P Audio Controller (rev20)
Subsystem LenovoDevice 2327
Kernel modules: snd_sof_pci_intel_mtl
00.1f.4 SMBus: Intel Corporation Meteor Lake -P SMBus Controller (rev20)
00.1f.5 Serial Bus Controller: Intel Corporation Meteor Lake -P SPI Controller (rev20)
Subsystem LenovoDevice 2327
00.1f.6 Ethernet Controller: Intel Corporation Device 550a (rev20)
Subsystem LenovoDevice 2327
Kernel driver in use: e1000e
04.00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD Controller XG8 (rev01)
Subsystem: Kioxia Corporation Device 001
Kernel driver in use: nvme
Code: | zfgrep IWL /proc/config.gz |
no such file or directory
Module Size Used by
cfg80211 0
snd_sof_pci_intel_mtl 0
snd_sof_intel_hda_generic 1 snd_sof_pci_intel_mtl
snd_sof_intel_hda_common 2 snd_sof_pci_intel_-mtl, snd_sof_intel_hda_generic
snd_sof_pci 2 snd_sof_pci_intel_-mtl, snd_sof_intel_hda_generic
snd_sof 4 snd_sof_pci_intel_mtl,snd_sof_pci, sof_intel_hda_common, snd_sof_intel_hda_generic
snd_sof_utils 1 snd_sof
snd_sof_xtensa_dsp 1 snd_sof_intel_hda_generic
snd_soc_core 1 snd_sof_
snd_compress 1 snd_soc_core
x86_pkg_temp_thermal 0
snd_soc_acpi_intel_match 2 snd_sof_pci_intel_mtl, snd_sof_intel_hda_generic
snd_soc_acpi snd_soc_acpi_intel_match, snd_sof_intel_hda_generic |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5277 Location: Bavaria
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 220
|
Posted: Fri Jan 03, 2025 3:44 pm Post subject: |
|
|
Hi pietinger,
here are the links to the three files you requested, and to the kernel .config file
emerge --info: http://dpaste.com/4QVZ4SCZ8
dmesg http://dpaste.com/2RYMQ8BY3
lspci -nn http://dpaste.com/6EDMY33HW Wgetpaste would not recognize the command with the "k": i.e. -nnk
Kernel config. file http://dpaste.com/AD4YF8J7C
These are all logs from the chroot environment using the 6.6.62 kernel, and not the new kernel 6.12.5. I can boot into the new Gentoo, but I have no wireless connection, and I believe wgetpaste needs an internet connection to work...this is as far as I could go...
I am also adding the EXTRA_FIRMWARE content, so you can see what I added: http://dpaste.com/DPMBDBQAS...somehow it fetches the relevant info when I issue the command Code: | grep -n EXTRA_FIRMWARE /usr/src/linux/.config |
not through wgetpaste, but you can scroll down to lines: 1581-1582 to see the relevant info. |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1221 Location: Massachusetts USA
|
Posted: Fri Jan 03, 2025 6:32 pm Post subject: |
|
|
Wgetpaste:
You can send the output from a command to a file and then after booting to get internet access wgetpaste the file.
Kernel config:
Code: | [ 10.059978] i915 0000:00:02.0: Your graphics device 7d45 is not properly supported by i915 in this
kernel version. To force driver probe anyway, use i915.force_probe=7d45
module parameter or CONFIG_DRM_I915_FORCE_PROBE=7d45 configuration option,
or (recommended) check for kernel updates. |
You should configure the xe driver for video. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5277 Location: Bavaria
|
Posted: Fri Jan 03, 2025 6:41 pm Post subject: |
|
|
Hi enrico,
you can take this route:
Code: | lspci -nnk > output.txt; wgetpaste output.txt; rm output.txt |
I see that 6.6. is too old for your machine:
Code: | [ 10.059978] i915 0000:00:02.0: Your graphics device 7d45 is not properly supported by i915 in this
kernel version. To force driver probe anyway, use i915.force_probe=7d45
module parameter or CONFIG_DRM_I915_FORCE_PROBE=7d45 configuration option,
or (recommended) check for kernel updates. |
Do you have the same problem with 6.12 ? (I guess not)
You gave me the syslog from 6.6 and there is a:
Code: | [ 9.839931] Loading firmware: iwlwifi-ma-b0-gf-a0-83.ucode |
but you have included in EXTRA_FIRMWARE: iwlwifi-ma-b0-gf-a0-89.ucode ... maybe after booting with 6.12 this is used ... and IF yes THEN it is correct ... but ... see this:
Code: | CONFIG_EXTRA_FIRMWARE="intel-ucode/06-aa-04 intel/ibt-0180-0041.sfi iwlwifi-ma-b0-gf-a0-89.ucode iwlwifi-ma-b0-gf-a0.pnvm i915/mtl_guc_70.bin i915/mtl_huc_gsc.bin i915/mtl_dmc.bin i915/mtl_gsc_1.bin regulatory.db regulatory.db.p7s" |
<==>
Code: | [ 9.832344] Loading firmware: intel/ibt-0180-0041.sfi
[ 9.839931] Loading firmware: iwlwifi-ma-b0-gf-a0-83.ucode
[ 9.893921] Loading firmware: iwl-debug-yoyo.bin
[ 9.894646] iwlwifi 0000:00:14.3: loaded firmware version 83.d24e06ed.0 ma-b0-gf-a0-83.ucode op_mode iwlmvm
[ 10.114397] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x441
[ 10.288032] Loading firmware: iwlwifi-ma-b0-gf-a0.pnvm
[ 11.381904] Loading firmware: intel/ibt-0180-0041.ddc |
... you are missing: iwl-debug-yoyo.bin AND intel/ibt-0180-0041.ddc (you need SFI AND DDC) ...
BTW:
1.) I guess you have a problem with your touchpad also, because you have a Synopsys Designware PCIe Controller ->
Code: | [ 4.355686] input: ELAN0683:00 04F3:320B Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN0683:00/0018:04F3:320B.0001/input/input8 |
and this is in your kernel .config:
Code: | # CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_I2C_DESIGNWARE_CORE is not set
# CONFIG_HID_MULTITOUCH is not set |
(see also: https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel#Synopsys_DesignWare_PCIe_controller )
2.) You have configured USB Type-C: "CONFIG_TYPEC=y" and maybe you will need:
Code: | # CONFIG_HOTPLUG_PCI_ACPI is not set |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 220
|
Posted: Sat Jan 04, 2025 4:38 pm Post subject: |
|
|
pietinger wrote: | Hi enrico,
you can take this route:
Code: | lspci -nnk > output.txt; wgetpaste output.txt; rm output.txt |
|
I tried it, but it says : Unable to load libkmod resources: error 2.
Quote: | I see that 6.6. is too old for your machine:
Code: | [ 10.059978] i915 0000:00:02.0: Your graphics device 7d45 is not properly supported by i915 in this
kernel version. To force driver probe anyway, use i915.force_probe=7d45
module parameter or CONFIG_DRM_I915_FORCE_PROBE=7d45 configuration option,
or (recommended) check for kernel updates. |
Do you have the same problem with 6.12 ? (I guess not) |
With 6.12, when I type ifconfig, I see lo: and enp0s31f6 and the wlp0s20f3 wireless card is not there, even though I added the 1915 module in the kernel.
Quote: | You gave me the syslog from 6.6 and there is a:
Code: | [ 9.839931] Loading firmware: iwlwifi-ma-b0-gf-a0-83.ucode |
but you have included in EXTRA_FIRMWARE: iwlwifi-ma-b0-gf-a0-89.ucode ... maybe after booting with 6.12 this is used ... and IF yes THEN it is correct ... but ... see this:
Code: | CONFIG_EXTRA_FIRMWARE="intel-ucode/06-aa-04 intel/ibt-0180-0041.sfi iwlwifi-ma-b0-gf-a0-89.ucode iwlwifi-ma-b0-gf-a0.pnvm i915/mtl_guc_70.bin i915/mtl_huc_gsc.bin i915/mtl_dmc.bin i915/mtl_gsc_1.bin regulatory.db regulatory.db.p7s" |
|
I added the 83 version and deleted the 89 version of iwlwifi
Quote: |
<==>
Code: | [ 9.832344] Loading firmware: intel/ibt-0180-0041.sfi
[ 9.839931] Loading firmware: iwlwifi-ma-b0-gf-a0-83.ucode
[ 9.893921] Loading firmware: iwl-debug-yoyo.bin
[ 9.894646] iwlwifi 0000:00:14.3: loaded firmware version 83.d24e06ed.0 ma-b0-gf-a0-83.ucode op_mode iwlmvm
[ 10.114397] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x441
[ 10.288032] Loading firmware: iwlwifi-ma-b0-gf-a0.pnvm
[ 11.381904] Loading firmware: intel/ibt-0180-0041.ddc |
... you are missing: iwl-debug-yoyo.bin AND intel/ibt-0180-0041.ddc (you need SFI AND DDC) ... |
I added iwl-debug-yoyo.bin: when I run Code: | make && make modules_install | I get an error: No rule to make target ''lib/firmware/iwl-dbug-yoyo.bin, needed by 'drivers/base/firmware_loader/builtin/iwl-dbug-yoyo.bin.gen.o'.
Quote: | BTW:
1.) I guess you have a problem with your touchpad also, because you have a Synopsys Designware PCIe Controller ->
Code: | [ 4.355686] input: ELAN0683:00 04F3:320B Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN0683:00/0018:04F3:320B.0001/input/input8 |
and this is in your kernel .config:
Code: | # CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_I2C_DESIGNWARE_CORE is not set
# CONFIG_HID_MULTITOUCH is not set |
|
These have al been set.
I had done that part already.
Quote: | 2.) You have configured USB Type-C: "CONFIG_TYPEC=y" and maybe you will need:
Code: | # CONFIG_HOTPLUG_PCI_ACPI is not set |
|
CONFIG_HOTPLUG_PCI_ACPI is now set. |
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 220
|
Posted: Sat Jan 04, 2025 4:56 pm Post subject: |
|
|
A few more details:
when running after booting into the Gentoo with kernel 6.12.5,
I see the [Intel Graphics] with kernel in use: i915, which is expected.
A for the Network controller: Intel Corporation Meteor Lake PCH CNVi WiFi I see kernel in use: iwlwifi. If is so, how come when typing ifconfig all I see is lo:, and enp0s31f6, and no wireless card listed?? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5277 Location: Bavaria
|
Posted: Sat Jan 04, 2025 5:01 pm Post subject: |
|
|
enrico68 wrote: | I tried it, but it says : Unable to load libkmod resources: error 2. |
This is normal when we have a kernel without module support (I have it too because I have also a monolithic kernel) ... BUT ... lspci will work and give you all information. (if you really dont like this error messages the re-emerge "pciutil" without Use-flag "kmod"; but it is not necessary; this error is harmless).
enrico68 wrote: | With 6.12, when I type ifconfig, I see lo: and enp0s31f6 and the wlp0s20f3 wireless card is not there, even though I added the 1915 module in the kernel. |
i915 is the module for your GPU of your Intel CPU (== graphics) ... has nothing to do with WLAN
enrico68 wrote: | I added iwl-debug-yoyo.bin: when I run Code: | make && make modules_install | I get an error: No rule to make target ''lib/firmware/iwl-dbug-yoyo.bin, needed by 'drivers/base/firmware_loader/builtin/iwl-dbug-yoyo.bin.gen.o'. |
Maybe you dont need it. I would like to check your systemstart now (with your 6.12 kernel). Please give us the output of "dmesg" _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 220
|
Posted: Sat Jan 04, 2025 5:38 pm Post subject: |
|
|
pietinger wrote: | enrico68 wrote: | I tried it, but it says : Unable to load libkmod resources: error 2. |
This is normal when we have a kernel without module support (I have it too because I have also a monolithic kernel) ... BUT ... lspci will work and give you all information. (if you really dont like this error messages the re-emerge "pciutil" without Use-flag "kmod"; but it is not necessary; this error is harmless). |
This is good to know, thank you for pointing that out.
enrico68 wrote: | With 6.12, when I type ifconfig, I see lo: and enp0s31f6 and the wlp0s20f3 wireless card is not there, even though I added the 1915 module in the kernel. |
Quote: | i915 is the module for your GPU of your Intel CPU (== graphics) ... has nothing to do with WLAN |
I know, I meant to say the wireless driver...
enrico68 wrote: | I added iwl-debug-yoyo.bin: when I run Code: | make && make modules_install | I get an error: No rule to make target ''lib/firmware/iwl-dbug-yoyo.bin, needed by 'drivers/base/firmware_loader/builtin/iwl-dbug-yoyo.bin.gen.o'. |
Quote: | Maybe you dont need it. I would like to check your systemstart now (with your 6.12 kernel). Please give us the output of "dmesg" |
I ran wgetpaste, but it comes back with: "Apparently nothing was received. Perhaps the connection failed. Enable --verbose or --debug to get the output from wget that can help diagnose the problem. So I enabled --verbose: Temporary failure in name resolution...as I expected...there is no wirelss card and no internet connection on the Gentoo I am logged in. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5277 Location: Bavaria
|
Posted: Sat Jan 04, 2025 8:04 pm Post subject: |
|
|
enrico68 wrote: | [...]..as I expected...there is no wirelss card and no internet connection on the Gentoo I am logged in. |
(a) Do you have an internet connection if you boot with our GentooCD?
If yes, please goto [c]
If no, (b) do you have an internet connection if you boot with an UbuntuLiveCD?
If no, then we have to wait for newer Kernel and/or firmware versions.
If yes, do ->
(c)
1) Boot your kernel and do:
2) dmesg > /root/dmesg-output.txt
3) Reboot with a LiveCD which gives you Internet
4) Mount your root partition and chroot into your system
5) Now you can do a "wgetpaste /root/dmesg-output.txt" _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|