From owner-freebsd-current@FreeBSD.ORG Tue Jun 17 15:41:39 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E555106566C; Tue, 17 Jun 2008 15:41:39 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 24DDF8FC17; Tue, 17 Jun 2008 15:41:38 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id CEA302BD40; Wed, 18 Jun 2008 03:41:37 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kzmR45e9h-WW; Wed, 18 Jun 2008 03:41:29 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 18 Jun 2008 03:41:29 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 9AD8F11428; Wed, 18 Jun 2008 03:42:53 +1200 (NZST) Date: Tue, 17 Jun 2008 08:42:53 -0700 From: Andrew Thompson To: Pietro Cerutti Message-ID: <20080617154253.GA45428@citylink.fud.org.nz> References: <483210CC.5070309@FreeBSD.org> <20080520000911.GA46085@citylink.fud.org.nz> <48329C31.1050309@FreeBSD.org> <483E8AA5.3000401@FreeBSD.org> <20080604002448.GB80688@citylink.fud.org.nz> <4845E394.6080301@FreeBSD.org> <20080606041432.GF6380@citylink.fud.org.nz> <48491858.6020502@FreeBSD.org> <20080606221322.GH6380@citylink.fud.org.nz> <4857D5FC.6080906@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4857D5FC.6080906@FreeBSD.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current Subject: Re: Problem since "wlan" came in: SIOCS80211: Device not configured X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2008 15:41:39 -0000 On Tue, Jun 17, 2008 at 05:19:24PM +0200, Pietro Cerutti wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Andrew Thompson wrote: > | On Fri, Jun 06, 2008 at 12:58:32PM +0200, Pietro Cerutti wrote: > |> -----BEGIN PGP SIGNED MESSAGE----- > |> Hash: SHA512 > |> > |> | > |> | Does it still happen if you limit the channels, try > |> | > |> | ifconfig wlan0 chanlist 1-11 > |> > |> > |> !!!! No it doesn't, actually it works this way! > |> > |> So, it was a config problem at my side? > |> > |> Thanks a lot.. > | > | The eeprom on the card is meant to list the valid channels and the > | driver checks for this. I dont know why channel 13 is valid but the > | firmware borks on it. If you are feeling motivated you can add a few > | printfs in wpi_read_eeprom_channels() to try and see why. > > Ok I've added a few device_printf in that function, the output is here: > http://gahr.ch/FreeBSD/misc/wpi_chans.txt > I don't see anything wrong with that, do you? YEs, channel 13 which is the one causing the firmware error is showing as !VALID wpi0: adding chan 13 flags=0x21 maxpwr=15, offset 26 wpi0: READ_EEEPROM_CHANS: chan 13 on band 0 is UNKNOWN So it should not be added to the channel list. Can you show me a diff of your printf changes so I can see what the difference between VALID & UNKNOWN is. Andrew