[Bug 207432] panic: nvme_ctrlr_intx_handler

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 23 05:49:51 UTC 2016


            Bug ID: 207432
           Summary: panic: nvme_ctrlr_intx_handler
           Product: Base System
           Version: 10.3-BETA2
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: wac at google.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

I've created a 10.3-BETA2 image for Google Compute Engine using swills'
script and am getting a panic on boot when the VM is configured with Local
SSD as NVMe (--local-ssd interface="NVME"). This is a regression from
10.2-RELEASE which will boot successfully with an identical configuration.

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x60
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80e16019
stack pointer        = 0x28:0xfffffe01bfff59c0
frame pointer        = 0x28:0xfffffe01bfff59e0
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 = 12 (irq11: virtio_pci0+)
[ thread pid 12 tid 100039 ]
Stopped at      nvme_ctrlr_intx_handler+0x39:   cmpq    $0,0x60(%rdi)
db> bt
Tracing pid 12 tid 100039 td 0xfffff8000422e000
nvme_ctrlr_intx_handler() at nvme_ctrlr_intx_handler+0x39/frame
intr_event_execute_handlers() at intr_event_execute_handlers+0xab/frame
ithread_loop() at ithread_loop+0x96/frame 0xfffffe01bfff5a70
fork_exit() at fork_exit+0x9a/frame 0xfffffe01bfff5ab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe01bfff5ab0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---

Later with kgdb looks like ctrlr->ioq is null. (Line numbers won't line up
exactly since I was attempting suggestions from the freebsd-stable@ thread, but
panic was the same in all cases.)

0xffffffff80e16029 in nvme_ctrlr_intx_handler (arg=0xfffffe0000953000) at
819             if (ctrlr->ioq[0].cpl)
(kgdb) print ((struct nvme_controller *)arg)->ioq
$1 = (struct nvme_qpair *) 0x0

You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-amd64 mailing list