From nobody@FreeBSD.org  Fri Dec 17 19:51:37 2004
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 3EFC616A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 19:51:37 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 097F443D54
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 19:51:37 +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 iBHJpaSU017761
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 19:51:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iBHJpaOT017758;
	Fri, 17 Dec 2004 19:51:36 GMT
	(envelope-from nobody)
Message-Id: <200412171951.iBHJpaOT017758@www.freebsd.org>
Date: Fri, 17 Dec 2004 19:51:36 GMT
From: Joe <sp0ng3b0b@sbcglobal.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nge driver causes FreeBSD 5.3-RELEASE and STABLE to panic
X-Send-Pr-Version: www-2.3

>Number:         75201
>Category:       i386
>Synopsis:       nge driver causes FreeBSD 5.3-RELEASE and STABLE to panic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 17 20:00:51 GMT 2004
>Closed-Date:    Mon Aug 01 10:13:51 GMT 2005
>Last-Modified:  Mon Aug 01 10:13:51 GMT 2005
>Originator:     Joe
>Release:        5.3-RELEASE
>Organization:
>Environment:
FreeBSD host.domain.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #2: Wed Dec  8 21:13:33 PST 2004     root@host.domain.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
As of FreeBSD 5.3-RELEASE, multiple systems of mine are getting panics and crashing. The "current process" field of the panic message is "nge0" a fiber network interface. The systems will run fine until the interface starts to recieve traffic, the OS panics. 

All of the systems successfully ran 5.2.1-RELEASE with no problems. I performed a fresh install of 5.3-RELEASE. 

I also tried 5.3-STABLE, but no success. I also tried a custom kernel and removed all non-existant hardware. Same results.

Here is the PANIC message:
Fatal trap 12: page fault while in kernel mode
fault virtual address    = 0x8
fault code        = supervisor read, page not present
instruction pointer    = 0x8:0xc055a002
stack pointer        = 0x10:0xe32a2c9c
frame pointer        = 0x10:0xe32a2cac
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, def 2 1, gran 1
processor eflags    = interrupt enabled, resuep, IOPL = 0
current process        = 27 (irq17: nge0)
trap number        = 12
panic: page fault 

Here is my hardware list

Intel Pentium 4 3.06GHz CPU
1GB RAM
80GB Maxtor HD
(1x) Intel 82801DB (ICH4) Pro/100 Ethernet
(6x) NetGear GA621 fiber 1GB NIC (nge driver)

On the file servers:
Intel 2.4 GHz
Intel 865 PERL Motherboard
1GB RAM
80GB IDE HD

I posted this problem to freebsd-questions. So has someone else. No one replied. I'm not sure if the problem is the DRIVER or the changes that were made to the OS that affect how the OS interacts with the driver.
>How-To-Repeat:
Turn the interface up with ifconfig. If it is an IDS and is plugged into a fiber tap, the OS will crash immediately, If the host is a file server, transfer some files of size (I tested with mp3s and docs from one client) files via scp, ftp, smb, or http. The OS will panic after a few seconds.
>Fix:

>Release-Note:
>Audit-Trail:

From: Oleg Ilin <ilin@rinet.ru>
To: freebsd-gnats-submit@FreeBSD.org, sp0ng3b0b@sbcglobal.net
Cc:  
Subject: Re: i386/75201: nge driver causes FreeBSD 5.3-RELEASE and STABLE to panic
Date: Sun, 10 Apr 2005 23:38:26 +0400

 Hello all,
 
 I'm have some problem.
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x8
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc054b1ce
 stack pointer           = 0x10:0xcbc85c9c
 frame pointer           = 0x10:0xcbc85cac
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = interrupt enabled, resume, IOPL = 0
 current process         = 16 (irq5: nge0 uhci0)
 trap number             = 12
 panic: page fault
 Uptime: 16m48s
 
 
 OS:
  5.3-RELEASE-p8 (Sun Apr 10 16:26:01 MSD 2005)
 
 Card:
  nge0: <National Semiconductor Gigabit Ethernet> port 0xd000-0xd0ff mem 0xe1800000-0xe1800fff irq 5 at device 9.0 on pci
  miibus0: <MII bus> on nge0
  nsgphy0: <DP83861 10/100/1000 media interface> on miibus0
  nsgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 
 cpu/mem/mb:
  Timecounter "i8254" frequency 1193182 Hz quality 0
  CPU: Intel Pentium III (600.02-MHz 686-class CPU)
    Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  real memory  = 268423168 (255 MB)
  avail memory = 252071936 (240 MB)
  npx0: [FAST]
  npx0: <math processor> on motherboard
  npx0: INT 16 interface
  acpi0: <ASUS P2B-B> on motherboard
 
 Best regards,
  Oleg                          mailto:ilin@rinet.ru
 
 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Aug 1 10:13:03 GMT 2005 
State-Changed-Why:  
Please try with 
$FreeBSD: src/sys/dev/nge/if_nge.c,v 1.65.2.4 2005/08/01 10:05:04 ru Exp $ 

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