From owner-freebsd-toolchain@freebsd.org Tue Feb 21 07:43:14 2017 Return-Path: Delivered-To: freebsd-toolchain@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 7A8D9CE7319 for ; Tue, 21 Feb 2017 07:43:14 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-74.reflexion.net [208.70.210.74]) (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 3BB801CC0 for ; Tue, 21 Feb 2017 07:43:13 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 16222 invoked from network); 21 Feb 2017 07:45:19 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 21 Feb 2017 07:45:19 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.30.0) with SMTP; Tue, 21 Feb 2017 02:43:12 -0500 (EST) Received: (qmail 7065 invoked from network); 21 Feb 2017 07:43:12 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 21 Feb 2017 07:43:12 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 717E8EC7B14; Mon, 20 Feb 2017 23:43:11 -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.2 \(3259\)) Subject: FYI: Going from head -r313864 to -r313999 I had to rebuild virtualbox-ose-additions 5.1.14 Message-Id: <85A30090-EECA-4380-A94C-9DD956AAC9AB@dsl-only.net> Date: Mon, 20 Feb 2017 23:43:10 -0800 To: FreeBSD Current , FreeBSD Toolchain X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 07:43:14 -0000 For amd64 I run FreeBSD under VirtualBox on macOS. So I use emulators/virtualbox-ose-additions in the FreeBSD instance. I've been using virtualbox-ose-additions-5.1.14 for some time under -r313864 (and some prior versions), no problems, no need to rebuild virtualbox-ose-additions-5.1.14 along the way to -r313864. On updating to -r313999 the boot got the following shortly before it would have given the login prompt normally. . . > # kgdb kernel.debug /var/crash/vmcore.0 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and = you are > welcome to change it and/or distribute copies of it under certain = conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for = details. > This GDB was configured as "amd64-marcel-freebsd"... >=20 > Unread portion of the kernel message buffer: > <118>Starting vboxservice. > <118>VBoxService 5.1.14 r112924 (verbosity: 0) freebsd.amd64 (Jan 20 = 2017 18:37:45) release log > <118>00:00:00.000120 main Log opened = 2017-02-20T22:38:46.348080000Z > <118>00:00:00.000162 main OS Product: FreeBSD > <118>00:00:00.000171 main OS Release: 12.0-CURRENT > <118>00:00:00.000180 main OS Version: FreeBSD 12.0-CURRENT = r313999M > <118>00:00:00.000192 main Executable: /usr/local/sbin/VBoxService > <118>00:00:00.000194 main Process ID: 609 > <118>00:00:00.000196 main Package type: BSD_64BITS_GENERIC (OSE) >=20 >=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 2; apic id =3D 02 > fault virtual address =3D 0xd6 > fault code =3D supervisor read data, page not present > instruction pointer =3D 0x20:0xffffffff80d4ebaf > stack pointer =3D 0x28:0xfffffe0122e2bef0 > frame pointer =3D 0x28:0xfffffe0122e2bf00 > 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 609 (VBoxService) >=20 > Reading symbols from /boot/kernel/zfs.ko...Reading symbols from = /usr/lib/debug//boot/kernel/zfs.ko.debug...done. > done. > Loaded symbols for /boot/kernel/zfs.ko > Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols = from /usr/lib/debug//boot/kernel/opensolaris.ko.debug...done. > done. > Loaded symbols for /boot/kernel/opensolaris.ko > Reading symbols from /boot/modules/vboxguest.ko...done. > Loaded symbols for /boot/modules/vboxguest.ko > #0 doadump (textdump=3D0) at pcpu.h:232 > 232 __asm("movq %%gs:%1,%0" : "=3Dr" (td) > (kgdb) bt > #0 doadump (textdump=3D0) at pcpu.h:232 > #1 0xffffffff8039dd0b in db_dump (dummy=3D, = dummy2=3D, dummy3=3D, = dummy4=3D) at /usr/src/sys/ddb/db_command.c:546 > #2 0xffffffff8039db0f in db_command (cmd_table=3D) at /usr/src/sys/ddb/db_command.c:453 > #3 0xffffffff8039d884 in db_command_loop () at = /usr/src/sys/ddb/db_command.c:506 > #4 0xffffffff803a0814 in db_trap (type=3D, = code=3D) at /usr/src/sys/ddb/db_main.c:254 > #5 0xffffffff80a9c0c3 in kdb_trap (type=3D, = code=3D, tf=3D) at = /usr/src/sys/kern/subr_kdb.c:654 > #6 0xffffffff80ed25d2 in trap_fatal (frame=3D0xfffffe0122e2be30, = eva=3D214) at /usr/src/sys/amd64/amd64/trap.c:796 > #7 0xffffffff80ed27dc in trap_pfault (frame=3D0xfffffe0122e2be30, = usermode=3D0) at /usr/src/sys/amd64/amd64/trap.c:658 > #8 0xffffffff80ed1e90 in trap (frame=3D0xfffffe0122e2be30) at = /usr/src/sys/amd64/amd64/trap.c:421 > #9 0xffffffff80eb6be1 in calltrap () at = /usr/src/sys/amd64/amd64/exception.S:236 > #10 0xffffffff80d4ebaf in _vm_map_lock (map=3D0x1, file=3D0x0, line=3D0)= at /usr/src/sys/vm/vm_map.c:501 > #11 0xffffffff80d51ea2 in vm_map_wire (map=3D, = start=3D4534272, end=3D4538368, flags=3D1) at = /usr/src/sys/vm/vm_map.c:2534 > #12 0xffffffff8265291c in rtR0MemObjNativeLockInMap () from = /boot/modules/vboxguest.ko > #13 0xffffffff82652881 in rtR0MemObjNativeLockUser () from = /boot/modules/vboxguest.ko > #14 0xffffffff8264ec01 in RTR0MemObjLockUserTag () from = /boot/modules/vboxguest.ko > #15 0xffffffff82624afd in vbglR0HGCMInternalPreprocessCall () from = /boot/modules/vboxguest.ko > #16 0xffffffff8262411a in VbglR0HGCMInternalCall () from = /boot/modules/vboxguest.ko > #17 0xffffffff8261ec4f in vgdrvIoCtl_HGCMCall () from = /boot/modules/vboxguest.ko > #18 0xffffffff8261d221 in VGDrvCommonIoCtl () from = /boot/modules/vboxguest.ko > #19 0xffffffff8262327d in vgdrvFreeBSDIOCtl () from = /boot/modules/vboxguest.ko > #20 0xffffffff8092976e in devfs_ioctl (ap=3D) at = /usr/src/sys/fs/devfs/devfs_vnops.c:805 > #21 0xffffffff8103ef58 in VOP_IOCTL_APV (vop=3D, = a=3D) at vnode_if.c:1067 > #22 0xffffffff80b29431 in vn_ioctl (fp=3D0xfffff80006d37730, = com=3D, data=3D0xfffffe0122e2c870, = active_cred=3D0xfffff80006495a00, td=3D) at = vnode_if.h:448 > #23 0xffffffff80929d5f in devfs_ioctl_f (fp=3D, = com=3D, data=3D, cred=3D, td=3D0xfffff8001504e000) at = /usr/src/sys/fs/devfs/devfs_vnops.c:763 > #24 0xffffffff80ab8bf0 in kern_ioctl (td=3D, = fd=3D3, com=3D, data=3D0xfffffe0122e2c870 = "\031\002R\031P") at file.h:322 > #25 0xffffffff80ab88bf in sys_ioctl (td=3D, = uap=3D0xfffffe0122e2ca30) at /usr/src/sys/kern/sys_generic.c:743 > #26 0xffffffff80ed2e27 in amd64_syscall (td=3D0xfffff8001504e000, = traced=3D0) at subr_syscall.c:135 > #27 0xffffffff80eb6ecb in Xfast_syscall () at = /usr/src/sys/amd64/amd64/exception.S:396 > #28 0x0000000800c5317a in ?? () > Previous frame inner to this frame (corrupt stack?) > Current language: auto; currently minimal Booting using kernel.old and rebuilding virtualbox-ose-additions-5.1.14 got my boot context back to working when I again booted with kernel (-r31399) instead of kernel.old (-r313864). Mateusz Guzik has said: "I think this is r313992" for what made such rebuilding required. I have not done a bisection to find just where the rebuild became required. So this is not confirmed. There may be other things around that would need rebuilding. There were no UPDATING notes and uname -apKU continued to list the same thing (varying the replacement for ??? below): # uname -apKU FreeBSD FreeBSDx64 12.0-CURRENT FreeBSD 12.0-CURRENT r313???M amd64 = amd64 1200021 1200021 =3D=3D=3D Mark Millard markmi at dsl-only.net