Closed oleksii-frolov closed 8 years ago
OK, actually in this fork there is no such error.
I have the same issue, regardless I used this fork or original xr driver. Have you fixed this somehow?
Now this error has become to my raspbian too, any ideas Kutashov? I can still randomly access data, but I'm afraid of lockups.
Unfortunately, no.
metoo: pi@solar:~/epsolar-tracer.GAV $ uname -r 4.9.24-v7+ pi@solar:~/epsolar-tracer.GAV $ sudo setserial -a /dev/ttyXRUSB0 /dev/ttyXRUSB0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0 Baud_base: 115200, close_delay: 5, divisor: 0 closing_wait: 300 Flags: spd_normal low_latency
pi@solar:~/epsolar-tracer.GAV $
cat /var/log/syslog:
Apr 27 10:21:26 solar kernel: [10234.735597] tty ttyXRUSB0: xr_usb_serial_tty_install Apr 27 10:21:26 solar kernel: [10234.735639] tty ttyXRUSB0: xr_usb_serial_tty_open Apr 27 10:21:26 solar kernel: [10234.735650] cdc_xr_usb_serial 1-1.4:1.0: xr_usb_serial_port_activate Apr 27 10:21:26 solar kernel: [10234.736071] cdc_xr_usb_serial 1-1.4:1.0: xr_usb_serial_ctrl_msg - rq 0x22, val 0x3, len 0x0, result 0 Apr 27 10:21:26 solar kernel: [10234.736861] cdc_xr_usb_serial 1-1.4:1.0: xr_usb_serial_tty_close Apr 27 10:21:26 solar kernel: [10234.736881] cdc_xr_usb_serial 1-1.4:1.0: xr_usb_serial_port_shutdown Apr 27 10:21:26 solar kernel: [10234.737220] cdc_xr_usb_serial 1-1.4:1.0: xr_usb_serial_ctrl_msg - rq 0x22, val 0x0, len 0x0, result 0 Apr 27 10:21:26 solar kernel: [10234.737240] cdc_xr_usb_serial 1-1.4:1.0: xr_usb_serial_ctrl_irq - urb shutting down with status: -2 Apr 27 10:21:26 solar kernel: [10234.737262] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737280] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737297] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737313] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737329] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737345] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737366] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737382] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737402] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737418] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737434] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737449] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737465] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737480] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737496] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737511] cdc_xr_usb_serial 1-1.4:1.1: xr_usb_serial_read_bulk_callback - non-zero urb status: -2 Apr 27 10:21:26 solar kernel: [10234.737576] cdc_xr_usb_serial 1-1.4:1.0: xr_usb_serial_tty_cleanup
Beware of this driver, it works okay when reading data with those errors, but my raspberry died and rebooted randomly.
That's why I won't risk it and have unloaded the module, if not reading data.
Steps to reproduce:
and we can see an error
xr_usb_serial_ctrl_irq - urb shutting down with status: -2
in kernel log