From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 10:48:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9888716A4CE for ; Fri, 7 Jan 2005 10:48:18 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A6CE43D55 for ; Fri, 7 Jan 2005 10:48:17 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from localhost.circlesquared.com (localhost.circlesquared.com [127.0.0.1])j07AmKeI077988; Fri, 7 Jan 2005 10:48:20 GMT (envelope-from peter@circlesquared.com) From: Peter Risdon To: Mo Po In-Reply-To: <1105064318.5088.12.camel@liber> References: <1105064318.5088.12.camel@liber> Content-Type: text/plain Date: Fri, 07 Jan 2005 10:48:19 +0000 Message-Id: <1105094899.708.123.camel@lorna.circlesquared.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: "freebsd-questions@freebsd.org" Subject: Re: atheros (ath) wifi driver problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 10:48:18 -0000 On Thu, 2005-01-06 at 18:18 -0800, Mo Po wrote: > Hello, > > I installed FreeBSD 5.3 today (coming from linux/debian). > I need to use the atheros wifi driver (man page ATH(4)), which is > included in 5.3. (I have an atheros based PCI card in an athlon xp based > system). > > I get the following error when loading the module ('kldload if_ath' > command): > ... > ath0: could not map interrupt > device_attach: ath0 attach returned 6 I've never tried to load this as a kernel module. It's probably better to recompile the kernel with the right support. The ath driver also requires ath_hal, which might be your problem. You're obviously an old hand with un*x, but new to FreeBSD so in case it helps: #cd /usr/src/sys/i386/conf #cp GENERIC MYKERNEL (or whatever name you want to use) #vi MYKERNEL add the lines: device ath device ath_hal Make sure the following line is uncommented: device wlan #cd /usr/src #make buildkernel KERNCONF=MYKERNEL (or whatever you called it) #make installkernel KERNCONF=MYKERNEL #reboot This assumes you have the sources installed. Peter.