Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2011 21:38:15 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Joao Schim <Joao.Schim@kb.nl>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Atheros AR9287 wlan
Message-ID:  <BANLkTinaMujkf_TjFvDbcbG5WPv=jL1pNQ@mail.gmail.com>
In-Reply-To: <2B40597374FAF54DAB9205FEB3FACBE66AFE20@goofy>
References:  <2B40597374FAF54DAB9205FEB3FACBE66AFE06@goofy> <BANLkTim5UQzDLPr1TbwGxWOAKDcftiHDdA@mail.gmail.com> <2B40597374FAF54DAB9205FEB3FACBE66AFE0A@goofy> <BANLkTin=6BG0yNqsq1Qajioj70C1bCAr0g@mail.gmail.com> <2B40597374FAF54DAB9205FEB3FACBE66AFE20@goofy>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Joao.Schim@kb.nl> 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]<http://www.kb.nl>;
>     Prins Willem-Alexanderhof 5 | 2595 BE Den Haag
> Postbus 90407 | 2509 LK Den Haag | (070) 314 09 11 | www.kb.nl         English
> version <http://www.kb.nl/red/email.html>; | Disclaimer<http://www.kb.nl/red/disclaimer.html>;
>
>
>
>
> -----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 <Joao.Schim@kb.nl> 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 <Joao.Schim@kb.nl> 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"
> >
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinaMujkf_TjFvDbcbG5WPv=jL1pNQ>