Jump to content


andrearossidec1

Member Since 28 Jan 2016
Offline Last Active 31 May 2018 20:55
-----

Posts I've Made

In Topic: OpenPLI 6.2: realtek 802.11n or rtl8xxxu

31 May 2018 - 20:57

Nothing much we can do about, I'm afraid, it looks like the kernel module crashes on load.

Do not worry, thank you very much for your support. Have a nice day :)


In Topic: OpenPLI 6.2: realtek 802.11n or rtl8xxxu

30 May 2018 - 18:20

According to the defconfig in the BSP, the Zgemma H5 should have the rtl8xxxu driver as well?

 

Unfortunately, there is still a problem

Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Unhandled kernel unaligned access[#1]:
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] CPU: 0 PID: 259 Comm: modprobe Tainted: GF          O    4.10.12 #1
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] task: af4786c0 task.stack: af644000
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $ 0   : 00000000 10008700 ffffffff adee8f14
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $ 4   : af645ac8 0000ffff 80514f20 00673e9c
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $ 8   : 00000134 81486480 00000000 00000000
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $12   : 00000000 00000000 00000000 00000000
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $16   : ffffffff 000000f0 adee8f0c 00000003
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $20   : af645ac8 00010000 8092c840 adee8d80
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $24   : 00000014 8005f308                  
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] $28   : af644000 af645ab8 0000001f 807a3258
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Hi    : 00000000
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Lo    : 00000000
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] epc   : 807a3268 __mutex_unlock_slowpath.isra.1+0x148/0x1e8
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] ra    : 807a3258 __mutex_unlock_slowpath.isra.1+0x138/0x1e8
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Status: 10008703    KERNEL EXL IE 
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Cause : 00800010 (ExcCode 04)
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] BadVA : 00000007
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] PrId  : 0002a065 (Broadcom BMIPS4380)
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Modules linked in: rtl8xxxu(+) mac80211 h5(FO) h5_3(O) h5_2(O) h5_1(O)
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Process modprobe (pid: 259, threadinfo=af644000, task=af4786c0, tls=771d5490)
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Stack : 803cbf74 8009507c adee8400 e1d1ddc4 00000001 af645ac8 00000004 0c441135
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000]         000000f0 af45b400 adee8f0c 00000004 af45a200 e1d1de6c adee8d80 e1d0e6fc
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000]         af677100 00000005 00000000 adee8160 000000f0 00000000 adee8f1c 00000004
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000]         000001f4 80506c68 adee8400 af45a200 af45b470 af45b400 e1d10000 e1d110cc
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000]         80940000 00000000 00000000 af4ba280 af6769b0 80940000 00000000 801b4d80
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000]         ...
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Call Trace:
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<807a3268>] __mutex_unlock_slowpath.isra.1+0x148/0x1e8
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<e1d0e6fc>] rtl8xxxu_read32+0xa0/0x104 [rtl8xxxu]
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<e1d110cc>] rtl8xxxu_probe+0x2ac/0x2494 [rtl8xxxu]
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<8051a404>] usb_probe_interface+0x150/0x2b4
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<80444ec4>] driver_probe_device+0x258/0x38c
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<804450d0>] __driver_attach+0xd8/0xe0
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<80442d14>] bus_for_each_dev+0x68/0xb0
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<804441f8>] bus_add_driver+0x124/0x260
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<80445ba4>] driver_register+0x84/0x128
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<80518798>] usb_register_driver+0x80/0x18c
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<e1d25030>] rtl8xxxu_module_init+0x30/0x64 [rtl8xxxu]
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<800015d8>] do_one_initcall+0x44/0x18c
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<800cc080>] do_init_module+0x74/0x1d4
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<800b3648>] load_module+0x2450/0x26f8
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<800b3b7c>] SyS_finit_module+0xc8/0xe8
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] [<80015d84>] syscall_common+0x34/0x58
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] Code: 26430008  10620027  02802025 <8c570008> 0c014caa  02e02825  8e500000  1000000a  3c150001 
Jan  1 01:00:25 h5 user.warn kernel: [    9.808000] 
Jan  1 01:00:25 h5 user.warn kernel: [    9.810000] ---[ end trace f4c3fc8265235085 ]---
Jan  1 01:00:25 h5 user.info kernel: [   10.004000] Console: switching to colour dummy device 80x25
Jan  1 01:00:25 h5 user.debug kernel: [   12.801000] __clk_enable: network [1]
Jan  1 01:00:25 h5 user.debug kernel: [   12.801000] __clk_enable: enet [1]

In Topic: OpenPLI 6.2: realtek 802.11n or rtl8xxxu

28 May 2018 - 15:28

No, I don't. The kernel dictates which drivers are supported, and which version of the driver.

 

In general, linux supports chipset drivers instead of vendor drivers, so when new vendors appear, the USB id of the new device needs to be added to the driver. Which is the reason older versions don't work even if the chipset driver is present.

 

I have another question. On standard GNU/linux operating system as ubuntu/debian/arch, the USB wifi card works well both with linux kernel 4.13.0-x and 4.10.0-x. OpenPLI 6.2 has linux kernel 4.10.12 and so it should have the proper driver. Does openPLI use different linux kernel i.e. with different driver support?
 

ubuntu: lshw
-network:0
       description: Wireless interface
       physical id: 1
       bus info: usb@3:2.1
       logical name: wlx7c8bca14de1b
       serial:
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8xxxu driverversion=4.13.0-43-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11

*-network
       description: Wireless interface
       physical id: 2
       bus info: usb@2:2
       logical name: wlx7c8bca14de1b
       serial:
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8xxxu driverversion=4.10.0-37-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11

In Topic: OpenPLI 6.2: realtek 802.11n or rtl8xxxu

28 May 2018 - 07:26

What issue?

I had a similar issue with different USB wifi card TL-WN823N V2 or rtl8192eu with openPLI 6.x image.

You also answered there, but it still does not work. Do you have a further advice with respect to two months ago?

Thank you


In Topic: OpenPLI 6.2: realtek 802.11n or rtl8xxxu

27 May 2018 - 14:33

 

It looks like it loads the driver just fine, it just can't find the firmware. Which I added on March 24th: https://github.com/O...re-rtl8192eu.bb

 

You could try:

opkg install firmware-rtl8192eu

 

Thank you very much, it worked.

 

P.S.

Do you have any idea about how to solve also this issue?