Re: kernel: TD structure error TDindex=e

Subsystems: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

2 messages, 2 authors, 2008-07-20 · open the first message on its own page

Re: kernel: TD structure error TDindex=e

From: Francois Romieu <romieu@fr.zoreil.com>
Date: 2008-07-20 16:08:25

Udo van den Heuvel [off-list ref] :
[...]
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

Re: kernel: TD structure error TDindex=e

From: Udo van den Heuvel <hidden>
Date: 2008-07-20 16:14:28

Francois Romieu wrote:
Udo van den Heuvel [off-list ref] :
[...]
quoted
16:41:09 recorder kernel: TD structure error TDindex=e
(...)
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help