Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jan 2010 17:39:01 +0100
From:      martinko <gamato@users.sf.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: kernel: warning: attempt to domain_add(bluetooth) after domainfinalize()
Message-ID:  <hi7n35$evl$1@ger.gmane.org>
In-Reply-To: <hi7m72$bbn$1@ger.gmane.org>
References:  <4B470017.9000704@users.sf.net>	<201001080843.21371.jhb@freebsd.org>	<201001082116.35698.masoom.shaikh@gmail.com>	<hi7km1$5ub$1@ger.gmane.org> <hi7m72$bbn$1@ger.gmane.org>

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

martinko wrote:
> martinko wrote:
>> Masoom Shaikh wrote:
>>>
>>> I load the bluetooth netgraph node via loader.conf
>>> ng_ubt_load="YES"
>>>
>>> I receive this warning as well, no idea with previous releases prior
>>> to 7.0
>>> but I have always observed this warning.
>>
>> Indeed, I've done it always this way and I can confirm it worked on 6.x
>> but prints warnings on 7.2 and 8.0 (I have at hands at the moment).
>>
>> $ grep bt /boot/loader.conf.local
>> ng_ubt_load="YES"
>>
>
> Hm.. I've just realized that 4 modules are loaded via loader.conf:
> 13 1 0xc10cb000 6778 ng_ubt.ko
> 14 4 0xc10d2000 d9f4 netgraph.ko
> 15 2 0xc10e0000 df6c ng_hci.ko
> 16 3 0xc10ee000 23a0 ng_bluetooth.ko
>
> Yet there's still 1 loaded during boot via rc.conf:
> 27 1 0xc3ab9000 21000 ng_btsocket.ko
>
> Most likely because of the following:
> bthidd_enable="YES"

Well, either because of bthidd or hcsecd, they're started one after 
another and the warning is displayed close to them.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hi7n35$evl$1>