From owner-freebsd-questions@FreeBSD.ORG Wed Aug 9 15:40:05 2006 Return-Path: X-Original-To: questions@FreeBSD.org 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 4A51E16A4DD for ; Wed, 9 Aug 2006 15:40:05 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8EC4C43D92 for ; Wed, 9 Aug 2006 15:39:59 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 09 Aug 2006 15:39:58 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO [192.168.2.5]) [62.59.173.176] by mail.gmx.net (mp029) with SMTP; 09 Aug 2006 17:39:58 +0200 X-Authenticated: #25365336 Message-ID: <44DA01D0.8070107@gmx.net> Date: Wed, 09 Aug 2006 17:40:00 +0200 From: Frank Staals User-Agent: Thunderbird 1.5.0.4 (X11/20060706) MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Ndis + Netgear WG311v3 ; Won't attach device correctly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 15:40:05 -0000 Hey, Today I got my hands on a Netgear WG311v3 and since there is no propper support for that card I decided to use nids, so I installed the ndis and if_ndis kernel modules, generated a new Kernel Module by using the WG311v3.INF and WG311v3XP.sys files; according to this thread: http://linuxcompatible.org/Netgear_WG311v3_WLAN_PCI_Card_with_Debian_Linux_Testing_t33271.html I should use those files. So far it worked, I loaded the module correctly and I had a ndis0. Allthough I had problems configuring the card correctly ( it wouldn't assosiate ). So I reloaded the module but this time it wouldn't attach my device correctly. This is what keeps happening: root@FStaals$ kldstat Id Refs Address Size Name 1 12 0xc0400000 5cfe2c kernel 2 1 0xc09d0000 7794 snd_emu10k1.ko 3 2 0xc09d8000 22b88 sound.ko 8 1 0xc0a76000 59b90 acpi.ko 9 2 0xc2cfd000 16000 linux.ko 10 1 0xc2ea7000 3000 daemon_saver.ko 11 1 0xc2ef8000 2000 rtc.ko root@FStaals$ kldload /boot/kernel/WG311v3XP_sys.ko My dmesg shows this: ndis0: mem 0xfe1e0000-0xfe1effff,0xfe1d0000-0xfe1dffff irq 19 at device 10.0 on pci2 ndis0: NDIS API version: 5.1 ndis0: init handler failed device_attach: ndis0 attach returned 6 these are the kernel modules loaded after loading WG311v3XP_sys : root@FStaals$ kldstat Id Refs Address Size Name 1 20 0xc0400000 5cfe2c kernel 2 1 0xc09d0000 7794 snd_emu10k1.ko 3 2 0xc09d8000 22b88 sound.ko 8 1 0xc0a76000 59b90 acpi.ko 9 2 0xc2cfd000 16000 linux.ko 10 1 0xc2ea7000 3000 daemon_saver.ko 11 1 0xc2ef8000 2000 rtc.ko 15 1 0xc310c000 47000 WG311v3XP_sys.ko 16 1 0xc30e8000 b000 if_ndis.ko 17 2 0xc376a000 13000 ndis.ko 18 1 0xc377d000 c000 pccard.ko root@FStaals$ The only thing changed since the first time I loaded the module was I copied it to /boot/kernel and I added WG311v3XP_sys_load="YES" to /boot/loader.conf but those changes shouldn't have effect on not correctly loading it I think. I also tried to use the WG311v3.sys file, but I get the same output in my dmesg as above. Can anyone tell me why it won't load my module correctly anymore ? And what I should do to get it working again Regards, -- -Frank Staals