Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2005 23:40:43 +0200 (CEST)
From:      Julien Gabel <jpeg@thilelli.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/80081: Problem loading a NDIS kernel module.
Message-ID:  <20050418214043.1CC7C5641F@boboche.thilelli.net>
Resent-Message-ID: <200504182150.j3ILoTaT080889@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050418214043.1CC7C5641F>