Gordon, Nov 10

This TRH has been flakey lately, dropping out, but then coming back on its own.

Here's the result of a data_dump of data late on Nov 9, and then using awk to look for gaps over 2 seconds. There are 10 gaps over 2 seconds in this 6 hours, one of them 355 seconds, and one 5678:

nice data_dump -i 3,40 -A isfs_20121109_175854.dat.bz2 isfs_20121109_200000.dat.bz2 > /tmp/TRH_a3_nov_9.dat
awk '{if($5 > 2) print $0}' /tmp/TRH_a3_nov_9.dat 
|--- date time --------|  deltaT     len bytes
2012 11 09 18:38:20.3220   2.981      37 TRH48 8.93 58.04 35 0 1227 112 110\r\n
2012 11 09 18:39:50.0419   20.94      37 TRH48 8.89 57.53 34 0 1226 111 108\r\n
2012 11 09 18:42:33.5019   38.87      37 TRH48 9.10 55.05 33 0 1231 106 103\r\n
2012 11 09 18:44:11.1819   3.989      37 TRH48 8.77 56.01 33 0 1223 108 103\r\n
2012 11 09 18:45:08.9919    3.99      37 TRH48 8.89 56.03 34 0 1226 108 108\r\n
2012 11 09 19:10:14.8819   5.983      38 TRH48 10.02 53.16 34 0 1254 102 107\r\n
2012 11 09 19:11:29.6224   14.95      37 TRH48 10.50 52.72 31 0 1266 101 99\r\n
2012 11 09 19:18:55.0620   355.8      37 TRH48 10.58 50.67 34 0 1268 97 107\r\n
2012 11 09 19:38:58.6419   187.3      37 TRH48 11.99 47.75 33 0 1303 91 105\r\n
2012 11 09 21:15:08.7021    5678      36 TRH48 12.96 40.98 31 0 1327 78 99\r\n

One can see bad characters just before the 355 second gap above:

2012 11 09 19:12:56.3119  0.9999      38 TRH48 10.34 52.18 33 0 1262 100 104\r\n
2012 11 09 19:12:58.3019    1.99      38 TRH48 10.34 52.69 35 0 1262 101 110\r\n
2012 11 09 19:12:59.2975  0.9957      15 \xd42f\xb3g\x9097 102\r\n
2012 11 09 19:18:55.0620   355.8      37 TRH48 10.58 50.67 34 0 1268 97 107\r\n
2012 11 09 19:18:56.0619  0.9998      37 TRH48 10.62 50.68 35 0 1269 97 110\r\n

Similar bad characters were seen at the other gaps.

Serial port 5 shows 17 fe (framing errors) and 3 brks since the last reboot 2 days ago. The other serial ports look clean:

cat /proc/tty/driver/serial 
serinfo:1.0 driver revision:
0: uart:XScale mmio:0x40100000 irq:38 tx:3079 rx:0 RTS|DTR|CD
1: uart:XScale mmio:0x40200000 irq:37 tx:0 rx:4387536 RTS|DTR
2: uart:XScale mmio:0x40700000 irq:36 tx:15 rx:58501140 RTS|DTR
3: uart:XR16850 mmio:0x10000000 irq:122 tx:0 rx:0
4: uart:XR16850 mmio:0x10800000 irq:123 tx:0 rx:0
5: uart:ST16654 port:F1000100 irq:3 tx:119 rx:7913814 fe:17 brk:3 RTS|DTR
6: uart:ST16654 port:F1000108 irq:3 tx:0 rx:8612447 RTS|DTR
7: uart:ST16654 port:F1000110 irq:3 tx:0 rx:4630167 RTS|DTR
8: uart:ST16654 port:F1000118 irq:3 tx:0 rx:1462530 RTS|DTR
9: uart:ST16654 port:F1000120 irq:3 tx:4871 rx:35077537 RTS|DTR

My best guess is that it's a cable problem.