Re: Oracle cloud and Altra CPUs

From: Dave Cottlehuber <dch_at_freebsd.org>
Date: Tue, 03 Aug 2021 19:48:22 UTC
On Fri, 2 Jul 2021, at 14:17, Greg V wrote:
> 
> 
> On July 2, 2021 11:51:13 AM UTC, Dave Cottlehuber <dch@freebsd.org> wrote:
> >Hi,
> >
> >I wrote some notes on how far I got with Oracle & arm64 Altra systems.
> >
> >Oracle is offering free** arm64 VMs, up to 4 cores & 24GiB of RAM, so
> >this is a very attractive platform for people who are currently fiddling
> >with RasbPi sized build systems.
> >
> >We already know from elsewhere(tm) that the Altra cpu boots FreeBSD
> >13.0-RELEASE happily, so this is largely about muddling around in OCI.
> >
> >https://people.freebsd.org/~dch/posts/2021-07-02-oci-bringup.html
> >
> >hopefully there's enough info in here for others to get further along.
> 
> The issue is
> 
> virtio_pci1: <VirtIO PCI (modern) SCSI adapter>
> 
> failing to attach.
> 
> The virtio modern driver is pretty new, it probably needs some fix to 
> work on arm64..

andrew@ supplied patches for this, and 14.0-CURRENT snapshots just work
now. I threw up some notes here, to help people through Oracle's clowd;
let me know if any clarifications are required.

https://hackmd.io/vPvP7T7XTiGo6WjTEfts9g

I uploaded the qcow2 image manually, but once that's done everything can
be done via terraform, which is far less painful than the web gui.

I have a few more things I'd like to iron out including how to upload
a FreeBSD / poudriere generated image directly into OCI, rather than be
forced to go via my browser.

A+
Dave
--
O for a muse of fire, that would ascend the brightest heaven of invention!