From nobody@FreeBSD.ORG  Mon Jun 12 11:13:38 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 14DD537BB13; Mon, 12 Jun 2000 11:13:38 -0700 (PDT)
Message-Id: <20000612181338.14DD537BB13@hub.freebsd.org>
Date: Mon, 12 Jun 2000 11:13:38 -0700 (PDT)
From: alex@wnm.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: le driver causes kernel panic during ifconfig
X-Send-Pr-Version: www-1.0

>Number:         19219
>Category:       kern
>Synopsis:       le driver causes kernel panic during ifconfig
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 12 11:20:01 PDT 2000
>Closed-Date:    Thu May 24 12:46:08 PDT 2001
>Last-Modified:  Wed Jun 13 21:30:03 PDT 2001
>Originator:     Alex Charalabidis
>Release:        4.0-STABLE
>Organization:
WebNet Memphis
>Environment:
4.0-RELEASE i386
4.0-STABLE i386
>Description:
The le NIC driver causes a kernel panic and reboot when ifconfig is used.
This was observed on two separate machines with different hardware configurations and a DE201 NIC,
and was also reported on -questions by others with different DE20x cards and setups.
The cards I used to test were known to work under 3.x.

Everything from 4.0-R to the current -STABLE displays this behaviour.
The machine boots up fine, recognizes the card and crashes as soon as ifconfig(8) is run.

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

>How-To-Repeat:
Install DE20x NIC on 4.0 machine and rebuild kernel with le driver.
Manually run ifconfig on le0 and watch it crash and burn.
>Fix:
Sorry, no fix.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: johan 
State-Changed-When: Thu Oct 12 12:50:15 PDT 2000 
State-Changed-Why:  
Hi Alex 
To be able to help you debug this problem we need some 
more information. 

Please see the FAQ (http://www.FreeBSD.org/FAQ/FAQ.html) 
section 'For serious FreeBSD hackers only' 
question 'Making the most of a kernel panic' 
for info how you can help us getting the info we need. 

Please send the info as a follow-up to this PR 
by sending a mail to  
'freebsd-gnats-submit@FreeBSD.org' 
with the subject of this mail as subject. 

Or if the problem has been solved in later version 
of FreeBSD please let us know that as well. 

Thanks 
Johan K 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19219 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Thu May 24 12:46:08 PDT 2001 
State-Changed-Why:  
Feedback timeout 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19219 

From: Hal Peterson <hrp@cisco.com>
To: freebsd-gnats-submit@FreeBSD.org, alex@wnm.net
Cc:  
Subject: Re: kern/19219: le driver causes kernel panic during ifconfig
Date: Wed, 13 Jun 2001 23:18:52 -0500

 I am seeing this problem in a 4.3-STABLE system.  It runs fine until I
 try to start the network; then it crashes.  The kernel backtrace looks
 like this:
 
 #0  dumpsys
 #1  boot
 #2  poweroff_wait
 #3  trap_fatal
 #4  trap_pfault
 #5  trap
 #6  ??
 #7  intr_mux
 #8  vec9
 #9  softclock
 #10 splz_swi
 #11 in_control
 #12 if_ioctl
 #13 soo_ioctl
 #14 ioctl
 #15 syscall2
 #16 Xint0x80_syscall
 #17 ??
 #18 ??
 
 I'm available to dig more information from the dump whenever you ask.
 (The machine is almost useless when it's off the net, and I want to get
 it back up and running.)
 
 
>Unformatted:
