We are getting this error while running userwaveapp application on Z7, what is the configuration we are missing ? anything to be given in bootargs or system-user.dtsi for Z7 ?
4003c010 Address is related to a fpga reg for gpio ...
fpga_rev7:/usr/bin$ sudo su
fpga_rev7:/usr/bin#
fpga_rev7:/usr/bin# userwaveapp
*********************************
Opening Driver
Device File Opened...!!!
Occurrences replaced, and data stored in the output text file suc8<--- cut here ---
cessfully.
Unable to handle kernel paging request at virtual address 4003c010
[4003c010] *pgd=00000000
Internal error: Oops - BUG: 5 [#1] PREEMPT SMP ARM
Modules linked in: gpiomodule(O) uio_pdrv_genirq
CPU: 1 PID: 585 Comm: userwaveapp Tainted: G O 6.1.5-xilinx-v2023.1 #1
Question
ManiS
Hi ,
We are getting this error while running userwaveapp application on Z7, what is the configuration we are missing ? anything to be given in bootargs or system-user.dtsi for Z7 ?
4003c010 Address is related to a fpga reg for gpio ...
fpga_rev7:/usr/bin$ sudo su
fpga_rev7:/usr/bin#
fpga_rev7:/usr/bin# userwaveapp
*********************************
Opening Driver
Device File Opened...!!!
Occurrences replaced, and data stored in the output text file suc8<--- cut here ---
cessfully.
Unable to handle kernel paging request at virtual address 4003c010
[4003c010] *pgd=00000000
Internal error: Oops - BUG: 5 [#1] PREEMPT SMP ARM
Modules linked in: gpiomodule(O) uio_pdrv_genirq
CPU: 1 PID: 585 Comm: userwaveapp Tainted: G O 6.1.5-xilinx-v2023.1 #1
Hardware name: Xilinx Zynq Platform
PC is at etx_ioctl+0x1bc/0x358 [gpiomodule]
LR is at 0x40000000
pc : [<bf01430c>] lr : [<40000000>] psr: 600f0013
sp : f0c55ca0 ip : 0000001c fp : 004422d8
r10: c1a313c0 r9 : 00000003 r8 : c11c8180
r7 : 80044d01 r6 : 00440018 r5 : bf016000 r4 : 00440018
r3 : 4003c010 r2 : 00000000 r1 : bf0160f4 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 18c5387d Table: 01eac04a DAC: 00000051
Register r0 information: NULL pointer
Register r1 information: 4-page vmalloc region starting at 0xbf014000 allocated at load_module+0x9fc/0x1748
Register r2 information: NULL pointer
Register r3 information: non-paged memory
Register r4 information: non-paged memory
Register r5 information: 4-page vmalloc region starting at 0xbf014000 allocated at load_module+0x9fc/0x1748
Register r6 information: non-paged memory
Register r7 information: non-paged memory
Register r8 information: slab task_struct start c11c8180 pointer offset 0
Register r9 information: non-paged memory
Register r10 information: slab filp start c1a313c0 pointer offset 0
Register r11 information: non-paged memory
Register r12 information: non-paged memory
Process userwaveapp (pid: 585, stack limit = 0x265e9ecc)
Stack: (0xf0c55ca0 to 0xf0c56000)
5ca0: 00000008 c022abd4 00000000 00000000 00000000 00000000 00000000 00000000
5cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5e20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5f00: 00000000 31f6c4ec c1a50110 c1a313c0 00440018 80044d01 c11c8180 c020803c
5f20: c1a50110 c0208b44 00000000 00000000 c1a300c0 00000000 00000000 00000000
5f40: 00000000 00000000 00000000 00004004 00000000 00000000 f0c55f6c 31f6c4ec
5f60: c1a300c0 00441190 c1a300c0 00000000 c1a300c0 00000000 00000000 31f6c4ec
5f80: c01002c4 00440018 00442198 00420e48 00000036 c01002c4 c11c8180 00000036
5fa0: 004422d8 c0100060 00440018 00442198 00000003 80044d01 00440018 bef6b500
5fc0: 00440018 00442198 00420e48 00000036 00000001 00000003 bef6b550 004422d8
5fe0: 00000036 bef6b4e8 b6e56d25 b6dce576 600f0030 00000003 00000000 00000000
etx_ioctl [gpiomodule] from vfs_ioctl+0x20/0x38
vfs_ioctl from sys_ioctl+0x298/0x95c
sys_ioctl from ret_fast_syscall+0x0/0x54
Exception stack(0xf0c55fa8 to 0xf0c55ff0)
5fa0: 00440018 00442198 00000003 80044d01 00440018 bef6b500
5fc0: 00440018 00442198 00420e48 00000036 00000001 00000003 bef6b550 004422d8
5fe0: 00000036 bef6b4e8 b6e56d25 b6dce576
Code: e59d2008 e583200c e59f5170 e59530f8 (e5933000)
---[ end trace 0000000000000000 ]---
Device File Closed...!!!
Segmentation fault
fpga_rev7:/usr/bin#
Regards,
Mani
Edited by ManiSprecise
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now