Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Starfire kern_err on Avanti with 2.4test12pre7
@ 2000-12-07 16:09 Ingo T. Storm
  2000-12-07 17:09 ` Ivan Kokshaysky
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo T. Storm @ 2000-12-07 16:09 UTC (permalink / raw)
  To: axp-list

Hi,

(If there is a better list to post this, please let me know. And
please forgive me if I am being really dumb. This is the first time I
play with a test kernel because I am in desperate need of iptables. )

I compiled 2.4test12-pre7 on one my Avantis. The Adaptec 4-port-NIC
with 4 starfire chips works, i.e. basic connectivity is ok (ping, ftp,
ssh). Alas, the starfire driver bombards the syslog with a kernel
error messages for each packet that reaches or leaves the interface.

--------- sample messages ---------

Dec  7 18:11:43 kleinbonum kernel: eth2: Internal fault: The skbuff
addresses do not match in netdev_rx: 1198671889 vs. fffffc0007724800 /
fffffc0007724810.
Dec  7 18:11:44 kleinbonum kernel: eth2: Internal fault: The skbuff
addresses do not match in netdev_rx: 1198669841 vs. fffffc0007724000 /
fffffc0007724010.

-----------------------------------

I am afraid I am far from being a useful C programmer, but I think
located the code that produces these messages in starfire.c:

---- code from starfire.c -----

#ifndef final_version /* Remove after testing. */
 if (le32_to_cpu(np->rx_ring[entry].rxaddr & ~3) != ((unsigned long)
temp))
 printk(KERN_ERR "%s: Internal fault: The skbuff addresses "
    "do not match in netdev_rx: %d vs. %p / %p.\n",
    dev->name,
    le32_to_cpu(np->rx_ring[entry].rxaddr),
    skb->head, temp);
#endif

------------------------------

Now - can someone please enlighten me if I it is really safe to remove
this stuff or if I have stumbled over a problem - or if I have to live
with it and by a new RAID Array for /var/log/messages;-)

Thanks!

Ingo





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

* Re: Starfire kern_err on Avanti with 2.4test12pre7
  2000-12-07 16:09 Starfire kern_err on Avanti with 2.4test12pre7 Ingo T. Storm
@ 2000-12-07 17:09 ` Ivan Kokshaysky
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Kokshaysky @ 2000-12-07 17:09 UTC (permalink / raw)
  To: axp-list; +Cc: Jeff Garzik

Yes, this code will _always_ fail on alpha, so yet another
#ifndef __alpha__ is needed.

Ivan.

On Thu, Dec 07, 2000 at 05:09:29PM +0100, Ingo T. Storm wrote:
> Hi,
> 
> (If there is a better list to post this, please let me know. And
> please forgive me if I am being really dumb. This is the first time I
> play with a test kernel because I am in desperate need of iptables. )
> 
> I compiled 2.4test12-pre7 on one my Avantis. The Adaptec 4-port-NIC
> with 4 starfire chips works, i.e. basic connectivity is ok (ping, ftp,
> ssh). Alas, the starfire driver bombards the syslog with a kernel
> error messages for each packet that reaches or leaves the interface.
> 
> --------- sample messages ---------
> 
> Dec  7 18:11:43 kleinbonum kernel: eth2: Internal fault: The skbuff
> addresses do not match in netdev_rx: 1198671889 vs. fffffc0007724800 /
> fffffc0007724810.
> Dec  7 18:11:44 kleinbonum kernel: eth2: Internal fault: The skbuff
> addresses do not match in netdev_rx: 1198669841 vs. fffffc0007724000 /
> fffffc0007724010.
> 
> -----------------------------------
> 
> I am afraid I am far from being a useful C programmer, but I think
> located the code that produces these messages in starfire.c:
> 
> ---- code from starfire.c -----
> 
> #ifndef final_version /* Remove after testing. */
>  if (le32_to_cpu(np->rx_ring[entry].rxaddr & ~3) != ((unsigned long)
> temp))
>  printk(KERN_ERR "%s: Internal fault: The skbuff addresses "
>     "do not match in netdev_rx: %d vs. %p / %p.\n",
>     dev->name,
>     le32_to_cpu(np->rx_ring[entry].rxaddr),
>     skb->head, temp);
> #endif
> 
> ------------------------------
> 
> Now - can someone please enlighten me if I it is really safe to remove
> this stuff or if I have stumbled over a problem - or if I have to live
> with it and by a new RAID Array for /var/log/messages;-)
> 
> Thanks!
> 
> Ingo
> 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: Starfire kern_err on Avanti with 2.4test12pre7
@ 2000-12-07 17:43 Ingo T. Storm
  0 siblings, 0 replies; 3+ messages in thread
From: Ingo T. Storm @ 2000-12-07 17:43 UTC (permalink / raw)
  To: axp-list

>Yes, this code will _always_ fail on alpha, so yet another
>#ifndef __alpha__ is needed.

Thanks Ivan!

So I can just ifndef it and sleep tight forever after?

Cheers,
Ingo





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

end of thread, other threads:[~2000-12-07 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-07 16:09 Starfire kern_err on Avanti with 2.4test12pre7 Ingo T. Storm
2000-12-07 17:09 ` Ivan Kokshaysky
  -- strict thread matches above, loose matches on Subject: below --
2000-12-07 17:43 Ingo T. Storm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox