Re: VirtualBox

From: <rb_at_gid.co.uk>
Date: Mon, 22 May 2023 16:58:50 UTC
Hi,

> On 22 May 2023, at 17:36, Jason Bacon <bacon4000@gmail.com> wrote:
> 
> On 5/22/23 10:55, Bob Bishop wrote:
>> Hi,
>>> On 18 May 2023, at 16:33, Alex Samorukov <samm@FreeBSD.org> wrote:
>>> 
>>> On 2023/05/18 15:58, Rodney W. Grimes wrote:
>>>>> VirtualBox is x86 emu.
>>>> Yes, and it now runs on Mac/Arm64 as of version 7, but it
>>>> is known to of shakey alpha quality.
>>> But i think it still emulates x86, so probably will be damned slow. I think on MacOS using qemu is a best way to run FreeBSD, of course aarch64. I found performance very good, as well as stability.
>> Parallels also works very well, if you don’t mind paying.
>> --
>> Bob Bishop
>> rb@gid.co.uk
> 
> On Apple silicon?

Yup. dmesg for 13.1-R/arm64 under Parallels below.

> I've run FreeBSD under Parallels, VMware, Hyper-V, VirtualBox, and Qemu.
> 
> VirtualBox seems to be the only one with guest additions to support mouse integration, desktop resizing, etc.  The others all work, and I added what support I could for them to sysutils/desktop-installer.
> 
> I would think supporting VirtualBox aarch64 should not be too difficult.  It appears to use mostly the same virtualized devices as the x86 edition.
> 
> First step would seem to be enabling boot from the FreeBSD aarch64 ISO.
> 
> -- 
> Life is a game.  Play hard.  Play fair.  Have fun.
> 

--
Bob Bishop
rb@gid.co.uk


WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC arm64
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
VT(efifb): resolution 1024x768
module firmware already present!
real memory  = 17176920064 (16381 MB)
avail memory = 16719712256 (15945 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 43c050000 mode 2 pages 192
MAP 43f600000 mode 2 pages 400
MAP 43f790000 mode 2 pages 592
MAP 1e00000 mode 0 pages 78
MAP 2120000 mode 0 pages 1
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
gic0: <ARM Generic Interrupt Controller> mem 0x2010000-0x201ffff,0x2000000-0x2002fff on ofwbus0
gic0: pn 0x0, arch 0x2, rev 0x0, implementer 0x0 irqs 128
gicv2m0: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x2250000-0x2250fff on gic0
generic_timer0: <ARMv8 Generic Timer> irq 0,1,2,3 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
ahci0: <AHCI SATA controller> mem 0x2140000-0x2141fff irq 4 on ofwbus0
ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
pcib0: <Generic PCI host controller> mem 0x2300000-0x23fffff on ofwbus0
pci0: <PCI bus> on pcib0
pci0: <multimedia, HDA> at device 1.0 (no driver attached)
ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem 0x10008000-0x100083ff at device 2.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
xhci0: <NEC uPD720200 USB 3.0 controller> mem 0x10007000-0x10007fff at device 3.0 on pci0
xhci0: 32 bytes context size, 32-bit DMA
usbus1 on xhci0
virtio_pci0: <VirtIO PCI (legacy) Network adapter> mem 0x10006000-0x10006fff,0x10005000-0x10005fff at device 5.0 on pci0
vtnet0: <VirtIO Networking Adapter> on virtio_pci0
vtnet0: Ethernet address: 00:1c:42:9a:72:d8
pci0: <unknown> at device 9.0 (no driver attached)
armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
Timecounters tick every 1.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
usbus0: 480Mbps High Speed USB v2.0
usbus1: 5.0Gbps Super Speed USB v3.0
CPU  0: ARM Unknown CPU r0p0 (midr: 410f0000) affinity:  0
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
 Instruction Set Attributes 0 = <TLBI-OSR,CondM-8.5,FHM,DP,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL>
 Instruction Set Attributes 1 = <PredInv,SB,FRINTTS,GPI,RCPC-8.4,FCMA,JSCVT,API EPAC,DCCVADP>
         Processor Features 0 = <CSV3,CSV2,PSTATE.DIT,RAS,AdvSIMD+HP,FP+HP,EL1,EL0>
         Processor Features 1 = <PSTATE.SSBS MSR>
      Memory Model Features 0 = <ExS,TGran4,TGran16,8bit ASID,64GB PA>
      Memory Model Features 1 = <XNX,SpecSEI,PAN+ATS1E1,LO,HPD+TTPBHA,8bit VMID>
      Memory Model Features 2 = <E0PD,TTL,IDS,AT,32bit CCIDX,48bit VA,IESB,UAO,CnP>
             Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,Debugv8>
             Debug Features 1 = <>
         Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
AArch32 Instruction Set Attributes 5 = <>
AArch32 Media and VFP Features 0 = <>
AArch32 Media and VFP Features 1 = <>
CPU  1: ARM Unknown CPU r0p0 (midr: 410f0000) affinity:  1
CPU  2: ARM Unknown CPU r0p0 (midr: 410f0000) affinity:  2
CPU  3: ARM Unknown CPU r0p0 (midr: 410f0000) affinity:  3
Release APs...done
ugen1.1: <(0x1033) XHCI root HUB> at usbus1
uhub0 on usbus1
uhub0: <(0x1033) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen0.1: <Intel EHCI root HUB> at usbus0
uhub1 on usbus0
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
Trying to mount root from zfs:zroot/ROOT/default []...
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <Other-0 SSD F.X489FR> ATA8-ACS SATA 2.x device
ada0: Serial Number C6D0PST9NAJ499Q85E2B
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 65536MB (134217728 512 byte sectors)
cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
cd0: < Virtual DVD-ROM R103> Removable CD-ROM SCSI device
cd0: Serial Number - 31415B265
cd0: 150.000MB/s transfers (SATA 1.x, UDMA1, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
uhub0: 14 ports with 14 removable, self powered
Root mount waiting for: usbus0 usbus1
ugen1.2: <Parallels Virtual Mouse> at usbus1
ugen1.3: <Parallels Virtual Keyboard> at usbus1
ukbd0 on uhub0
ukbd0: <Virtual Keyboard Interface> on usbus1
kbd1 at ukbd0
ukbd1 on uhub0
ukbd1: <Virtual Keyboard Interface> on usbus1
kbd2 at ukbd1
Root mount waiting for: usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
uhub1: 15 ports with 15 removable, self powered
lo0: link state changed to UP
vtnet0: link state changed to UP
uhid0 on uhub0
uhid0: <Absolute Coordinate Interface> on usbus1
uhid1 on uhub0
uhid1: <Relative Coordinate Interface> on usbus1