@dingxmhan 大佬解决了吗,我也遇到同样问题
J
junchao82 发布的帖子
-
回复: 哪吒D1 wifi无法使用
@tigger 谢了兄弟,但常见问题里我看见我这种问题,我尝试手动加载驱动
root@sipeed:~# modprobe xradio_wlan [ 6650.755577] ======== XRADIO WIFI OPEN ======== [ 6650.760569] ieee80211_init failed (-12)! modprobe: ERROR: could not insert 'xr829': Cannot allocate memory [ 6652.046927] ======== XRADIO WIFI OPEN ======== [ 6652.051987] ieee80211_init failed (-12)! modprobe: ERROR: could not insert 'xr829': Cannot allocate memory root@sipeed:~# modprobe xr829 [ 6672.194738] ======== XRADIO WIFI OPEN ======== [ 6672.199701] ieee80211_init failed (-12)! modprobe: ERROR: could not insert 'xr829': Cannot allocate memory root@sipeed:~# root@sipeed:~# free -h total used free shared buff/cache available Mem: 992Mi 129Mi 692Mi 4.0Mi 171Mi 842Mi Swap: 0B 0B 0B
root@sipeed:~# lsmod Module Size Used by xt_time 3611 0 xt_multiport 2532 0 xt_mark 1574 0 xt_mac 1439 0 xt_limit 2828 0 xt_comment 1261 0 xt_TCPMSS 4100 0 xt_LOG 1740 0 uvcvideo 128608 0 videobuf2_vmalloc 7487 1 uvcvideo videobuf2_memops 1796 1 videobuf2_vmalloc iptable_filter 1804 0 ipt_REJECT 2687 0 fuse 152485 1
-
哪吒D1 wifi无法使用
环境
- 硬件:淘宝官方店,哪吒D1开发板,标准套餐
- 软件:出厂系统
问题
刚拿到手的板子
插上带有出厂系统的sd卡,启动进入系统后ifcofnig -a 看不见wlan0
root@sipeed:~# ifconfig -a eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether da:76:5d:c1:dc:73 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 62 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 8 bytes 400 (400.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 400 (400.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 sit0: flags=128<NOARP> mtu 1480 sit txqueuelen 1000 (IPv6-in-IPv4) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
使用dmesg查看信息发现有错误
[ OK ] Found device /dev/ttyS0. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ 12.752874] systemd-journald[97]: Failed to read journal file /var/log/journal/d6cf2e6523464ceab62681de06d93957/user-1000.journal for rotation, trying to move it out of the way: Text file busy [ OK ] Reached target Hardware activated USB gadget. [ 14.208719] ======== XRADIO WIFI OPEN ======== [ 14.257684] ieee80211_init failed (-12)! [ 14.527369] usbcore: registered new interface driver uvcvideo [ 14.655469] USB Video Class driver (1.1.1) [ 14.844483] xt_time: kernel timezone is -0000 [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. [ OK ] Finished Helper to synchronize boot up for ifupdown. [ OK ] Listening on Load/Save RF ??itch Status /dev/rfkill Watch. Starting Load Kernel Modules... Starting Load/Save RF Kill Switch Status... [ 15.753880] sunxi-rfkill soc@3000000:rfkill@0: block state already is 1 [ OK ] Started Load/Save RF Kill Switch Status. [ 16.964979] ======== XRADIO WIFI OPEN ======== [ 16.969944] ieee80211_init failed (-12)! [ 17.054932] Error: Driver 'gt9xxnew_ts' is already registered, aborting... [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. Starting Apply Kernel Variables... [ OK ] Finished Apply Kernel Variables. [ OK ] Reached target System Initialization. [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Started Periodic ext4 Onli??ata Check for All Filesystems. [ OK ] Started Discard unused blocks once a week. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily man-db regeneration. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Save/Restore Sound Card State... [ OK ] Started Regular background program processing daemon. [ OK ] Started D-Bus System Message Bus. Starting Connection service...
兄弟们帮忙看看,是不是硬件有问题