Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 May 2016 10:18:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 209392] Panic on FreeBSD guest on bhyve
Message-ID:  <bug-209392-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209392

            Bug ID: 209392
           Summary: Panic on FreeBSD guest on bhyve
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: pkubaj@anongoth.pl
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

I've got a bhyve host (10.3-RELEASE-p2) running bhyve guest of FreeBSD
10.3-RELEASE-p2.

The guest is supposed to be a test box for ports. When I run 'portsnap fetch
extract', only a part of ports extracts. Then, it stops and after some time=
 the
guest panics (host is unaffected).

Backtrace of vmcore is:
#0  doadump (textdump=3D<value optimized out>) at pcpu.h:219
#1  0xffffffff80950cc2 in kern_reboot (howto=3D260)
    at /usr/src/sys/kern/kern_shutdown.c:486
#2  0xffffffff809510a5 in vpanic (fmt=3D<value optimized out>,=20
    ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:889
#3  0xffffffff80950f33 in panic (fmt=3D0x0)
    at /usr/src/sys/kern/kern_shutdown.c:818
#4  0xffffffff80937097 in _mtx_lock_spin_cookie (c=3D<value optimized out>,=
=20
    tid=3D<value optimized out>, opts=3D<value optimized out>,=20
    file=3D<value optimized out>, line=3D<value optimized out>)
    at /usr/src/sys/kern/kern_mutex.c:568
#5  0xffffffff80d44cd1 in smp_tlb_shootdown (vector=3D246,=20
    pmap=3D0xffffffff816cd5e0, addr1=3D18446741876820213760,=20
    addr2=3D18446741876820217856) at /usr/src/sys/amd64/amd64/mp_machdep.c:=
1164
#6  0xffffffff80d46b7c in pmap_invalidate_range (pmap=3D<value optimized ou=
t>,=20
    sva=3D<value optimized out>, eva=3D<value optimized out>)
    at /usr/src/sys/amd64/amd64/pmap.c:1515
#7  0xffffffff809df4c0 in allocbuf (bp=3D0xfffffe007b9f9848, size=3D0)
    at /usr/src/sys/kern/vfs_bio.c:4334
#8  0xffffffff809e0360 in getnewbuf (maxsize=3D<value optimized out>,=20
    gbflags=3D<value optimized out>) at /usr/src/sys/kern/vfs_bio.c:2198
#9  0xffffffff809dd6b1 in getblk (vp=3D0xfffff800029eace8, blkno=3D3847040,=
=20
    size=3D32768, slpflag=3D0, slptimeo=3D0, flags=3D<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/kern/vfs_bio.c:3275
#10 0xffffffff809de19d in breadn_flags (vp=3D0xfffff800029eace8, blkno=3D0,=
=20
    size=3D0, rablkno=3D0x0, rabsize=3D0x0, cnt=3D0, cred=3D0xfffffe0093505=
868, flags=3D0,=20
    bpp=3D0xfffffe0093505868) at /usr/src/sys/kern/vfs_bio.c:1130
#11 0xffffffff80b860f1 in ffs_update (vp=3D0xfffff80002f47938, waitfor=3D0)
    at /usr/src/sys/ufs/ffs/ffs_inode.c:111
#12 0xffffffff80baef67 in ffs_sync (mp=3D0xfffff800029d1330, waitfor=3DCann=
ot
access memory at address 0x1
)
    at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1461
#13 0xffffffff809fb426 in sync_fsync (ap=3D<value optimized out>)
    at /usr/src/sys/kern/vfs_subr.c:3857
#14 0xffffffff80e81af7 in VOP_FSYNC_APV (vop=3D<value optimized out>,=20
    a=3D<value optimized out>) at vnode_if.c:1330
#15 0xffffffff809fbe1b in sched_sync () at vnode_if.h:549
#16 0xffffffff8091a4ea in fork_exit (callout=3D0xffffffff809fba70 <sched_sy=
nc>,=20
    arg=3D0x0, frame=3D0xfffffe0093505ac0) at /usr/src/sys/kern/kern_fork.c=
:1027
#17 0xffffffff80d3be0e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:611
#18 0x0000000000000000 in ?? ()


My CPU's are two AMD Opteron(tm) Processor 6262 HE.

Other OS's work just fine on bhyve. I use CentOS to compile some stuff and
there are no issues. The same can be said about OpenBSD, so only FreeBSD has
problems.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209392-6>