From owner-freebsd-wireless@FreeBSD.ORG Mon Aug 1 15:42:14 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 6A4151065672 for ; Mon, 1 Aug 2011 15:42:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1970C8FC08 for ; Mon, 1 Aug 2011 15:42:13 +0000 (UTC) Received: by vws18 with SMTP id 18so6026796vws.13 for ; Mon, 01 Aug 2011 08:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WTL9HjLMh6arHCuX+uO3YmS3nOXsE3Y/T0th17+wQ2I=; b=R8ulNWYLpiidZf7FAJXwiuzT9bpCFaMkEi9MQMtewzo6dLZ6T8fwv5HgEXKrol1EVd T4uXVjzCukVXQe3pwD+E0KNFtepFTJPILWupoKcjVv2GMa7AFcGl+WHEjta+JToeQ4J5 fxc3PLCY7QPoW0KHkDNRAe3lN+E2MtBovG2Xg= MIME-Version: 1.0 Received: by 10.52.27.36 with SMTP id q4mr4578946vdg.296.1312213333343; Mon, 01 Aug 2011 08:42:13 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.52.161.165 with HTTP; Mon, 1 Aug 2011 08:42:13 -0700 (PDT) In-Reply-To: <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> <20110801153920.GA17336@vesper.psych0tik.net> Date: Mon, 1 Aug 2011 23:42:13 +0800 X-Google-Sender-Auth: Zi7bPYd97a69GFhP6l3B0rR4hfg Message-ID: From: Adrian Chadd To: richo Content-Type: text/plain; charset=ISO-8859-1 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:42:14 -0000 I've not tried loading the module(s) from loader. Just try loading if_ath_pci (not if_ath) and see if that pulls in if_ath as a dependency? adrian On 1 August 2011 23:39, richo wrote: > 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=0x4 >> >> 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 > correct > 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 > started > a stack of ports updating so I'll wait till that finishes) > > Thanks for your help, really appreciate it > > rich > >> >> Adrian >> > > -- > richo || Today's excuse: > User was distributing pornography on server; system seized by FBI. >