From owner-freebsd-bugs Fri Jan 3 4: 0: 8 2003 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 F1FE037B401 for ; Fri, 3 Jan 2003 04:00:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA88043EE1 for ; Fri, 3 Jan 2003 04:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h03C03NS084506 for ; Fri, 3 Jan 2003 04:00:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h03C03BF084500; Fri, 3 Jan 2003 04:00:03 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D744437B401 for ; Fri, 3 Jan 2003 03:58:32 -0800 (PST) Received: from kandojozsef-bkp.iif.hu (kandojozsef-bkp.iif.hu [193.6.21.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B02043E4A for ; Fri, 3 Jan 2003 03:58:32 -0800 (PST) (envelope-from root@kandojozsef-bkp.iif.hu) Received: from kandojozsef-bkp.iif.hu (localhost.fsn.hu [127.0.0.1]) by kandojozsef-bkp.iif.hu (8.12.6/8.12.6) with ESMTP id h03BGQBM000720 for ; Fri, 3 Jan 2003 12:16:26 +0100 (CET) (envelope-from root@kandojozsef-bkp.iif.hu) Received: (from root@localhost) by kandojozsef-bkp.iif.hu (8.12.6/8.12.6/Submit) id h03BGQSv000719; Fri, 3 Jan 2003 12:16:26 +0100 (CET) Message-Id: <200301031116.h03BGQSv000719@kandojozsef-bkp.iif.hu> Date: Fri, 3 Jan 2003 12:16:26 +0100 (CET) From: bra@fsn.hu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/46720: This is the result of Netgraph FEC, tcpdump running and an ICMP ping to the host. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46720 >Category: kern >Synopsis: This is the result of Netgraph FEC, tcpdump running and an ICMP ping to the host. >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 Jan 03 04:00:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Nagy Attila >Release: FreeBSD 5.0-RC i386 >Organization: individual >Environment: System: FreeBSD test.fsn.hu 5.0-RC FreeBSD 5.0-RC #9: Thu Jan 2 17:48:21 CET 2003 root@test.fsn.hu:/usr/obj/usr/src/sys/TEST i386 >Description: FreeBSD 5.0 contains the Cisco Fast EtherChannel (FEC) Netgraph node, originally written by wpaul@freebsd.org. This node does not work on 5.0 and produces a page fault when trying to test it out by running a tcpdump on the fec0 interface and while receiving an ICMP echo request (ping). >How-To-Repeat: kldload ng_fec ngctl mkpeer fec dummy fec ngctl msg fec0: add_iface '"fxp0"' ngctl msg fec0: add_iface '"fxp1"' ngctl msg fec0: set_mode_inet ifconfig fec0 a.b.c.d netmask q.w.e.r up route add default t.y.u.i tcpdump -i fec0 ping a.b.c.d from another host >Fix: The kernel crashdump and gdb "where" follows here: --- uname begins here --- test# uname -a FreeBSD test.fsn.hu 5.0-RC FreeBSD 5.0-RC #9: Thu Jan 2 17:48:21 CET 2003 root@test.fsn.hu:/usr/obj/usr/src/sys/TEST i386 test# gdb -k kernel.debug.20030102 vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: bwrite: buffer is not busy??? panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02ca7ee stack pointer = 0x10:0xd69aeb88 frame pointer = 0x10:0xd69aebb0 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 = 24 (irq12: fxp1 sym0) trap number = 12 panic: page fault syncing disks, buffers remaining... panic: bwrite: buffer is not busy??? Uptime: 4m27s amr0: flushing cache...done Dumping 511 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:232 232 dumping++; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:232 #1 0xc01ce342 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:364 #2 0xc01ce583 in panic () at /usr/src/sys/kern/kern_shutdown.c:517 #3 0xc02139a2 in bwrite (bp=0xce603950) at /usr/src/sys/kern/vfs_bio.c:796 #4 0xc0215085 in vfs_bio_awrite (bp=0xce603950) at /usr/src/sys/kern/vfs_bio.c:1643 #5 0xc0197c91 in spec_fsync (ap=0xd69ae980) at /usr/src/sys/fs/specfs/spec_vnops.c:462 #6 0xc0196ff8 in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:126 #7 0xc0273541 in ffs_sync (mp=0xc4057400, waitfor=2, cred=0xc150ae80, td=0xc031b840) at vnode_if.h:612 #8 0xc0228c1b in sync (td=0xc031b840, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:138 #9 0xc01cdf2c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:273 #10 0xc01ce583 in panic () at /usr/src/sys/kern/kern_shutdown.c:517 #11 0xc02cc632 in trap_fatal (frame=0xd69aeb48, eva=0) at /usr/src/sys/i386/i386/trap.c:844 #12 0xc02cc312 in trap_pfault (frame=0xd69aeb48, usermode=0, eva=1) at /usr/src/sys/i386/i386/trap.c:758 #13 0xc02cbe00 in trap (frame= {tf_fs = -694550504, tf_es = -1071841264, tf_ds = -1069416432, tf_edi = -1005170670, tf_esi = 1, tf_ebp = -694490192, tf_isp = -694490252, tf_ebx = 14, tf_edx = 18, tf_ecx = 3, tf_eax = -1005170671, tf_trapno = 12, tf_err = 0, tf_eip ---Type to continue, or q to quit--- = -1070815250, tf_cs = 8, tf_eflags = 66071, tf_esp = 74, tf_ss = -694490084}) at /usr/src/sys/i386/i386/trap.c:445 #14 0xc02bc618 in calltrap () at {standard input}:98 #15 0xc02355f2 in catchpacket (d=0x1, pkt=0x0, pktlen=74, snaplen=0, cpfn=0xc0235250 ) at /usr/src/sys/net/bpf.c:1216 #16 0xc02353cb in bpf_mtap (bp=0xc42c7080, m=0xd69aec1c) at /usr/src/sys/net/bpf.c:1141 #17 0xc03d68f4 in ?? () #18 0xc023931b in ether_input (ifp=0xc417fc00, m=0xc1542100) at /usr/src/sys/net/if_ethersubr.c:601 #19 0xc0170ce9 in fxp_intr_body (sc=0xc4028000, statack=64 '@', count=-1) at /usr/src/sys/dev/fxp/if_fxp.c:1357 #20 0xc0170b3a in fxp_intr (xsc=0xc4028000) at /usr/src/sys/dev/fxp/if_fxp.c:1228 #21 0xc01b9ef1 in ithread_loop (arg=0xc4020300) at /usr/src/sys/kern/kern_intr.c:535 #22 0xc01b8e03 in fork_exit (callout=0xc01b9d20 , arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:872 (kgdb) quit --- uname ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message