Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2001 01:38:22 +0100
From:      Andreas Gerstenberg <andy@andy.de>
To:        freebsd-net@FreeBSD.org
Subject:   Re: vlan panics?
Message-ID:  <4244559283.983497102@windoze.andy.de>
In-Reply-To: <3A8C0614.3131FB3@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

-- Julian Elischer <julian@elischer.org> wrote:

> Adrian Chadd wrote:

>> I've discovered that on the fxp, if I ifconfig a vlan up without
>> ifconfig'ing the parent interface (fxp) up, I'll get a panic.
>> I don't have the bt handy at the moment but basically the codepath
>> is bringing the vlan interface up, sending the gratuituous(sp)? arp
>> request out the vlan interface, which sends it out the parent interface.
>> The fxp code doesn't check whether the interface has been initialised
>> when it attempts to queue a packet for outbound, and you get a panic.

I had the same problem yesterday which took some hours to figure out,
whats going wrong. I have opened a PR for this problem (25478), there is
also a backtrace in.

But now I'm reading my freebsd-net archive..I think in the future I'll have
to take a look here before :-)

> there's an fxp-Vlan patch floating around somewhere.

Yes, http://www.euitt.upm.es/~pjlobo/fbsdvlan.html. This patch only helps
you to receive long frames. But the panic described above happens
independent of this patch.

There is a workaround for this problem, but it can take hours to find
out what happens or even to find out that you have to "ifconfig up" the
parent interface before.

regards,
Andy


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4244559283.983497102>