Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 16:16:45 +0100 (CET)
From:      Manfred Petz <pm@communications-laboratories.com>
To:        Michael Hostbaek <mich@freebsdcluster.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: problem with fxp interface in promisc mode
Message-ID:  <Pine.BSF.4.50.0301241603360.787-100000@sissi.communications-laboratories.com>
In-Reply-To: <20030124150128.GA99673@mich2.itxmarket.com>
References:  <200301241450.h0OEojP05330@unix1.jinr.dubna.su> <20030124150128.GA99673@mich2.itxmarket.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <m_getcl+475>:       push   %esi
0xc01a0df8 <m_getcl+476>:       push   $0x1
0xc01a0dfa <m_getcl+478>:       call   0xc01a064c <m_clalloc>
0xc01a0dff <m_getcl+483>:       add    $0x8,%esp
0xc01a0e02 <m_getcl+486>:       mov    %esi,%esi
0xc01a0e04 <m_getcl+488>:       mov    0xc02a48c4,%ecx
0xc01a0e0a <m_getcl+494>:       test   %ecx,%ecx
0xc01a0e0c <m_getcl+496>:       je     0xc01a0e40 <m_getcl+548>
0xc01a0e0e <m_getcl+498>:       mov    %ecx,%eax
0xc01a0e10 <m_getcl+500>:       sub    0xc02a4918,%eax
0xc01a0e16 <m_getcl+506>:       shr    $0xb,%eax
0xc01a0e19 <m_getcl+509>:       mov    0xc02a491c,%edx
0xc01a0e1f <m_getcl+515>:       incb   (%eax,%edx,1)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.50.0301241603360.787-100000>