bugzilla-noreply at freebsd.org
2018-Apr-18  07:45 UTC
[Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227603
            Bug ID: 227603
           Summary: [panic] r323477: Sleeping thread owns a non-sleepable
                    lock
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: crash
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: mjoras at freebsd.org
          Reporter: eugen at freebsd.org
                CC: net at FreeBSD.org, stable at FreeBSD.org
Created attachment 192611
  -->
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192611&action=edit
kgdb backtrace
The change https://svnweb.freebsd.org/base?view=revision&revision=r323477
makes
it possible for kernel thread to sleep on sx lock in vlan_ioctl() function
while holding mutex bpf_mtx that is prohibited and leads to panic.
kgdb session is attached.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
bugzilla-noreply at freebsd.org
2018-Apr-18  18:12 UTC
[Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227603
Matthew Macy <mmacy at nextbsd.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmacy at nextbsd.org
--- Comment #1 from Matthew Macy <mmacy at nextbsd.org> ---
This is fixed in HEAD. I'll ask shurd to MFC the fix.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
bugzilla-noreply at freebsd.org
2018-Apr-18  18:48 UTC
[Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227603
Stephen Hurd <shurd at FreeBSD.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|mjoras at freebsd.org          |shurd at FreeBSD.org
                 CC|                            |shurd at FreeBSD.org
--- Comment #2 from Stephen Hurd <shurd at FreeBSD.org> ---
Can you test with r332734 and ensure the issue is resolved?
-- 
You are receiving this mail because:
You are on the CC list for the bug.
bugzilla-noreply at freebsd.org
2018-Apr-18  20:59 UTC
[Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227603
Eugene Grosbein <eugen at freebsd.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
           See Also|                            |https://reviews.freebsd.org
                   |                            |/D14982
--- Comment #3 from Eugene Grosbein <eugen at freebsd.org> ---
(In reply to Stephen Hurd from comment #2)
I've applied the fix from https://reviews.freebsd.org/D14982.
While shutting old kernel down to reboot with new kernel, it paniced again with
the same backtrace.
Now I run the system with the fix and will respond if something bad happens or
in a week in case of normal work.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
bugzilla-noreply at freebsd.org
2018-Apr-26  16:54 UTC
[Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227603 --- Comment #4 from Stephen Hurd <shurd at FreeBSD.org> --- How's it looking? -- You are receiving this mail because: You are on the CC list for the bug.
bugzilla-noreply at freebsd.org
2018-Apr-26  17:02 UTC
[Bug 227603] [panic] r323477: Sleeping thread owns a non-sleepable lock
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227603
Eugene Grosbein <eugen at freebsd.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|In Progress                 |Closed
--- Comment #5 from Eugene Grosbein <eugen at freebsd.org> ---
(In reply to Stephen Hurd from comment #4)
No problems at all with r332734 applied. Thank you!
-- 
You are receiving this mail because:
You are on the CC list for the bug.