From owner-freebsd-current@FreeBSD.ORG Wed Mar 30 23:05:43 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16AF316A4CE for ; Wed, 30 Mar 2005 23:05:43 +0000 (GMT) Received: from daintree.corp.yahoo.com (daintree.corp.yahoo.com [216.145.52.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED23943D46 for ; Wed, 30 Mar 2005 23:05:42 +0000 (GMT) (envelope-from peter@wemm.org) Received: by daintree.corp.yahoo.com (Postfix, from userid 2154) id E2A8A19764; Wed, 30 Mar 2005 15:05:42 -0800 (PST) From: Peter Wemm To: freebsd-current@freebsd.org Date: Wed, 30 Mar 2005 15:05:42 -0800 User-Agent: KMail/1.7.2 References: <585362735.20050330120814@uscc.ru> <11814573315.20050330144144@uscc.ru> <424AE3E6.3060102@savvis.net> In-Reply-To: <424AE3E6.3060102@savvis.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503301505.42627.peter@wemm.org> cc: freeze Subject: Re: troubles with bluetooth configuration X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 23:05:43 -0000 On Wednesday 30 March 2005 09:37 am, Maksim Yevmenkin wrote: > Hello, > > > When I try to initiate my local bt (/etc/rc.bluetooth start ubt0), > > I receive an error message: Can`t load ng_bluetooth. > > ok, what is the exact error message? > There is a bug in the module declaration in sys/netgraph/bluetooth/common/ng_bluetooth.c Near 'bluetooth_mod' there is a string in the structure that says "bluetooth" when it should say "ng_bluetooth". --- ng_bluetooth.c 7 Jan 2005 01:45:42 -0000 1.5 +++ ng_bluetooth.c 30 Mar 2005 23:04:44 -0000 @@ -243,7 +243,7 @@ */ static moduledata_t bluetooth_mod = { - "bluetooth", + "ng_bluetooth", bluetooth_modevent, NULL }; The problem is that it is exporting a module called "bluetooth" when the scripts and module loader are expecting "ng_bluetooth". -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5