From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 20 13:30:23 2005 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 10D5A16A41C for ; Mon, 20 Jun 2005 13:30:23 +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 BCA5443D55 for ; Mon, 20 Jun 2005 13:30:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5KDUMOj032676 for ; Mon, 20 Jun 2005 13:30:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5KDUMom032673; Mon, 20 Jun 2005 13:30:22 GMT (envelope-from gnats) Resent-Date: Mon, 20 Jun 2005 13:30:22 GMT Resent-Message-Id: <200506201330.j5KDUMom032673@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, dunc Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 944E916A41C for ; Mon, 20 Jun 2005 13:28:57 +0000 (GMT) (envelope-from dunc@geology.thebunker.net) Received: from geology.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E95A843D1D for ; Mon, 20 Jun 2005 13:28:56 +0000 (GMT) (envelope-from dunc@geology.thebunker.net) Received: from geology.thebunker.net (localhost [127.0.0.1]) by geology.thebunker.net (8.12.6/8.12.6) with ESMTP id j5KDSt4S027472 for ; Mon, 20 Jun 2005 14:28:55 +0100 (BST) (envelope-from dunc@geology.thebunker.net) Received: (from dunc@localhost) by geology.thebunker.net (8.12.6/8.12.6/Submit) id j5KDStDB027471; Mon, 20 Jun 2005 14:28:55 +0100 (BST) Message-Id: <200506201328.j5KDStDB027471@geology.thebunker.net> Date: Mon, 20 Jun 2005 14:28:55 +0100 (BST) From: dunc To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/82442: Fatal trap 12 in em driver on 4.11-RC2 containing Cyclades E1 card (hdlc) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dunc List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 13:30:23 -0000 >Number: 82442 >Category: kern >Synopsis: Fatal trap 12 in em driver on 4.11-RC2 containing Cyclades E1 card (hdlc) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 20 13:30:22 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Duncan Lockwood >Release: FreeBSD 4.11-RC2 i386 >Organization: The Bunker >Environment: System: FreeBSD mc-civpn-bromborough 4.11-RC2 FreeBSD 4.11-RC2 #0: Tue Jun 14 10:22:03 GMT 2005 root@mc-civpn-bromborough:/usr/obj/usr/src/sys/MCCIVPNTESTDEBUG i386 >Description: Sporadic kernel panic on machine functioning as router between an ethernet network and an E1 line. We have been experiencing this problem for almost a year now. Hardware has been swapped twice, and still the problem persists. On average about once a week. The previous hardware did not contain an Intel em network card, so it probably isn't specific to that driver, however seeing as how this is where the crash happens (as seen in backtrace) I thought I should mention it. The box is on a UPS with other kit that is not affected, in an environment where other machines, run happily. Initially we suspected the E1 line, but have had several tests done on it, and they have all reported no problems. The full crash dump is available. >How-To-Repeat: >Fix: Unknown --- backtrace.txt begins here --- (kgdb) bt #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc021afff in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc021b424 in poweroff_wait (junk=0xc03e5c2c, howto=-1069656273) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc0368ede in trap_fatal (frame=0xc03ef42c, eva=3240684557) at /usr/src/sys/i386/i386/trap.c:974 #4 0xc0368bb1 in trap_pfault (frame=0xc03ef42c, usermode=0, eva=3240684557) at /usr/src/sys/i386/i386/trap.c:867 #5 0xc036879b in trap (frame={tf_fs = -1054998512, tf_es = -1069678576, tf_ds = -1071185904, tf_edi = -1055274752, tf_esi = 6758042, tf_ebp = -1069616004, tf_isp = -1069616040, tf_ebx = -1055274752, tf_edx = -1055653888, tf_ecx = 1752468566, tf_eax = 1371149, tf_trapno = 12, tf_err = 2, tf_eip = -1071976693, tf_cs = 8, tf_eflags = 66051, tf_esp = -1043058688, tf_ss = -1055497984}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc01aef0b in em_get_buf (i=136, adapter=0xc1d43000, nmp=0x0) at /usr/src/sys/dev/em/if_em.c:2276 #7 0xc01af60a in em_process_receive_interrupts (adapter=0xc1d43000, count=-2) at /usr/src/sys/dev/em/if_em.c:2555 #8 0xc01ad272 in em_intr (arg=0xc1d43000) at /usr/src/sys/dev/em/if_em.c:988 #9 0xc036044a in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1000 (kgdb) quit --- backtrace.txt ends here --- --- dmesg.boot begins here --- Copyright (c) 1992-2005 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 4.11-RC2 #0: Tue Jun 14 10:22:03 GMT 2005 root@mc-civpn-bromborough:/usr/obj/usr/src/sys/MCCIVPNTESTDEBUG Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff real memory = 528416768 (516032K bytes) avail memory = 510070784 (498116K bytes) Preloaded elf kernel "kernel" at 0xc04ef000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00fde90 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xdc100000-0xdc17ffff,0xd0000000-0xd7ffffff irq 5 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M pci0: at 29.0 irq 5 pci0: at 29.1 irq 10 pci0: at 29.2 irq 11 pci0: at 29.7 irq 10 pcib1: at device 30.0 on pci0 pci1: on pcib1 cpc0: port 0xa000-0xa07f mem 0xc0040000-0xc00400ff,0xc0043000-0xc00433ff,0xdc000000-0xdc07ffff,0xc0042000-0xc00423ff,0xc0041000-0xc004107f irq 9 at device 0.0 on pci1 hdlc0: PC300/TE #1, 256KB of RAM at 0xdc000000, IRQ9, channel 1. cpc0: driver is using old-style compatibility shims em0: port 0xa400-0xa43f mem 0xc0000000-0xc001ffff irq 11 at device 5.0 on pci1 em0: Speed:N/A Duplex:N/A em1: port 0xa800-0xa83f mem 0xc0020000-0xc003ffff irq 10 at device 6.0 on pci1 em1: Speed:N/A Duplex:N/A isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xcc00-0xcc0f,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc07 mem 0xdc181000-0xdc1813ff at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x24c3) at 31.3 irq 9 orm0: