Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2015 22:25:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204111] sysutils/bhyve-rc rc script not working on 10.2
Message-ID:  <bug-204111-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 204111
           Summary: sysutils/bhyve-rc rc script not working on 10.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: amvandemore@gmail.com
                CC: freebsd@grem.de
             Flags: maintainer-feedback?(freebsd@grem.de)
                CC: freebsd@grem.de

Usage per instructions failed to boot VM's w/ the following error msg:

Effective AML package length is zero

changing /usr/local/etc/rc.d/bhyve 

command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile};
while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy;
/usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} &&
/usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s
0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s
2:0,virtio-blk,${bhyve_diskdev} -s 31,uart,stdio ${_session} || break; done'\""

to

command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile};
while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy;
/usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} &&
/usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s
0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s
2:0,virtio-blk,${bhyve_diskdev} -s 3:0,lpc -l com1,stdio ${_session} || break;
done'\""

works for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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