Forums

Skip to content

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

[Solved] Kernel config problem with cloudflare-warp

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
2 posts • Page 1 of 1
Author
Message
Leon aksy
n00b
n00b
Posts: 2
Joined: Mon Jan 22, 2024 12:34 am

[Solved] Kernel config problem with cloudflare-warp

  • Quote

Post by Leon aksy » Tue Feb 20, 2024 4:15 pm

I installed cloudflare-warp from guru overlay, and followed the instruction on cloudflare docs: https://developers.cloudflare.com/warp- ... ted/linux/

It worked with the dist kenel, but not with my kernel, when I did warp-cli connet, the name resolve stopped to work, and a simple ping 8.8.8.8 didn't received anything.
(I think it's not a dns problem because when i only set warp mode to doh (https://developers.cloudflare.com/warp- ... hing-modes), the network works fine)
warp-cli status shows:

Code: Select all

Status update: Disconnected. Reason: Manual Disconnection
Success

ps: I already set up config for nftables, as required here: https://wiki.gentoo.org/wiki/Nftables#Kernel , but i dont know what else config flags are needed to use warp.

My kernel config is listed in https://pastebin.com/2Yehchbg,
lsmod gives

Code: Select all

Module                  Size  Used by
nft_reject_inet        12288  0
nft_reject             12288  1 nft_reject_inet
nf_tables             356352  2 nft_reject_inet,nft_reject
pkcs8_key_parser       12288  0
amdgpu              11497472  16
ath11k_pci             24576  0
ath11k                520192  1 ath11k_pci
i2c_algo_bit           12288  1 amdgpu
qmi_helpers            32768  1 ath11k
drm_ttm_helper         12288  1 amdgpu
snd_soc_dmic           12288  1
ttm                    98304  2 amdgpu,drm_ttm_helper
snd_soc_ps_mach        12288  0
drm_exec               12288  1 amdgpu
snd_sof_amd_vangogh    16384  0
drm_suballoc_helper    12288  1 amdgpu
snd_sof_amd_rembrandt    16384  0
amdxcp                 12288  1 amdgpu
mac80211             1212416  1 ath11k
mfd_core               12288  1 amdgpu
snd_sof_amd_renoir     16384  0
drm_buddy              20480  1 amdgpu
snd_sof_amd_acp        45056  3 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_renoir
libarc4                12288  1 mac80211
kvm_amd               143360  0
gpu_sched              57344  1 amdgpu
snd_sof_xtensa_dsp     16384  1 snd_sof_amd_acp
kvm                  1298432  1 kvm_amd
drm_display_helper    204800  1 amdgpu
snd_sof_pci            20480  3 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_renoir
i2c_hid_acpi           12288  0
thinkpad_acpi         147456  0
irqbypass              12288  1 kvm
drm_kms_helper        245760  4 drm_display_helper,amdgpu
i2c_hid                28672  1 i2c_hid_acpi
platform_profile       12288  1 thinkpad_acpi
snd_sof               221184  2 snd_sof_amd_acp,snd_sof_pci
sp5100_tco             12288  0
cfg80211             1224704  2 ath11k,mac80211
watchdog               36864  1 sp5100_tco
snd_sof_utils          12288  1 snd_sof
drm                   708608  18 gpu_sched,i2c_hid,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,thinkpad_acpi,amdgpu,drm_ttm_helper,ttm,amdxcp
drm_panel_orientation_quirks    24576  1 drm
Last edited by Leon aksy on Sat Feb 24, 2024 2:49 am, edited 1 time in total.
Top
Leon aksy
n00b
n00b
Posts: 2
Joined: Mon Jan 22, 2024 12:34 am

solved, missing tun module

  • Quote

Post by Leon aksy » Sat Feb 24, 2024 2:48 am

I booted with the dist kernel and my kernel, run lsmod on both, before and after using warp, used diff to find what mods are loaded and found out

Code: Select all

❯ diff my-kernel-before-warp my-kernel-after-warp
1a2,3
> nft_reject_inet
> nft_reject

❯ diff dist-kernel-before-warp dist-kernel-after-warp
1a2,6
> tun
> nft_reject_inet
> nf_reject_ipv4
> nf_reject_ipv6
> nft_reject
I enabled the tun module, recompiled and it worked.
Top
Post Reply

2 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

 

 

magic