Kernel panic

Discuss Ubuntu related items.

Kernel panic

Postby Rajasekhar » Wed Jul 18, 2018 8:05 am

Hi,

I am using wandboard-imx6qdl-rrevd1 board.

We are able to get the spidev in the host platform and insert our SPI driver.

We are able see the SPI init success with our DevModule by connecting all SPI pins from wandboard(JP4)to our DevModule.

After that we configured SPI interrupt GPIO pin as '24' (used GPIO1_24 on JP4) and tried running our application.

It seems kernel is getting crashed by giving below prints, Can you please look some one and tell us the what is the exact reason for this?


[ 8326.005583] Kernel panic - not syncing: corrupted stack end detected inside scheduler
[ 8326.005583]
[ 8326.017416] CPU: 0 PID: 1563 Comm: rsi_wsc_app Tainted: G O 4.13.16-armv7-x2 #1
[ 8326.025857] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 8326.032417] [<c0113f48>] (unwind_backtrace) from [<c010de60>] (show_stack+0x20/0x24)
[ 8326.032428] Unable to handle kernel paging request at virtual address b9697ae8
[ 8326.032435] Unable to handle kernel paging request at virtual address e14b831c
[ 8326.032438] pgd = c0004000
[ 8326.032440] [e14b831c] *pgd=00000000
[ 8326.032454] Internal error: Oops: 5 1 SMP ARM
[ 8326.032459] Modules linked in: rpsspi(O) nls_ascii nls_cp437 caam_jr snd_soc_imx_sgtl5000 sg snd_soc_imx_]
[ 8326.032531] CPU: 0 PID: 1098 Comm: kworker/u4:2 Tainted: G O 4.13.16-armv7-x2 #1
[ 8326.032534] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 8326.032545] task: dc4c1000 task.stack: dc630000
[ 8326.032555] PC is at show_pte+0x38/0x10c
[ 8326.032562] LR is at __do_kernel_fault.part.0+0x60/0x84
[ 8326.032566] pc : [<c01187f0>] lr : [<c01189dc>] psr: a0070193
[ 8326.032571] sp : dc632030 ip : dc632050 fp : dc63204c
[ 8326.032575] r10: c1674a38 r9 : dc632190 r8 : e14b82fc
[ 8326.032579] r7 : e14b82fc r6 : 000005cb r5 : b9697ae8 r4 : e14b82fc
[ 8326.032583] r3 : c1553d20 r2 : 00040d10 r1 : b9697ae8 r0 : c0fff92c
[ 8326.032589] Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
[ 8326.032594] Control: 10c5387d Table: 2ab0c059 DAC: 00000051
[ 8326.032598] Process kworker/u4:2 (pid: 1098, stack limit = 0xdc630218)
[ 8326.032603] Stack: (0xdc632030 to 0xdc632000)
[ 8326.032616] [<c01187f0>] (show_pte) from [<c01189dc>] (__do_kernel_fault.part.0+0x60/0x84)
[ 8326.032634] [<c01189dc>] (__do_kernel_fault.part.0) from [<c0c9eb68>] (do_page_fault+0x254/0x3ac)
[ 8326.032648] [<c0c9eb68>] (do_page_fault) from [<c0c9ed7c>] (do_translation_fault+0xbc/0xc0)
[ 8326.032661] [<c0c9ed7c>] (do_translation_fault) from [<c010128c>] (do_DataAbort+0x5c/0xf0)
[ 8326.032675] [<c010128c>] (do_DataAbort) from [<c0c9dff8>] (__dabt_svc+0x58/0x80)
[ 8326.032679] Exception stack(0xdc632190 to 0xdc6321d8)
[ 8326.032686] 2180: dc632020 c1504df4 00000018 fe064b3d
[ 8326.032696] 21a0: 00000048 00000000 00000002 c1674a38 00000004 00000000 c1674a38 dc63223c
[ 8326.032703] 21c0: dc632240 dc6321e0 c01adc18 c01ad46c a0070093 ffffffff
[ 8326.032719] [<c0c9dff8>] (__dabt_svc) from [<c01ad46c>] (console_unlock+0x8c/0x550)
[ 8326.032731] [<c01ad46c>] (console_unlock) from [<c01adc18>] (vprintk_emit+0x2e8/0x360)
[ 8326.032739] [<c01adc18>] (vprintk_emit) from [<c01ade74>] (vprintk_default+0x44/0x74)
[ 8326.032750] [<c01ade74>] (vprintk_default) from [<c01af1b0>] (vprintk_func+0x58/0x9c)
[ 8326.032759] [<c01af1b0>] (vprintk_func) from [<c01aeab8>] (printk+0x40/0x5c)
[ 8326.032771] [<c01aeab8>] (printk) from [<c010dcf4>] (dump_backtrace_entry+0x3c/0xa4)
[ 8326.032784] [<c010dcf4>] (dump_backtrace_entry) from [<c0113ff8>] (unwind_backtrace+0xb0/0x15c)
[ 8326.032795] [<c0113ff8>] (unwind_backtrace) from [<c010de60>] (show_stack+0x20/0x24)
[ 8326.032810] [<c010de60>] (show_stack) from [<c0c81944>] (dump_stack+0x8c/0xa0)
[ 8326.032824] [<c0c81944>] (dump_stack) from [<c01450f8>] (panic+0x100/0x28c)
[ 8326.032837] [<c01450f8>] (panic) from [<c0c98a04>] (__schedule+0x9b4/0x9b8)
[ 8326.032847] [<c0c98a04>] (__schedule) from [<c0c98a58>] (schedule+0x50/0xa8)
[ 8326.032859] [<c0c98a58>] (schedule) from [<c0c9c8d0>] (schedule_timeout+0x1f8/0x434)
[ 8326.032871] [<c0c9c8d0>] (schedule_timeout) from [<c0c99834>] (wait_for_common+0x138/0x1d4)
[ 8326.032882] [<c0c99834>] (wait_for_common) from [<c0c99910>] (wait_for_completion_timeout+0x1c/0x20)
[ 8326.032905] [<c0c99910>] (wait_for_completion_timeout) from [<bf16df60>] (spi_imx_transfer+0x88/0x27c [sp)
[ 8326.032940] [<bf16df60>] (spi_imx_transfer [spi_imx]) from [<bf1185ac>] (spi_bitbang_transfer_one+0x88/0x)
[ 8326.032962] [<bf1185ac>] (spi_bitbang_transfer_one [spi_bitbang]) from [<c0920894>] (spi_transfer_one_mes)
[ 8326.032978] [<c0920894>] (spi_transfer_one_message) from [<c091ff6c>] (__spi_pump_messages+0x33c/0x6ac)
[ 8326.032989] [<c091ff6c>] (_spi_pump_messages) from [<c0920534>] (_spi_sync+0x234/0x23c)
[ 8326.033000] [<c0920534>] (__spi_sync) from [<c0920570>] (spi_sync+0x34/0x4c)
[ 8326.033041] [<c0920570>] (spi_sync) from [<bf2d181c>] (spi_write_and_read+0x12c/0x2d8 [rpsspi])
[ 8326.033095] [<bf2d181c>] (spi_write_and_read [rpsspi]) from [<bf2d1b00>] (rsi_spi_recv+0x68/0x98 [rpsspi])
[ 8326.033135] [<bf2d1b00>] (rsi_spi_recv [rpsspi]) from [<bf2d0a1c>] (rsi_spi_wait_start_token+0x64/0xac [r)
[ 8326.033177] [<bf2d0a1c>] (rsi_spi_wait_start_token [rpsspi]) from [<bf2d0de8>] (rsi_reg_rd+0x4c/0xa4 [rps)
[ 8326.033217] [<bf2d0de8>] (rsi_reg_rd [rpsspi]) from [<bf2d0b7c>] (rsi_device_interrupt_status+0x50/0x74 [)
[ 8326.033259] [<bf2d0b7c>] (rsi_device_interrupt_status [rpsspi]) from [<bf2d1c24>] (rsi_checkBufferFullIrq)
[ 8326.033297] [<bf2d1c24>] (rsi_checkBufferFullIrq [rpsspi]) from [<bf2ceb08>] (rsi_ioctl+0x448/0x538 [rpss)
[ 8326.033328] [<bf2ceb08>] (rsi_ioctl [rpsspi]) from [<c0b42448>] (dev_ifsioc+0x2f8/0x34c)
[ 8326.033341] [<c0b42448>] (dev_ifsioc) from [<c0b42c88>] (dev_ioctl+0x770/0x9bc)
[ 8326.033359] [<c0b42c88>] (dev_ioctl) from [<c0afd690>] (sock_ioctl+0x180/0x300)
[ 8326.033376] [<c0afd690>] (sock_ioctl) from [<c0310844>] (do_vfs_ioctl+0xc0/0x93c)
[ 8326.033386] [<c0310844>] (do_vfs_ioctl) from [<c031113c>] (SyS_ioctl+0x7c/0x8c)
[ 8326.033399] [<c031113c>] (SyS_ioctl) from [<c0108f80>] (ret_fast_syscall+0x0/0x3c)
[ 8326.033411] Code: e30f092c e1a06aa1 e1a05001 e34c00ff (e5941020)
[ 8326.033417] --[ end trace 0d0ccd207de5dbcb ]--
[ 8326.033626] Kernel panic - not syncing: corrupted stack end detected inside scheduler
[ 8326.033626]
[ 8326.560566] ---[ end Kernel panic - not syncing: corrupted stack end detected inside scheduler
[ 8326.560566]
Rajasekhar
 
Posts: 2
Joined: Fri Jul 13, 2018 2:57 pm

Return to Software - Ubuntu

Who is online

Users browsing this forum: No registered users and 6 guests

cron