Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 22:47:27 GMT
From:      Adam Jette <jettea46@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/78382: dhclient on ndis0 causes kernel panic
Message-ID:  <200503032247.j23MlRZa063371@www.freebsd.org>
Resent-Message-ID: <200503032250.j23Mo6nR072810@freefall.freebsd.org>

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

>Number:         78382
>Category:       kern
>Synopsis:       dhclient on ndis0 causes kernel panic
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 03 22:50:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Adam Jette
>Release:        5.3
>Organization:
>Environment:
FreeBSD fiveThree 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Thu Mar 3 11:09:00 EST 2005 localuser@fiveThree:/usr/obj/usr/src/sys/GENERIC i386
>Description:
I can replicate this problem repeatedly by using dhclient on ndis0. I assume that other actions could cause a kernel panic as well, besides dhclient. After loading the drivers and bringing up the interface on an ssid, running dhclient causes the kernel to panic. I am running the GENERIC (as above) kernel with no modifications to sysctl's besides debug.bootverbose=1. Amongst other things the kernel provides me right after I type in "dhclient ndis0" before it chokes are

ndis0: link up
Fatal trap 12: page fault while in kernel mode
current process = 504 (ndis swi)

And obviously a lot of other things, which I can provide amongst other information if needed.
>How-To-Repeat:
Install Linksys WIreless - G PCI adapter (model number WMP54G) hardware.
Copy over drivers on CD. There are two sets, the only ones that enable ndis0 to work at all are the RT2500.SYS and RT2500.INF files. These can be provided if need be as well. Put drivers in /usr/src/sys/modules/ndis.
cd /usr/src/sys/modules/ndis
ndiscvt -i RT2500.INF -s RT2500.SYS -o ndis_driver_data.h
make
make install
kldload ndis
kldload if_ndis

Message comes up and says that everything is good.

ifconfig ndis0 up
ifconfig ndis0 nwid linksys (thank you neighbor!)
dhclient ndis0
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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