From owner-freebsd-current Sat Jan 27 12:37: 5 2001 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 3A22337B400 for ; Sat, 27 Jan 2001 12:36:48 -0800 (PST) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id MAA31327; Sat, 27 Jan 2001 12:36:43 -0800 Date: Sat, 27 Jan 2001 12:36:41 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Dag-Erling Smorgrav Cc: Blaz Zupan , freebsd-current@FreeBSD.ORG Subject: Re: XXX driver didn't initialize queue mtx In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oh, I suppose, I did find that... well, mainly I wanted the person who made the change to actually broadcast to NIC maintainers what the expectations were... > Matthew Jacob writes: > > Oh, yeah- can someone say *which* queue mtx it's referring to? > > des@des ~% current "driver didn.t initialize" > src/sys/net/if.c: printf("%s%d XXX: driver didn't initialize queue mtx\n", > des@des ~% grep -C "driver didn.t initialize" /sys/net/if.c > /* XXX This is an access violation of the mutex internals. */ > if (ifp->if_snd.ifq_mtx.mtx_flags == 0) { > printf("%s%d XXX: driver didn't initialize queue mtx\n", > ifp->if_name, ifp->if_unit); > mtx_init(&ifp->if_snd.ifq_mtx, "unknown", MTX_DEF); > > That wasn't so hard, was it? > > DES > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message