From owner-freebsd-amd64@freebsd.org Tue Feb 23 05:49:50 2016 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED4FFAB1476 for ; Tue, 23 Feb 2016 05:49:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C50A915AE for ; Tue, 23 Feb 2016 05:49:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1N5nojX057202 for ; Tue, 23 Feb 2016 05:49:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 207432] panic: nvme_ctrlr_intx_handler Date: Tue, 23 Feb 2016 05:49:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wac@google.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 23 Feb 2016 12:06:22 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 05:49:51 -0000 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.=