1 1
ap17

WiFi access point (hostapd) with kernel 4.18 and 4.19.

Recommended Posts

Has anyone had the following error when using kernel 4.18 and 19?

1. Start hostapd (with or without dhcpd)

2. Try connecting via WiFi

3. Result...

----------------------------------------------

Aug 01 15:06:24 P2E vmunix: [ 5553.586947] ------------[ cut here ]------------

Aug 01 15:06:24 P2E vmunix: [ 5553.591573] kernel BUG at mm/slub.c:3902!

Aug 01 15:06:24 P2E vmunix: [ 5553.595577] Internal error: Oops - BUG: 0 [#1] SMP ARM

Aug 01 15:06:24 P2E vmunix: [ 5553.600707] Modules linked in: cpufreq_userspace realtek sy8106a_regulator evdev dwmac_sun8i mdio_mux stmmac_platform stmmac i2c_mv64xxx sun8i_ths ptp 8189fs sunxi_wdt cfg80211 rfkill cpufreq_dt gpio_keys thermal_sys uio_pdrv_genirq uio ip_tables x_tables

Aug 01 15:06:24 P2E vmunix: [ 5553.623305] CPU: 2 PID: 668 Comm: RTW_CMD_THREAD Not tainted 4.19.0-rc1-H23.a1 #1

Aug 01 15:06:24 P2E vmunix: [ 5553.630775] Hardware name: Allwinner sun8i Family

Aug 01 15:06:24 P2E vmunix: [ 5553.635481] PC is at kfree+0xfc/0x140

Aug 01 15:06:24 P2E vmunix: [ 5553.639233] LR is at nl80211_send_station+0xb10/0xc80 [cfg80211]

Aug 01 15:06:24 P2E vmunix: [ 5553.645229] pc : [<c0135f04>]    lr : [<bf09710c>]    psr: 40000013

Aug 01 15:06:24 P2E vmunix: [ 5553.651483] sp : ed193dc8  ip : 00000008  fp : ecfaa030

Aug 01 15:06:24 P2E vmunix: [ 5553.656697] r10: ecfaa168  r9 : 00000000  r8 : ed193e50

Aug 01 15:06:24 P2E vmunix: [ 5553.661912] r7 : ed193de0  r6 : ecffd840  r5 : c082ae88  r4 : ecfaa014

Aug 01 15:06:24 P2E vmunix: [ 5553.668428] r3 : eee44b78  r2 : eee44b74  r1 : 00000024  r0 : c0135f40

Aug 01 15:06:24 P2E vmunix: [ 5553.674944] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none

Aug 01 15:06:24 P2E vmunix: [ 5553.682067] Control: 10c5387d  Table: 6cda006a  DAC: 00000051

Aug 01 15:06:24 P2E vmunix: [ 5553.687808] Process RTW_CMD_THREAD (pid: 668, stack limit = 0x68dce8d5)

Aug 01 15:06:24 P2E vmunix: [ 5553.694410] Stack: (0xed193dc8 to 0xed194000)

Aug 01 15:06:24 P2E vmunix: [ 5553.698763] 3dc0:                   00000005 00000013 ecfaa014 c082ae88 00000012 ecfaa034

Aug 01 15:06:24 P2E vmunix: [ 5553.706929] 3de0: e598c000 e3a010c0 00000000 3085c00e 00000000 ee707800 00480020 ee7071a0

Aug 01 15:06:24 P2E vmunix: [ 5553.715094] 3e00: ed193e50 ecffd840 00000000 ed2efe8a f0db4108 bf09741c 00000000 ee707000

Aug 01 15:06:24 P2E vmunix: [ 5553.723260] 3e20: ee707800 ed2efe8a ed193e50 bf10b294 c082ae88 0000001c 00000000 00000000

Aug 01 15:06:24 P2E vmunix: [ 5553.731425] 3e40: f0db40f8 00080416 ed192000 bf11ac28 00000000 00000000 c082ae88 00060040

Aug 01 15:06:24 P2E vmunix: [ 5553.739590] 3e60: 00000002 01d40801 00000000 3085c00e 00000001 f0db3000 00000001 c082ae88

Aug 01 15:06:24 P2E vmunix: [ 5553.747754] 3e80: 00000007 bf0d79e0 00000001 bf13c8a4 ed192000 00000001 00210d00 00060040

Aug 01 15:06:24 P2E vmunix: [ 5553.755919] 3ea0: c082ae88 ed2f4180 ee472000 c082ae88 00000006 00000000 ed2efe9c 00000038

Aug 01 15:06:24 P2E vmunix: [ 5553.764084] 3ec0: 00000000 00000000 f0db4108 3085c00e f0e1d074 ee401d00 ed193ef8 00012785

Aug 01 15:06:24 P2E vmunix: [ 5553.772249] 3ee0: ed2efe80 f0db40f8 00080416 ed192000 f0db4108 c0135f40 00000001 bf0de80c

Aug 01 15:06:24 P2E vmunix: [ 5553.780414] 3f00: f0db40f8 3085c00e f0e1d074 f0db3000 f0e1d074 00000054 ed2efe80 bf0de838

Aug 01 15:06:24 P2E vmunix: [ 5553.788579] 3f20: 00000058 ee5c7a00 f0db3000 bf173990 f0db40f8 bf0ed70c ecca40c0 f0db3000

Aug 01 15:06:24 P2E vmunix: [ 5553.796745] 3f40: f0db4118 f0db4000 f0db40f8 bf0ccbc4 ffffe000 bf0ed698 f0db4144 ee5c7a00

Aug 01 15:06:24 P2E vmunix: [ 5553.804910] 3f60: ffffe000 ed368b80 ece06980 00000000 ed192000 f0db3000 bf0cc8dc ed368b9c

Aug 01 15:06:24 P2E vmunix: [ 5553.813075] 3f80: ed5cd864 c0045244 000000af ece06980 c0045124 00000000 00000000 00000000

Aug 01 15:06:24 P2E vmunix: [ 5553.821239] 3fa0: 00000000 00000000 00000000 c00090e8 00000000 00000000 00000000 00000000

Aug 01 15:06:24 P2E vmunix: [ 5553.829403] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Aug 01 15:06:24 P2E vmunix: [ 5553.837569] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000

Aug 01 15:06:24 P2E vmunix: [ 5553.845741] [<c0135f04>] (kfree) from [<3085c00e>] (0x3085c00e)

Aug 01 15:06:24 P2E vmunix: [ 5553.851655] Code: 1a000003 e5923004 e3130001 1a000000 (e7f001f2)

Aug 01 15:06:24 P2E vmunix: [ 5553.857742] ---[ end trace 964b2ab036abba84 ]---

----------------------------------------------

I solved this problem and can share the result.

Share this post


Link to post
Share on other sites
On 9/19/2018 at 4:55 PM, ap17 said:

Has anyone had the following error when using kernel 4.18 and 19?


Can't reproduce with our 4.18.y kernel hostapd combo (upgraded from 4.14.y) ... I tried with onboard Broadcom wireless (Bananapi M2+) and Alfa AC via USB. In both cases, I didn't have any troubles. Logs can be observed here: http://ix.io/1naG

Share this post


Link to post
Share on other sites
2 hours ago, ant333 said:

Same on OrangePi R1 after update to ARMBIAN 5.70.

Anybody found solution?


Workaround is by switching to kernel 4.14.y and freeze kernel upgrades. armbian-config -> system

Share this post


Link to post
Share on other sites

Hi! I did not understand what you mean. I do not use OS Armbian and don't know what Armbian-5.70 is. But if we are talking about a problem found in the drivers RT 8189es, 8189fs, 8188eu, 8812au, then after applying the proposed patch, the mentioned drivers are used and work fine from 4.18 up to 5.0 on  O.Pi. Zero (88eu), R1 (89es?fs), Lite (89es?fs), PC (eu, au), PC+ (89es?fs), Plus2e (fs). There is no time to check it on O.Pi Prime with its 8723bs. October 29, 2018 I sent the"patches" to user KKJ (vanilla 4.19 O.Pi Lite board) and he replies me that this solved his problem.

Share this post


Link to post
Share on other sites
1 hour ago, ap17 said:

I do not use OS Armbian and don't know what Armbian-5.70 is.

 

This is Armbian forum so one would assume you use kernel with our patches.

 

1 hour ago, ap17 said:

and he replies me that this solved his problem.


Can we also be a part of this joy?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1