Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2017 01:40:09 -0500
From:      Farhan Khan <khanzf@gmail.com>
To:        freebsd-drivers@freebsd.org
Subject:   Kernel page fault with the following non-sleepable locks
Message-ID:  <cca94222-1ae9-b1c1-b1fe-43eb388ebd2d@gmail.com>

index | next in thread | raw e-mail

Hi all,

I received this error following what appeared to be a PCI interrupt.

Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex rtwn (network driver) r = 0 (0xfffffe000920c000) 
locked @ /usr/src/sys/dev/rtwn/pci/rtwn_pci_rx.c:290

This is followed by a stack trace, with the rtwn_pci_rx_frame as the 
last driver-relevant function. The fault code is "supervisor read 
instruction, page not present".

I understand that this happens after a mutex lock is held beyond a 
period of time, as described here:
https://www.freebsd.org/doc/en/books/faq/troubleshoot.html#idp59180136

My questions are:
A) What defines long periods of time?
B) What common patterns might cause this issue? Is there something in 
specific I should look for? Would it be a PCI read request that takes 
too long to return?

Thank you,
Farhan Khan


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cca94222-1ae9-b1c1-b1fe-43eb388ebd2d>