From owner-freebsd-questions@FreeBSD.ORG Sat Sep 17 13:56:56 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 115EC16A41F for ; Sat, 17 Sep 2005 13:56:56 +0000 (GMT) (envelope-from andrew.nau.ua@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9757743D45 for ; Sat, 17 Sep 2005 13:56:55 +0000 (GMT) (envelope-from andrew.nau.ua@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so238075nzk for ; Sat, 17 Sep 2005 06:56:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=ptAe3bncQ8fU0RDyqYo2X5HLIARIYzj0xckhc2fUcpy21/oPbp+3QBgh8q0gY+Anp5w2kR8cTzDuI3uQPU0cyoS8sYpt655OVVkv7fPaccju3PVWzPo+k3vpWK0Pm8BwMwrz1hikLywJhx1L8qjta/9n0XWLDGSIyIzcb1XpHcw= Received: by 10.54.140.10 with SMTP id n10mr157786wrd; Sat, 17 Sep 2005 06:56:55 -0700 (PDT) Received: from darkstar ( [194.153.128.27]) by mx.gmail.com with ESMTP id 64sm479150wra.2005.09.17.06.56.52; Sat, 17 Sep 2005 06:56:55 -0700 (PDT) Date: Sat, 17 Sep 2005 16:56:57 +0300 From: Andrew Pogrebennyk To: freebsd-questions@freebsd.org Message-ID: <20050917165657.11b30093@darkstar> X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.4; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Bluetooth-related question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2005 13:56:56 -0000 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