This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000281] New: Endless loop in the driver of the CS8900A network chip


http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000281

           Summary: Endless loop in the driver of the CS8900A network chip
           Product: eCos
           Version: CVS
          Platform: Other
        OS/Version: HostOS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: normal
         Component: Ethernet drivers
        AssignedTo: gary@mlbassoc.com
        ReportedBy: deakfeco@freemail.hu
         QAContact: ecos-bugs@sources.redhat.com


In devs/eth/cl/cs8900a/current/src/if_cs8900a.c in cs8900_send() the lines
508-510 turns to be an endless loop sometimes. 
I can't reproduce it systematicaly or algorithmicaly, but it occurs sometimes
under heavy network load (sometimes means that it takes hours to occur).

The platform is a modified edb7xxx.

The lines in question are (accordig to the current CVS):

508:    do {
509:        stat = get_reg(base, PP_BusStat);
510:    } while (!(stat & PP_BusStat_TxRDY));

If I put a timeout on the loop and simply return on timeout it works continously.

-- 
Configure bugmail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]