From nobody@FreeBSD.org  Fri Oct  1 08:24:10 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 14CCF16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Oct 2004 08:24:10 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E210843D5C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Oct 2004 08:24:09 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i918O9kl084762
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 1 Oct 2004 08:24:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i918O9MX084761;
	Fri, 1 Oct 2004 08:24:09 GMT
	(envelope-from nobody)
Message-Id: <200410010824.i918O9MX084761@www.freebsd.org>
Date: Fri, 1 Oct 2004 08:24:09 GMT
From: Remy de Ruysscher <remy@unix-asp.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ndis crashes kernel
X-Send-Pr-Version: www-2.3

>Number:         72223
>Category:       kern
>Synopsis:       ndis crashes kernel [5.3-BETA6]
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    wpaul
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 01 08:30:22 GMT 2004
>Closed-Date:    Sat Jul 23 03:50:52 GMT 2005
>Last-Modified:  Sat Jul 23 03:50:52 GMT 2005
>Originator:     Remy de Ruysscher
>Release:        FreeBSD 5.3-BETA6
>Organization:
>Environment:
FreeBSD defiant.unix-asp.com 5.3-BETA6 FreeBSD 5.3-BETA6 #5: Mon Sep 27 01:04:37 CEST 2004     root@defiant.unix-asp.com:/usr/obj/usr/src/sys/GENERIC  i386

cvsuped to the latest sources. 

Good dump found on device /dev/idad0s1b
  Architecture: i386
  Architecture version: 1
  Dump length: 536854528B (511 MB)
  Blocksize: 512
  Dumptime: Thu Sep 30 15:42:56 2004
  Hostname: defiant.unix-asp.com
  Versionstring: FreeBSD 5.3-BETA6 #3: Wed Sep 29 17:02:16 CEST 2004
    root@defiant.unix-asp.com:/usr/obj/usr/src/sys/DEFIANT
  Panicstring: page fault
  Bounds: 7

Good dump found on device /dev/idad0s1b
  Architecture: i386
  Architecture version: 1
  Dump length: 536854528B (511 MB)
  Blocksize: 512
  Dumptime: Sat Sep 25 19:13:02 2004
  Hostname: defiant.unix-asp.com
  Versionstring: FreeBSD 5.3-BETA5 #4: Fri Sep 24 15:41:22 CEST 2004
    root@defiant.unix-asp.com:/usr/obj/usr/src/sys/GENERIC
  Panicstring: page fault
  Bounds: 6
>Description:
Kernel crashes when using a ndis interface. After configuring ndis0 and pinging the router, kernel panics.

I've observed this behaviour with several different wireless cards using different chipsets like Realtek 2500 and RaLink 2500 (using the NDIS 5.1 drivers from windows XP).

I followed the instructions at http://www.xl0.org/FreeBSD/ndis.txt
for building the kernel modules.

ifconfig ndis0 inet 192.168.1.2 netmask 255.255.255.0 ssid linksys channel 11

ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::280:5aff:fe22:db0a%ndis0 prefixlen 64 scopeid 0x6
        ether 00:80:5a:22:db:0a
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: associated
        ssid linksys
        channel 11 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1
>How-To-Repeat:
Reboot, configure the ndis0 interface, ping the router.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: brooks 
State-Changed-When: Sun Apr 3 01:03:14 GMT 2005 
State-Changed-Why:  
Does this problem occur with a more recent version of FreeBSD? 

A number of fixes have been committed recently that are reported to 
solve some panics. 


Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: brooks 
Responsible-Changed-When: Sun Apr 3 01:03:14 GMT 2005 
Responsible-Changed-Why:  
Bill Paul owns the ndisulator. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72223 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Jul 23 03:48:17 GMT 2005 
State-Changed-Why:  
Feedback timeout (> 6 months). 

There have been many changes made to NDIS since this PR was filed, 
so it may not have still been relevant in any case. 

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