Date: Tue, 16 Aug 2005 11:17:55 +0000 From: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-net@freebsd.org Subject: Re: panic: if_attach called without if_alloc'd input() Message-ID: <20050816111754.GA59968@freebsd.czest.pl> In-Reply-To: <20050809181601.GB20908@odin.ac.hmc.edu> References: <200508090854.21278.darcy@wavefire.com> <20050809181601.GB20908@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 09, 2005 at 11:16:01AM -0700, Brooks Davis wrote: > On Tue, Aug 09, 2005 at 08:54:21AM -0700, Darcy Buskermolen wrote: > > I'm getting the following panic on my RELENG_6 test box: > > > > xl1f0: BUG: if_attach called without if_alloc'd input() > > > > Where should I be looking to track this down? I suspect it has to do with a > > custom kernel, it wasn't doing it when i was running GENERIC > > The ef(4) device is currently broken. I haven't had time to look at it > much though it seems mostly correct by inspection so I'm not sure what's > going on. > > If you could compile with debugging and get be a stack trace from the > panic, that might help be track this down. I'm assuming there's a path > through the code that I'm missing that results in using a bogus cast to > get an ifnet pointer and thus causes a panic. You might also try the > following patch which fixes a couple bugs I think are unrelated, but may > not be. Hello, As I've written earlier, I had some time to analyze it. Detailed description: kern/84987 Patch is here: http://freebsd.czest.pl/dunstan/FreeBSD/diff.0.if.c Could someone review that patch? -- * Wojciech A. Koszek && dunstan@FreeBSD.czest.pl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050816111754.GA59968>