Hi!
I am currently hunting the source of an issue that we have with an USB
modem. There could even be some HW / board design issue.
My idea was to try the kernel USB unit tests and this seems to work out
as it gave me some interesting results!
It would be so great if someone on this list had an idea what the test
results mean and whether these results are pointing to a certain problem...
Here the interesting part (TEST 10 is the one always failing) of the
testusb output:
# ./testusb -l -D /dev/bus/usb/001/003 -t 10
unknown speed /dev/bus/usb/001/003 0
/dev/bus/usb/001/003 test 10 --> 32 (Broken pipe)
/dev/bus/usb/001/003 test 10, 8.011131 secs
/dev/bus/usb/001/003 test 10, 8.010904 secs
/dev/bus/usb/001/003 test 10 --> 32 (Broken pipe)
/dev/bus/usb/001/003 test 10 --> 121 (Remote I/O error)
/dev/bus/usb/001/003 test 10 --> 32 (Broken pipe)
/dev/bus/usb/001/003 test 10 --> 32 (Broken pipe)
/dev/bus/usb/001/003 test 10 --> 32 (Broken pipe)
/dev/bus/usb/001/003 test 10 --> 32 (Broken pipe)
/dev/bus/usb/001/003 test 10, 8.012122 secs
/dev/bus/usb/001/003 test 10 --> 32 (Broken pipe)
...
And here the corresponding info from the usbtest kernel module (dmesg
output):
[15298.990000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15300.330000] usbtest 1-2:3.0: subtest 4 error, status -32
[15300.330000] usbtest 1-2:3.0: control queue 80.00, err -32, 26667
left, subcase 4, len 0/2
[15300.350000] usbtest 1-2:3.0: subcase 5 completed out of order, last 3
[15300.350000] usbtest 1-2:3.0: subcase 4 completed out of order, last 4
[15300.370000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15308.380000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15316.390000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15322.230000] usbtest 1-2:3.0: subtest 4 error, status -32
[15322.230000] usbtest 1-2:3.0: control queue 80.00, err -32, 8715 left,
subcase 4, len 0/2
[15322.240000] usbtest 1-2:3.0: subcase 5 completed out of order, last 3
[15322.250000] usbtest 1-2:3.0: subcase 4 completed out of order, last 4
[15322.260000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15324.870000] usbtest 1-2:3.0: subtest 9 error, status -121
[15324.870000] usbtest 1-2:3.0: control queue 82.00, err -121, 21574
left, subcase 9, len 0/2
[15324.890000] usbtest 1-2:3.0: subcase 10 completed out of order, last 8
[15324.900000] usbtest 1-2:3.0: subcase 9 completed out of order, last 9
[15324.910000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15328.920000] usbtest 1-2:3.0: subtest 4 error, status -32
[15328.920000] usbtest 1-2:3.0: control queue 80.00, err -32, 15995
left, subcase 4, len 0/2
[15328.940000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15331.930000] usbtest 1-2:3.0: subtest 4 error, status -32
[15331.930000] usbtest 1-2:3.0: control queue 80.00, err -32, 20091
left, subcase 4, len 0/2
[15331.940000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15333.040000] usbtest 1-2:3.0: subtest 10 error, status -32
[15333.040000] usbtest 1-2:3.0: control queue 80.06, err -32, 27653
left, subcase 10, len 0/1024
[15333.060000] usbtest 1-2:3.0: subcase 11 completed out of order, last 9
[15333.060000] usbtest 1-2:3.0: subcase 10 completed out of order, last 10
[15333.070000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15333.930000] usbtest 1-2:3.0: subtest 4 error, status -32
[15333.930000] usbtest 1-2:3.0: control queue 80.00, err -32, 28619
left, subcase 4, len 0/2
[15333.940000] usbtest 1-2:3.0: subcase 5 completed out of order, last 3
[15333.950000] usbtest 1-2:3.0: subcase 4 completed out of order, last 4
[15333.960000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15341.980000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15343.920000] usbtest 1-2:3.0: subtest 10 error, status -32
[15343.920000] usbtest 1-2:3.0: control queue 80.06, err -32, 24277
left, subcase 10, len 0/1024
[15343.940000] usbtest 1-2:3.0: TEST 10: queue 32 control calls, 1000 times
[15348.970000] usbtest 1-2:3.0: subtest 4 error, status -32
[15348.970000] usbtest 1-2:3.0: control queue 80.00, err -32, 11915
left, subcase 4, len 0/2
[15348.990000] usbtest 1-2:3.0: subcase 5 completed out of order, last 3
[15349.000000] usbtest 1-2:3.0: subcase 4 completed out of order, last 4
Looking forward to hear from you! Best regards, Marek
--
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