From owner-freebsd-stable Fri Jan 24 7:20: 0 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7320A37B401 for ; Fri, 24 Jan 2003 07:19:57 -0800 (PST) Received: from sissi.communications-laboratories.com (sissi.communications-laboratories.com [194.152.186.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 095AC43EB2 for ; Fri, 24 Jan 2003 07:19:56 -0800 (PST) (envelope-from pm@communications-laboratories.com) Received: from localhost (pm@localhost) by sissi.communications-laboratories.com (8.12.6/8.11.6) with ESMTP id h0OFGjQ2011870; Fri, 24 Jan 2003 16:16:49 +0100 (CET) (envelope-from pm@communications-laboratories.com) Date: Fri, 24 Jan 2003 16:16:45 +0100 (CET) From: Manfred Petz To: Michael Hostbaek Cc: freebsd-stable@FreeBSD.ORG Subject: Re: problem with fxp interface in promisc mode In-Reply-To: <20030124150128.GA99673@mich2.itxmarket.com> Message-ID: References: <200301241450.h0OEojP05330@unix1.jinr.dubna.su> <20030124150128.GA99673@mich2.itxmarket.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 24 Jan 2003, Michael Hostbaek wrote: | soloviova@stroimontazh.spb.ru (soloviova) writes: | > | > FreeBSD 4.7-RELEASE-p2 with fxp and xl interface. Running tcpdump or trafshow on fxp interface causes the fatal trap 12 message, and system goes down. It happens on fxp interface, but not on xl interface | > | | I have the exact same problem on a 4.7-STABLE (Oct. 16th) box. | I beleive the error also existed earlier while I was running 4.6-STABLE. | Same here. If I traced it right, it happens in upic_mbuf.c:589 where MCLGET() is used, which in turn calls MCLALLOC()... pm SMP 2 cpus IdlePTD at phsyical address 0x00324000 initial pcb at physical address 0x00290660 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xc1212454 fault code = supervisor write, page not present instruction pointer = 0x8:0xc01a0e1f stack pointer = 0x10:0xff807f2c frame pointer = 0x10:0xff807f40 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 = Idle interrupt mask = net <- SMP: XXX trap number = 12 panic: page fault mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 syncing disks... Fatal trap 12: page fault while in kernel mode mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01dfa91 stack pointer = 0x10:0xff807d38 frame pointer = 0x10:0xff807d40 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 = Idle interrupt mask = net bio <- SMP: XXX trap number = 12 panic: page fault mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 Uptime: 18h33m37s #0 0xc018530a in dumpsys () #1 0xc01850db in boot () #2 0xc0185534 in poweroff_wait () #3 0xc0226338 in trap_fatal () #4 0xc0225fc9 in trap_pfault () #5 0xc0225b3b in trap () #6 0xc01dfa91 in acquire_lock () #7 0xc01e519c in softdep_count_dependencies () #8 0xc01e854c in ffs_fsync () #9 0xc01e6fba in ffs_sync () #10 0xc01b57fb in sync () #11 0xc0184e76 in boot () #12 0xc0185534 in poweroff_wait () #13 0xc0226338 in trap_fatal () #14 0xc0225fc9 in trap_pfault () #15 0xc0225b3b in trap () #16 0xc01a0e1f in m_getcl () #17 0xc01648ff in fxp_add_rfabuf () #18 0xc0163540 in fxp_intr_body () #19 0xc0163455 in fxp_intr () (kgdb) . . . 0xc01a0df7 : push %esi 0xc01a0df8 : push $0x1 0xc01a0dfa : call 0xc01a064c 0xc01a0dff : add $0x8,%esp 0xc01a0e02 : mov %esi,%esi 0xc01a0e04 : mov 0xc02a48c4,%ecx 0xc01a0e0a : test %ecx,%ecx 0xc01a0e0c : je 0xc01a0e40 0xc01a0e0e : mov %ecx,%eax 0xc01a0e10 : sub 0xc02a4918,%eax 0xc01a0e16 : shr $0xb,%eax 0xc01a0e19 : mov 0xc02a491c,%edx 0xc01a0e1f : incb (%eax,%edx,1) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message