From owner-freebsd-wireless@FreeBSD.ORG Mon Aug 1 15:39:50 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CC84106566B; Mon, 1 Aug 2011 15:39:50 +0000 (UTC) (envelope-from richo@psych0tik.net) Received: from bedford.accountservergroup.com (bedford.accountservergroup.com [50.22.11.19]) by mx1.freebsd.org (Postfix) with ESMTP id 33D448FC0C; Mon, 1 Aug 2011 15:39:49 +0000 (UTC) Received: from [202.172.106.138] (helo=vesper.psych0tik.net) by bedford.accountservergroup.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Qnuap-0009AS-JP; Mon, 01 Aug 2011 10:39:49 -0500 Date: Tue, 2 Aug 2011 01:39:20 +1000 From: richo To: Adrian Chadd Message-ID: <20110801153920.GA17336@vesper.psych0tik.net> References: <20110801005639.GB20219@richh-desktop.boxdice.com.au> <20110801030038.GB77144@DataIX.net> <20110801031706.GB31782@richh-desktop.boxdice.com.au> <20110801150242.GA14650@vesper.psych0tik.net> <20110801152323.GA22417@vesper.psych0tik.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://natalya.psych0tik.net/~richo/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bedford.accountservergroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - psych0tik.net X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-wireless@freebsd.org Subject: Re: Ath works as module, not inkernel X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 15:39:50 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 01/08/11 23:30 +0800, Adrian Chadd wrote: >.. it should've produced output in dmesg. > >Also try adding: > >dev.ath.0.hal.debug=3D0x4 > >See if that helps? I'll try that in a moment > >Also, how the hell are you able to load a module for ath/hal if it's >compiled into your kernel? or is it failing to load it early on in the >single user boot, but then fine to load it in later? > I'm 99% sure that this kernel was built without ath support built in and it= 's the load_if_ath and load_if_ath_pci lines in loader.conf that is causing it to load at some point later? We might be at cross purposes, I'm guessing from your question that dmesg is suggesting that support is built in? When I've tried to load a module that's already in the kernel in the past it gives a xxxxx is already in kernel.kld (or something along those lines, the exact message escapes me). The behavior from the user standpoint is that it attempts to load the corre= ct modules at boot time and fails in some way, once the system has come up multiuser, I am able to unload the modules and then load them manually, at which point the nic comes up and functions normally. I hope this clears things up, I'll post the new dmesg shortly (I just start= ed a stack of ports updating so I'll wait till that finishes) Thanks for your help, really appreciate it rich > >Adrian > --=20 richo || Today's excuse:=20 User was distributing pornography on server; system seized by FBI.=0D --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJONsioAAoJEIKiWz6J5yQVkKQH/2z8WR+UxlSMs02EuUVeSQgW LuPW4McqYIrx/vyB6aSiFer4YAN+mDHRLw9NkXahaOjMBPQHrJkY/1qXaRwJBX3v T31EcU0WgMa5OKn2qM9PlGcr7lwRea+FGpqZyYUUftZjtlyn+84AZC0aJCNnS1Ca AAslzIveitBvFkgoIpwsf8sq8G9QbQiYZRptzrCI6Swk7OMyCpwqocZJA2BVlELD rWmyrNCVLJzTpzgx2Uto46iEnfSGTeRfPeKG87/db/I92R9kfOUHryebFMy93E8/ yvskS9MQ/l4fQ90YZ8ryzRqEI4yYTP5YXfxURwFAsvyt3/F4D5qonYh6kNutaXM= =L4Q0 -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--