Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 13:23:45 -0700 (PDT)
From:      Jin Guojun (DSD staff) <jin@pesto.lbl.gov>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/41720: if_nge_load=YES make system not bootable
Message-ID:  <200208162023.g7GKNjLV015693@pesto.lbl.gov>

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


>Number:         41720
>Category:       kern
>Synopsis:       if_nge_load=YES make system not bootable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 16 13:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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