Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing wireless card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Thu Apr 04, 2024 4:41 am    Post subject: Problems installing wireless card Reply with quote

Driver installation keeps failing. It worked when I first installed my system so I'm thinking something must have changed in the kernel after a series of updates. However, I am using a binary kernel so I haven't personally made any changes:

Code:

sh -c 'wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install'
URL transformed to HTTPS due to an HSTS policy
--2024-04-04 00:31:14--  https://deb.trendtechcn.com/install
Resolving deb.trendtechcn.com... 185.199.108.153, 185.199.109.153, 185.199.110.153, ...
Connecting to deb.trendtechcn.com|185.199.108.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18766 (18K) [application/octet-stream]
Saving to: ‘/tmp/install’

/tmp/install                                         100%[=====================================================================================================================>]  18.33K  --.-KB/s    in 0.04s   

2024-04-04 00:31:14 (459 KB/s) - ‘/tmp/install’ saved [18766/18766]

Package manager is: unknown
Installing prerequisites
Downloading the driver
2024-04-04 00:31:32 URL:https://linux.brostrend.com/rtl88x2bu-dkms.deb [4128584/4128584] -> "rtl88x2bu-dkms.deb" [1]
Installing and compiling the driver
Compiling without dkms...
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.7.10-gentoo-dist/build M=/usr/src/rtl88x2bu-5.13.1  modules
make[1]: Entering directory '/usr/src/linux-6.7.10-gentoo-dist'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210
  You are using:           gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_cmd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_security.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_debug.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_io.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ioctl_query.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ioctl_set.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ieee80211.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mlme.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mlme_ext.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mi.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_wlan_util.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_vht.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_pwrctrl.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_chplan.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/monitor/rtw_radiotap.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_recv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_sta_mgt.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ap.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/wds/rtw_wds.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/mesh/rtw_mesh.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_xmit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_p2p.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rson.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_tdls.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_br_ext.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_iol.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_sreset.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_btcoex_wifionly.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_btcoex.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_beamforming.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_odm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rm_fsm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ft.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_wnm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mbo.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rm_util.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/efuse/rtw_efuse.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_roch.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-internal.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-internal-enc.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-gcm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-ccm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-omac1.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/ccmp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/gcmp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-siv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-ctr.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/sha256-internal.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/sha256.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/sha256-prf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/rtw_crypto_wrap.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_swcrypto.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/osdep_service.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/os_intfs.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/usb_intf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/usb_ops_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/ioctl_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/xmit_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/mlme_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/recv_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/wifi_regd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_android.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_proc.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/nlrtw.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_rhashtable.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_intf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_com.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_com_phycfg.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_phy.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_dm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_dm_acs.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_btcoex_wifionly.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_btcoex.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_mp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_mcc.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_hci/hal_usb.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/led/hal_led.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/led/hal_usb_led.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_halinit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_mac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_cmd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_phy.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_ops.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/hal8822b_fw.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_halinit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_halmac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_io.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_xmit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_recv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_led.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_ops.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/efuse/rtl8822b/HalEfuseMask8822B_USB.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_halmac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_api.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_dbg.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_common_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_efuse_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_flash_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_fw_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_gpio_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_init_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_mimo_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_usb_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_cfg_wmac_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_common_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_gpio_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_init_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_phy_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_pwr_seq_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_usb_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_debug.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_antdiv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_soml.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_smt_ant.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_antdect.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_interface.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_phystatus.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_hwconfig.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_dig.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_pathdiv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_rainfo.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_adaptivity.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_cfotracking.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_noisemonitor.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_beamforming.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_direct_bf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_dfs.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_adc_sampling.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_ccx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_psd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_primary_cca.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_cck_pd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_rssi_monitor.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_auto_dbg.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_math_lib.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_api.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_pow_train.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_lna_sat.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_pmac_tx_setting.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_mp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_cck_rx_pathdiv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_debug.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halphyrf_ce.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_powertracking_ce.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_powertracking.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_kfree.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_psd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/halhwimg8822b_bb.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/halhwimg8822b_mac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halrf_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/phydm_hal_api8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halhwimg8822b_rf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halrf_rfk_init_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/phydm_regconfig8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/phydm_rtl8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/haltxbf8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/btc/halbtc8822bwifionly.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/btc/halbtc8822b1ant.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/btc/halbtc8822b2ant.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/platform/platform_ops.o
  LD [M]  /usr/src/rtl88x2bu-5.13.1/88x2bu.o
  MODPOST /usr/src/rtl88x2bu-5.13.1/Module.symvers
  CC [M]  /usr/src/rtl88x2bu-5.13.1/88x2bu.mod.o
  LD [M]  /usr/src/rtl88x2bu-5.13.1/88x2bu.ko
make[1]: Leaving directory '/usr/src/linux-6.7.10-gentoo-dist'
install -p -m 644 88x2bu.ko  /lib/modules/6.7.10-gentoo-dist/kernel/drivers/net/wireless/
/sbin/depmod -a 6.7.10-gentoo-dist
make: /sbin/depmod: No such file or directory
make: *** [Makefile:2531: install] Error 127
Aborting, command failed: make install


Also including my emerge info:

Code:

richie ~ # emerge --info
Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.39-r2, 6.7.10-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.7.10-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-6500T_CPU_@_2.50GHz-with-glibc2.39
KiB Mem:    16101180 total,   3274080 free
KiB Swap:    4194300 total,   3948540 free
Timestamp of repository gentoo: Wed, 03 Apr 2024 16:00:00 +0000
Head commit of repository gentoo: ea19f6e0865927b1a83c9b00762f11715f9384a5
Timestamp of repository guru: Wed, 03 Apr 2024 11:33:14 +0000
Head commit of repository guru: eee01bba93ebc8c3c09708c8c5ee9e8179ea284f

Timestamp of repository kde: Tue, 02 Apr 2024 19:48:30 +0000
Head commit of repository kde: 12951b4219db219a521b7681acd3e72786952271

Timestamp of repository torbrowser: Mon, 01 Apr 2024 09:52:34 +0000
Head commit of repository torbrowser: 459d1cc5fb004788434875e7e61f17a49bb66f9a

Timestamp of repository wayland-desktop: Mon, 01 Apr 2024 09:52:50 +0000
Head commit of repository wayland-desktop: 189da9699530dc8cec92c08063824313a7e68f96

Timestamp of repository zugaina: Fri, 16 Jun 2023 08:32:15 +0000
Head commit of repository zugaina: a31fcec20b159a13ccd069d4e13b92d18bc0ffec

Head commit of repository librewolf: 8e73d83dd0962d61880d2a7afcadae8fd08a3456

sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.0::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.76.0-r1::gentoo
dev-lang/rust-bin:         1.76.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.2::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

zugaina
    location: /var/db/repos/zugaina
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/zugaina.git
    masters: gentoo
    volatile: False

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    priority: 50
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: http://mirror.clarkson.edu/gentoo/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-signing buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.clarkson.edu/gentoo/     http://www.gtlib.gatech.edu/pub/gentoo     https://mirrors.rit.edu/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j4 -l4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts egl elogind encode exif fbcon flac gdbm gif gles2 gnome gpm gstreamer gtk gui hpcups i915 iconv ipv6 jpeg kde lcms libnotify libtirpc lzma mad mng mp3 mp4 mpeg mplayer multilib ncurses networkmanager nftables nls ogg opengl openmp pam pango pcre pdf pipewire png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp sound spell split-usr ssl startup-notification svg test-rust text tiff truetype udev udisks unicode upower usb vorbis vpx vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

richie ~ #
Back to top
View user's profile Send private message
nicop
n00b
n00b


Joined: 10 Apr 2014
Posts: 41

PostPosted: Thu Apr 04, 2024 7:24 am    Post subject: Re: Problems installing wireless card Reply with quote

Richie75 wrote:

make: /sbin/depmod: No such file or directory

I see you use a profil with split-usr.

Maybe check if /sbin/depmod exists and verify $PATH
Code:
printenv PATH
Back to top
View user's profile Send private message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Thu Apr 04, 2024 7:37 am    Post subject: Reply with quote

This has been happening before I updated to profile 23.

Code:
richie ~ # printenv PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/18/bin:/usr/lib/llvm/17/bin


If I create a /sbin/depmod it still errors out but with a different message:

Code:

richie ~ # sh -c 'wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install'
URL transformed to HTTPS due to an HSTS policy
--2024-04-04 03:32:03--  https://deb.trendtechcn.com/install
Resolving deb.trendtechcn.com... 185.199.109.153, 185.199.110.153, 185.199.111.153, ...
Connecting to deb.trendtechcn.com|185.199.109.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18766 (18K) [application/octet-stream]
Saving to: ‘/tmp/install’

/tmp/install                                         100%[=====================================================================================================================>]  18.33K  --.-KB/s    in 0.02s   

2024-04-04 03:32:03 (880 KB/s) - ‘/tmp/install’ saved [18766/18766]

Package manager is: unknown
Installing prerequisites
Downloading the driver
2024-04-04 03:32:07 URL:https://linux.brostrend.com/rtl88x2bu-dkms.deb [4128584/4128584] -> "rtl88x2bu-dkms.deb" [1]
Installing and compiling the driver
Compiling without dkms...
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.7.10-gentoo-dist/build M=/usr/src/rtl88x2bu-5.13.1  modules
make[1]: Entering directory '/usr/src/linux-6.7.10-gentoo-dist'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210
  You are using:           gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_cmd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_security.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_debug.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_io.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ioctl_query.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ioctl_set.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ieee80211.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mlme.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mlme_ext.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mi.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_wlan_util.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_vht.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_pwrctrl.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_chplan.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/monitor/rtw_radiotap.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_recv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_sta_mgt.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ap.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/wds/rtw_wds.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/mesh/rtw_mesh.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_xmit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_p2p.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rson.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_tdls.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_br_ext.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_iol.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_sreset.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_btcoex_wifionly.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_btcoex.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_beamforming.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_odm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rm_fsm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_ft.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_wnm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_mbo.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_rm_util.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/efuse/rtw_efuse.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_roch.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-internal.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-internal-enc.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-gcm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-ccm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-omac1.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/ccmp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/gcmp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-siv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/aes-ctr.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/sha256-internal.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/sha256.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/sha256-prf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/crypto/rtw_crypto_wrap.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/core/rtw_swcrypto.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/osdep_service.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/os_intfs.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/usb_intf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/usb_ops_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/ioctl_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/xmit_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/mlme_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/recv_linux.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/wifi_regd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_android.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_proc.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/nlrtw.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/os_dep/linux/rtw_rhashtable.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_intf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_com.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_com_phycfg.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_phy.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_dm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_dm_acs.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_btcoex_wifionly.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_btcoex.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_mp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_mcc.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_hci/hal_usb.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/led/hal_led.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/led/hal_usb_led.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_halinit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_mac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_cmd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_phy.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/rtl8822b_ops.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/hal8822b_fw.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_halinit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_halmac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_io.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_xmit.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_recv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_led.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/rtl8822b/usb/rtl8822bu_ops.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/efuse/rtl8822b/HalEfuseMask8822B_USB.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/hal_halmac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_api.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_dbg.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_common_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_efuse_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_flash_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_fw_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_gpio_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_init_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_mimo_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_usb_88xx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_cfg_wmac_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_common_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_gpio_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_init_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_phy_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_pwr_seq_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/halmac/halmac_88xx/halmac_8822b/halmac_usb_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_debug.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_antdiv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_soml.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_smt_ant.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_antdect.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_interface.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_phystatus.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_hwconfig.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_dig.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_pathdiv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_rainfo.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_adaptivity.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_cfotracking.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_noisemonitor.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_beamforming.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_direct_bf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_dfs.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_adc_sampling.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_ccx.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_psd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_primary_cca.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_cck_pd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_rssi_monitor.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_auto_dbg.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_math_lib.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_api.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_pow_train.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_lna_sat.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_pmac_tx_setting.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_mp.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/phydm_cck_rx_pathdiv.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_debug.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halphyrf_ce.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_powertracking_ce.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_powertracking.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_kfree.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/halrf_psd.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/halhwimg8822b_bb.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/halhwimg8822b_mac.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halrf_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/phydm_hal_api8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halhwimg8822b_rf.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/halrf/rtl8822b/halrf_rfk_init_8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/phydm_regconfig8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/rtl8822b/phydm_rtl8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/phydm/txbf/haltxbf8822b.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/btc/halbtc8822bwifionly.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/btc/halbtc8822b1ant.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/hal/btc/halbtc8822b2ant.o
  CC [M]  /usr/src/rtl88x2bu-5.13.1/platform/platform_ops.o
  LD [M]  /usr/src/rtl88x2bu-5.13.1/88x2bu.o
  MODPOST /usr/src/rtl88x2bu-5.13.1/Module.symvers
  CC [M]  /usr/src/rtl88x2bu-5.13.1/88x2bu.mod.o
  LD [M]  /usr/src/rtl88x2bu-5.13.1/88x2bu.ko
make[1]: Leaving directory '/usr/src/linux-6.7.10-gentoo-dist'
install -p -m 644 88x2bu.ko  /lib/modules/6.7.10-gentoo-dist/kernel/drivers/net/wireless/
/sbin/depmod -a 6.7.10-gentoo-dist
make: /sbin/depmod: Permission denied
make: *** [Makefile:2531: install] Error 127
Aborting, command failed: make install
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1393
Location: Germany

PostPosted: Thu Apr 04, 2024 7:37 am    Post subject: Re: Problems installing wireless card Reply with quote

nicop wrote:
Richie75 wrote:

make: /sbin/depmod: No such file or directory

I see you use a profil with split-usr.]

Not really. You can only tell if /sbin/ is a symlink: https://wiki.gentoo.org/wiki/Merge-usr

Is https://packages.gentoo.org/packages/sys-apps/kmod installed? It really should already....

If you did usr-merge (https://wiki.gentoo.org/wiki/Merge-usr) make sure you did everything.
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
nicop
n00b
n00b


Joined: 10 Apr 2014
Posts: 41

PostPosted: Thu Apr 04, 2024 7:44 am    Post subject: Re: Problems installing wireless card Reply with quote

Richie75 wrote:

richie ~ # emerge --info
Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.39-r2, 6.7.10-gentoo-dist x86_64)

I deduce a split-usr profile.

Richie75 wrote:

If I create a /sbin/depmod it still errors out but with a different message:

What do you mean with "create" ? Do not copy /usr/bin/depmod to /sbin/depmod. Just check symlink.
Back to top
View user's profile Send private message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Thu Apr 04, 2024 10:53 am    Post subject: Reply with quote

There is no /usr/bin/depmod nor /sbin/depmod directory
Back to top
View user's profile Send private message
nicop
n00b
n00b


Joined: 10 Apr 2014
Posts: 41

PostPosted: Thu Apr 04, 2024 11:45 am    Post subject: Reply with quote

Richie75 wrote:
There is no /usr/bin/depmod nor /sbin/depmod directory


Directories no, depmod is a file.

As @Banana said, sys-apps/kmod is installed ?

It seems sys-apps/kmod-32-r1 doesn't provide /sbin/depmod anymore (https://www.portagefilelist.de/?fs=depmod, even with split-usr https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/kmod/kmod-32-r1.ebuild#n102)

Create a symlink /usr/bin/depmod -> /sbin/depmod if your external package need it by hard-coding.
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1393
Location: Germany

PostPosted: Thu Apr 04, 2024 12:01 pm    Post subject: Reply with quote

nicop wrote:
It seems sys-apps/kmod-32-r1 doesn't provide /sbin/depmod anymore (https://www.portagefilelist.de/?fs=depmod, even with split-usr https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/kmod/kmod-32-r1.ebuild#n102)


portagefilelist does only list the files it "finds". kernel/kmod/kmod.git does list depmod in it latest version. https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/tools?h=v32

So it should provide the command.
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Thu Apr 04, 2024 12:13 pm    Post subject: Reply with quote

Yes, sys-apps/kmod is installed and has split-user USE flag enabled. I'll create the symlink and see what happens.
Back to top
View user's profile Send private message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Thu Apr 04, 2024 12:20 pm    Post subject: Reply with quote

Driver installation successful after creating the symbolic link.

Thank you very much for your help. I really appreciate it.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21650

PostPosted: Thu Apr 04, 2024 2:02 pm    Post subject: Reply with quote

What wireless card is this that you would use a curlpipesh to install it? Many wireless cards are natively supported in the kernel, and for those that are not, the driver ought to be brought in through a Portage package.
Back to top
View user's profile Send private message
nicop
n00b
n00b


Joined: 10 Apr 2014
Posts: 41

PostPosted: Thu Apr 04, 2024 2:18 pm    Post subject: Reply with quote

Your kernel (6.7) provides already a mainline driver for rtw8822bu no ?

Quote:
commit fba119cee1412f49c472f3913241d00f830761fd
Merge: 26f708a28454d 832c3f66f53f1
Author: Jakub Kicinski <kuba@kernel.org>
Date: Mon Dec 12 12:15:23 2022 -0800

Merge tag 'wireless-next-2022-12-12' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next

Kalle Valo says:

====================
wireless-next patches for v6.2

Fourth set of patches for v6.2. Few final patches, a big change is
that rtw88 now has USB support.

Major changes:

rtw88
* support USB devices rtw8821cu, rtw8822bu, rtw8822cu and rtw8723du


Last edited by nicop on Thu Apr 04, 2024 2:21 pm; edited 3 times in total
Back to top
View user's profile Send private message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Thu Apr 04, 2024 2:19 pm    Post subject: Reply with quote

Card is a BrosTrend AC1200 wifi adapter Model #AC1
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1663

PostPosted: Thu Apr 04, 2024 2:32 pm    Post subject: Reply with quote

From the filenames, my guess would be this is the rtw88 driver in the kernel. Outside files may not be necessary.
Back to top
View user's profile Send private message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Thu Apr 04, 2024 2:43 pm    Post subject: Reply with quote

The card did not work until after the drivers were installed and I'm using a binary kernel so nothing has been modified
Back to top
View user's profile Send private message
nicop
n00b
n00b


Joined: 10 Apr 2014
Posts: 41

PostPosted: Fri Apr 05, 2024 7:07 am    Post subject: Reply with quote

Did you try unloading external 88x2bu (rmmod -f 88x2bu) and loading kernel driver rtw8822bu (modprobe rtw8822bu) ?
Back to top
View user's profile Send private message
Richie75
n00b
n00b


Joined: 11 Jun 2023
Posts: 40

PostPosted: Fri Apr 05, 2024 4:34 pm    Post subject: Reply with quote

I don't want to do that knowing the card is now working unless these changes won't break anything
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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