acquiring duplicate lock of same type: "network driver"

From: Antoine Brodin (antoine.brodin_at_laposte.net)
Date: 12/29/04

  • Next message: Peter Edwards: "Re: fxp EEPROM checksum mismatch in recent -CURRENT"
    Date: Wed, 29 Dec 2004 12:36:40 +0100
    To: freebsd-current@freebsd.org
    
    

    Hi,

    Witness reports this on a recent -current box (2 days old) doing nat
    with pf :

    acquiring duplicate lock of same type: "network driver"
     1st nv0 @ /usr/ports/net/nvnet/work/nvnet/module/../src/if_nv.c:1511
     2nd skc0 @ /usr/src/sys/modules/sk/../../pci/if_sk.c:1112
    KDB: stack backtrace:
    witness_checkorder(c2855c44,9,c07316ba,458) at witness_checkorder+0x500
    _mtx_lock_flags(c2855c44,0,c07316ba,458,c2ac4e00) at _mtx_lock_flags+0x40
    sk_jfree(e5a44340,c28e3000,0,c2857c00,e3c79c80) at sk_jfree+0x33
    mb_free_ext(c2ac4e00) at mb_free_ext+0x36
    m_freem(c2ac4e00,c2857c00,e5901000,e56fb0e0,c2857e60) at m_freem+0x21
    nv_ospackettx(c2857c00,e56fb0e0,1,e5901000,0) at nv_ospackettx+0x73
    UpdateTransmitDescRingData() at UpdateTransmitDescRingData+0xd3

    (it probably happened before but I didn't have witness enabled)
    This could perhaps deadlock a box with 2 sk(4) interfaces...

    Cheers,

    Antoine
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Peter Edwards: "Re: fxp EEPROM checksum mismatch in recent -CURRENT"

    Relevant Pages

    • LOR wi vr radix
      ... KDB: stack backtrace: ... acquiring duplicate lock of same type: "network driver" ...
      (freebsd-current)
    • ndis LOR
      ... ndis0: link down ... acquiring duplicate lock of same type: "network driver" ... KDB: stack backtrace: ...
      (freebsd-current)
    • LOR in ndis driver
      ... ndis0: link down ... acquiring duplicate lock of same type: "network driver" ... KDB: stack backtrace: ...
      (freebsd-current)