Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RTL8822BE disappearing after a minute without Genkernel
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
pc_user4
n00b
n00b


Joined: 14 Sep 2023
Posts: 15

PostPosted: Sat Aug 10, 2024 4:57 am    Post subject: RTL8822BE disappearing after a minute without Genkernel Reply with quote

I have a RTL8822BE WiFi card in a laptop here. It worked well on the install minimal CD, Genkernel of course. It also works when I run Genkernel myself, but I want it to work with gentoo-kernel-bin. In case it is related, this is an older laptop without UEFI, so I am doing a legacy MBR install.

When I boot into Gentoo, it works for a couple minutes but then the device disappears. Then I get the following error in logs:

Code:
Direct firmware load for rtl_bt/rtl8822cu_fw.bin failed with error -2


I can try to load the rtw88 firmware with modprobe, but it doesn't help. I can't get the module reloaded without a reboot.

It is an old laptop with poor thermals and tends to lock up during longer compilations, so I want to use gentoo-kernel-bin. I am hoping to find a solution that allows me to use this WiFi adapter with the pre-compiled kernel. Is this possible at all, or must I use Genkernel/manual kernel?

I found this thread trying to research the problem, but unfortunately it didn't pertain to my current situation in a helpful manner.
https://forums.linuxmint.com/viewtopic.php?t=324341&sid=18e77d2174fde04fa1b3651bd2584dc2&start=20
Back to top
View user's profile Send private message
iNeedIT
n00b
n00b


Joined: 10 Aug 2024
Posts: 13

PostPosted: Sat Aug 10, 2024 9:14 am    Post subject: Re: RTL8822BE disappearing after a minute without Genkernel Reply with quote

You got error with number two:
#define ENOENT 2 /* No such file or directory */

So, kernel can't find 'must have' file. But don't worry, it is easily to fix it.
We need just download linux-firmware.


Binary version of gentoo, can be very problematic with drivers.
I would to buy new device for gentoo, if I was on your side.
Back to top
View user's profile Send private message
pc_user4
n00b
n00b


Joined: 14 Sep 2023
Posts: 15

PostPosted: Sat Aug 10, 2024 9:57 am    Post subject: Reply with quote

Thank you for your reply. Unfortunately, I already have linux-firmware, so I fear I may not be able to use this card if I insist on using a pre-compiled kernel.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5094
Location: Bavaria

PostPosted: Sat Aug 10, 2024 11:42 am    Post subject: Re: RTL8822BE disappearing after a minute without Genkernel Reply with quote

pc_user4 wrote:
[...] but I want it to work with gentoo-kernel-bin. [...]

You should not have any problems with our distribution kernel when using the correct use-flags. ENABLE "initramfs" (*) and "dracut" globally and do a re-emerge of installkernel and gentoo-kernel-bin.

*) Usually this use-flag is enabled by default. Maybe you have deselected it for genkernel ?

(see also: https://wiki.gentoo.org/wiki/User:Pietinger/Draft/Quick_Installation_OpenRC_for_an_UEFI_System#Kernel )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pc_user4
n00b
n00b


Joined: 14 Sep 2023
Posts: 15

PostPosted: Sat Aug 10, 2024 11:05 pm    Post subject: Re: RTL8822BE disappearing after a minute without Genkernel Reply with quote

pietinger wrote:
pc_user4 wrote:
[...] but I want it to work with gentoo-kernel-bin. [...]

You should not have any problems with our distribution kernel when using the correct use-flags. ENABLE "initramfs" (*) and "dracut" globally and do a re-emerge of installkernel and gentoo-kernel-bin.

*) Usually this use-flag is enabled by default. Maybe you have deselected it for genkernel ?

(see also: https://wiki.gentoo.org/wiki/User:Pietinger/Draft/Quick_Installation_OpenRC_for_an_UEFI_System#Kernel )


Thanks for the hint, pietinger. :D

In fact I had dracut in my USE flags, but not initramfs - I shall do this.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5094
Location: Bavaria

PostPosted: Sun Aug 11, 2024 10:18 am    Post subject: Re: RTL8822BE disappearing after a minute without Genkernel Reply with quote

pc_user4 wrote:
Thanks for the hint, pietinger. :D

You are very Welcome ! :D

Have fun with Gentoo ! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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