Skip site navigation (1)Skip section navigation (2)
Date:      27 Jan 2001 20:04:03 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        mjacob@feral.com
Cc:        Blaz Zupan <blaz@amis.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: XXX driver didn't initialize queue mtx
Message-ID:  <xzpy9vwizq4.fsf@flood.ping.uio.no>
In-Reply-To: Matthew Jacob's message of "Sat, 27 Jan 2001 09:36:33 -0800 (PST)"
References:  <Pine.BSF.4.21.0101270936060.19716-100000@beppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob <mjacob@feral.com> 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
-- 
Dag-Erling Smorgrav - des@ofug.org


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




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