Problem upgrading FreeBSD 10

From: Ricardo Campos Passanezi <riccp_at_ige.unicamp.br>
Date: Thu, 31 Oct 2013 13:23:07 -0200
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_at_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_at_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 _at_ 3.40GHz (3392.21-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306c3  Family = 0x6  Model = 0x3c  Stepping = 3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,<b11>,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Standard Extended Features=0x2fbb<GSFSBASE,TSCADJ,BMI1,HLE,AVX2,SMEP,BMI2,ENHMOVSB,INVPCID,RTM>
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16461611008 (15699 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
.....
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) _at_ /usr/src/sys/kern/vfs_mount.c:1237
 2nd 0xfffff8000b40c240 devfs (devfs) _at_ /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
Received on Thu Oct 31 2013 - 14:32:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC