Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2016 05:49:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 207432] panic: nvme_ctrlr_intx_handler
Message-ID:  <bug-207432-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207432

            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@FreeBSD.org
          Reporter: wac@google.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@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=3D"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 =3D 0; apic id =3D 00
fault virtual address =3D 0x60
fault code =3D supervisor read data, page not present
instruction pointer =3D 0x20:0xffffffff80e16019
stack pointer        =3D 0x28:0xfffffe01bfff59c0
frame pointer        =3D 0x28:0xfffffe01bfff59e0
code segment =3D base 0x0, limit 0xfffff, type 0x1b
=3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags =3D interrupt enabled, resume, IOPL =3D 0
current process =3D 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
0xfffffe01bfff59e0
intr_event_execute_handlers() at intr_event_execute_handlers+0xab/frame
0xfffffe01bfff5a20
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 =3D 0, rsp =3D 0, rbp =3D 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=3D0xfffffe0000953000) at
/usr/src/sys/dev/nvme/nvme_ctrlr.c:819
819             if (ctrlr->ioq[0].cpl)
(kgdb) print ((struct nvme_controller *)arg)->ioq
$1 =3D (struct nvme_qpair *) 0x0

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207432-6>