Search Linux Wireless

Re: wifi problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/20/22 22:06, bommy985 wrote:
I have a laptop with a rtw8852be wifi card, and i was using your
driver to get wifi on my system, come an update, I was required to
redo the installation in order to have it again. however, when doing
sudo make install,
make -C /lib/modules/5.19.2-arch1-1/build M=/home/bommy/rtw8852be modules
make[1]: Entering directory '/usr/lib/modules/5.19.2-arch1-1/build'
make[1]: Leaving directory '/usr/lib/modules/5.19.2-arch1-1/build'
make -C /lib/modules/5.19.2-arch1-1/build M=/home/bommy/rtw8852be modules
make[1]: Entering directory '/usr/lib/modules/5.19.2-arch1-1/build'
make[1]: Leaving directory '/usr/lib/modules/5.19.2-arch1-1/build'
cp: cannot stat 'rtl8852au*.bin': No such file or directory

  this is the only logging that is produced, doing sudo make install -B
when i do a B flag
[bommy@bommy-laptop rtw8852be]$ sudo make install -B
make -C /lib/modules/5.19.2-arch1-1/build M=/home/bommy/rtw8852be modules
make[1]: Entering directory '/usr/lib/modules/5.19.2-arch1-1/build'
  CC [M]  /home/bommy/rtw8852be/core.o
  CC [M]  /home/bommy/rtw8852be/mac80211.o
  CC [M]  /home/bommy/rtw8852be/mac.o
  CC [M]  /home/bommy/rtw8852be/phy.o
  CC [M]  /home/bommy/rtw8852be/fw.o
  CC [M]  /home/bommy/rtw8852be/cam.o
  CC [M]  /home/bommy/rtw8852be/efuse.o
  CC [M]  /home/bommy/rtw8852be/regd.o
  CC [M]  /home/bommy/rtw8852be/sar.o
  CC [M]  /home/bommy/rtw8852be/coex.o
  CC [M]  /home/bommy/rtw8852be/ps.o
  CC [M]  /home/bommy/rtw8852be/debug.o
  CC [M]  /home/bommy/rtw8852be/ser.o
  LD [M]  /home/bommy/rtw8852be/rtw89core.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a_table.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a_rfk.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a_rfk_table.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852a.o
  CC [M]  /home/bommy/rtw8852be/rtw8852ae.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852ae.o
  CC [M]  /home/bommy/rtw8852be/pci.o
  LD [M]  /home/bommy/rtw8852be/rtw89pci.o
WARNING: Symbol version dump "Module.symvers" is missing.
         Modules may not have dependencies or modversions.
         You may get many unresolved symbol warnings.
  MODPOST /home/bommy/rtw8852be/Module.symvers
  CC [M]  /home/bommy/rtw8852be/rtw89core.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw89core.ko
  BTF [M] /home/bommy/rtw8852be/rtw89core.ko
  CC [M]  /home/bommy/rtw8852be/rtw89pci.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw89pci.ko
  BTF [M] /home/bommy/rtw8852be/rtw89pci.ko
  CC [M]  /home/bommy/rtw8852be/rtw_8852a.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852a.ko
  BTF [M] /home/bommy/rtw8852be/rtw_8852a.ko
  CC [M]  /home/bommy/rtw8852be/rtw_8852ae.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852ae.ko
  BTF [M] /home/bommy/rtw8852be/rtw_8852ae.ko
make[1]: Leaving directory '/usr/lib/modules/5.19.2-arch1-1/build'
cp: cannot stat 'rtl8852au*.bin': No such file or directory

this is produced


it should be noted that when trying to modprobe it
[bommy@bommy-laptop rtw8852be]$ sudo modprobe -v 8852be
insmod /lib/modules/5.19.2-arch1-1/kernel/drivers/net/wireless/8852be.ko
modprobe: ERROR: could not insert '8852be': Exec format error
[bommy@bommy-laptop rtw8852be]$ ^C
this is produced

it should be noted that no errors are seen in the make process
[bommy@bommy-laptop rtw8852be]$ make
make -C /lib/modules/5.19.2-arch1-1/build M=/home/bommy/rtw8852be modules
make[1]: Entering directory '/usr/lib/modules/5.19.2-arch1-1/build'
  CC [M]  /home/bommy/rtw8852be/core.o
  CC [M]  /home/bommy/rtw8852be/mac80211.o
  CC [M]  /home/bommy/rtw8852be/mac.o
  CC [M]  /home/bommy/rtw8852be/phy.o
  CC [M]  /home/bommy/rtw8852be/fw.o
  CC [M]  /home/bommy/rtw8852be/cam.o
  CC [M]  /home/bommy/rtw8852be/efuse.o
  CC [M]  /home/bommy/rtw8852be/regd.o
  CC [M]  /home/bommy/rtw8852be/sar.o
  CC [M]  /home/bommy/rtw8852be/coex.o
  CC [M]  /home/bommy/rtw8852be/ps.o
  CC [M]  /home/bommy/rtw8852be/debug.o
  CC [M]  /home/bommy/rtw8852be/ser.o
  LD [M]  /home/bommy/rtw8852be/rtw89core.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a_table.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a_rfk.o
  CC [M]  /home/bommy/rtw8852be/rtw8852a_rfk_table.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852a.o
  CC [M]  /home/bommy/rtw8852be/rtw8852ae.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852ae.o
  CC [M]  /home/bommy/rtw8852be/pci.o
  LD [M]  /home/bommy/rtw8852be/rtw89pci.o
  MODPOST /home/bommy/rtw8852be/Module.symvers
  CC [M]  /home/bommy/rtw8852be/rtw89core.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw89core.ko
  BTF [M] /home/bommy/rtw8852be/rtw89core.ko
  CC [M]  /home/bommy/rtw8852be/rtw89pci.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw89pci.ko
  BTF [M] /home/bommy/rtw8852be/rtw89pci.ko
  CC [M]  /home/bommy/rtw8852be/rtw_8852a.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852a.ko
  BTF [M] /home/bommy/rtw8852be/rtw_8852a.ko
  CC [M]  /home/bommy/rtw8852be/rtw_8852ae.mod.o
  LD [M]  /home/bommy/rtw8852be/rtw_8852ae.ko
  BTF [M] /home/bommy/rtw8852be/rtw_8852ae.ko
make[1]: Leaving directory '/usr/lib/modules/5.19.2-arch1-1/build'

  this log is produced, which dosent look like errors on my end, but
interpret that as
you will


please fix this...or lead me somewhere where i can, i use this laptop
for school where i cant carry an ethernet cable around...
thanks for driver
bommy


That was my mistake. I removed the BT firmware from rtw89 as it belongs in the rtw89-BT repo that I also maintain, but I forgot the copy in the Makefile.

Do a 'git pull' and 'sudo make install' again. It will now work.

As to the error you get when loading a module. That usually means that your kernel headers do not match your running kernel, but you need to look at the output of the dmesg command to tell for sure.

Larry




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux