Re: 82559ER receive stall state
- From: "HB" <spam.me@xxxxxxxxxxxxx>
- Date: Wed, 9 Nov 2005 16:46:44 +0100
Hi!
I have used the 82557End driver for a while, both with an MPC755 and MPC8245
with several problems. We are using Tornado2.0.2 (VxWorks 5.4). We have
ended up
porting the VxWorks 5.5 driver, added some fixes and now I have not seen any
problems
for about a year.
The following fix has been reported to wrs. Maybe it will help you
Here is my description previously sent to WindRiver:
In the time since my last email to you I have also stumbled into another
error in that driver. I managed to get the command unit (CU) of the network
controller in idle state while the receive unit (RU) was OK in ready state.
It
was then impossible to start up the CU again. When checking if the CU unit
is in idle state in fei82557Action(), only bit 6 and 7 of 'scbStatus' must
be used
otherwise the wanted command may not be executed:
/* check CU operation -- kick if needed */
CSR_WORD_RD (CSR_STAT_OFFSET, scbStatus);
if ((scbStatus & SCB_S_CUMASK) != SCB_S_CUACTIVE)
{
if ((scbStatus & SCB_S_CUMASK) == SCB_S_CUIDLE) <= CHANGED
LINE!!!!!!
{
if (fei82557SCBCommand (pDrvCtrl, SCB_C_CUSTART, TRUE, pCFD) ==
ERROR)
{
DRV_LOG (DRV_DEBUG_START,
("fei82557SCBCommand: command failed\n"),
0, 0, 0, 0, 0, 0);
}
}
else
{
if (fei82557SCBCommand (pDrvCtrl, SCB_C_CURESUME, FALSE, 0x0) ==
ERROR)
{
DRV_LOG (DRV_DEBUG_START,
("fei82557SCBCommand: command failed\n"),
0, 0, 0, 0, 0, 0);
}
}
}
BT
"rmichau" <rmichau.1y6c8z@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:rmichau.1y6c8z@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> Reyhan Wrote:
>> Hi,
>> When there is a high ethernet trafic btw my target and host, I have a
>> problem with the 82559ER receiver: the receiver stops receiving
>> packets. (I capture ethernet packet sent to my target using etherpeek
>> sw but I see that device doesn't receive packet by calling ifShow
>> "fei")
>> As a work around, I disable and than enable again the 82559ER
>> interrupt then receiver starts receiving again.
>>
>> I have used WRS fei82557 driver as it is.
>> I have WRS PPMC8245 reference board and under same circumstances I
>> haven't got this problem with PPMC8245 (MPC845@300Mhz, has 82559, and
>> not other pci device)
>> I have the problem on my target (MPC8245@250MHz or 350Mhz) which has
>> 82559ER and also universe vme bridge on the pci.
>>
>> The 82557 driver debug code doesn't indicate any failure, and network
>> stack status seems fine.
>>
>> I will appreciate any comments about the problem.
>>
>> Kind regards, reyhan
>
>
> Hi,
>
> I am currently experiencing the same problem you describe. I've
> unsuccesfully thusfar been looking for the problem but am not making
> any headway. Did you find a solution to this issue ?
>
> Regards,
> Randall
>
>
> --
> rmichau
> posted via http://sysdminforum.com
>
.
- References:
- Re: 82559ER receive stall state
- From: rmichau
- Re: 82559ER receive stall state
- Prev by Date: How to clean the duplicate symbols in vxWorks
- Next by Date: How to debug the memory issue of vxWorks
- Previous by thread: Re: 82559ER receive stall state
- Next by thread: Re: 82559ER receive stall state
- Index(es):
Relevant Pages
|