Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 12:36:41 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Blaz Zupan <blaz@amis.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: XXX driver didn't initialize queue mtx
Message-ID:  <Pine.LNX.4.21.0101271236100.13274-100000@zeppo.feral.com>
In-Reply-To: <xzpy9vwizq4.fsf@flood.ping.uio.no>

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

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 <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
> 



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?Pine.LNX.4.21.0101271236100.13274-100000>