From owner-freebsd-hardware@FreeBSD.ORG Thu Jul 17 18:38:22 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CEFB1065683 for ; Thu, 17 Jul 2008 18:38:22 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 273888FC1A for ; Thu, 17 Jul 2008 18:38:22 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: by py-out-1112.google.com with SMTP id p76so30962pyb.10 for ; Thu, 17 Jul 2008 11:38:21 -0700 (PDT) Received: by 10.141.49.6 with SMTP id b6mr1326435rvk.223.1216318216381; Thu, 17 Jul 2008 11:10:16 -0700 (PDT) Received: by 10.141.97.9 with HTTP; Thu, 17 Jul 2008 11:10:16 -0700 (PDT) Message-ID: <919383240807171110i4530b7fdo45ab2584a04739c@mail.gmail.com> Date: Thu, 17 Jul 2008 14:10:16 -0400 From: "Edward Ruggeri" To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Atheros Wireless Card Causes Page Fault X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 18:38:22 -0000 Hi, I originally sent this question to the freebsd-questions list, but I now realize that freebsd-hardware is probably a better recipient. I have a recently purchased Lenovo ThinkPad, with a Atheros 5212 wireless card (well, dmesg says it's an Atheros 5212; I believe it). It also has a wired internet connector, which works perfectly fine. I wish I was writing you from that computer, but I am at work right now and don't have the ThinkPad at my fingertips. I can update later tonight, but perhaps you can spot my error with just the somewhat incomplete information I have right now. I have compiled the Atheros driver and wireless support into my kernel: "device ath device ath_hal device ath_rate_sample device wlan device wlan_wep device wlan_ccmp device wlan_tkip" The card is detected correctly upon system startup. If I add ifconfig_ath0="DHCP" into /etc/rc.conf (or, alternatively, run dhclient ath0 as root) the system connects to the wireless router and gets an IP address successfully. (My wireless at home is unsecured). I go to test the connection in Lynx. Google loads (yay!). I submit a google search, that may load. But I rarely get a third page transmitted before I get a page fault. The error is quite like this person's (http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065608.html), though his problem didn't seem to be resolved on the list. In particular, the system reports a "fatal trap 12: page fault while in kernel mode". Fault virtual address is 0x0, not 0xc, if it makes a difference. The fault code is also "supervisor read, page not present." The current process is ath0 taskq. To my (totally uneducated) eyes, this seems to be a driver problem. I am not certain of my wireless card's make/number, but I assume that it really is an Atheros 5212, not only because that's what FreeBSD says, but that's also what Lenovo ships as the basic ThinkPad card (I didn't go with Intel wireless). So if I'm using the right driver, I'm not sure what the issue might be. Any ideas? Thanks for any help you might have! Sincerely, -- Ned Ruggeri