[Bug 204111] sysutils/bhyve-rc rc script not working on 10.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 28 22:25:57 UTC 2015


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 at FreeBSD.org
          Reporter: amvandemore at gmail.com
                CC: freebsd at grem.de
             Flags: maintainer-feedback?(freebsd at grem.de)
                CC: freebsd at 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.


More information about the freebsd-ports-bugs mailing list