From owner-freebsd-wireless@FreeBSD.ORG Wed Jun 1 13:29:13 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 51EE21065672; Wed, 1 Jun 2011 13:29:13 +0000 (UTC) (envelope-from Joao.Schim@KB.nl) Received: from smtp.kb.nl (smtp.kb.nl [192.87.31.77]) by mx1.freebsd.org (Postfix) with ESMTP id C1A758FC37; Wed, 1 Jun 2011 13:29:12 +0000 (UTC) X-PMWin-Version: 2.6.1, Antispam-Engine: 2.7.2, Antivirus-Engine: 3.18.0 Received: from goofy.wpakb.kb.nl ([192.87.41.91]) by smtp.kb.nl with Microsoft SMTPSVC(6.0.3790.4675); Wed, 1 Jun 2011 15:29:10 +0200 Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4721 Content-Class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 1 Jun 2011 15:29:10 +0200 Message-ID: <2B40597374FAF54DAB9205FEB3FACBE66AFE20@goofy> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Atheros AR9287 wlan thread-index: AcwfdjdKiFaTYzgISsGVg6c+gYkmEQA6KLc/ References: <2B40597374FAF54DAB9205FEB3FACBE66AFE06@goofy><2B40597374FAF54DAB9205FEB3FACBE66AFE0A@goofy> From: "Joao Schim" To: "Adrian Chadd" X-OriginalArrivalTime: 01 Jun 2011 13:29:10.0347 (UTC) FILETIME=[E3D809B0:01CC205F] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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:29:13 -0000 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=20 ~/ath/ modules and those in 8.2-RELEASE's /usr/src/sys .=20 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 --=20 -----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 =20 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) =A0 FYI I'm building on = 8.2-RELEASE. > > First the build didn't work right away. > The step mentioned in the forum thread : > =A0$ 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 =3D 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=3D135929#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" >