Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2007 01:25:56 +0400
From:      Tofig Suleymanov <tofig@freebsd.az>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: if_start running deferred for Giant
Message-ID:  <47780CE4.3000302@freebsd.az>
In-Reply-To: <20071230170217.T6382@fledge.watson.org>
References:  <4777690B.1030403@freebsd.az> <20071230170217.T6382@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
>
> On Sun, 30 Dec 2007, Tofig Suleymanov wrote:
>
>> I am writing a driver for Kyocera USB modem for FreeBSD and there are 
>> a few questions that I am not able to solve alone. I would be 
>> grateful if someone could point me into the right direction.Here is 
>> the first one:
>>
>> Inside the USB_ATTACH() function I initialise the ifnet(9) structure 
>> and return USB_ATTACH_SUCCESS_RETURN. Everything seems to be fine so 
>> far (I can see the interface in ifconfig output) except the following 
>> error notice spit to the console:
>>
>> xxxxxx kernel: ib0: if_start running deferred for Giant
>>
>> I am not sure what does this exactly mean.
>>
>> Any help would be appreciated.
>
> This occurs when a network device driver has declared itself 
> IFF_NEEDSGIANT -- that is, has declared that it requires the Giant 
> lock in order to operate. As this is considered an undesirable state 
> of affairs for a device driver, a warning is printed. However, in the 
> case of a USB device driver, it is currently required as the USB 
> framework is not MPSAFE, so requires Giant.
>
> Robert N M Watson
> Computer Laboratory
> University of Cambridge
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Thanks for clarification. Does it mean that I can ignore this notice 
when dealing with USB framework ?






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