From owner-freebsd-wireless@FreeBSD.ORG Wed Jun 1 13:38:16 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 BBBE1106564A for ; Wed, 1 Jun 2011 13:38:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 71B5C8FC13 for ; Wed, 1 Jun 2011 13:38:16 +0000 (UTC) Received: by gyg13 with SMTP id 13so3311107gyg.13 for ; Wed, 01 Jun 2011 06:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=j+Zi/S8GIR5Rf533RFRB5g+Jey+XeGOTnNY7KHMRjj0=; b=PVfAMsbL2Lo/7G8MpumZL5KQNKQS4LkoAv7i3MO07C9iUUk1f49t+61jeMtpZ0wlNg 3FgdPWyqwhKz3UZmONnBqgdBoeL+sg4ygjkmEltCVyIdNAYFzozqI4pqe9dy2+9FS3AY /ls75pdx0ns87QLHkLXaPD1R8DEEBP/FG52As= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=t612kssRPyIP8ZZoTZeYQqCVQarXSiOiAouFUuY4JXGVzjTvbmRQNQDQ5kiLQo4imH Jl6NLGG2QefhaTDjG5cWzKC/kyEJkEleVRYN7I7zc98Zf2QVa0CMS3GgwxpzMb86SO+6 vIcrrjSr4wxRzGD3KwaZU0gQ+voN9HJYdUQdY= MIME-Version: 1.0 Received: by 10.150.63.19 with SMTP id l19mr6675518yba.71.1306935495544; Wed, 01 Jun 2011 06:38:15 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.107.15 with HTTP; Wed, 1 Jun 2011 06:38:15 -0700 (PDT) In-Reply-To: <2B40597374FAF54DAB9205FEB3FACBE66AFE20@goofy> References: <2B40597374FAF54DAB9205FEB3FACBE66AFE06@goofy> <2B40597374FAF54DAB9205FEB3FACBE66AFE0A@goofy> <2B40597374FAF54DAB9205FEB3FACBE66AFE20@goofy> Date: Wed, 1 Jun 2011 21:38:15 +0800 X-Google-Sender-Auth: Wg9fN3Qj3VcalD92BwWdpHT6zuw Message-ID: From: Adrian Chadd To: Joao Schim Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: Atheros AR9287 wlan 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: Wed, 01 Jun 2011 13:38:16 -0000 Hm, let me see what I was doing to build. I know I had mine working. Right. My build script: make SYSDIR='/home/adrian/work/freebsd/releng-8.0/sys' $@ (Since this laptop had the source in the above path, not /usr/src/sys) The only thing I can think of right now is that the /usr/src/sys/dev/ath/ headers are being used, rather than the modules build dir. That shouldn't effect anything though. I'll re-try building the source code on my 8.0-REL laptop and let you guys know how it goes. Thanks, Adrian On 1 June 2011 21:29, Joao Schim wrote: > Hi again, > > I repeated the steps and tried to kldload the modules once again. > > > kldload ./if_ath.ko > kldload ./if_ath_pci.ko > > Same thing happens. poof. I then removed the addition that i made > earlier to the Makefile. and instead moved the headers and stuff in ~/ath/ > over to /usr/src/sys. > > Then i rebuild the kernel and now it works just fine.. > Looks to me there is some discrepancy between the headers used in the > ~/ath/ modules and those in 8.2-RELEASE's /usr/src/sys . > > But most important of course is the fact that i can browse the web > without a cable now. I will try to test as much as i can and will deliver > the feedback into the -wireless list. > > Many thanks for your achievement and support. > > > > Met vriendelijke groet / With kind regards, > > Joao Schim > > > -- > > > > > [image: Koninklijke Bibliotheek, National Library of the Netherlands] > Prins Willem-Alexanderhof 5 | 2595 BE Den Haag > Postbus 90407 | 2509 LK Den Haag | (070) 314 09 11 | www.kb.nl English > version | Disclaimer > > > > > -----Original Message----- > From: adrian.chadd@gmail.com on behalf of Adrian Chadd > Sent: Tue 5/31/2011 11:36 AM > To: Joao Schim > Subject: Re: Atheros AR9287 wlan > > That's weird, I've not seen the kld load occur that way. > > Did you load if_ath_pci or if_ath first? > if_ath_pci will auto-load if_ath, which may have loaded your system if_ath. > :-) > > Instead: > > kldload ./if_ath.ko > kldload ./if_ath_pci.ko > > > On 31 May 2011 16:50, Joao Schim wrote: > > Hi, > > > > Thanks for the link. I have given it a quick try .. and i guess i will > give > > it another try tomorrow, since i couldn't get it to work just yet. > (didn't have > > much time yet to really get into it) FYI I'm building on 8.2-RELEASE. > > > > First the build didn't work right away. > > The step mentioned in the forum thread : > > $ cd ~/ath/head/sys/modules/ath && make > > > > Failed with the message that it could not find some header files. > ("dev/ath/ath_hal/ah_diagcodes.h", and others) > > I added -I${.CURDIR}/../../ to the CFLAGS line in the makefile to get it > to build. > > > > After that building went just fine. However kldloading after reboot > failed miserably > > causing a dump and reboot. > > > > I will drop the summary of the dump in a followup if nescesary but it > came down > > to a call to device_get_unit(dev = 0x0) from ath_attach(). > > > > I'm guessing that my Makefile modification wasn't all that brilliant ;) > > > > > > Thanks. > > > > Met vriendelijke groet / With kind regards, > > > > Joao Schim > > > > > > -- > > > > > > > > > > -----Original Message----- > > From: adrian.chadd@gmail.com on behalf of Adrian Chadd > > Sent: Mon 5/30/2011 5:12 PM > > To: Joao Schim > > Cc: freebsd-wireless@freebsd.org > > Subject: Re: Atheros AR9287 wlan > > > > Hi! > > > > I wrote a quick article in the freebsd forums about it. You can run > > the -HEAD ath driver on -8. It will work in 11bg mode fine. > > > > Please try this and let me know if it works! > > > > http://forums.freebsd.org/showthread.php?p=135929#post135929 > > > > > > Adrian > > > > On 30 May 2011 22:24, Joao Schim wrote: > >> Hi All, > >> > >> It seems my laptop is equipped with the Atheros AR9287 chip. I would > like > >> to support in testing the new driver on my hardware. (TK81 Pack-bell > laptop.) > >> > >> Please give me some directions on how to proceed. I guess a switch to > -current > >> is the first thing to do ? > >> > >> Thanks for your input. > >> > >> Met vriendelijke groet / With kind regards, > >> > >> Joao Schim > >> > >> > >> -- > >> > >> > >> _______________________________________________ > >> freebsd-wireless@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >> To unsubscribe, send any mail to " > freebsd-wireless-unsubscribe@freebsd.org" > >> > > > > _______________________________________________ > > freebsd-wireless@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe, send any mail to " > freebsd-wireless-unsubscribe@freebsd.org" > > > >