Hi!

Today I tried to boot FreeBSD, DragonFlyBSD and OpenBSD in VMM, for
some reason when I boot them from their .iso files, only their
bootloaders show up. After that they reboot (DragonFlyBSD just shuts
down). But I was able to boot kernels with -b flag.

Funny:

mazocomp$ doas vmctl start obsd -cLr install63.iso -d obsd.img
Connected to /dev/ttyp7 (speed 115200)                                          
                   
Changing serial settings was 0/0 now 3/0                                  
SeaBIOS (version 1.11.0-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                             
RamSizeOver4G: 0x0000000000000000 [cmos]
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 6 PCI devices (max PCI bus is 00)              
=== PCI new allocation pass #1 ===                   
PCI: check devices                                   
=== PCI new allocation pass #2 ===                   
PCI: IO: 1000 - 5fff                        
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:05.0  bar 0, addr 00005000, size 00001000 [io]
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:1000
PCI: init bdf=00:04.0 id=1af4:1004         
PCI: init bdf=00:05.0 id=0b5d:0777
PCI: No VGA devices found                  
No apic - only the main cpu is present.
init timer                             
Scan for VGA option rom         
Turning on vga text mode console                                         
SeaBIOS (version 1.11.0-OpenBSD-vmm)                                     
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=20971520                            
Registering bootable: Virtio disk PCI:00:02.0 (type:2 prio:9999 data:ef0c0)
init virtio-scsi                                                           
found virtio-scsi at 00:04.0                                             
pci dev 00:04.0 using legacy (0.9.5) virtio mode                              
virtio-scsi vendor='OpenBSD' product='VMM CD-ROM' rev='001' type=5 removable=1  
                     
Registering bootable: DVD/CD [virtio-scsi Drive OpenBSD VMM CD-ROM 001] (type:3 
prio:9999 data:ef080)
init serial                                                                     
                     
Found 1 serial ports                                                            
                   
Scan for option roms                                                            
                                                                                
                                                       [109/166]
Registering bootable: Legacy option rom (type:129 prio:9999 data:af000003)
Searching bootorder for: HALT
Mapping hd drive 0x000ef0c0 to 0
drive 0x000ef0c0: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=20971520
Mapping cd drive 0x000ef080
Running option rom at af00:0003

Google, Inc.
Serial Graphics Adapter 05/08/18
SGABIOS 20100422 (_<vmm@OpenBSD>) Tue May  8 15:14:32 UTC 2018
Term: 224x57
4 0
malloc finalize
Space available for UMB: c0000-ee800, f9710-f9ee0
Returned 245760 bytes of ZoneHigh
e820 map has 6 items:
  0: 0000000000000000 - 000000000009f800 = 1 RAM
  1: 000000000009f800 - 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
Boooottiinngg  ffrroomm  HHaarrdd  DDiisskk......

Boooott  ffaaiilleedd::  nnoott  aa  bboooottaabbllee  ddiisskk



enter handle_18:
  NULL
Boooottiinngg  ffrroomm  DDVVDD//CCDD......

Booting from 0000:7c00
CD-ROM: E0
Loading /6.3/AMD64/CDBOOT
probing: pc0enter handle_11:
   a=00041cc8  b=00000001  c=00054390  d=0000000a ds=0000 es=0000 ss=0000
  si=000543b0 di=000543b0 bp=0000ff9c sp=0000ff52 cs=4012 ip=1123  f=0246
 com0 mem[638K 510M a20=on]
disk:invalid handle_legacy_disk:729:
   a=00000000  b=00000000  c=000001d4  d=00000000 ds=0000 es=55a6 ss=0000
  si=00056024 di=00000000 bp=0000fd88 sp=0000fd3e cs=4012 ip=1123  f=0246
invalid handle_legacy_disk:729:
   a=00000800  b=00000000  c=000001d4  d=00000000 ds=0000 es=55a6 ss=0000
  si=00000001 di=00000000 bp=0000fd88 sp=0000fd3e cs=4012 ip=1123  f=0246
 hd0+* cd0
>> OpenBSD/amd64 CDBOOT 3.39
boot>
cannot open cd0a:/etc/random.seed: No such file or directory
booting cd0a:/6.3/amd64/bsd.rd: 3442667+1475584+3891832+0+593920 
[363973+90+435384+289309]=0xa04000
entry point at 0x1000158
Changing serial settings was 0/0 now 3/0
SeaBIOS (version 1.11.0-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
RamSizeOver4G: 0x0000000000000000 [cmos]
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 6 PCI devices (max PCI bus is 00)
=== PCI new allocation pass #1 ===
PCI: check devices
=== PCI new allocation pass #2 ===
PCI: IO: 1000 - 5fff
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:05.0  bar 0, addr 00005000, size 00001000 [io]
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:1000
PCI: init bdf=00:04.0 id=1af4:1004
PCI: init bdf=00:05.0 id=0b5d:0777
PCI: No VGA devices found
No apic - only the main cpu is present.
init timer
Scan for VGA option rom
Turning on vga text mode console
SeaBIOS (version 1.11.0-OpenBSD-vmm)
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=20971520
Registering bootable: Virtio disk PCI:00:02.0 (type:2 prio:9999 data:ef0c0)
init virtio-scsi
found virtio-scsi at 00:04.0
pci dev 00:04.0 using legacy (0.9.5) virtio mode
virtio-scsi vendor='OpenBSD' product='VMM CD-ROM' rev='001' type=5 removable=1
Registering bootable: DVD/CD [virtio-scsi Drive OpenBSD VMM CD-ROM 001] (type:3 
prio:9999 data:ef080)
Registering bootable: DVD/CD [virtio-scsi Drive OpenBSD VMM CD-ROM 001] (type:3 
prio:9999 data:ef080)                                                           
                                                         [0/166]
init serial
Found 1 serial ports
Scan for option roms
Registering bootable: Legacy option rom (type:129 prio:9999 data:af000003)
Searching bootorder for: HALT
Mapping hd drive 0x000ef0c0 to 0
drive 0x000ef0c0: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=20971520
Mapping cd drive 0x000ef080
Running option rom at af00:0003

Google, Inc.
Serial Graphics Adapter 05/08/18
SGABIOS 20100422 (_<vmm@OpenBSD>) Tue May  8 15:14:32 UTC 2018
Term: 224x57
4 0
malloc finalize
Space available for UMB: c0000-ee800, f9710-f9ee0
Returned 245760 bytes of ZoneHigh
e820 map has 6 items:
  0: 0000000000000000 - 000000000009f800 = 1 RAM
  1: 000000000009f800 - 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
Boooottiinngg  ffrroomm  HHaarrdd  DDiisskk......

Boooott  ffaaiilleedd::  nnoott  aa  bboooottaabbllee  ddiisskk



enter handle_18:
  NULL
Boooottiinngg  ffrroomm  DDVVDD//CCDD......

Booting from 0000:7c00
CD-ROM: E0
Loading /6.3/AMD64/CDBOOT
probing: pc0enter handle_11:
   a=00041cc8  b=00000001  c=00054390  d=0000000a ds=0000 es=0000 ss=0000
  si=000543b0 di=000543b0 bp=0000ff9c sp=0000ff52 cs=4012 ip=1123  f=0246
 com0 mem[638K 510M a20=on]
disk:invalid handle_legacy_disk:729:
   a=00000000  b=00000000  c=000001d4  d=00000000 ds=0000 es=55a6 ss=0000
  si=00056024 di=00000000 bp=0000fd88 sp=0000fd3e cs=4012 ip=1123  f=0246
invalid handle_legacy_disk:729:
   a=00000800  b=00000000  c=000001d4  d=00000000 ds=0000 es=55a6 ss=0000
  si=00000001 di=00000000 bp=0000fd88 sp=0000fd3e cs=4012 ip=1123  f=0246
 hd0+* cd0
>> OpenBSD/amd64 CDBOOT 3.39
boot>

Reply via email to