[mythtv-commits] Ticket #5278: Firewire Uses Bad Port Number and Fails

MythTV mythtv at cvs.mythtv.org
Tue Jun 10 17:58:33 UTC 2008

#5278: Firewire Uses Bad Port Number and Fails
 Reporter:  scottadmi at gmail.com  |        Owner:  danielk 
     Type:  defect               |       Status:  assigned
 Priority:  minor                |    Milestone:  unknown 
Component:  mythtv               |      Version:  0.21    
 Severity:  medium               |   Resolution:          
  Mlocked:  0                    |  

Comment(by Mike Rice <mikerice1969 at gmail.com>):

 I've seen this as well.  I'm currently trying to get stable recordings
 from a DCH3416 box.  I am still trying to understand the code but I can
 explain what I am seeing in hopes it helps.

 Using the internal changer (and broadcast mode) things usually appear fine
 directly after restarting the backend.  A recording (or LiveTV) starts
 recording and after some minutes 15-45 minutes typically there is no
 longer any data available and the backend tries to recover with
 SignalReset.  That does the UpdateDeviceList() which goes through the
 ports and nodes and gets the guid (get_guid).  My problem is that get_guid
 will no longer get the guid as it errors with "temporarily unavailable".
 Once it gets into this state it usually stays unavailable but occasionally
 it recovers.  Of course I can run plugreport during the time the get_guid
 read is "temporarily unavailable" and it will report the guid just fine so
 I am not sure what to think here.

 In any case once the guid goes offline the port and node are set to -1 and
 then some odd things start happening.  I don't understand the flow enough
 to see how OpenPort gets called for one of these offline port/nodes but it
 is occasionally appearing in my logs.  I've been concentrating on figuring
 out why get_guid is failing for me but I'll test any patches or ideas that
 are generated.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5278#comment:7>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list