From owner-freebsd-wireless@FreeBSD.ORG Sun May 8 09:02:23 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 E4BF5106568D for ; Sun, 8 May 2011 09:02:23 +0000 (UTC) (envelope-from richo@psych0tik.net) Received: from bedford.accountservergroup.com (50.22.11.19-static.reverse.softlayer.com [50.22.11.19]) by mx1.freebsd.org (Postfix) with ESMTP id C0CD98FC1C for ; Sun, 8 May 2011 09:02:23 +0000 (UTC) Received: from [202.172.106.138] (helo=solitaire.psych0tik.net) by bedford.accountservergroup.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1QIzFw-0007Y1-CD for freebsd-wireless@freebsd.org; Sun, 08 May 2011 03:22:25 -0500 Date: Sun, 8 May 2011 18:22:12 +1000 From: richo To: freebsd-wireless@freebsd.org Message-ID: <20110508082212.GA72727@solitaire.psych0tik.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline X-PGP-Key: http://natalya.psych0tik.net/~richo/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bedford.accountservergroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - psych0tik.net X-Source: X-Source-Args: X-Source-Dir: Subject: Ath issues on -CURRENT > Mar 31 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: Sun, 08 May 2011 09:02:24 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I use an atheros based pccard nic on my laptop with 9-CURRENT. The last time I was able to build a working kernel was 20 march (the current kernel I'm using is=3D20 FreeBSD solitaire.psych0tik.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r219786:= =3D Sun Mar 20 15:26:26 EST 2011 richo@solitaire.psych0tik.net:/usr/obj/u= s=3D r/src/sys/GENERIC i386 a few weeks later UPDATING included this message: 20110331: ath(4) has been split into bus- and device- modules. if_ath contains = =20 the HAL, the TX rate control and the network device code. if_ath_pci = =20 contains the PCI bus glue. For Atheros MIPS embedded systems, if_ath_a contains the AHB glue. Users need to load both if_ath_pci and if_ath = =20 in order to use ath on everything else. = =20 = =20 TO REPEAT: if_ath_ahb is not needed for normal users. Normal users onl need to load if_ath and if_ath_pci for ath(4) operation. I'm still using default config, but any kernels I build panic if I boot with the NIC plugged in. They boot fine with it unplugged, but if I plug in the= =20 card it immediately panics. Booting with verbose logging on, I see this (I typed this out by hand after writing it down, so it's possible that it's slightly incorrect. I did double check it, though): pcib2: allocated memory range (0xf6010000-0xf601ffff) for rid 10 of pci0:3:= 0:0 unkown: Lazy allovation of 0x10000 bytes rid 0x10 type 3 at 0xf6010000 cbb0 Opening memory: cbb0 Normal: (0xg6010000-0xf601ffff) cbb0: Opening memory: panic: duplcate map 10 I have confirmed with pciconf -l that pci0:3:0:0 is my ath nic. I have the backtrace, but I only wrote down the function names. I can write down the whole lot if it will help though. --=20 richo || Today's excuse:=20 Increased sunspot activity. --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJNxlKqAAoJEIKiWz6J5yQV5VAH/1mdlIjw6t8Uronb39tLOgNK Q5YqrgQ+97hZcS3OUFhRETLxUtUNXWBdOPJYm+WwncZDWfLNcrJHbUAMR0ETeRsb OznbgWvYeeXajG1yqa3HduDMzzTKrNXblcy+kBnMTaNyKrFZxjhvCZrsdUi5p0sS reqndqJ3rkpixCSl1u1eVVRu4ldtykurjJldS+9nEH8uIrMND9+o8/oF3EK6wbSw 0WGc6rlieem7DAEGaa7CBwrDzSdDQPWUruXbZkLQJM9nRaA/BaB0/G+ns4L5Eri/ onxVzBeD5R2/1knGzS/ZH3N6vIunS2I/qI76BFio1iC/Vyc+U0ZHIbjWm5ccLqc= =NGkC -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--