FreeBSD on AWS Graviton (t4g)

Colin Percival cperciva at tarsnap.com
Wed Jan 20 18:54:33 UTC 2021


On 1/20/21 5:12 AM, Rafal Lukawiecki wrote:
> Colin, I am only slowly realising the impact of the points you have made. :)
> 
>>> On 20 Dec 2020, at 18:33, Colin Percival <cperciva at tarsnap.com
>>> <mailto:cperciva at tarsnap.com>> wrote:
>>>
>>> * The EC2 API "shutdown" / "reboot" message is sent via a pl061 GPIO device
>>> and we're dropping it on the floor; consequently "reboot" does nothing at
>>> all, while "shutdown" does nothing until EC2 times out and does a hard
>>> poweroff (without filesystems being unmounted etc).
> 
> I have noticed a bunch of artefacts left over from unclean shutdowns, which I
> assume are caused by the above not calling the shutdown rc.d scripts. Do you
> know if this is likely to get implemented any time soon, or are you aware of a
> simple workaround?

If you run 'shutdown' from inside the EC2 instance it should work fine.  Just
don't use the EC2 API to stop the ARM instances.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


More information about the freebsd-cloud mailing list