From owner-freebsd-amd64@freebsd.org Mon Nov 20 01:52:48 2017 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 3020ADDD3B4 for ; Mon, 20 Nov 2017 01:52:48 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-114.reflexion.net [208.70.210.114]) (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 CBD6F6B4FB for ; Mon, 20 Nov 2017 01:52:47 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 989 invoked from network); 20 Nov 2017 01:52:40 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 20 Nov 2017 01:52:40 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sun, 19 Nov 2017 20:52:40 -0500 (EST) Received: (qmail 494 invoked from network); 20 Nov 2017 01:52:40 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 20 Nov 2017 01:52:40 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id CA983EC7E18; Sun, 19 Nov 2017 17:52:39 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: head -r325997: Fatal trap 12: page fault while in kernel mode (during a buildworld, virtualbox guest context) Message-Id: <2A312919-EF66-4FC3-85E4-A796315DB978@dsl-only.net> Date: Sun, 19 Nov 2017 17:52:39 -0800 To: FreeBSD Current , freebsd-amd64@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 01:52:48 -0000 Attempting a dump failed. I'm afraid all for information is the below. The kernel was a non-debug kernel (with debug information). The following is hand typed from a screen shot: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xffffff53f000e2b0 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80f2b11e stack pointer = 0x0:0xfffffe01aeb28970 frame pointer = 0x0:0xfffffe01aeb289f0 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 = 20 (pagedaemon) [ thread pid 20 tid 100089 ] Stopped at pmap_ts_referenced+0x72e: movq (%rcx,rdi,8),%rbx bd > bt Tracing pid 20 tid 100089 td 0xfffff80003eb3560 pmap_ts_referenced() at pmap_ts_referenced_0x72e/frame 0xfffffe01aeb289f0 vm_pageout() at vm_pageout+0xdeb/frame 0xfffffe01aeb28ab0 fork_exit() at fork_exit+0x82/frame 0xfffffe01aeb28ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe01aeb28ab0 --- trap 0, rip = 0, rsp = 0, rpb = 0 --- db> The prior (cross) buildworld buildkernel had completed fine. Until yesterday, I'd been running -r325700 or before and had not seen such an issue ever before. I'd been using the virtualbox version for a while before this as well. === Mark Millard markmi at dsl-only.net From owner-freebsd-amd64@freebsd.org Mon Nov 20 06:24:22 2017 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 87A68DE324F for ; Mon, 20 Nov 2017 06:24:22 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-114.reflexion.net [208.70.210.114]) (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 3B6AD72778 for ; Mon, 20 Nov 2017 06:24:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 3959 invoked from network); 20 Nov 2017 05:24:20 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 20 Nov 2017 05:24:20 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Mon, 20 Nov 2017 00:24:20 -0500 (EST) Received: (qmail 23271 invoked from network); 20 Nov 2017 05:24:20 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 20 Nov 2017 05:24:20 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 86C0AEC9603; Sun, 19 Nov 2017 21:07:29 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: head -r325997: Fatal trap 12: page fault while in kernel mode (during a buildworld, virtualbox guest context) [2nd example] Date: Sun, 19 Nov 2017 21:07:28 -0800 References: <2A312919-EF66-4FC3-85E4-A796315DB978@dsl-only.net> To: FreeBSD Current , freebsd-amd64@freebsd.org In-Reply-To: <2A312919-EF66-4FC3-85E4-A796315DB978@dsl-only.net> Message-Id: <3C5C0D1B-4990-426A-B622-6EC4CC6A1F3F@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 06:24:22 -0000 [I got another of these. By the way: amd64 context. Again: buildworld was running.] On 2017-Nov-19, at 5:52 PM, Mark Millard wrote: > Attempting a dump failed. I'm afraid all for > information is the below. The kernel was a > non-debug kernel (with debug information). > > The following is hand typed from a screen shot: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xffffff53f000e2b0 New one: 0x806b49010 > fault code = supervisor read data, page not present New one: supervisor write data, page not present > instruction pointer = 0x20:0xffffffff80f2b11e New one: 0x20:0xffffffff80f2b21b > stack pointer = 0x0:0xfffffe01aeb28970 New one: 0x28:0xfffffe01aeb28970 > frame pointer = 0x0:0xfffffe01aeb289f0 New one: 0x28:0xfffffe01aeb289f0 > 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 = 20 (pagedaemon) > [ thread pid 20 tid 100089 ] > Stopped at pmap_ts_referenced+0x72e: movq (%rcx,rdi,8),%rbx New one: pmap_ts_referenced+0x82b: movq %rcx,0x10(%rax) > bd > bt > Tracing pid 20 tid 100089 td 0xfffff80003eb3560 New one: td 0xfffff80003df6000 > pmap_ts_referenced() at pmap_ts_referenced_0x72e/frame 0xfffffe01aeb289f0 New one: pmap_ts_referenced() at pmap_ts_referenced_0x82b/frame 0xfffffe01aeb289f0 > vm_pageout() at vm_pageout+0xdeb/frame 0xfffffe01aeb28ab0 Correction to original: frame 0xfffffe01aeb28a70 (new is the same) > fork_exit() at fork_exit+0x82/frame 0xfffffe01aeb28ab0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe01aeb28ab0 > --- trap 0, rip = 0, rsp = 0, rpb = 0 --- > db> > > The prior (cross) buildworld buildkernel had completed fine. > > Until yesterday, I'd been running -r325700 or before and had not > seen such an issue ever before. I'd been using the virtualbox > version for a while before this as well. === Mark Millard markmi at dsl-only.net From owner-freebsd-amd64@freebsd.org Mon Nov 20 09:15:38 2017 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 C73C6DE5E61 for ; Mon, 20 Nov 2017 09:15:38 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-143.reflexion.net [208.70.210.143]) (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 879C376715 for ; Mon, 20 Nov 2017 09:15:38 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 31744 invoked from network); 20 Nov 2017 09:15:30 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 20 Nov 2017 09:15:30 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Mon, 20 Nov 2017 04:15:30 -0500 (EST) Received: (qmail 17707 invoked from network); 20 Nov 2017 09:15:30 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 20 Nov 2017 09:15:30 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 04B11EC8F85; Mon, 20 Nov 2017 01:15:29 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: head -r325997: Fatal trap 12: page fault while in kernel mode (during a buildworld, virtualbox guest context) [2nd example] Date: Mon, 20 Nov 2017 01:15:29 -0800 References: <2A312919-EF66-4FC3-85E4-A796315DB978@dsl-only.net> <3C5C0D1B-4990-426A-B622-6EC4CC6A1F3F@dsl-only.net> To: FreeBSD Current , freebsd-amd64@freebsd.org, freebsd-hackers In-Reply-To: <3C5C0D1B-4990-426A-B622-6EC4CC6A1F3F@dsl-only.net> Message-Id: <2E7497BD-06C6-4C86-AA83-1150C735315B@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 09:15:38 -0000 [Adding some analysis of where the 2 failures were in source code terms.] On 2017-Nov-19, at 9:07 PM, Mark Millard wrote: > [I got another of these. By the way: amd64 context. > Again: buildworld was running.] >=20 > On 2017-Nov-19, at 5:52 PM, Mark Millard = wrote: >=20 >> Attempting a dump failed. I'm afraid all for >> information is the below. The kernel was a >> non-debug kernel (with debug information). >>=20 >> The following is hand typed from a screen shot: >>=20 >> Fatal trap 12: page fault while in kernel mode >> cpuid =3D 0; apic id =3D 00 >> fault virtual address =3D 0xffffff53f000e2b0 >=20 > New one: 0x806b49010 >=20 >> fault code =3D supervisor read data, page not present >=20 > New one: supervisor write data, page not present >=20 >> instruction pointer =3D 0x20:0xffffffff80f2b11e >=20 > New one: 0x20:0xffffffff80f2b21b >=20 >> stack pointer =3D 0x0:0xfffffe01aeb28970 >=20 > New one: 0x28:0xfffffe01aeb28970 >=20 >> frame pointer =3D 0x0:0xfffffe01aeb289f0 >=20 > New one: 0x28:0xfffffe01aeb289f0 >=20 >> 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 20 (pagedaemon) >> [ thread pid 20 tid 100089 ] >> Stopped at pmap_ts_referenced+0x72e: movq (%rcx,rdi,8),%rbx >=20 > New one: pmap_ts_referenced+0x82b: movq %rcx,0x10(%rax) >=20 >> bd > bt >> Tracing pid 20 tid 100089 td 0xfffff80003eb3560 >=20 > New one: td 0xfffff80003df6000 >=20 >> pmap_ts_referenced() at pmap_ts_referenced_0x72e/frame = 0xfffffe01aeb289f0 > New one: > pmap_ts_referenced() at pmap_ts_referenced_0x82b/frame = 0xfffffe01aeb289f0 >=20 >> vm_pageout() at vm_pageout+0xdeb/frame 0xfffffe01aeb28ab0 >=20 > Correction to original: frame 0xfffffe01aeb28a70 > (new is the same) >=20 >> fork_exit() at fork_exit+0x82/frame 0xfffffe01aeb28ab0 >> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe01aeb28ab0 >> --- trap 0, rip =3D 0, rsp =3D 0, rpb =3D 0 --- >> db> >>=20 >> The prior (cross) buildworld buildkernel had completed fine. >>=20 >> Until yesterday, I'd been running -r325700 or before and had not >> seen such an issue ever before. I'd been using the virtualbox >> version for a while before this as well. Taking the case of: Stopped at pmap_ts_referenced+0x72e: movq (%rcx,rdi,8),%rbx: ffffffff80f2b0fc mov %rax,%rsi ffffffff80f2b0ff shr $0x1b,%rsi ffffffff80f2b103 and $0xff8,%esi ffffffff80f2b109 mov (%rcx,%rsi,1),%rcx ffffffff80f2b10d and %r10,%rcx ffffffff80f2b110 or %r9,%rcx ffffffff80f2b113 mov %eax,%edi ffffffff80f2b115 shr $0x15,%edi ffffffff80f2b118 and $0x1ff,%edi ffffffff80f2b11e mov (%rcx,%rdi,8),%rbx = <<<<<<=3D=3D=3D=3D=3D=3D=3D ffffffff80f2b122 and %r10,%rbx ffffffff80f2b125 or %r9,%rbx ffffffff80f2b128 shr $0x9,%rax ffffffff80f2b12c and $0xff8,%eax ffffffff80f2b131 lea (%rbx,%rax,1),%rsi ffffffff80f2b135 mov (%rbx,%rax,1),%rbx ffffffff80f2b139 mov %rbx,%rax ffffffff80f2b13c and %rdx,%rax ffffffff80f2b13f cmp %rdx,%rax ffffffff80f2b142 jne ffffffff80f2b14f = Which, if I understand right, is in the "small_mappings:" code: PG_A =3D pmap_accessed_bit(pmap); PG_M =3D pmap_modified_bit(pmap); PG_RW =3D pmap_rw_bit(pmap); pde =3D pmap_pde(pmap, pv->pv_va); KASSERT((*pde & PG_PS) =3D=3D 0, ("pmap_ts_referenced: found a 2mpage in page %p's pv = list", m)); pte =3D pmap_pde_to_pte(pde, pv->pv_va); if ((*pte & (PG_M | PG_RW)) =3D=3D (PG_M | PG_RW)) vm_page_dirty(m); if ((*pte & PG_A) !=3D 0) { with the failure being during *pde in: /* Return a pointer to the PT slot that corresponds to a VA */ static __inline pt_entry_t * pmap_pde_to_pte(pd_entry_t *pde, vm_offset_t va) { pt_entry_t *pte; pte =3D (pt_entry_t *)PHYS_TO_DMAP(*pde & PG_FRAME); return (&pte[pmap_pte_index(va)]); } Taking the case of: New one: pmap_ts_referenced+0x82b: movq %rcx,0x10(%rax) ffffffff80f2b1fb lock cmpxchg %rcx,(%rdx) ffffffff80f2b200 sete %cl ffffffff80f2b203 test %cl,%cl ffffffff80f2b205 je ffffffff80f2b27d = ffffffff80f2b207 test %r12,%r12 ffffffff80f2b20a je ffffffff80f2b255 = ffffffff80f2b20c mov 0x8(%r12),%rax ffffffff80f2b211 test %rax,%rax ffffffff80f2b214 je ffffffff80f2b255 = ffffffff80f2b216 mov 0x10(%r12),%rcx ffffffff80f2b21b mov %rcx,0x10(%rax) = <<<<<<<<<=3D=3D=3D=3D=3D=3D=3D=3D=3D ffffffff80f2b21f mov 0x8(%r12),%rax ffffffff80f2b224 mov 0x10(%r12),%rcx ffffffff80f2b229 mov %rax,(%rcx) Which, if I understand right, appears to be during the TAILQ_REMOVE of: PMAP_UNLOCK(pmap); /* Rotate the PV list if it has more than one entry. */ if (pv !=3D NULL && TAILQ_NEXT(pv, pv_next) !=3D NULL) { TAILQ_REMOVE(&m->md.pv_list, pv, pv_next); . . . #define TAILQ_REMOVE(head, elm, field) do { = \ QMD_SAVELINK(oldnext, (elm)->field.tqe_next); = \ QMD_SAVELINK(oldprev, (elm)->field.tqe_prev); = \ QMD_TAILQ_CHECK_NEXT(elm, field); = \ QMD_TAILQ_CHECK_PREV(elm, field); = \ if ((TAILQ_NEXT((elm), field)) !=3D NULL) = \ TAILQ_NEXT((elm), field)->field.tqe_prev =3D = \ (elm)->field.tqe_prev; = \ else { = \ (head)->tqh_last =3D (elm)->field.tqe_prev; = \ QMD_TRACE_HEAD(head); = \ } = \ *(elm)->field.tqe_prev =3D TAILQ_NEXT((elm), field); = \ TRASHIT(*oldnext); = \ TRASHIT(*oldprev); = \ QMD_TRACE_ELEM(&(elm)->field); = \ } while (0) where the kernel was a non-debug kernel (with debug symbols). =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-amd64@freebsd.org Tue Nov 21 05:59:31 2017 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 4D64ADE306D for ; Tue, 21 Nov 2017 05:59:31 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-156.reflexion.net [208.70.210.156]) (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 103A080C45 for ; Tue, 21 Nov 2017 05:59:30 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 16283 invoked from network); 21 Nov 2017 05:59:24 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 21 Nov 2017 05:59:24 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Tue, 21 Nov 2017 00:59:24 -0500 (EST) Received: (qmail 10699 invoked from network); 21 Nov 2017 05:59:24 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 21 Nov 2017 05:59:24 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 9B764EC92AD; Mon, 20 Nov 2017 21:59:23 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: head -r325700 to -r325997: problem locking/unlocking/ for (at least) amd64? Message-Id: Date: Mon, 20 Nov 2017 21:59:23 -0800 Cc: mjg@freebsd.org To: freebsd-amd64@freebsd.org, FreeBSD Current , freebsd-hackers X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.25 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, 21 Nov 2017 05:59:31 -0000 Ever since I updated from -r325700 to -r325997 I've been having odd, non-repeatable, fairly rare problems on amd64. (I've yet to see if I get similar issues on other platforms.) I've reported a couple of panic for page faults in kernel mode in other list messages. But I'm also getting things like clang failing assertions that do not repeat when the compile is simply retried with the same input files. I only mention locking because of recent head/sys/kern activity between -r325700 and -r325997, the intermittent nature of the observed failures, and the wide variety of contexts (kernel, world). I do not have specific evidence of a specific cause. (I do not see how I'm ever going to get any such evidence.) The following error did not repeat on a simple retry of the compile: --- Sema/SemaDeclAttr.o --- Assertion failed: (I->second && I->first =3D=3D I->second->getValPtr() = && "List invariant broken!"), function AddToUseList, file = /usr/src/contrib/llvm/lib/IR/Value.cpp, line 793. c++: error: unable to execute command: Abort trap (core dumped) c++: error: clang frontend command failed due to signal (use -v to see = invocation) FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on = LLVM 5.0.0svn) Target: powerpc-unknown-freebsd12.0 Thread model: posix InstalledDir: = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr= /bin c++: note: diagnostic msg: PLEASE submit a bug report to = https://bugs.freebsd.org/submit/ and include the crash backtrace, = preprocessed source, and associated run script. Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/lib/cla= ng/libclang/Sema/SemaExceptionSpec.o c++: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/SemaDeclAttr-6b7ba8.cpp c++: note: diagnostic msg: /tmp/SemaDeclAttr-6b7ba8.sh c++: note: diagnostic msg:=20 ******************** *** [Sema/SemaDeclAttr.o] Error code 254 make[6]: stopped in /usr/src/lib/clang/libclang .ERROR_TARGET=3D'Sema/SemaDeclAttr.o' = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/pow= erpc.powerpc/lib/clang/libclang/Sema_SemaDeclAttr.o.meta' .MAKE.LEVEL=3D'6' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'c++ -target powerpc-unknown-freebsd12.0 = --sysroot=3D/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp = -B/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/u= sr/bin -O2 -pipe = -I/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/lib/c= lang/libclang = -I/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/lib/c= lang/libllvm -I/usr/src/contrib/llvm/tools/clang/lib/Driver = -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT = -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include = -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL = -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"powerpc-unknown-freebsd12.0\" = -DLLVM_HOST_TRIPLE=3D\"powerpc-unknown-freebsd12.0\" = -DDEFAULT_SYSROOT=3D\"\" -ffunction-sections -fdata-sections = -gline-tables-only -fstack-protector-strong -Qunused-arguments = -std=3Dc++11 -fno-exceptions -fno-rtti -gline-tables-only -stdlib=3Dlibc++= -Wno-c++11-extensions -c = /usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDeclAttr.cpp -o = Sema/SemaDeclAttr.o;' .CURDIR=3D'/usr/src/lib/clang/libclang' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/lib/clang/libclang' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20171028' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc= /tmp/legacy/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/po= werpc.powerpc/tmp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang/powerpc.powerp= c/usr/src/powerpc.powerpc/tmp/legacy/bin:/usr/obj/powerpcvtsc_clang/powerp= c.powerpc/usr/src/powerpc.powerpc/tmp/usr/sbin:/usr/obj/powerpcvtsc_clang/= powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/bin:/sbin:/bin:/usr/sbin:/= usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.power= pc' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null = /usr/src/lib/clang/libclang/Makefile /usr/src/share/mk/src.opts.mk = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/lib/clang/clang.pre.mk = /usr/src/lib/clang/llvm.pre.mk /usr/src/lib/clang/clang.build.mk = /usr/src/lib/clang/llvm.build.mk /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk = /usr/src/lib/clang/libclang/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' .PATH=3D'. /usr/src/lib/clang/libclang = /usr/src/contrib/llvm/tools/clang/lib' 1 error make[6]: stopped in /usr/src/lib/clang/libclang .ERROR_TARGET=3D'Sema/SemaDeclAttr.o' = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/pow= erpc.powerpc/lib/clang/libclang/Sema_SemaDeclAttr.o.meta' .MAKE.LEVEL=3D'6' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'c++ -target powerpc-unknown-freebsd12.0 = --sysroot=3D/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp = -B/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/u= sr/bin -O2 -pipe = -I/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/lib/c= lang/libclang = -I/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/lib/c= lang/libllvm -I/usr/src/contrib/llvm/tools/clang/lib/Driver = -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT = -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include = -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL = -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"powerpc-unknown-freebsd12.0\" = -DLLVM_HOST_TRIPLE=3D\"powerpc-unknown-freebsd12.0\" = -DDEFAULT_SYSROOT=3D\"\" -ffunction-sections -fdata-sections = -gline-tables-only -fstack-protector-strong -Qunused-arguments = -std=3Dc++11 -fno-exceptions -fno-rtti -gline-tables-only -stdlib=3Dlibc++= -Wno-c++11-extensions -c = /usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDeclAttr.cpp -o = Sema/SemaDeclAttr.o;' .CURDIR=3D'/usr/src/lib/clang/libclang' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/lib/clang/libclang' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20171028' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc= /tmp/legacy/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/po= werpc.powerpc/tmp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang/powerpc.powerp= c/usr/src/powerpc.powerpc/tmp/legacy/bin:/usr/obj/powerpcvtsc_clang/powerp= c.powerpc/usr/src/powerpc.powerpc/tmp/usr/sbin:/usr/obj/powerpcvtsc_clang/= powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/bin:/sbin:/bin:/usr/sbin:/= usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.power= pc' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null = /usr/src/lib/clang/libclang/Makefile /usr/src/share/mk/src.opts.mk = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/lib/clang/clang.pre.mk = /usr/src/lib/clang/llvm.pre.mk /usr/src/lib/clang/clang.build.mk = /usr/src/lib/clang/llvm.build.mk /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk = /usr/src/lib/clang/libclang/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' .PATH=3D'. /usr/src/lib/clang/libclang = /usr/src/contrib/llvm/tools/clang/lib' *** [all_subdir_lib/clang/libclang] Error code 2 make[5]: stopped in /usr/src/lib/clang .ERROR_TARGET=3D'all_subdir_lib/clang/libclang' .ERROR_META_FILE=3D'' .MAKE.LEVEL=3D'5' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'.PHONY' .CURDIR=3D'/usr/src/lib/clang' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/lib/clang' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20171028' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc= /tmp/legacy/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/po= werpc.powerpc/tmp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang/powerpc.powerp= c/usr/src/powerpc.powerpc/tmp/legacy/bin:/usr/obj/powerpcvtsc_clang/powerp= c.powerpc/usr/src/powerpc.powerpc/tmp/usr/sbin:/usr/obj/powerpcvtsc_clang/= powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/bin:/sbin:/bin:/usr/sbin:/= usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.power= pc' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/clang/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk = /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk = /usr/src/lib/clang/../Makefile.inc' .PATH=3D'. /usr/src/lib/clang' 1 error make[5]: stopped in /usr/src/lib/clang .ERROR_TARGET=3D'all_subdir_lib/clang/libclang' .ERROR_META_FILE=3D'' .MAKE.LEVEL=3D'5' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'.PHONY' .CURDIR=3D'/usr/src/lib/clang' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/lib/clang' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20171028' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc= /tmp/legacy/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/po= werpc.powerpc/tmp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang/powerpc.powerp= c/usr/src/powerpc.powerpc/tmp/legacy/bin:/usr/obj/powerpcvtsc_clang/powerp= c.powerpc/usr/src/powerpc.powerpc/tmp/usr/sbin:/usr/obj/powerpcvtsc_clang/= powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/bin:/sbin:/bin:/usr/sbin:/= usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.power= pc' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/clang/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk = /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk = /usr/src/lib/clang/../Makefile.inc' .PATH=3D'. /usr/src/lib/clang' *** [all_subdir_lib/clang] Error code 2 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-amd64@freebsd.org Wed Nov 22 20:14:05 2017 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 6E6CADF471C for ; Wed, 22 Nov 2017 20:14:05 +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 5C15C6802E for ; Wed, 22 Nov 2017 20:14:05 +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 vAMKE3Lj069187 for ; Wed, 22 Nov 2017 20:14:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 207602] 11.0-RELEASE-p2 doesn't boot with VT-d enabled and vmm in loader.conf for Skylake CPUs Date: Wed, 22 Nov 2017 20:14:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.3-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius.h@lden.org 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: cc Message-ID: In-Reply-To: References: 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-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 20:14:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207602 Marius Halden changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marius.h@lden.org --- Comment #8 from Marius Halden --- I see the same problem on 11.1-RELEASE-p4 with an Intel i3-8350k cpu. --=20 You are receiving this mail because: You are on the CC list for the bug.=