Re: Sleeping in "rip6_output" with the following non-sleepable locks held

From: Robert Watson (rwatson_at_FreeBSD.org)
Date: 08/11/04

  • Next message: Robert Watson: "USB network device drivers now usable with debug.mpsafenet=1 (was:cvs commit: src/sys/dev/usb if_aue.c if_axe.c if_cue.c if_kue.c if_rue.c if_udav.c (fwd))"
    Date: Wed, 11 Aug 2004 00:14:49 -0400 (EDT)
    To: Jun Kuriyama <kuriyama@imgsrc.co.jp>
    
    

    On Wed, 11 Aug 2004, Jun Kuriyama wrote:

    > This is today's -current on amd64 box:

    Hmm. There was a patch floating around for this based on my suggestion of
    converting this to an M_DONTWAIT and then handling the error case, but I
    don't seem to be able to find it in my mailbox. Do you have a copy?

    Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
    robert@fledge.watson.org Principal Research Scientist, McAfee Research

    >
    > Sleeping in "rip6_output" with the following non-sleepable locks held:
    > exclusive sleep mutex inp (raw6inp) r = 0 (0xffffff002f11f0e8) locked @ netinet6/raw_ip6.c:347
    > exclusive sleep mutex rip r = 0 (0xffffffff807cbf48) locked @ netinet6/raw_ip6.c:745
    > KDB: stack backtrace:
    > witness_warn() at witness_warn+0x2eb
    > rip6_output() at rip6_output+0x1d2
    > rip6_send() at rip6_send+0xc1
    > sosend() at sosend+0x654
    > kern_sendit() at kern_sendit+0xf4
    > sendit() at sendit+0x5f
    > sendmsg() at sendmsg+0x87
    > syscall() at syscall+0x4c3
    > Xfast_syscall() at Xfast_syscall+0xa8
    > --- syscall (28, FreeBSD ELF64, sendmsg), rip = 0x20068c380, rsp = 0x7fffffffed78, rbp = 0x1 ---
    >
    >
    > --
    > Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
    > <kuriyama@FreeBSD.org> // FreeBSD Project
    > _______________________________________________
    > 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"
    >

    _______________________________________________
    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: Robert Watson: "USB network device drivers now usable with debug.mpsafenet=1 (was:cvs commit: src/sys/dev/usb if_aue.c if_axe.c if_cue.c if_kue.c if_rue.c if_udav.c (fwd))"

    Relevant Pages