From owner-freebsd-i386@FreeBSD.ORG Mon Apr 18 21:50:30 2005 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 253C016A4CE for ; Mon, 18 Apr 2005 21:50:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A94B843D55 for ; Mon, 18 Apr 2005 21:50:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3ILoTpD080891 for ; Mon, 18 Apr 2005 21:50:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3ILoTaT080889; Mon, 18 Apr 2005 21:50:29 GMT (envelope-from gnats) Resent-Date: Mon, 18 Apr 2005 21:50:29 GMT Resent-Message-Id: <200504182150.j3ILoTaT080889@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Julien Gabel Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5176416A4CE for ; Mon, 18 Apr 2005 21:40:50 +0000 (GMT) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A4FD43D1F for ; Mon, 18 Apr 2005 21:40:49 +0000 (GMT) (envelope-from jgabel@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 1E6267300C for ; Mon, 18 Apr 2005 23:40:48 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08709-01-3 for ; Mon, 18 Apr 2005 23:40:43 +0200 (CEST) Received: from boboche.thilelli.net (boboche.thilelli.net [192.168.1.15]) by bento.thilelli.net (Postfix) with ESMTP id 2ABB37300D for ; Mon, 18 Apr 2005 23:40:43 +0200 (CEST) Received: by boboche.thilelli.net (Postfix, from userid 1001) id 1CC7C5641F; Mon, 18 Apr 2005 23:40:43 +0200 (CEST) Message-Id: <20050418214043.1CC7C5641F@boboche.thilelli.net> Date: Mon, 18 Apr 2005 23:40:43 +0200 (CEST) From: Julien Gabel To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/80081: Problem loading a NDIS kernel module. X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Julien Gabel List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 21:50:30 -0000 >Number: 80081 >Category: i386 >Synopsis: Problem loading a NDIS kernel module. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 18 21:50:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Julien Gabel >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD boboche.thilelli.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Apr 15 13:22:32 CEST 2005 root@boboche.thilelli.net:/usr/obj/usr/src/sys/BOBOCHE i386 >Description: Trying to get wireless networking on my notebook, i tried the NDISulator. After copying the configuration and binary files to the corresponding path at /usr/src/sys/modules/if_ndis, i created the driver definition header using ndiscvt(8). Then, i have build and install the driver module without problem: if_ndis.ko is copied to /boot/kernel and kldxref -v seems happy (kldxref: /boot/kernel/if_ndis.ko: 488 REL entries). But, if i can load the NDIS driver wrapper correctly (using kldload ndis), loading the network interface seems more problematic: # kldload if_ndis kldload: can't load if_ndis: No such file or directory Here is the kernel message: # tail -1 /var/log/messages Apr 16 15:05:46 boboche kernel: link_elf: symbol windrv_load undefined I tried this with the two available Windows versions for this wireless network module: win98/2k and winxp... without much success. >How-To-Repeat: Just try to load the corresponding NDIS wrapper and provided module: # kldload ndis # kldload /path/to/if_ndis.ko kldload: can't load /path/to/if_ndis.ko: No such file or directory # tail -1 /var/log/messages Apr 18 23:28:14 hostname kernel: link_elf: symbol windrv_load undefined Attached files (wlan.tar.gz): - if_ndis.ko; - WIndows 98/2K and Windows XP configuration and binary files. >Fix: Not known to me. >Release-Note: >Audit-Trail: >Unformatted: