From owner-freebsd-wireless@FreeBSD.ORG Mon Aug 29 03:13:00 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 BA489106564A for ; Mon, 29 Aug 2011 03:13:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC598FC08 for ; Mon, 29 Aug 2011 03:13:00 +0000 (UTC) Received: by ywo32 with SMTP id 32so5289376ywo.13 for ; Sun, 28 Aug 2011 20:12:59 -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=dmMaHvuTdeFifFWVdDKAu/EHgFuNQzOWarVvn8Un3Cw=; b=Oo8KNfaHdo3LCrH+rY+My/VGEyWIVDJ6yEvj7wbne6LGGywRaCRE66U5v3EtmPePT0 XSI0idRBoMW85Nhxhq7GoyKPFezH8kBtApGQCmxMjCX1l3jdQzA34Lz59DOPP1y+aWQS 5NK+Q4ea+CbgQwuThDL6WWAqJLhEe1K++Sw3Q= MIME-Version: 1.0 Received: by 10.150.229.12 with SMTP id b12mr4350634ybh.30.1314587579725; Sun, 28 Aug 2011 20:12:59 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.145.21 with HTTP; Sun, 28 Aug 2011 20:12:59 -0700 (PDT) In-Reply-To: <201108291308.30442.geoff@apro.com.au> References: <201108290134.50561.geoff@apro.com.au> <201108291308.30442.geoff@apro.com.au> Date: Mon, 29 Aug 2011 11:12:59 +0800 X-Google-Sender-Auth: J7DXgrB2YivBtjY4TAlJ7c3vKJ8 Message-ID: From: Adrian Chadd To: geoff@apro.com.au Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: SPAM-LOW: Re: Atheros 5212 based card causing system freeze - suggested replacement? 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, 29 Aug 2011 03:13:00 -0000 On 29 August 2011 11:08, Geoff Roberts wrote: > Hi Adrian, > > Thanks very much for getting back. No problem! > On Mon, 29 Aug 2011 02:06:22 am you wrote: >> Were you always running a 64 bit kernel? Are you able to please try >> booting a 32 bit kernel? > > Yes, it was always a 64 bit kernel. I'll download the i386 8.2 R CD and give > that a go. Thanks, please let me know how that goes. There's a bug in the RELENG_8 ath driver that makes running multiple VAPs a bit unpredictable. But it should at least attach. :) >> > I need a card capable of running Multiple Base Stations or Virtual Access >> > Points (VAP) - another reason for looking for a newer card. >> >> The NIC you have will do that just fine. > > Sorry I didn't explain that very well. I wanted to use hostapd to manage the > access points. hostapd seems to need different MAC addresses for each virtual > access point. I couldn't find a way to assign different MAC addresses for each > virtual access point for hostapd with this particular card. Have I understood > that correctly? I wasn't 100% sure of my reading of the hostap config file. > > Are there any Atheros based cards you know of that work with hostapd in this > way? The driver should be able to do this. The NIC should be able to do this too. Basically, when you create multiple hostap interfaces, each wlanX interface should get a "new" MAC address. The hardware has a "filter" which can be programmed to allow a set of local addresses; typically what happens is that the last two bits get masked off and so your (four) VAP interfaces get one of those four MAC addresses. The hardware then will happily pass on packets for them. The AR5212 series hardware should support this stuff. Please let me know if this isn't happening. :) >> Are you able to boot things on the older hardware and see what the >> above debugging gives? >> Eg what the attach line is on your amd64 box? > > I think I'll be lucky. The display system completely went on the old system - > trying PCI or AGP graphics cards didn't make any difference. I'll see if I can > rig a serial cable to another machine to watch the boot process. > > I'll try the i386 8.2 R download first and see if I have any luck with the old > system before it goes out for permanent retirement (that'll take a few days). Thanks. Let's first try 32 bit on that system of yours. I hope it's something simple/subtle that I can reproduce locally. Adrian