Must softc begin with arpcom?

2004-06-16 Thread Bruce M Simpson
In if_arp.h: 103 * The code is written so that each *_softc _must_ begin with a 104 * struct arpcom, which in turn _must_ begin with a struct ifnet. It seems to be that this may no longer be the case after luigi's recent cleanups (IFP2AC() and friends) which I nearly ended up duplicating. What

FreeBSD em ether driver lockup

2004-06-16 Thread ming fu
Hi, I have experienced em driver lockup. One of a port on a multi-port Intel Gigbit card would lockup. It can be unlocked by #ifconfig em2 down #ifconfig em2 up I beleive I have been hit by the same bug reported as kern/66634 Looking through the em driver code, I noticed the watchdog functi

Interfaces order

2004-06-16 Thread Carlos Matos
Hi, I'm trying to implement a mobile network. My Mobile router have two interfaces (sis0 and wi0). My problem is that the daemon "rtsold" that I am using, need to select the interface wi0, but is selecting the interface sis0. This appens because the sis0 interface appears first in t

Re: Interfaces order

2004-06-16 Thread Erik Trulsson
On Wed, Jun 16, 2004 at 03:21:05PM +0100, Carlos Matos wrote: > Hi, > >I'm trying to implement a mobile network. My Mobile router have two >interfaces (sis0 and wi0). My problem is that the daemon "rtsold" >that I am using, need to select the interface wi0, but is selecting >the in

Re: FreeBSD em ether driver lockup

2004-06-16 Thread Petri Helenius
ming fu wrote: Is there a suggestion on how to trigger the watchdog to be called. It is really time consuming to diagnose this as it takes hours or dates for the em to lockup once. Some vendors are kind enough to sell motherboards broken enough for em to never get interrupts. However the current

Re: Must softc begin with arpcom?

2004-06-16 Thread Luigi Rizzo
On Wed, Jun 16, 2004 at 02:24:05PM +0100, Bruce M Simpson wrote: > In if_arp.h: > 103 * The code is written so that each *_softc _must_ begin with a > 104 * struct arpcom, which in turn _must_ begin with a struct ifnet. > > It seems to be that this may no longer be the case after luigi's > recen

atw admtek driver

2004-06-16 Thread Richard Neese
Is anyone willing to help with this driver I have a bais for the driver. I have starte dbtu have come to the point where I am stumped and need help with stacks and other problems . If you wish to help email me and I will send you the src. ___ [EMAIL

IPFW questions

2004-06-16 Thread Staffan Ulfberg
I sent an article similar to this a few days ago to c.u.b.freebsd.misc but didn't get any responses, so I'll try here instead. Please bear with the long mail... And thanks in advance for any new insights! I have an IPFW2 firewall and would like to get a few random things clarified/solved: FIRS