Disk access keeps causing serial/USB failures?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Howdy,

This is with 3.19, but has been happening with plenty of kernel versions
for years.

I have a quad core server with
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller

It was dusl core for years, but because it was running out of steam, I figured that maybe
if the cores were stuck with servicing btrfs disk tasks, they wouldn't get back to USB/Serial
in time and cause these problems.
But adding 2 more cores made no difference.

I have 12+ serial ports via serial/USB on it (almost all ftdi so that I
have serial numbers for each port and can assign them properly).

My problem is that when cron jobs run, mostly disk intensive ones, my server apparently stops
servicing those serial ports timely, and I get loads of errors with them.
Currently my kernel is built with VOLPREEMPT, although I could change that if you recommend
another option.

lsusb:
Bus 004 Device 002: ID 0bc2:50a0 Seagate RSS LLC 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 042: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 041: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 040: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 039: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 038: ID 058f:9254 Alcor Micro Corp. Hub
Bus 002 Device 076: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 075: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 074: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 073: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 072: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 071: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 070: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 069: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 068: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 067: ID 0409:0050 NEC Corp. 
Bus 002 Device 027: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 022: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 019: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 016: ID 1a40:0101 TERMINUS TECHNOLOGY INC. 
Bus 002 Device 013: ID 0b95:1780 ASIX Electronics Corp. AX88178
Bus 002 Device 009: ID 0bc7:0002 X10 Wireless Technology, Inc. Firecracker Interface (ACPI-compliant)
Bus 002 Device 006: ID 1a40:0201 TERMINUS TECHNOLOGY INC. 
Bus 002 Device 004: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 002 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 002: ID 8087:0024  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Some logs bits if that helps:
[1192409.393119] ftdi_sio ttyUSB10: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192409.393246] ftdi_sio ttyUSB4: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192409.393248] ftdi_sio ttyUSB2: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192409.393491] ftdi_sio ttyUSB10: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192409.393751] ftdi_sio ttyUSB4: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192409.393989] ftdi_sio ttyUSB2: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192409.826753] usb 2-1.4.3: USB disconnect, device number 28
[1192409.844839] usb 2-1.4.3.1: USB disconnect, device number 29

This is likely one of my cronjobs that sees high level serial failure and reboots the 
USB serial converters:
[1192409.863482] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
[1192409.890563] ftdi_sio 2-1.4.3.1:1.0: device disconnected
[1192409.908200] usb 2-1.4.3.2: USB disconnect, device number 30
[1192409.926805] ftdi_sio ttyUSB4: FTDI USB Serial Device converter now disconnected from ttyUSB4
[1192409.953878] ftdi_sio 2-1.4.3.2:1.0: device disconnected
[1192409.971434] usb 2-1.4.3.3: USB disconnect, device number 31
[1192409.990305] ftdi_sio ttyUSB5: FTDI USB Serial Device converter now disconnected from ttyUSB5
[1192410.017380] ftdi_sio 2-1.4.3.3:1.0: device disconnected
[1192410.035183] usb 2-1.4.3.4: USB disconnect, device number 32
[1192410.053640] ftdi_sio ttyUSB10: error from flowcontrol urb
[1192410.071650] ftdi_sio ttyUSB10: FTDI USB Serial Device converter now disconnected from ttyUSB10
[1192410.099098] ftdi_sio 2-1.4.3.4:1.0: device disconnected
[1192410.332639] usb 2-1.4.3: new full-speed USB device number 33 using ehci-pci
[1192410.462036] usb 2-1.4.3: New USB device found, idVendor=058f, idProduct=9254
[1192410.485630] usb 2-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1192410.509952] usb 2-1.4.3: Product: Generic USB Hub
[1192410.540441] hub 2-1.4.3:1.0: USB hub found
[1192410.555232] hub 2-1.4.3:1.0: 4 ports detected
[1192410.840359] usb 2-1.4.3.1: new full-speed USB device number 34 using ehci-pci
[1192410.959078] usb 2-1.4.3.1: New USB device found, idVendor=0403, idProduct=6001
[1192410.982388] usb 2-1.4.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1192411.007291] usb 2-1.4.3.1: Product: USB HS SERIAL CONVERTER
[1192411.025787] usb 2-1.4.3.1: Manufacturer: FTDI
[1192411.040801] usb 2-1.4.3.1: SerialNumber: FTB5Z82Q
[1192411.060633] ftdi_sio 2-1.4.3.1:1.0: FTDI USB Serial Device converter detected
[1192411.083643] usb 2-1.4.3.1: Detected FT232BM
[1192411.098065] usb 2-1.4.3.1: FTDI USB Serial Device converter now attached to ttyUSB2
[1192411.192204] usb 2-1.4.3.2: new full-speed USB device number 35 using ehci-pci
[1192411.314904] usb 2-1.4.3.2: New USB device found, idVendor=0403, idProduct=6001
[1192411.338589] usb 2-1.4.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1192411.364022] usb 2-1.4.3.2: Product: USB HS SERIAL CONVERTER
[1192411.383329] usb 2-1.4.3.2: Manufacturer: FTDI
[1192411.399060] usb 2-1.4.3.2: SerialNumber: FTB5Z82D
[1192411.419185] ftdi_sio 2-1.4.3.2:1.0: FTDI USB Serial Device converter detected
[1192411.443044] usb 2-1.4.3.2: Detected FT232BM
[1192411.458342] usb 2-1.4.3.2: FTDI USB Serial Device converter now attached to ttyUSB3
[1192411.552103] usb 2-1.4.3.3: new full-speed USB device number 36 using ehci-pci
[1192411.670655] usb 2-1.4.3.3: New USB device found, idVendor=0403, idProduct=6001
[1192411.693524] usb 2-1.4.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1192411.717677] usb 2-1.4.3.3: Product: USB HS SERIAL CONVERTER
[1192411.735598] usb 2-1.4.3.3: Manufacturer: FTDI
[1192411.749884] usb 2-1.4.3.3: SerialNumber: FTB5Z822
[1192411.768509] ftdi_sio 2-1.4.3.3:1.0: FTDI USB Serial Device converter detected
[1192768.523319] ftdi_sio ttyUSB9: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192768.549079] ftdi_sio ttyUSB3: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192768.549104] ftdi_sio ttyUSB2: failed to get modem status: -32
[1192768.594007] ftdi_sio ttyUSB2: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192768.620478] ftdi_sio ttyUSB9: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192768.646095] ftdi_sio ttyUSB3: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192768.671612] ftdi_sio ttyUSB2: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1192768.697454] ftdi_sio ttyUSB2: failed to get modem status: -32
[1192768.716751] ftdi_sio ttyUSB2: ftdi_set_termios urb failed to set baudrate
[1192768.739821] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192768.759309] ftdi_sio ttyUSB2: failed to get modem status: -32
[1192768.778442] ftdi_sio ttyUSB2: ftdi_break_ctl FAILED to enable/disable break state (state was -1)
[1192769.055778] usb 2-1.4.3: USB disconnect, device number 33
[1192769.062851] ftdi_sio ttyUSB2: ftdi_break_ctl FAILED to enable/disable break state (state was 0)
[1192769.062956] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.062958] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.068158] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.068160] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.074358] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.074361] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.080543] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.080545] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.080620] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.080623] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.081750] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.081753] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.081812] ftdi_sio ttyUSB2: failed to get modem status: -19

[1192769.507191] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.507207] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.507209] ftdi_sio ttyUSB2: ftdi_break_ctl FAILED to enable/disable break state (state was -1)
[1192769.762469] ftdi_sio ttyUSB2: ftdi_break_ctl FAILED to enable/disable break state (state was 0)
[1192769.762541] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192769.762543] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192769.767695] ftdi_sio ttyUSB2: failed to get modem status: -19

[1192770.206456] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192770.206458] ftdi_sio ttyUSB2: ftdi_set_termios urb failed to set baudrate
[1192770.206459] ftdi_sio ttyUSB2: urb failed to set to rts/cts flow control
[1192770.206463] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192770.206464] ftdi_sio ttyUSB2: ftdi_break_ctl FAILED to enable/disable break state (state was -1)
[1192770.466114] ftdi_sio ttyUSB2: ftdi_break_ctl FAILED to enable/disable break state (state was 0)
[1192770.466198] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192770.466201] ftdi_sio ttyUSB2: urb failed to set to rts/cts flow control
[1192770.471376] ftdi_sio ttyUSB2: failed to get modem status: -19

[1192773.293767] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192773.293768] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192773.551516] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192773.551561] ftdi_sio ttyUSB2: failed to get modem status: -19
[1192773.551628] ftdi_sio ttyUSB2: ftdi_set_termios FAILED to set databits/stopbits/parity
[1192773.551630] ftdi_sio ttyUSB2: ftdi_set_termios urb failed to set baudrate
[1192773.551631] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192773.551673] ftdi_sio ttyUSB2: ftdi_set_termios FAILED to set databits/stopbits/parity
[1192773.551675] ftdi_sio ttyUSB2: ftdi_set_termios urb failed to set baudrate
[1192773.551676] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192773.551704] ftdi_sio ttyUSB2: ftdi_set_termios FAILED to set databits/stopbits/parity
[1192773.551705] ftdi_sio ttyUSB2: ftdi_set_termios urb failed to set baudrate
[1192773.551706] ftdi_sio ttyUSB2: urb failed to clear flow control
[1192773.551733] ftdi_sio ttyUSB2: ftdi_set_termios FAILED to set databits/stopbits/parity
[1192773.551735] ftdi_sio ttyUSB2: ftdi_set_termios urb failed to set baudrate


Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux