stable/11: Kernel page fault with the following non-sleepable locks held: CAM device lock

Eugene Grosbein eugen at grosbein.net
Sun Jul 23 13:20:21 UTC 2017


On 23.07.2017 20:02, Eugene Grosbein wrote:

> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0xa
> fault code              = supervisor read data, page not present
> instruction pointer     = 0x20:0xffffffff80e494e1
> stack pointer           = 0x28:0xfffffe04675ff670
> frame pointer           = 0x28:0xfffffe04675ff670
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 1387 (smartd)
> trap number             = 12
> panic: page fault
> cpuid = 0

I also have a screenshot of another case of same panic that notes
lock order reversal: (Giant after non-sleepable):

http://www.grosbein.net/freebsd/crash.png



More information about the freebsd-stable mailing list