From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 3 22:50:06 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B519816A4CE for ; Thu, 3 Mar 2005 22:50:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31B2C43D55 for ; Thu, 3 Mar 2005 22:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j23Mo6K9072811 for ; Thu, 3 Mar 2005 22:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j23Mo6nR072810; Thu, 3 Mar 2005 22:50:06 GMT (envelope-from gnats) Resent-Date: Thu, 3 Mar 2005 22:50:06 GMT Resent-Message-Id: <200503032250.j23Mo6nR072810@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adam Jette Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E29216A4CE for ; Thu, 3 Mar 2005 22:47:28 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1941E43D54 for ; Thu, 3 Mar 2005 22:47:28 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j23MlRUr063372 for ; Thu, 3 Mar 2005 22:47:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j23MlRZa063371; Thu, 3 Mar 2005 22:47:27 GMT (envelope-from nobody) Message-Id: <200503032247.j23MlRZa063371@www.freebsd.org> Date: Thu, 3 Mar 2005 22:47:27 GMT From: Adam Jette To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/78382: dhclient on ndis0 causes kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 22:50:06 -0000 >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: