From owner-freebsd-questions@FreeBSD.ORG Sun Sep 18 13:39:48 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 205A116A41F for ; Sun, 18 Sep 2005 13:39:48 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73C0243D46 for ; Sun, 18 Sep 2005 13:39:43 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 12984 invoked from network); 18 Sep 2005 13:39:43 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Sep 2005 13:39:42 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id B8C2637; Sun, 18 Sep 2005 09:39:41 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Andrew Pogrebennyk References: <20050917165657.11b30093@darkstar> From: Lowell Gilbert Date: 18 Sep 2005 09:39:41 -0400 In-Reply-To: <20050917165657.11b30093@darkstar> Message-ID: <44fys2ebqa.fsf@be-well.ilk.org> Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Bluetooth-related question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 13:39:48 -0000 Andrew Pogrebennyk writes: > Hi! Recently I've bought USB-Bluetooth-adapter and made the following > changes to setup it in FreeBSD: added ng_ubt_load="YES" > to /boot/loader.conf, > cp'ed /usr/share/examples/netgraph/bluetooth/rc.bluetooth > to /etc/rc.bluetooth, chmod'ed 555 /etc/rc.bluetooth and > changed wrote next lines in /etc/rc.local: > > $ cat /etc/rc.local > #!/bin/sh > if [ -f /etc/rc.bluetooth ]; > then /etc/rc.bluetooth start ubt0 > fi > > Daemons like hcsecd and sdpd will be added to /etc/rc.local when needed. > Everything works fine but the question is why I'm recieving following > warning (they're white-colored) during startup: > WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > > Besides, appears also > twice. Did I managed everything right, perphaps I should move startup > of bluetooth stack from rc.local to a more early script? Here's that > part of dmesg output: > > $ dmesg > Copyright (c) 1992-2005 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights > reserved. FreeBSD 6.0-BETA4 #0: Wed Sep 14 12:27:36 EEST 2005 > andrew@darkstar:/usr/obj/usr/src/sys/NEUTRINO > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Athlon(TM) XP 1700+ (1459.51-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 > /* stripped */ > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 ubt0: D-Link DBT-122, rev 1.10/0.01, addr 2 > ubt0: D-Link DBT-122, rev 1.10/0.01, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 > ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; > wMaxPacketSize=64; nframes=5, buffer size=320 ums0: Microsoft Microsoft > 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 3, iclass 3/1 > ums0: 5 buttons and Z dir. Timecounter "TSC" frequency 1459506295 Hz > quality 800 Timecounters tick every 1.000 msec > ad0: 76319MB at ata0-master UDMA100 > acd0: CDROM at ata1-master UDMA33 > acd1: DMA limited to UDMA33, device found non-ATA66 cable > acd1: CDRW at ata1-slave UDMA33 > Trying to mount root from ufs:/dev/ad0s1a > pflog0: promiscuous mode enabled > WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > Regards, Andrew Do you have anything else using netgraph?