Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wifi card not showing up, what I'm not understanding?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
plp
n00b
n00b


Joined: 07 Dec 2021
Posts: 13
Location: Little Rock, AR, USA

PostPosted: Sun Oct 30, 2022 9:56 pm    Post subject: wifi card not showing up, what I'm not understanding? Reply with quote

I realized that I forgot to add modules for my wifi card. So I did a make clean && make && make modules_install then a make install.
rebooted and the system is only seeing my wired card. What is it that I'am missing during the install the cd media recognize as wlo1.
Currently is only showing enp2s0, lo and the freeone at sit0@NONE. What am I missing or not understanding?

dmesg|grep -i -E '3:00.0|wlam|rtw88|80211 output:
Code:

[    0.287445] pci 0000:03:00.0: [10ec:c821] type 00 class 0x028000
[    0.287468] pci 0000:03:00.0: reg 0x10: [io  0x2000-0x20ff]
[    0.287497] pci 0000:03:00.0: reg 0x18: [mem 0xf0a00000-0xf0a0ffff 64bit]
[    0.287621] pci 0000:03:00.0: supports D1 D2
[    0.287623] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.528666] Loading firmware: rtw88/rtw8821c_fw.bin
[    0.528708] rtw_8821ce 0000:03:00.0: Direct firmware load for rtw88/rtw8821c_fw.bin failed with error -2
[    0.528714] rtw_8821ce 0000:03:00.0: failed to request firmware
[    0.529317] rtw_8821ce 0000:03:00.0: failed to load firmware
[    0.529320] rtw_8821ce 0000:03:00.0: failed to setup chip efuse info
[    0.529323] rtw_8821ce 0000:03:00.0: failed to setup chip information
[    0.534780] rtw_8821ce: probe of 0000:03:00.0 failed with error -22
[    0.619961] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.620953] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.623663] cfg80211: failed to load regulatory.db
[    5.782997] rtw88_core: exports duplicate symbol __rtw_dbg (owned by kernel)
[    5.796673] rtw88_core: exports duplicate symbol __rtw_dbg (owned by kernel)
[    5.811638] rtw88_core: exports duplicate symbol __rtw_dbg (owned by kernel)
[    5.828619] rtw88_core: exports duplicate symbol __rtw_dbg (owned by kernel)
[    5.843742] rtw88_core: exports duplicate symbol __rtw_dbg (owned by kernel)


find /lib/modules/5.15.75-gentoo/ -type f -iname '*.o' -or -iname '*.ko' output:
Code:

/lib/modules/5.15.75-gentoo/kernel/drivers/thermal/intel/x86_pkg_temp_thermal.ko
/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8821c.ko
/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8821ce.ko
/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_core.ko
/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_pci.ko
/lib/modules/5.15.75-gentoo/kernel/net/ipv4/netfilter/iptable_nat.ko
/lib/modules/5.15.75-gentoo/kernel/net/netfilter/xt_nat.ko
/lib/modules/5.15.75-gentoo/kernel/net/netfilter/xt_LOG.ko
/lib/modules/5.15.75-gentoo/kernel/net/netfilter/xt_MASQUERADE.ko
/lib/modules/5.15.75-gentoo/kernel/net/netfilter/xt_addrtype.ko
/lib/modules/5.15.75-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/5.15.75-gentoo/kernel/net/netfilter/nf_log_syslog.ko
/lib/modules/5.15.75-gentoo/kernel/fs/efivarfs/efivarfs.ko


lspci -nnkv | sed -n '/Network/,/^$/p' output:
Code:

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
   DeviceName: WLAN
   Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
   Flags: fast devsel, IRQ 30
   I/O ports at 2000 [size=256]
   Memory at f0a00000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [70] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-c8-21-01
   Capabilities: [158] Latency Tolerance Reporting
   Capabilities: [160] L1 PM Substates
   Capabilities: [170] Precision Time Measurement
   Capabilities: [17c] Vendor Specific Information: ID=0003 Rev=1 Len=054 <?>
   Kernel modules: rtw88_8821ce


Full Dmesg Output
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4128
Location: Bavaria

PostPosted: Sun Oct 30, 2022 11:24 pm    Post subject: Reply with quote

Please read this chapter:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware
and
https://wiki.gentoo.org/wiki/Wifi#Firmware
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Oct 30, 2022 11:31 pm    Post subject: Reply with quote

Quote:

Loading firmware: rtw88/rtw8821c_fw.bin
[ 0.528708] rtw_8821ce 0000:03:00.0: Direct firmware load for rtw88/rtw8821c_fw.bin failed with error -2
[ 0.528714] rtw_8821ce 0000:03:00.0: failed to request firmware
[ 0.529317] rtw_8821ce 0000:03:00.0: failed to load firmware
[ 0.529320] rtw_8821ce 0000:03:00.0: failed to setup chip efuse info
[ 0.529323] rtw_8821ce 0000:03:00.0: failed to setup chip information
[ 0.534780] rtw_8821ce: probe of 0000:03:00.0 failed with error -22

Plz install
linux-firmware
_________________
:)
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4128
Location: Bavaria

PostPosted: Mon Oct 31, 2022 8:45 am    Post subject: Reply with quote

alamahant wrote:
Plz install
linux-firmware

Maybe it is already installed ... but ... look at the timestamp. Here we can see the modules are compiled static into the kernel ... ;-)
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Oct 31, 2022 5:36 pm    Post subject: Reply with quote

Yes but what about these
Code:

/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8821c.ko
/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8821ce.ko
/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_core.ko
/lib/modules/5.15.75-gentoo/kernel/drivers/net/wireless/realtek/rtw88/rtw88_pci.ko

Are they not modules?
_________________
:)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Mon Oct 31, 2022 6:53 pm    Post subject: Reply with quote

plp,

Your kernel and modules don't match.
Code:
[    5.782997] rtw88_core: exports duplicate symbol __rtw_dbg (owned by kernel)

That means you have rtw88_core both as a built in and a kernel module.
You have missed a
Code:
make modules_install
so the kernel is not happy.
Its also possible that your clock has stepped back, which confuses make.

Make your rtw88 as a module. Then rebuild and reinstall both the kernel and its modules.
Start with
Code:
make clean
to force an entire kernel rebuild.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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