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; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread

* Re: Starfire kern_err on Avanti with 2.4test12pre7
@ 2000-12-07 17:43 Ingo T. Storm
  2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
  0 siblings, 1 reply; 9+ 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] 9+ messages in thread

* Avanti maxes out...
  2000-12-07 17:43 Starfire kern_err on Avanti with 2.4test12pre7 Ingo T. Storm
@ 2000-12-14 11:24 ` Ingo T. Storm
  2000-12-14 11:37   ` Richard June
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ingo T. Storm @ 2000-12-14 11:24 UTC (permalink / raw)
  To: axp-list

Hi,

as some of you might recall I tried to set up an Avanti (4/233) as a
netfilter/iptables firewall. It's up and running with 2.4test12 now.

Alas I realized yesterday that it will not be able to handle our bandwith.
Even without any iptables rules and 3 active interfaces it maxes out at 3,6
MBytes/s and 99% kernel load. We "unfortunately" have a 100MBit/s line to
our ISP;-) And the traffic between our staging and our production web/db
servers goes through this box, so I do expect the bandwidth to be really
used...

Does anybody know if a Ruffian (533 MHz) with the same quad Starfire NIC
might be fit for this task or if I need a bigger iron? I plan to use 4
interfaces (eth0: Internet, eth1: dmz with mail/proxies, eth2: lab network,
eth3: link to interior router/fw. The filtering rules will not be too
complex.

Thanks,
Ingo







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

* Re: Avanti maxes out...
  2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
@ 2000-12-14 11:37   ` Richard June
  2000-12-14 12:23     ` Ingo T. Storm
  2000-12-14 17:14   ` Michal Jaegermann
  2000-12-14 20:14   ` Nikita Schmidt
  2 siblings, 1 reply; 9+ messages in thread
From: Richard June @ 2000-12-14 11:37 UTC (permalink / raw)
  To: axp-list

<shameless plug>
if you have trouble getting something to do what you need, I can probably
hook you up(although it won't be cheap) I build routers, and I know our
stuff can handle that. http://www.imagestream-is.com 
</shameless plug>
 On Thu, 14 Dec 2000, Ingo T. Storm wrote:

> Hi,
> 
> as some of you might recall I tried to set up an Avanti (4/233) as a
> netfilter/iptables firewall. It's up and running with 2.4test12 now.
> 
> Alas I realized yesterday that it will not be able to handle our bandwith.
> Even without any iptables rules and 3 active interfaces it maxes out at 3,6
> MBytes/s and 99% kernel load. We "unfortunately" have a 100MBit/s line to
> our ISP;-) And the traffic between our staging and our production web/db
> servers goes through this box, so I do expect the bandwidth to be really
> used...
> 
> Does anybody know if a Ruffian (533 MHz) with the same quad Starfire NIC
> might be fit for this task or if I need a bigger iron? I plan to use 4
> interfaces (eth0: Internet, eth1: dmz with mail/proxies, eth2: lab network,
> eth3: link to interior router/fw. The filtering rules will not be too
> complex.
> 
> Thanks,
> Ingo
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




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

* Re: Avanti maxes out...
  2000-12-14 11:37   ` Richard June
@ 2000-12-14 12:23     ` Ingo T. Storm
  0 siblings, 0 replies; 9+ messages in thread
From: Ingo T. Storm @ 2000-12-14 12:23 UTC (permalink / raw)
  To: axp-list

Hi,

> if you have trouble getting something to do what you need,

Thanks a lot, but I don't think so. I only feel better if I can prove that I
need big bucks before I ask for them;-)

Ingo





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

* Re: Avanti maxes out...
  2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
  2000-12-14 11:37   ` Richard June
@ 2000-12-14 17:14   ` Michal Jaegermann
  2000-12-14 20:14   ` Nikita Schmidt
  2 siblings, 0 replies; 9+ messages in thread
From: Michal Jaegermann @ 2000-12-14 17:14 UTC (permalink / raw)
  To: axp-list

On Thu, Dec 14, 2000 at 12:24:48PM +0100, Ingo T. Storm wrote:
> 
> as some of you might recall I tried to set up an Avanti (4/233) as a
> netfilter/iptables firewall. It's up and running with 2.4test12 now.

Is any specific reason why are you using here a development kernel, with
all possible troubles which may come with that, for something which
sounds like a pretty standard "production" use?

> Alas I realized yesterday that it will not be able to handle our bandwith.
> Even without any iptables rules and 3 active interfaces it maxes out at 3,6
> MBytes/s and 99% kernel load. We "unfortunately" have a 100MBit/s line to
> our ISP;-)

There is something wrong with this picture.  Do a bit of a back-envelope
arithmetic.  Tasks which you are talking about should barely register,
if at all, on your machine loads.  Does writing to a disk sends loads on
your machine through a roof?

> And the traffic between our staging and our production web/db
> servers goes through this box, so I do expect the bandwidth to be really
> used...

You have only 100MBit/sec so it will not take long to use it all.  We
are not talking here about an Internet backbone.  This is only a speed
of a faster standard ethernet connection.  Do you really think that most
machines around is either only pushing packets, without doing any useful
work, or it has vast resources to spare?

  Michal




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

* Re: Avanti maxes out...
  2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
  2000-12-14 11:37   ` Richard June
  2000-12-14 17:14   ` Michal Jaegermann
@ 2000-12-14 20:14   ` Nikita Schmidt
  2000-12-16 11:52     ` Ingo T. Storm
  2 siblings, 1 reply; 9+ messages in thread
From: Nikita Schmidt @ 2000-12-14 20:14 UTC (permalink / raw)
  To: axp-list

On Thursday, 14 Dec, Ingo T. Storm wrote:
> Hi,
> 
> as some of you might recall I tried to set up an Avanti (4/233) as a
> netfilter/iptables firewall. It's up and running with 2.4test12 now.
> 
> Alas I realized yesterday that it will not be able to handle our bandwith.
> Even without any iptables rules and 3 active interfaces it maxes out at 3,6
> MBytes/s and 99% kernel load.

I've seen kernel unaligned accesses produced by the network code in
2.4.test11.  I don't know if they've been fixed in test12; check your
/proc/cpuinfo...

Nikita




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

* Re: Avanti maxes out...
  2000-12-14 20:14   ` Nikita Schmidt
@ 2000-12-16 11:52     ` Ingo T. Storm
  0 siblings, 0 replies; 9+ messages in thread
From: Ingo T. Storm @ 2000-12-16 11:52 UTC (permalink / raw)
  To: axp-list

> I've seen kernel unaligned accesses produced by the network code in
> 2.4.test11.  I don't know if they've been fixed in test12; check your
> /proc/cpuinfo...

Thanks!

Ingo





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

end of thread, other threads:[~2000-12-16 11:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-07 17:43 Starfire kern_err on Avanti with 2.4test12pre7 Ingo T. Storm
2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
2000-12-14 11:37   ` Richard June
2000-12-14 12:23     ` Ingo T. Storm
2000-12-14 17:14   ` Michal Jaegermann
2000-12-14 20:14   ` Nikita Schmidt
2000-12-16 11:52     ` Ingo T. Storm
  -- strict thread matches above, loose matches on Subject: below --
2000-12-07 16:09 Starfire kern_err on Avanti with 2.4test12pre7 Ingo T. Storm
2000-12-07 17:09 ` Ivan Kokshaysky

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