Open nisargjhaveri opened 7 years ago
If it is not installed, please install gdb. Then do the following:
gdb 8188eu.ko l *rtw_txframes_sta_ac_pending+0x64 quit
The second line starts with el space star. Post the output from gdb. That will tell me which line is failing.
I also found a place that might be the problem. Please pull and try the new version.
$ gdb 8188eu.ko
...
Reading symbols from 8188eu.ko...(no debugging symbols found)...done.
(gdb) l *rtw_txframes_sta_ac_pending+0x64
No symbol table is loaded. Use the "file" command.
I have it installed using dkms, if that has anything to do with no debugging symbols found
.
Using dkms is not the problem. Your system is compiled with debugging disables, which is common for systems with limited RAM.
Please see if it happens again with my recent changes.
Sure. I'll try the new version and see if anything happens again.
It happened again. Here is the stack trace.
Mar 30 15:48:37 raspberrypi kernel: [38904.745345] Unable to handle kernel NULL pointer dereference at virtual address 00000064
Mar 30 15:48:37 raspberrypi kernel: [38904.757847] pgd = c0004000
Mar 30 15:48:37 raspberrypi kernel: [38904.762745] [00000064] *pgd=00000000
Mar 30 15:48:37 raspberrypi kernel: [38904.768456] Internal error: Oops: 17 [#1] ARM
Mar 30 15:48:37 raspberrypi kernel: [38904.774863] Modules linked in: 8188eu(O) bridge stp llc ip6table_filter ip6_tables ipt_MASQUERADE nf_nat_masquerade_ipv4 i
ptable_nat asix nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter libphy ip_tables x_tables snd_bcm2835 snd_pcm snd_timer snd bcm28
35_gpiomem bcm2835_wdt uio_pdrv_genirq uio ipv6 [last unloaded: 8188eu]
Mar 30 15:48:37 raspberrypi kernel: [38904.818408] CPU: 0 PID: 1754 Comm: RTW_CMD_THREAD Tainted: G O 4.4.38+ #938
Mar 30 15:48:37 raspberrypi kernel: [38904.831712] Hardware name: BCM2708
Mar 30 15:48:37 raspberrypi kernel: [38904.837795] task: d88c5f60 ti: d89f4000 task.ti: d89f4000
Mar 30 15:48:37 raspberrypi kernel: [38904.846855] PC is at rtw_txframes_sta_ac_pending+0x68/0x74 [8188eu]
Mar 30 15:48:37 raspberrypi kernel: [38904.856807] LR is at rtl8188eu_hal_xmit+0x40/0x1a4 [8188eu]
Mar 30 15:48:37 raspberrypi kernel: [38904.865344] pc : [<bf2b4964>] lr : [<bf2da0b0>] psr: 20000013
Mar 30 15:48:37 raspberrypi kernel: [38904.865344] sp : d89f5eb0 ip : d89f5ec0 fp : d89f5ebc
Mar 30 15:48:37 raspberrypi kernel: [38904.882662] r10: 00000000 r9 : 00000011 r8 : dd26e0c8
Mar 30 15:48:37 raspberrypi kernel: [38904.890823] r7 : dd25c254 r6 : dd231468 r5 : dd25c24c r4 : dd230000
Mar 30 15:48:37 raspberrypi kernel: [38904.900344] r3 : 00000054 r2 : 00000000 r1 : dd25c254 r0 : dd230000
Mar 30 15:48:37 raspberrypi kernel: [38904.909761] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Mar 30 15:48:37 raspberrypi kernel: [38904.919964] Control: 00c5387d Table: 18908008 DAC: 00000055
Mar 30 15:48:37 raspberrypi kernel: [38904.928654] Process RTW_CMD_THREAD (pid: 1754, stack limit = 0xd89f4188)
Mar 30 15:48:37 raspberrypi kernel: [38904.938399] Stack: (0xd89f5eb0 to 0xd89f6000)
Mar 30 15:48:37 raspberrypi kernel: [38904.945809] 5ea0: d89f5edc d89f5ec0 bf2da0b0 bf2b4908
Mar 30 15:48:37 raspberrypi kernel: [38904.959928] 5ec0: dd25c24c dd25c364 dd26e004 00000001 d89f5eec d89f5ee0 bf2c3ff8 bf2da07c
Mar 30 15:48:37 raspberrypi kernel: [38904.974004] 5ee0: d89f5f24 d89f5ef0 bf2a0e78 bf2c3fdc 60000013 dd230000 dd2313a0 da639f40
Mar 30 15:48:37 raspberrypi kernel: [38904.988109] 5f00: dd230000 dd2313a0 bf2f4bf0 bf31af78 da747a00 bf2f9c78 d89f5f64 d89f5f28
Mar 30 15:48:37 raspberrypi kernel: [38905.002399] 5f20: bf280b20 bf2a0d7c d8b0c380 dd230000 bf28095c dd2313ac 00000000 00000000
Mar 30 15:48:37 raspberrypi kernel: [38905.016965] 5f40: d8b0c380 dd230000 bf28095c 00000000 00000000 00000000 d89f5fac d89f5f68
Mar 30 15:48:37 raspberrypi kernel: [38905.031737] 5f60: c003d2e8 bf280968 d89f4000 00000000 d8b0c380 dd230000 00000000 d89f5f7c
Mar 30 15:48:37 raspberrypi kernel: [38905.046762] 5f80: d89f5f7c 00000000 d89f5f88 d89f5f88 d8b0c380 c003d20c 00000000 00000000
Mar 30 15:48:37 raspberrypi kernel: [38905.062115] 5fa0: 00000000 d89f5fb0 c000f8a8 c003d218 00000000 00000000 00000000 00000000
Mar 30 15:48:37 raspberrypi kernel: [38905.077623] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mar 30 15:48:37 raspberrypi kernel: [38905.093255] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 e3a03c01 e51b2040
Mar 30 15:48:37 raspberrypi kernel: [38905.110435] [<bf2b4964>] (rtw_txframes_sta_ac_pending [8188eu]) from [<bf2da0b0>] (rtl8188eu_hal_xmit+0x40/0x1a4 [8188eu])
Mar 30 15:48:37 raspberrypi kernel: [38905.130676] [<bf2da0b0>] (rtl8188eu_hal_xmit [8188eu]) from [<bf2c3ff8>] (rtw_hal_xmit+0x28/0x34 [8188eu])
Mar 30 15:48:37 raspberrypi kernel: [38905.149486] [<bf2c3ff8>] (rtw_hal_xmit [8188eu]) from [<bf2a0e78>] (tx_beacon_hdl+0x108/0x170 [8188eu])
Mar 30 15:48:37 raspberrypi kernel: [38905.167997] [<bf2a0e78>] (tx_beacon_hdl [8188eu]) from [<bf280b20>] (rtw_cmd_thread+0x1c4/0x30c [8188eu])
Mar 30 15:48:37 raspberrypi kernel: [38905.186140] [<bf280b20>] (rtw_cmd_thread [8188eu]) from [<c003d2e8>] (kthread+0xdc/0xf8)
Mar 30 15:48:37 raspberrypi kernel: [38905.202077] [<c003d2e8>] (kthread) from [<c000f8a8>] (ret_from_fork+0x14/0x2c)
Mar 30 15:48:37 raspberrypi kernel: [38905.213281] Code: e2823054 ea000000 e2823018 e3530000 (15930010)
Mar 30 15:48:37 raspberrypi kernel: [38905.524490] ---[ end trace b43ab6e79b64ed0f ]---
On master branch.