From jin@pesto.lbl.gov  Fri Aug 16 13:23:47 2002
Return-Path: <jin@pesto.lbl.gov>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AA18D37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Aug 2002 13:23:47 -0700 (PDT)
Received: from pesto.lbl.gov (pesto.lbl.gov [131.243.2.55])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3076E43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Aug 2002 13:23:47 -0700 (PDT)
	(envelope-from jin@pesto.lbl.gov)
Received: from pesto.lbl.gov (localhost.lbl.gov [127.0.0.1])
	by pesto.lbl.gov (8.12.3/8.12.3) with ESMTP id g7GKNkpR015694
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Aug 2002 13:23:46 -0700 (PDT)
	(envelope-from jin@pesto.lbl.gov)
Received: (from jin@localhost)
	by pesto.lbl.gov (8.12.3/8.12.3/Submit) id g7GKNjLV015693;
	Fri, 16 Aug 2002 13:23:45 -0700 (PDT)
Message-Id: <200208162023.g7GKNjLV015693@pesto.lbl.gov>
Date: Fri, 16 Aug 2002 13:23:45 -0700 (PDT)
From: Jin Guojun (DSD staff) <jin@pesto.lbl.gov>
Reply-To: j_guojun@lbl.gov
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: if_nge_load=YES make system not bootable
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41720
>Category:       kern
>Synopsis:       [nge] if_nge_load=YES make system not bootable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 16 13:30:01 PDT 2002
>Closed-Date:    Mon Mar 12 06:54:42 GMT 2007
>Last-Modified:  Mon Mar 12 06:54:42 GMT 2007
>Originator:     Jin Guojun (DSD staff)
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
>Environment:


	4.6 and 4.6.2-RELEASE
	Tested in different motherboard, so it is not hardware related.
	Also, system panic regardless if nge related hardware is installed.

	Tested same hardware under 4.5-RELEASE, and had no problem.
	So, the problem is in if_nge.ko after 4.5-RELEASE.

>Description:
	Once if_nge_load=YES is placed in /boot/loader.conf,
	the system will be panic during the boot time regardless if
	any nge hardware is installed.

	In 4.6-RELEASE, it says page is not present and current
	process is ifconfig. The only place can invoke ifconfig
	is the "ifconfig -l" if no NIC is installed.
	However, boot system without if_nge_load=YES enabled in
	/boot/loader.conf, then kldload if_nge.ko, then do
	ifconfig -l, system will not panic.
	So, it looks like that if_nge.ko screws up the kernel
	during the boot time.

	In 4.6.2-RELEASE, the panic is so fast and immediately
	goes to reboot, so I do not know what is the panic message.

>How-To-Repeat:

	Add if_nge_load=YES into /boot/loader.conf and reboot system.

>Fix:

	Work around:
		To use nge NIC, add following lines into /etc/rc.conf

	ifconfig nge0 | grep status ||	{
		ifconfig nge0 | grep status &&
			ifconfig nge0 $netaddr netmask $subnetmask up
	}


	BTW, this also shows another problem in if_nge.ko:

		if_nge.ko must be loaded twice in 4.6 and 4.6.2,
		to make device driver installed. !!!
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Sun Mar 11 20:12:56 UTC 2007 
State-Changed-Why:  
Is this still relevant for recent FreeBSD versions? 


Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Mar 11 20:12:56 UTC 2007 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41720 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Mar 12 06:54:41 UTC 2007 
State-Changed-Why:  
The submitter is not able to retest this on recent FreeBSD versions, I 
cannot do that as well so lets close the ticket till someone can provide 
feedback to us. 

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