Real-time linux kernel
#46
Hi, I set kernel  features is Preemption Model (Fully Preemptible Kernel (RT))  --> 
start the  kernel and install rtl8723bs.ko, config wifi is AP mode.
Use my phone connect pine64 wifi have a bug follows:



BUG: failure at kernel/rtmutex.c:875/rt_spin_lock_slowlock()!
[  193.261966] Kernel panic - not syncing: BUG! Act:    8 Avg:    7 Max:      11
[  193.261973] CPU: 0 PID: 1066 Comm: RTW_CMD_THREAD Not tainted 3.10.65-7-pine64-rt69 #10
[  193.261976] Call trace:C:   6038 Min:      6 Act:    8 Avg:    7 Max:      11
[  193.261990] [<ffffffc000088734>] dump_backtrace+0x0/0x114g:    7 Max:      10
[  193.261995] [<ffffffc000088868>] show_stack+0x20/0x30
[  193.262001] [<ffffffc000771da8>] dump_stack+0x1c/0x28
[  193.262007] [<ffffffc000770308>] panic+0xf4/0x224
[  193.262014] [<ffffffc000776174>] rt_spin_lock_slowlock+0x10c/0x2d4
[  193.262018] [<ffffffc000776a50>] rt_spin_lock+0x1c/0x2c
[  193.262024] [<ffffffc00056bcfc>] sunxi_mmc_irq+0x34/0x540
[  193.262030] [<ffffffc000127158>] handle_irq_event_percpu+0xc8/0x24c
[  193.262034] [<ffffffc000127354>] handle_irq_event+0x78/0xa8
[  193.262039] [<ffffffc00012a924>] handle_fasteoi_irq+0xb0/0x12c
[  193.262043] [<ffffffc0001267cc>] generic_handle_irq+0x34/0x48
[  193.262048] [<ffffffc0000848e4>] handle_IRQ+0x88/0xac
[  193.262052] [<ffffffc000081410>] gic_handle_irq+0x58/0x88
[  193.262054] Exception stack(0xffffffc07520b810 to 0xffffffc07520b930)
[  193.262059] b800:                                     766f2738 ffffffc0 80000174 00000000
[  193.262064] b820: 7520b950 ffffffc0 00776a9c ffffffc0 766f2738 ffffffc0 92045402 00000000
[  193.262070] b840: 766f2740 ffffffc0 00000001 00000000 00000002 00000000 00000000 00000000
[  193.262075] b860: 75208000 ffffffc0 ff4f308b 0000002c 76771100 ffffffc0 7520b750 ffffffc0
[  193.262080] b880: 00000007 00000000 00000002 00000000 00809000 ffffffc0 00000000 ffff0000
[  193.262086] b8a0: 35004be1 01ba3400 00000033 00000000 00000001 00000000 00809000 ffffffc0
[  193.262091] b8c0: 00000007 00000000 766f2738 ffffffc0 80000174 00000000 00000000 00000000
[  193.262097] b8e0: 766f2000 ffffffc0 766f2000 ffffffc0 7520ba90 ffffffc0 7520bb30 ffffffc0
[  193.262102] b900: 766f2738 ffffffc0 0001bbc6 00000000 00000000 00000000 7520b950 ffffffc0
[  193.262106] b920: 0056d8c4 ffffffc0 7520b950 ffffffc0
[  193.262110] [<ffffffc000083dbc>] el1_irq+0x7c/0xf0
[  193.262114] [<ffffffc00056d8c0>] sunxi_mmc_request+0x5ac/0x5f8
[  193.262118] [<ffffffc000558f28>] mmc_start_request+0x11c/0x12c
[  193.262122] [<ffffffc000559094>] mmc_wait_for_req+0x74/0xd8
[  193.262126] [<ffffffc000559164>] mmc_wait_for_cmd+0x6c/0x84
[  193.262132] [<ffffffc000564294>] mmc_io_rw_direct_host+0xf0/0x150
[  193.262136] [<ffffffc000564464>] mmc_io_rw_direct+0x80/0x98
[  193.262141] [<ffffffc000566400>] sdio_writeb+0x74/0x90
[  193.262232] [<ffffffbffc049388>] sd_write8+0x68/0x9c [8723bs]
[  193.262320] [<ffffffbffc085ad4>] sdio_write8+0x48/0x60 [8723bs]
[  193.262380] [<ffffffbffc00cfbc>] _rtw_write8+0x38/0x50 [8723bs]
[  193.262464] [<ffffffbffc07e4fc>] SetHwReg8723B+0x11c8/0x1400 [8723bs]
[  193.262547] [<ffffffbffc0825dc>] SetHwReg8723BS+0xa8/0xbc [8723bs]
[  193.262631] [<ffffffbffc061d3c>] rtw_hal_set_hwreg+0x34/0x48 [8723bs]
[  193.262696] [<ffffffbffc01f33c>] send_beacon+0x50/0x144 [8723bs]
[  193.262761] [<ffffffbffc023564>] tx_beacon_hdl+0x1c/0x48 [8723bs]
[  193.262818] [<ffffffbffc000c38>] rtw_cmd_thread+0x28c/0x3c0 [8723bs]
[  193.262824] [<ffffffc0000d64e8>] kthread+0xa0/0xac
[  193.262830] CPU1: stopping
[  193.262835] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.65-7-pine64-rt69 #10
[  193.262837] Call trace:
[  193.262844] [<ffffffc000088734>] dump_backtrace+0x0/0x114
[  193.262849] [<ffffffc000088868>] show_stack+0x20/0x30
[  193.262853] [<ffffffc000771da8>] dump_stack+0x1c/0x28
[  193.262858] [<ffffffc000091100>] handle_IPI+0xcc/0x164
[  193.262862] [<ffffffc000081428>] gic_handle_irq+0x70/0x88
[  193.262864] Exception stack(0xffffffc076603e40 to 0xffffffc076603f60)
[  193.262870] 3e40: 76600000 ffffffc0 00000e12 00000000 76603f80 ffffffc0 00085294 ffffffc0
[  193.262876] 3e60: ffffffed 00000000 00000000 00000000 7af886c4 ffffffc0 00010000 00000000
[  193.262881] 3e80: 7536fda8 ffffffc0 00000000 00000000 29aaaaab 00000000 00000018 00000000
[  193.262886] 3ea0: d8706180 0039d106 76603db0 ffffffc0 00000000 00000000 00000000 00000000
[  193.262892] 3ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
[  193.262897] 3ee0: 000d5f14 ffffffc0 004b0000 00000000 004a7000 00000000 76600000 ffffffc0
[  193.262903] 3f00: 00000e12 00000000 00c76780 ffffffc0 00c3e7ea ffffffc0 00c3e000 ffffffc0
[  193.262908] 3f20: 41000000 00000000 41d3d000 00000000 41d3f000 00000000 00080260 ffffffc0
[  193.262914] 3f40: 41000000 00000040 76603f80 ffffffc0 00085290 ffffffc0 76603f80 ffffffc0
[  193.262918] [<ffffffc000083dbc>] el1_irq+0x7c/0xf0
[  193.262924] [<ffffffc0000fa948>] cpu_startup_entry+0x1b8/0x214
[  193.262931] [<ffffffc00076d0b4>] secondary_start_kernel+0x120/0x130
[  193.262933] CPU2: stopping
[  193.262937] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.10.65-7-pine64-rt69 #10
[  193.262938] Call trace:
[  193.262943] [<ffffffc000088734>] dump_backtrace+0x0/0x114
[  193.262948] [<ffffffc000088868>] show_stack+0x20/0x30
[  193.262952] [<ffffffc000771da8>] dump_stack+0x1c/0x28
[  193.262955] [<ffffffc000091100>] handle_IPI+0xcc/0x164
[  193.262959] [<ffffffc000081428>] gic_handle_irq+0x70/0x88
[  193.262961] Exception stack(0xffffffc076607e40 to 0xffffffc076607f60)
[  193.262967] 7e40: 76604000 ffffffc0 00000e12 00000000 76607f80 ffffffc0 00085294 ffffffc0
[  193.262973] 7e60: ffffffed 00000000 00000000 00000000 7af956c4 ffffffc0 00010000 00000000
[  193.262978] 7e80: 1de45980 0000002e 0bfe451a 00000000 29aaaaab 00000000 00000018 00000000
[  193.262983] 7ea0: d7ec8b80 00350c52 76607db0 ffffffc0 0000002d 00000000 ac040300 060a0aa8
[  193.262989] 7ec0: 08080808 02020408 6c050f02 6c61636f 000000ff 00000000 00000033 00000000
[  193.262994] 7ee0: 00000001 00000000 00809000 ffffffc0 00000007 00000000 76604000 ffffffc0
[  193.263000] 7f00: 00000e12 00000000 00c76780 ffffffc0 00c3e7ea ffffffc0 00c3e000 ffffffc0
[  193.263005] 7f20: 41000000 00000000 41d3d000 00000000 41d3f000 00000000 00080260 ffffffc0
[  193.263011] 7f40: 41000000 00000040 76607f80 ffffffc0 00085290 ffffffc0 76607f80 ffffffc0
[  193.263014] [<ffffffc000083dbc>] el1_irq+0x7c/0xf0
[  193.263019] [<ffffffc0000fa948>] cpu_startup_entry+0x1b8/0x214
[  193.263024] [<ffffffc00076d0b4>] secondary_start_kernel+0x120/0x130
[  193.263026] CPU3: stopping
[  193.263030] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.10.65-7-pine64-rt69 #10
[  193.263031] Call trace:
[  193.263037] [<ffffffc000088734>] dump_backtrace+0x0/0x114
[  193.263041] [<ffffffc000088868>] show_stack+0x20/0x30
[  193.263045] [<ffffffc000771da8>] dump_stack+0x1c/0x28
[  193.263049] [<ffffffc000091100>] handle_IPI+0xcc/0x164
[  193.263052] [<ffffffc000081428>] gic_handle_irq+0x70/0x88
[  193.263055] Exception stack(0xffffffc076613e40 to 0xffffffc076613f60)
[  193.263060] 3e40: 76610000 ffffffc0 00000e12 00000000 76613f80 ffffffc0 00085294 ffffffc0
[  193.263066] 3e60: ffffffed 00000000 00000000 00000000 7afa26c4 ffffffc0 00010000 00000000
[  193.263071] 3e80: dc4c2180 00004e5a 0bfe451a 00000000 29aaaaab 00000000 00000018 00000000
[  193.263077] 3ea0: d8706180 0039d106 76613db0 ffffffc0 00000200 00000000 00000000 00000000
[  193.263082] 3ec0: 00000000 00000000 ffffffff ffffffff 00000000 00000000 00001000 00000000
[  193.263088] 3ee0: 000d5f14 ffffffc0 004b0000 00000000 004a7000 00000000 76610000 ffffffc0
[  193.263093] 3f00: 00000e12 00000000 00c76780 ffffffc0 00c3e7ea ffffffc0 00c3e000 ffffffc0
[  193.263099] 3f20: 41000000 00000000 41d3d000 00000000 41d3f000 00000000 00080260 ffffffc0
[  193.263104] 3f40: 41000000 00000040 76613f80 ffffffc0 00085290 ffffffc0 76613f80 ffffffc0
[  193.263108] [<ffffffc000083dbc>] el1_irq+0x7c/0xf0
[  193.263112] [<ffffffc0000fa948>] cpu_startup_entry+0x1b8/0x214
[  193.263117] [<ffffffc00076d0b4>] secondary_start_kernel+0x120/0x130


Can you help me ?


Messages In This Thread
Real-time linux kernel - by Artyom - 03-02-2016, 09:54 PM
RE: Real-time linux kernel - by Artyom - 03-06-2016, 02:23 AM
RE: Real-time linux kernel - by umiddelb - 03-06-2016, 03:28 PM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 12:47 AM
RE: Real-time linux kernel - by umiddelb - 03-07-2016, 01:48 AM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 02:07 AM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 03:29 AM
RE: Real-time linux kernel - by umiddelb - 03-07-2016, 04:16 AM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 05:29 AM
RE: Real-time linux kernel - by umiddelb - 03-07-2016, 11:24 AM
RE: Real-time linux kernel - by Artyom - 03-08-2016, 10:18 AM
RE: Real-time linux kernel - by Artyom - 03-09-2016, 01:44 AM
RE: Real-time linux kernel - by umiddelb - 03-10-2016, 05:01 AM
RE: Real-time linux kernel - by Artyom - 03-10-2016, 05:24 AM
RE: Real-time linux kernel - by umiddelb - 03-10-2016, 06:31 AM
RE: Real-time linux kernel - by Artyom - 03-10-2016, 07:03 AM
RE: Real-time linux kernel - by umiddelb - 03-10-2016, 02:04 PM
RE: Real-time linux kernel - by Artyom - 03-10-2016, 10:43 PM
RE: Real-time linux kernel - by Artyom - 03-12-2016, 02:43 AM
RE: Real-time linux kernel - by Artyom - 03-28-2016, 08:54 AM
RE: Real-time linux kernel - by umiddelb - 04-14-2016, 04:03 PM
RE: Real-time linux kernel - by Artyom - 04-17-2016, 11:23 PM
RE: Real-time linux kernel - by umiddelb - 05-08-2016, 02:47 PM
RE: Real-time linux kernel - by Artyom - 04-05-2016, 10:57 PM
RE: Real-time linux kernel - by tllim - 04-06-2016, 04:52 PM
RE: Real-time linux kernel - by Artyom - 04-07-2016, 12:03 AM
RE: Real-time linux kernel - by tllim - 04-07-2016, 11:17 AM
RE: Real-time linux kernel - by Artyom - 04-07-2016, 11:49 PM
RE: Real-time linux kernel - by Artyom - 05-09-2016, 03:21 AM
RE: Real-time linux kernel - by Artyom - 05-29-2016, 02:35 AM
RE: Real-time linux kernel - by umiddelb - 06-09-2016, 12:22 AM
RE: Real-time linux kernel - by Artyom - 06-09-2016, 02:08 AM
RE: Real-time linux kernel - by Artyom - 06-09-2016, 07:49 AM
RE: Real-time linux kernel - by tllim - 06-09-2016, 07:30 PM
RE: Real-time linux kernel - by Artyom - 06-09-2016, 09:36 PM
RE: Real-time linux kernel - by umiddelb - 02-08-2017, 02:33 AM
RE: Real-time linux kernel - by tllim - 02-12-2017, 10:11 PM
RE: Real-time linux kernel - by schooner - 02-20-2017, 06:39 AM
RE: Real-time linux kernel - by Learnincurve - 02-08-2017, 03:06 AM
RE: Real-time linux kernel - by umiddelb - 02-08-2017, 03:41 AM
RE: Real-time linux kernel - by Learnincurve - 02-09-2017, 01:02 AM
RE: Real-time linux kernel - by umiddelb - 02-20-2017, 02:44 PM
RE: Real-time linux kernel - by schooner - 02-21-2017, 05:16 AM
RE: Real-time linux kernel - by schooner - 02-21-2017, 08:45 AM
RE: Real-time linux kernel - by dikov - 03-07-2017, 11:49 PM
RE: Real-time linux kernel - by zzwpine - 09-11-2018, 01:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 4 9,072 03-28-2020, 06:20 PM
Last Post: ty1911
  PineA64+: Audio in 5.0 Kernel puzzles 6 8,772 11-13-2019, 09:41 AM
Last Post: roel
  Howto run Linux with resolution other than 1080p longsleep 28 65,590 06-13-2019, 01:53 AM
Last Post: Nilda
  NEMS Linux for Pine A64 (+) Luke 1 5,019 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 8,042 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 47,862 01-28-2019, 11:05 PM
Last Post: necrose99
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 2,873 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 2,566 09-25-2018, 03:39 PM
Last Post: bjbb17
  DKMS on kernel 3.10.107-pine64 obrienmd 5 8,418 06-21-2018, 05:45 PM
Last Post: evilbunny
  linux distribution hazerty 3 6,001 04-01-2018, 02:48 PM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 1 Guest(s)