We are experiencing a problem with the driver of the serial ports on a T30 colibri board. After a few hours working correctly all three ports we are receiving this kernel log:
[85525.947333] ------------[ cut here ]------------
[85525.947396] WARNING: at drivers/tty/serial/tegra_hsuart.c:346 tegra_rx_dma_complete_callback+0x80/0xd0()
[85525.947412] Modules linked in: gpio_mcp23s08
[85525.947473] [<c0014860>] (unwind_backtrace+0x0/0xe8) from [<c05b8b98>] (dump_stack+0x20/0x24)
[85525.947511] [<c05b8b98>] (dump_stack+0x20/0x24) from [<c00588c0>] (warn_slowpath_common+0x5c/0x74)
[85525.947543] [<c00588c0>] (warn_slowpath_common+0x5c/0x74) from [<c0058994>] (warn_slowpath_null+0x2c/0x34)
[85525.947577] [<c0058994>] (warn_slowpath_null+0x2c/0x34) from [<c0305d38>] (tegra_rx_dma_complete_callback+0x80/0xd0)
[85525.947633] [<c0305d38>] (tegra_rx_dma_complete_callback+0x80/0xd0) from [<c003c728>] (tegra_dma_dequeue_req+0x120/0x140)
[85525.947672] [<c003c728>] (tegra_dma_dequeue_req+0x120/0x140) from [<c0305e2c>] (tegra_stop_rx+0xa4/0xc4)
[85525.947708] [<c0305e2c>] (tegra_stop_rx+0xa4/0xc4) from [<c0300e94>] (uart_close+0x20c/0x328)
[85525.947744] [<c0300e94>] (uart_close+0x20c/0x328) from [<c02e97b8>] (tty_release+0x1c8/0x48c)
[85525.947792] [<c02e97b8>] (tty_release+0x1c8/0x48c) from [<c00f16f4>] (fput+0x120/0x1dc)
[85525.947828] [<c00f16f4>] (fput+0x120/0x1dc) from [<c00edbe8>] (filp_close+0x78/0x80)
[85525.947868] [<c00edbe8>] (filp_close+0x78/0x80) from [<c005c514>] (put_files_struct+0xa8/0xf8)
[85525.947901] [<c005c514>] (put_files_struct+0xa8/0xf8) from [<c005c5fc>] (exit_files+0x48/0x4c)
[85525.947930] [<c005c5fc>] (exit_files+0x48/0x4c) from [<c005ca6c>] (do_exit+0x27c/0x6c4)
[85525.947960] [<c005ca6c>] (do_exit+0x27c/0x6c4) from [<c005cfc0>] (sys_exit_group+0x0/0x20)
[85525.948008] [<c005cfc0>] (sys_exit_group+0x0/0x20) from [<c006ad48>] (get_signal_to_deliver+0x4d4/0x50c)
[85525.948061] [<c006ad48>] (get_signal_to_deliver+0x4d4/0x50c) from [<c0010b94>] (do_signal+0x26c/0x4ec)
[85525.948100] [<c0010b94>] (do_signal+0x26c/0x4ec) from [<c001112c>] (do_notify_resume+0x28/0x60)
[85525.948134] [<c001112c>] (do_notify_resume+0x28/0x60) from [<c000deb8>] (work_pending+0x24/0x28)
[85525.948155] ---[ end trace 0911cf36931b7105 ]---
[85525.948179] tegra_uart tegra_uart.1: Not able to copy uart data to tty layer Req 100 and coped 0
We are running Debian 8.5, kernel 3.1.10
Closing the serial ports and reopening them solve the failure and all works again… but the software is not capable of detecting this so we need to stop processes and rerun them again.
We have four sets with viola 1.2A, colibri t30 1Gb IT V1.1A. A board with a MAX236, MCP23S17, ACCELEROMETER and BAROMETER. Running a debian 8.5, linux kernel 3.1.10 (your stock kernel with mcp23s17 enabled).
The test suite is an access control system (running for years on several hardware/arquitechture, from i386 to arm systems).
The mmcplk0p2 error appeared when the systems was two days online (this is the first time this error appears).
[upload|i5rjxWDndfXvQBFaclicTCyh5+8=][upload|xy81gkWkzj4tSIBfgp+HX+XgnBA=]
@marcel.tx We are facing a similar issue here on an Apalis T30, the application that read/writes from/to the serial port hangs and the dmesg is flooded with messages like those:
[21614.645244] tegra_uart tegra_uart.2: Not able to copy uart data to tty layer Req 128 and coped 0
[21614.649784] ------------[ cut here ]------------
[21614.649846] WARNING: at /build/t30_old/build/tmp-glibc/work-shared/apalis-t30/kernel-source/drivers/tty/serial/tegra_hsuart.c:346 tegra_rx_dma_complete_callback+0xa8/0xc4()
[21614.649869] Modules linked in:
[21614.649919] [<c0014120>] (unwind_backtrace+0x0/0xe8) from [<c004fe40>] (warn_slowpath_common+0x54/0x64)
[21614.649950] [<c004fe40>] (warn_slowpath_common+0x54/0x64) from [<c004feec>] (warn_slowpath_null+0x1c/0x24)
[21614.649981] [<c004feec>] (warn_slowpath_null+0x1c/0x24) from [<c01ef64c>] (tegra_rx_dma_complete_callback+0xa8/0xc4)
[21614.650021] [<c01ef64c>] (tegra_rx_dma_complete_callback+0xa8/0xc4) from [<c0037380>] (tegra_dma_dequeue_req+0xa8/0x164)
[21614.650054] [<c0037380>] (tegra_dma_dequeue_req+0xa8/0x164) from [<c01efb90>] (do_handle_rx_dma+0x64/0xcc)
[21614.650085] [<c01efb90>] (do_handle_rx_dma+0x64/0xcc) from [<c01efec0>] (tegra_uart_isr+0x29c/0x318)
[21614.650129] [<c01efec0>] (tegra_uart_isr+0x29c/0x318) from [<c008ac08>] (handle_irq_event_percpu+0x64/0x174)
[21614.650164] [<c008ac08>] (handle_irq_event_percpu+0x64/0x174) from [<c008ad54>] (handle_irq_event+0x3c/0x5c)
[21614.650198] [<c008ad54>] (handle_irq_event+0x3c/0x5c) from [<c008d16c>] (handle_fasteoi_irq+0x9c/0x150)
[21614.650230] [<c008d16c>] (handle_fasteoi_irq+0x9c/0x150) from [<c008a514>] (generic_handle_irq+0x28/0x38)
[21614.650268] [<c008a514>] (generic_handle_irq+0x28/0x38) from [<c000e88c>] (handle_IRQ+0x58/0xac)
[21614.650297] [<c000e88c>] (handle_IRQ+0x58/0xac) from [<c000db38>] (__irq_svc+0x38/0xd0)
[21614.650336] [<c000db38>] (__irq_svc+0x38/0xd0) from [<c0068ccc>] (posix_ktime_get_ts+0x0/0x14)
[21614.650363] [<c0068ccc>] (posix_ktime_get_ts+0x0/0x14) from [<00000004>] (0x4)
[21614.650380] ---[ end trace ea721b0c11b1009f ]---
Do you have any idea what might be wrong here? What information do you need from us for further debugging?
Please avoid hijacking old questions. Ask a new question optionally referring to this existing one and state exactly what versions of things you are talking about. Then do include all relevant log files like serial console output or journals.