From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 11 02:14:40 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25C8316A7AC for ; Sat, 11 Mar 2006 02:14:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C5DC43E54 for ; Sat, 11 Mar 2006 02:00:39 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2B20d5Z059272 for ; Sat, 11 Mar 2006 02:00:39 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2B20dU7059271; Sat, 11 Mar 2006 02:00:39 GMT (envelope-from gnats) Resent-Date: Sat, 11 Mar 2006 02:00:39 GMT Resent-Message-Id: <200603110200.k2B20dU7059271@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Byron L. Hicks" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E241E16A49A for ; Sat, 11 Mar 2006 01:57:32 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1B144F1EC for ; Fri, 10 Mar 2006 22:49:39 +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 k2AMnddB007325 for ; Fri, 10 Mar 2006 22:49:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2AMndKc007324; Fri, 10 Mar 2006 22:49:39 GMT (envelope-from nobody) Message-Id: <200603102249.k2AMndKc007324@www.freebsd.org> Date: Fri, 10 Mar 2006 22:49:39 GMT From: "Byron L. Hicks" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/94307: kernel panics when passing trafffic through bge1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 02:14:40 -0000 >Number: 94307 >Category: kern >Synopsis: kernel panics when passing trafffic through bge1 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 11 02:00:38 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Byron L. Hicks >Release: 6.1-PRERELEASE >Organization: NMSU ICT >Environment: FreeBSD monitor-temp.nmsu.edu 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Dec 16 05:02:27 MST 2005 root@monitor-temp.nmsu.edu:/usr/obj/usr/src/sys/DL320 i386 >Description: I can enable the bge1 interface, add an IP address, and a default route. Once I start trying to pass traffic, the kernel panics. Here is the output of a kernel debug: monitor-temp# kgdb kernel.debug /usr/local/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: bge1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc fault code = supervisor write, page not present instruction pointer = 0x20:0xc0459053 stack pointer = 0x28:0xe4c7fca8 frame pointer = 0x28:0xe4c7fcd0 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 = 28 (irq17: bge1 atapci+) trap number = 12 panic: page fault Uptime: 3m8s Dumping 1023 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 1023MB (261848 pages) 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); Here is the dmesg from the boot: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-PRERELEASE #0: Fri Dec 16 05:02:27 MST 2005 root@monitor-temp.nmsu.edu:/usr/obj/usr/src/sys/DL320 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2793.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf44 Stepping = 4 Features=0xbfebfbff Features2=0x641d> AMD Features=0x20000000 Hyperthreading: 2 logical CPUs real memory = 1073577984 (1023 MB) avail memory = 1045958656 (997 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0 cpu0: on acpi0 pcib0: on acpi0 pci0: on pcib0 pcib0: no PRT entry for 0.31.INTA pcib1: at device 1.0 on pci0 pci4: on pcib1 pcib2: at device 0.0 on pci4 pci5: on pcib2 bge0: mem 0xfdff0000-0xfd ffffff,0xfdfe0000-0xfdfeffff irq 16 at device 4.0 on pci5 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge0: Ethernet address: 00:16:35:5a:9d:35 bge1: mem 0xfdfd0000-0xfd fdffff,0xfdfc0000-0xfdfcffff irq 17 at device 4.1 on pci5 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge1: Ethernet address: 00:16:35:5a:9d:36 pcib3: at device 8.0 on pci5 pci6: on pcib3 pcib4: at device 28.0 on pci0 pci2: on pcib4 pcib5: at device 28.4 on pci0 pci3: on pcib5 pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.3 (no driver attached) pci0: at device 29.7 (no driver attached) pcib6: at device 30.0 on pci0 pci1: on pcib6 pci1: at device 3.0 (no driver attached) pci1: at device 4.0 (no driver attached) pci1: at device 4.2 (no driver attached) pci1: at device 4.4 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37 6,0x500-0x50f irq 7 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x1080-0x1087,0x1088-0x108b,0x1090 -0x1097,0x1098-0x109b,0x10a0-0x10af mem 0xfdde0000-0xfdde03ff irq 17 at device 3 1.2 on pci0 ata2: on atapci1 ata3: on atapci1 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcafff,0xee000-0xeffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2793023303 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDROM at ata0-master PIO4 ad4: 76319MB at ata2-master SATA150 Trying to mount root from ufs:/dev/ad4s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 300 files 1 The machine in question is an HP Proliant Server DL320 G4. It has a Dual Core Pentium D 2.8Ghz processor and 1G RAM. This has been duplicated on two identical servers, so it is unlikely to be faulty hardware. >How-To-Repeat: Try to send traffic through the bge1 interface after it has been configured. >Fix: >Release-Note: >Audit-Trail: >Unformatted: