From nobody@FreeBSD.org  Tue Aug 13 13:43:09 2002
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 7DF9F37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Aug 2002 13:43:09 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3D8FA43E3B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Aug 2002 13:43:09 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7DKh8OT072438
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Aug 2002 13:43:08 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g7DKh8U5072437;
	Tue, 13 Aug 2002 13:43:08 -0700 (PDT)
Message-Id: <200208132043.g7DKh8U5072437@www.freebsd.org>
Date: Tue, 13 Aug 2002 13:43:08 -0700 (PDT)
From: Adam Crosby <acrosby@nps.k12.va.us>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dhclient kernel panics when dhcp server is unavailable
X-Send-Pr-Version: www-1.0

>Number:         41635
>Category:       misc
>Synopsis:       dhclient kernel panics when dhcp server is unavailable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 13 13:50:01 PDT 2002
>Closed-Date:    Mon Dec 16 15:14:43 PST 2002
>Last-Modified:  Mon Dec 16 15:14:43 PST 2002
>Originator:     Adam Crosby
>Release:        4.6-RELEASE
>Organization:
Norfolk Public Schools
>Environment:
FreeBSD dev.nps.k12.va.us 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Fri Aug 9 11:47:24 GMT 2002    root@dev.nps.k12.va.us:/usr/src/sys/compile/DEV i386
>Description:
Machine is a Compaq Deskpro with an Intel Pro/100 Adapter (fxp).  Has been running fine for a few weeks.  dhclient suddenly stopped being able to grab an IP address (this is a problem only on this machine).  Upon reboot, dhclient failed to retrieve an address again.  Running 'ifconfig' displays:
fxp0: flags=8843<UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST> mtu 1500
      ether 00:02:a5:31:11:f1
      media: Ethernet autoselect (10BaseT/UTP)
      status: active

Attempting to run 'dhclient' from the CLI results in the following kernel panic:

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc01b2098
stack pointer		= 0x10:0xd1af3df0
frame pointer		= 0x10:0xd1af3e20
code segment		= base 0x0, limit 0xffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 149 (ifconfig)
interrupt mask		= 
trap number 		= 12
panic: page fault

The NIC is active, has a link light.  The DHCP server is working (hundreds of other PC's attest to that fact), and no configuration changes were made prior in the previous week to this problem - it just 'popped up'.

I've searched to see if this was a known issue with 4.6-RELEASE, as cvsupping is something I've tried to avoid (slow internet connection).  If I need to cvsup and rebuild on 4.6-STABLE to fix this, that's fine.  Thanks.
>How-To-Repeat:
Boot PC, and type 'dhclient' - Kernel panics instantly.

>Fix:
      
>Release-Note:
>Audit-Trail:

From: "Adam Crosby" <acrosby@ameritech.net>
To: <freebsd-gnats-submit@FreeBSD.org>, <acrosby@nps.k12.va.us>
Cc:  
Subject: Re: misc/41635: dhclient kernel panics when dhcp server is unavailable
Date: Fri, 16 Aug 2002 23:37:40 -0400

 Turns out the jack was bad - now the machine can recieve a dhcp address
 during boot, and everything works normally.
 Running the 'dhclient' executable still kernel panics instantly though,
 despite being able to retrieve an address and boot normally.
 
Responsible-Changed-From-To: freebsd-bugs->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Fri Dec 6 12:01:49 PST 2002 
Responsible-Changed-Why:  
I'll review this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41635 
State-Changed-From-To: open->feedback 
State-Changed-By: trhodes 
State-Changed-When: Mon Dec 16 14:54:23 PST 2002 
State-Changed-Why:  
I cannot reproduce this on my stable nor current system.  Could you try 
the cvsup?  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41635 
State-Changed-From-To: feedback->closed 
State-Changed-By: trhodes 
State-Changed-When: Mon Dec 16 15:13:53 PST 2002 
State-Changed-Why:  
Submitter emailed me with a 'PR may be closed' statement.  So close it 
for him.  Thanks! 

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