NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/50629: netbsd-7 kernel panic



The following reply was made to PR kern/50629; it has been noted by GNATS.

From: 6bone%6bone.informatik.uni-leipzig.de@localhost
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
    netbsd-bugs%netbsd.org@localhost
Subject: re: kern/50629: netbsd-7 kernel panic
Date: Mon, 14 Mar 2016 13:00:03 +0100 (CET)

 On Fri, 11 Mar 2016, Christos Zoulas wrote:
 
 >
 > |  The server has only an ipv6 firewall. If the cause is ipfilter, then it
 > |  must be an ipv6 rule.
 >
 > Ok, found it...
 >
 > christos
 
 Next crash. The kernel includes your patch:
 
 panic: LOCKDEBUG: Reader / writer lock error: rw_vector_enter: assertion failed: !cpu_intr_p()
 cpu0: Begin traceback...
 vpanic() at netbsd:vpanic+0x13c
 snprintf() at netbsd:snprintf
 lockdebug_more() at netbsd:lockdebug_more
 rw_enter() at netbsd:rw_enter+0x33f
 ipf_check() at netbsd:ipf_check+0x186
 pfil_run_hooks() at netbsd:pfil_run_hooks+0xc4
 ip_output() at netbsd:ip_output+0x3ed
 stf_output() at netbsd:stf_output+0x287
 ip6flow_fastforward() at netbsd:ip6flow_fastforward+0x110
 ether_input() at netbsd:ether_input+0x639
 ether_input() at netbsd:ether_input+0x4f5
 ixgbe_rxeof() at netbsd:ixgbe_rxeof+0x1bb
 ixgbe_legacy_irq() at netbsd:ixgbe_legacy_irq+0xce
 intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x19
 Xintr_ioapic_level4() at netbsd:Xintr_ioapic_level4+0xf2
 --- interrupt ---
 x86_mwait() at netbsd:x86_mwait+0xd
 acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xc2
 acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0xb6
 idle_loop() at netbsd:idle_loop+0x18c
 cpu0: End traceback...
 
 dumping to dev 4,1 (offset=4589220, size=8388067):
 dump
 
 
 #0  0xffffffff8068a4df in cpu_reboot (howto=howto@entry=260,
      bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:671
 #1  0xffffffff808b7b74 in vpanic (
      fmt=fmt@entry=0xffffffff80db6f8b "LOCKDEBUG: %s error: %s: %s",
      ap=ap@entry=0xfffffe813a5eb758) at /usr/src/sys/kern/subr_prf.c:340
 #2  0xffffffff808b7c2f in panic (
      fmt=fmt@entry=0xffffffff80db6f8b "LOCKDEBUG: %s error: %s: %s")
      at /usr/src/sys/kern/subr_prf.c:256
 #3  0xffffffff808aee11 in lockdebug_abort1 (ld=0xffff800042677ac8, s=6,
      func=0xffffffff80c64f80 <__func__.5885> "rw_vector_enter",
      msg=0xffffffff80d72700 "assertion failed: !cpu_intr_p()",
      dopanic=<optimized out>) at /usr/src/sys/kern/subr_lockdebug.c:783
 #4  0xffffffff8061519f in rw_vector_enter (rw=0xffffffff81107648 <ipfmain+72>,
      op=RW_READER) at /usr/src/sys/kern/kern_rwlock.c:282
 #5  0xffffffff80356261 in ipf_check (ctx=0xffffffff81107600 <ipfmain>,
      ip=<optimized out>, hlen=<optimized out>, ifp=<optimized out>,
      out=<optimized out>, mp=0xfffffe813a5eb9f0)
      at /usr/src/sys/external/bsd/ipf/netinet/fil.c:2919
 #6  0xffffffff8074dacf in pfil_run_hooks (ph=<optimized out>,
      mp=mp@entry=0xfffffe813a5eba90, ifp=ifp@entry=0xffff80003a45c620,
      dir=dir@entry=2) at /usr/src/sys/net/pfil.c:266
 #7  0xffffffff8058fee9 in ip_output (m0=m0@entry=0xfffffe814987f800)
      at /usr/src/sys/netinet/ip_output.c:480
 #8  0xffffffff804941c0 in stf_output (ifp=0xfffffe8189efdc10,
      m=<optimized out>, dst=<optimized out>, rt0=<optimized out>)
      at /usr/src/sys/net/if_stf.c:432
 #9  0xffffffff80556fb4 in ip6flow_fastforward (mp=mp@entry=0xfffffe813a5ebbf0)
      at /usr/src/sys/netinet6/ip6_flow.c:313
 #10 0xffffffff804291f9 in ether_input (ifp=0xfffffe818a6fdc10,
      m=0xfffffe819aec0000) at /usr/src/sys/net/if_ethersubr.c:849
 #11 0xffffffff804290b5 in ether_input (ifp=0xffff80003a45c620,
      m=0xfffffe819aec0000) at /usr/src/sys/net/if_ethersubr.c:703
 #12 0xffffffff805d29a6 in ixgbe_rx_input (ptype=<optimized out>,
      m=0xfffffe819aec0000, ifp=0xffff80003a45c620, rxr=0xfffffe813a921e10)
      at /usr/src/sys/dev/pci/ixgbe/ixgbe.c:4609
 #13 ixgbe_rxeof (que=que@entry=0xfffffe813a87c540)
      at /usr/src/sys/dev/pci/ixgbe/ixgbe.c:4842
 #14 0xffffffff805d4090 in ixgbe_legacy_irq (arg=0xfffffe813a87c540)
      at /usr/src/sys/dev/pci/ixgbe/ixgbe.c:1639
 #15 0xffffffff8054f6e6 in intr_biglock_wrapper (vp=0xfffffe813ae185c8)
      at /usr/src/sys/arch/x86/x86/intr.c:605
 #16 0xffffffff8010bad2 in Xintr_ioapic_level4 ()
 #17 0xffffffff8028b69d in x86_mwait ()
 #18 0xffffffff80121ad3 in acpicpu_cstate_idle_enter (
      sc=sc@entry=0xfffffe813b4f2008, state=1)
      at /usr/src/sys/dev/acpi/acpi_cpu_cstate.c:749
 #19 0xffffffff80121f7f in acpicpu_cstate_idle ()
      at /usr/src/sys/dev/acpi/acpi_cpu_cstate.c:697
 #20 0xffffffff805fb39c in idle_loop (dummy=<optimized out>)
      at /usr/src/sys/kern/kern_idle.c:87
 #21 0xffffffff80100807 in lwp_trampoline ()
 #22 0x0000000000000000 in ?? ()
 
 
 Regards
 Uwe
 


Home | Main Index | Thread Index | Old Index