I am getting a steady amount of select errors on my long-ish micro lan.

I edited the owfs code to determine which select error i was actually
getting, it seems i am getting a lot of BUS_transaction_nolock errors on the
main branch of each of my couplers.  No errors report on the aux branch
strangely.

Feb 14 22:33:07 ubuntu OWFS[17145]: CONNECT:
ow_select.c:BUS_select_subbranch(193) Select subbranch error
//BUS_transaction_nolock// on bus 2:2 coupler 1F D6 65 05 00 00 00 8D
subbranch main

I have 4 couplers that i am switching for various sensors beyond them.

A graph of the stats is here  it's fairly constant:
http://www.kiwi-hacker.net/rrd/

So my question is, if i am not seeing any other type of error, what should i
be looking for to clean up these select errors?


Thank you.

Mohclips.



My changes to owfs-2.8p6/module/owlib/src/c/ow_select.c for those
interested.


        if( BAD(BUS_transaction_nolock(t, pn)) ) {
                STAT_ADD1_BUS(e_bus_select_errors, pn->selected_connection);
                //LEVEL_CONNECT("Select subbranch error on bus %s",
SOC(pn->selected_connection)->devicename);
                LEVEL_CONNECT("Select subbranch error
//BUS_transaction_nolock// on bus %s coupler "SNformat" subbranch %s " ,
                        SOC(pn->selected_connection)->devicename,
                        SNvar(bp->sn),
                        branch[bp->branch]?"main":"aux"
                );
                return gbBAD;
        };


        if ( (resp[1] != branch[bp->branch])) {

                STAT_ADD1_BUS(e_bus_select_errors, pn->selected_connection);
                //LEVEL_CONNECT("Select subbranch error on bus %s",
SOC(pn->selected_connection)->devicename);
                LEVEL_CONNECT("Select subbranch error //bad response// of
resp %ld != branch %ld on bus %s coupler "SNformat" subbranch %s " ,
                        resp[1],
                        branch[bp->branch],
                        SOC(pn->selected_connection)->devicename,
                        SNvar(bp->sn),
                        branch[bp->branch]?"main":"aux"
                );
                return gbBAD;


        };
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to