netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: kernel: TD structure error TDindex=e
       [not found] <48835302.1090708@xs4all.nl>
@ 2008-07-20 16:08 ` Francois Romieu
  2008-07-20 16:14   ` Udo van den Heuvel
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Romieu @ 2008-07-20 16:08 UTC (permalink / raw)
  To: Udo van den Heuvel; +Cc: LKML, netdev

Udo van den Heuvel <udovdh@xs4all.nl> :
[...]
> 16:41:09 recorder kernel: TD structure error TDindex=e
> 
> This was on a VIA EN12000 board (with VIA Velocity Gbit ethernet,
> running 2.6.25.7) while doing a file transfer. The card was `down` after
> that.
[...]
> How can I avoid/fix/etc this situation ?

Can you apply the patch below to get some more information ?

May I assume that it does not count as a regression ?

Thanks in advance.

diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c
index 370ce30..57ee35b 100644
--- a/drivers/net/via-velocity.c
+++ b/drivers/net/via-velocity.c
@@ -1743,7 +1743,8 @@ static void velocity_error(struct velocity_info *vptr, int status)
 	if (status & ISR_TXSTLI) {
 		struct mac_regs __iomem * regs = vptr->mac_regs;
 
-		printk(KERN_ERR "TD structure error TDindex=%hx\n", readw(&regs->TDIdx[0]));
+		printk(KERN_ERR "Tx process error TDIdx=0x%04x TXESR=0x%02x\n",
+		       readw(&regs->TDIdx[0]), readb(&regs->TXESR));
 		BYTE_REG_BITS_ON(TXESR_TDSTR, &regs->TXESR);
 		writew(TRDCSR_RUN, &regs->TDCSRClr);
 		netif_stop_queue(vptr->dev);
-- 
Ueimor

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: kernel: TD structure error TDindex=e
  2008-07-20 16:08 ` kernel: TD structure error TDindex=e Francois Romieu
@ 2008-07-20 16:14   ` Udo van den Heuvel
  0 siblings, 0 replies; 2+ messages in thread
From: Udo van den Heuvel @ 2008-07-20 16:14 UTC (permalink / raw)
  To: Francois Romieu; +Cc: LKML, netdev

Francois Romieu wrote:
> Udo van den Heuvel <udovdh@xs4all.nl> :
> [...]
>> 16:41:09 recorder kernel: TD structure error TDindex=e
(...)
>> How can I avoid/fix/etc this situation ?
> 
> Can you apply the patch below to get some more information ?

Will do, will look for an earliest opportinuty to boot the machine with
the patched kernel.

> May I assume that it does not count as a regression ?

Can't confirm/deny.
It has 'hung' before.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-20 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <48835302.1090708@xs4all.nl>
2008-07-20 16:08 ` kernel: TD structure error TDindex=e Francois Romieu
2008-07-20 16:14   ` Udo van den Heuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).