From jgabel@thilelli.net  Mon Apr 18 21:40:50 2005
Return-Path: <jgabel@thilelli.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5176416A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>;
 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <jpeg@thilelli.net>
Reply-To: Julien Gabel <jpeg@thilelli.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Problem loading a NDIS kernel module.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80081
>Category:       i386
>Synopsis:       [if_ndis] Problem loading a NDIS kernel module.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 18 21:50:29 GMT 2005
>Closed-Date:    Sun Jul 08 06:28:47 GMT 2007
>Last-Modified:  Sun Jul 08 06:28:47 GMT 2007
>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:

From: "Julien Gabel" <jpeg@thilelli.net>
To: "Hanspeter Roth" <hampi@rootshell.be>
Cc: bug-followup@FreeBSD.org
Subject: Re: i386/80081: Problem loading a NDIS kernel module.
Date: Sat, 23 Apr 2005 19:23:32 +0200 (CEST)

 Hello Hanspeter,
 
 > I've seen your PR 80081. I have a similar problem. Just I've only
 > tried with WinXP.
 >
 > In your PR you mentioned attachment wlan.tar.gz. But in webinterface
 > of the PR database none is visible.
 > Maybe you need to uuencode it?
 
 Yes, sorry.  I had use the '-a' option of send-pr(1) to automatically
 uuencode binary file... without success it seems.
 
 The previously named files can be found at the folowing url:
  http://www.thilelli.net/~jgabel/pub/PR/80081/
 
 
 Thanks,
 -- 
 -jpeg.
 

From: "Julien Gabel" <jpeg@thilelli.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/80081: Problem loading a NDIS kernel module.
Date: Sun, 6 Nov 2005 14:02:25 +0100 (CET)

 As i am the originator of this PR, i think it may be closed now:
 
  - I didn't try to play with this device for a long time now (integrated
    WLAN support);
  - I bought an external WLAN PCCARD, supported out the box by FreeBSD;
  - I will not have this notebook for a long time, so i could not answer
    to reply(ies) on this PR in a near future (one or two months)... if
    any.
 
 As a side note -- and for future reference to this one -- the updated
 location for provided PR's data is:
  http://www.thilelli.net/~jgabel/store/pub/PR/80081/
 
 Thank you,
 -- 
 -jpeg.
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Jul 8 06:28:20 UTC 2007 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80081 
>Unformatted:
