Hi All.
Testing vmctl on 6.1 amd64, just want to start up a machine, no networking, but it won't come up. I'm probably missing something obvious, any ideas?
Checked my chipset:
Code:
# dmesg |grep vmm
vmm0 at mainbus0: VMX/EPT
Enabled vmd in /etc/rc.conf.local:
Rebooted.
Created a disk:
Code:
vmctl create /root/VMs/pigmy.img -s 500M
Created entry in /etc/vm.conf:
Code:
vm "pigmy" {
memory 512M
kernel "/bsd.rd"
disk "/root/VMs/pigmy.img"
disk "/root/Downloads/install61.fs"
}
Tried to start machine, but it hangs (apologies for length of post):
Code:
# vmctl start "pigmy" -c -d /root/VMs/pigmy.img -d /root/Downloads/install61.fs
vmctl: starting without network interfaces
Connected to /dev/ttyp2 (speed 9600)
Changing serial settings was 0/0 now 3/0
SeaBIOS (version 1.10.2p2-OpenBSD-vmm)
BUILD: gcc: (GCC) 4.2.1 20070719 binutils: 2.17
enabling shadow ram
Unable to unlock ram - bridge not found
RamSize: 0x20000000 [cmos]
malloc preinit
malloc init
init ivt
init bda
init bios32
init keyboard
init pic
math cp init
pci setup
=== PCI bus & bridge init ===
PCI: pci_bios_init_bus_rec bus = 0x0
=== PCI device probing ===
PCI probe
Found 5 PCI devices (max PCI bus is 00)
=== PCI new allocation pass #1 ===
PCI: check devices
=== PCI new allocation pass #2 ===
PCI: IO: 1000 - 4fff
PCI: 32: 0000000020000000 - 00000000fec00000
PCI: map device bdf=00:01.0 bar 0, addr 00001000, size 00001000 [io]
PCI: map device bdf=00:02.0 bar 0, addr 00002000, size 00001000 [io]
PCI: map device bdf=00:03.0 bar 0, addr 00003000, size 00001000 [io]
PCI: map device bdf=00:04.0 bar 0, addr 00004000, size 00001000 [io]
PCI: map device bdf=00:00.0 bar 6, addr febfb000, size 00001000 [mem]
PCI: map device bdf=00:01.0 bar 6, addr febfc000, size 00001000 [mem]
PCI: map device bdf=00:02.0 bar 6, addr febfd000, size 00001000 [mem]
PCI: map device bdf=00:03.0 bar 6, addr febfe000, size 00001000 [mem]
PCI: map device bdf=00:04.0 bar 6, addr febff000, size 00001000 [mem]
PCI: init bdf=00:00.0 id=0b5d:0666
PCI: init bdf=00:01.0 id=1af4:1005
PCI: init bdf=00:02.0 id=1af4:1001
PCI: init bdf=00:03.0 id=1af4:1001
PCI: init bdf=00:04.0 id=0b5d:0777
PCI: No VGA devices found
No apic - only the main cpu is present.
init timer
init virtio-blk
found virtio-blk at 00:02.0
pci dev 00:02.0 using legacy (0.9.5) virtio mode
virtio-blk 00:02.0 blksize=512 sectors=10485760
Registering bootable: Virtio disk PCI:00:02.0 (type:2 prio:9999 data:f1f70)
found virtio-blk at 00:03.0
pci dev 00:03.0 using legacy (0.9.5) virtio mode
virtio-blk 00:03.0 blksize=512 sectors=574400
Registering bootable: Virtio disk PCI:00:03.0 (type:2 prio:9999 data:f1f10)
init serial
Found 1 serial ports
Searching bootorder for: HALT
Mapping hd drive 0x000f1f70 to 0
drive 0x000f1f70: PCHS=0/0/0 translation=lba LCHS=652/255/63 s=10485760
Mapping hd drive 0x000f1f10 to 1
drive 0x000f1f10: PCHS=0/0/0 translation=lba LCHS=569/16/63 s=574400
malloc finalize
Space available for UMB: c0000-ef000, f0000-f1f10
Returned 245760 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009fc00 = 1 RAM
1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
3: 0000000000100000 - 000000001fffc000 = 1 RAM
4: 000000001fffc000 - 0000000020000000 = 2 RESERVED
5: 00000000fffc0000 - 0000000100000000 = 2 RESERVED
locking shadow ram
Unable to lock ram - bridge not found
Jump to int19
enter handle_19:
NULL
enter handle_18:
NULL
invalid handle_legacy_disk:729:
a=00000201 b=00000000 c=00000001 d=00000000 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=000066dc cs=f000 ip=d9bf f=0202
enter handle_18:
NULL
Thanks for any pointers or slaps round the face.
#j