From owner-freebsd-current@FreeBSD.ORG Thu Oct 31 15:32:45 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 66887F75 for ; Thu, 31 Oct 2013 15:32:45 +0000 (UTC) (envelope-from riccp@ige.unicamp.br) Received: from saturno.ige.unicamp.br (saturno.ige.unicamp.br [143.106.76.34]) by mx1.freebsd.org (Postfix) with ESMTP id C83AC27BC for ; Thu, 31 Oct 2013 15:32:44 +0000 (UTC) Received: from netuno.ige.unicamp.br (saturno.ige.unicamp.br [143.106.76.34]) by saturno.ige.unicamp.br (Postfix) with ESMTPS id 93C4835A21C for ; Thu, 31 Oct 2013 13:23:07 -0200 (BRST) Received: from netuno.ige.unicamp.br ([143.106.76.2] helo=netuno.ige.unicamp.br) by saturno.ige.unicamp.br with SMTP (2.3.3); 31 Oct 2013 13:23:07 -0200 Received: by netuno.ige.unicamp.br (Postfix, from userid 1003) id 91F907106; Thu, 31 Oct 2013 13:23:07 -0200 (BRST) Date: Thu, 31 Oct 2013 13:23:07 -0200 From: Ricardo Campos Passanezi To: freebsd-current@FreeBSD.org Subject: Problem upgrading FreeBSD 10 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Assp-Version: 2.3.3(13160) on saturno.ige.unicamp.br X-Assp-ID: saturno.ige.unicamp.br m-32987-04654 X-Assp-Session: 905C3F720 (mail 1) X-Assp-Original-Subject: Problem upgrading FreeBSD 10 X-Assp-Server-TLS: yes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 15:32:45 -0000 Hello all. Back in september I've installed a "current" (it was a FreeBSD 10, r2552041). The system is working fine. I've returned this week from a vacation and tried to upgrade to stable/10 with no success. The machine is running a zfs-mirror: # zpool status pool: system state: ONLINE scan: scrub repaired 0 in 1h45m with 0 errors on Wed Oct 9 05:16:51 2013 config: NAME STATE READ WRITE CKSUM system ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/system0 ONLINE 0 0 0 gpt/system1 ONLINE 0 0 0 # uname -a FreeBSD netuno.ige.unicamp.br 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r255204: Thu Sep 5 08:29:33 BRT 2013 root@luna:/usr/obj/usr/src/sys/GENERIC amd64 After building work and kernel for a "svn://svn.freebsd.org/base/stable/10", apparently the system stops at (or imediatly after): ZFS filesystem version: 5 ZFS storage pool version: features support (5000) In the "/var/run/dmesg.boot" I have, among other lines: Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #1 r257434: Thu Oct 31 11:47:41 BRST 2013 root@netuno:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (3392.21-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306c3 Family = 0x6 Model = 0x3c Stepping = 3 Features=0xbfebfbff Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 Standard Extended Features=0x2fbb TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16461611008 (15699 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: ..... Trying to mount root from zfs:system/root []... Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 0 0 0 done All buffers synced. lock order reversal: 1st 0xfffff8000b96e7c8 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1237 2nd 0xfffff8000b40c240 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2101 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0462444460 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe0462444510 witness_checkorder() at witness_checkorder+0xd23/frame 0xfffffe04624445a0 __lockmgr_args() at __lockmgr_args+0x86c/frame 0xfffffe04624446d0 vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe04624446f0 VOP_LOCK1_APV() at VOP_LOCK1_APV+0xf5/frame 0xfffffe0462444720 _vn_lock() at _vn_lock+0xab/frame 0xfffffe0462444790 vget() at vget+0x70/frame 0xfffffe04624447e0 devfs_allocv() at devfs_allocv+0xfd/frame 0xfffffe0462444830 devfs_root() at devfs_root+0x43/frame 0xfffffe0462444860 dounmount() at dounmount+0x35a/frame 0xfffffe04624448e0 vfs_unmountall() at vfs_unmountall+0x61/frame 0xfffffe0462444910 kern_reboot() at kern_reboot+0x548/frame 0xfffffe0462444980 sys_reboot() at sys_reboot+0x58/frame 0xfffffe04624449a0 amd64_syscall() at amd64_syscall+0x265/frame 0xfffffe0462444ab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0462444ab0 --- syscall (55, FreeBSD ELF64, sys_reboot), rip = 0x8008600fc, rsp = 0x7fffffffdb58, rbp = 0x7fffffffdcc0 --- Uptime: 1m59s Do I have to use svn://svn.freebsd.org/base/head only ??? I've tested with the above and the single user boot has worked fine... Need more info? TIA... -- Ricardo Campos Passanezi