From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 10:11:53 2010 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 2605C1065670 for ; Sat, 9 Jan 2010 10:11:53 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id AC2698FC1D for ; Sat, 9 Jan 2010 10:11:52 +0000 (UTC) Received: by ewy5 with SMTP id 5so8872190ewy.14 for ; Sat, 09 Jan 2010 02:11:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=TP+NK4mH8zug6COWdJLEVxsdb7RdkHEJF8L5MMMMomY=; b=mQnEJX6UMtjDd3wOnXGidBASdk4EHzCwksFMBnKuZ2PYPJozzt03A7AaUFWL9umN1p cpMl25Yd6bbI3xvT5LMhLT10I8lCnlS9sARaNEltJbeHendhRUvU6oHFtSj0qYJY0hJW oK8f465aj8KpQnMh2Y/9GE2D/vg87neVvEOug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bbkFfIDCP10JyQlGDrw8AjlE6Cg6eUSOaSHeL6pBDmoXNNh+oToKHhea3i7FliD0wg EKgLA961B8xN6Hko6zC4TNduy+7yFg6G0ryW8fEGvFenC2+6Qx8DRlUnP7o1o21tmKJh PW+n3z0kMXgTlAUZM9TeVBwWUcUEX0BQ+f0TQ= MIME-Version: 1.0 Received: by 10.213.1.205 with SMTP id 13mr544804ebg.50.1263031905074; Sat, 09 Jan 2010 02:11:45 -0800 (PST) In-Reply-To: <20100108234828.GA55025@office.redwerk.com> References: <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001041113q104d8ddexcaf483bf46500dc1@mail.gmail.com> <20100108234828.GA55025@office.redwerk.com> Date: Sat, 9 Jan 2010 11:11:43 +0100 Message-ID: <3a142e751001090211u51e3b902p38d3cd084015711a@mail.gmail.com> From: Paul B Mahol To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1 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: Sat, 09 Jan 2010 10:11:53 -0000 On 1/9/10, Eugene Dzhurinsky wrote: > On Mon, Jan 04, 2010 at 08:13:57PM +0100, Paul B Mahol wrote: >> >> Could you please test code from here: >> >> http://gitorious.org/ndisulator >> > >> > Sorry, I'm not sure that I understand how to use that. Should I copy the >> > folders to /usr/src and rebuild world and kernel? >> >> Just use mount_nullfs, no need to change files. > > Hello, Paul! > > I've got the chance to play with the sources. What I've done: > > 1) copied folders into appropriate places of /usr/src Please do not copy, use mount_nullfs. > 2) built and installed ndis module > 3) built and installed if_ndis module > 4) built and installed ndiscvt executable > 5) generated athw_sys.ko module > 6) copied athw_sys.ko module into /boot/kernel Copy athw_sys.ko to /boot/modules instead, and run `kldxref /boot/modules`. > 7) rebooted Not really required. > 8) manually loaded ndis and if_ndis module (the latter was loaded > automatically by ndis as I realized) > 9) loaded athw_sys Use kldload instead. Loading module during boot have some unresolved problems. > 10) booted Not really required if you use kldload/kldunload. > > and on initializing of ndis device kernel panic was detected on page read at > some address. What address, and where it happens. If your kernel have debug support then type bt at ddb prompt. And send output (in format you prefer: picture, textdump, output from `kgdb /boot/kernel /var/crash/vmcore`) On GENERIC kernels vmcore.X file should be generated. Do you have dupdev and dumpdir defined in rc.conf and is dumpdev swap device? You really need kernel with DDB, GDB ... > If I did something wrong, or I can provide you with some more information - > please let me know, what would you like me to send you (and how to get it). I really need more information to help you. -- Paul B Mahol