Hi Jason, This problem looks a bit different than the one Paul was seeing (but perhaps is related)... In the case you provided, it looks like tcpborphserver3 may have crashed. There is another ROACH2 programming problem seen which shows the following in the telnet session:
?progdev dibas_inco_2048_t12_w095_p00_2 013_Aug_05_1926.bof #log info 949739059032 raw attempting\_to\_program\_dibas_inco_2048_t12_w095_p00_2013_Aug_05_1926.bof #log info 949739059041 raw attempting\_to\_program\_bitstream\_of\_19586188\_bytes\_to\_device\_/dev/roach/config #fpga loaded #log error 949739059487 raw unable\_to\_map\_file\_/dev/roach/mem:\_Cannot\_allocate\_memory #log error 949739059489 raw unable\_to\_program\_bit\_stream\_from\_dibas_inco_2048_t12_w095_p00_2013_Aug_05_1926.bof !progdev fail This looks to me like some sort of bug in tcpborphserver or the kernel. Anyone seen something like this or have any ideas/suggestions for tracking this down? Glenn On Wed, Aug 14, 2013 at 8:17 AM, Jason Ray <[email protected]> wrote: > All, > > Occasionally I've noticed (maybe a handful of times over the past few > months) that progdev will fail with our roach2 boards. After working fine > for long periods, it will fail to program out of nowhere and the only fix is > to reboot the roach2. > > I copied/pasted the python error dialog below. > > Has anyone else had this issue? > > Thanks, > Jason > > > > > ERROR: An unexpected error occurred while tokenizing input > The following traceback may be corrupted or invalid > The error message is: ('EOF in multi-line statement', (287, 0)) > > --------------------------------------------------------------------------- > KatcpClientError Traceback (most recent call last) > /users/jray/dibas_inco_setup.py in <module>() > 48 > 49 # Latest 4096ch > > ---> 50 fpga.progdev('dibas_inco_4096_t12_w095_z00_2013_Aug_13_1943.bof') > 51 > 52 > > > /opt/local/lib/python2.7/site-packages/corr/katcp_wrapper.pyc in > progdev(self, boffile) > 108 self._logger.info("Deprogramming FPGA... > %s."%(reply.arguments[0])) > 109 else: > --> 110 reply, informs = self._request("progdev", boffile) > 111 self._logger.info("Programming FPGA with %s... > %s."%(boffile,reply.arguments[0])) > 112 return reply.arguments[0] > > /opt/local/lib/python2.7/site-packages/corr/katcp_wrapper.pyc in > _request(self, name, *args) > 59 """ > 60 request = Message.request(name, *args) > ---> 61 reply, informs = > self.blocking_request(request,keepalive=True) > 62 > 63 if reply.arguments[0] != Message.OK: > > /opt/local/lib/python2.7/site-packages/katcp/client.pyc in > blocking_request(self, msg, timeout, keepalive) > 591 > 592 try: > --> 593 self.request(msg) > 594 while True: > 595 self._request_end.wait(timeout) > > /opt/local/lib/python2.7/site-packages/katcp/client.pyc in request(self, > msg) > 88 """ > 89 assert(msg.mtype == Message.REQUEST) > ---> 90 self.send_message(msg) > 91 > 92 def send_message(self, msg): > > /opt/local/lib/python2.7/site-packages/katcp/client.pyc in > send_message(self, msg) > 113 try: > 114 if sock is None: > --> 115 raise KatcpClientError("Client not connected") > 116 > 117 while totalsent < datalen: > > KatcpClientError: Client not connected > >

