abiosoft / abiosoft/colima

Rosetta error on MacOS 13.6.2

Offen
#926 5 Kommentare 9 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
30.8k
Forks
613
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Description

Trying to start any x86/arm64 VMs results in a Rosetta error:

```
docker run -it --rm --platform linux/amd64 debian:buster-slim
rosetta error: unhandled auxillary vector type 28
```

This was reported in https://github.com/abiosoft/colima/issues/855 but that issue has since been closed without any resolution.

I have run both `colima delete` and `lima delete` before restarting colima using the folliowing command:
```
colima start --arch aarch64 --vm-type=vz --vz-rosetta --memory 4
```

### Version

colima version && limactl --version && qemu-img --version.

colima version HEAD-ba1be00
git commit: ba1be00e9aec47f2c1ffdacfb7e428e465f0b58a

runtime: docker
arch: aarch64
client: v24.0.7
server: v24.0.7
limactl version 0.19.0

qemu-img version 8.1.3
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [X] Apple Silicon <= 13 (Ventura)
- [ ] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

### Output of `colima status`

colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/adrian.d/.colima/default/docker.sock

### Reproduction Steps

1. colima delete
2. lima delete
3. colima start --arch aarch64 --vm-type=vz --vz-rosetta --memory 4
4. docker run -it --rm --platform linux/amd64 debian:buster-slim

### Expected behaviour

Expected behaviour is for amd64 VM to start. Running for arm64 works as expectged

```
docker run -it --platform linux/arm64/v8 --rm debian:buster-slim
Unable to find image 'debian:buster-slim' locally
buster-slim: Pulling from library/debian
78b429e3efdd: Pull complete
Digest: sha256:8e5da7fd9aef8c0b3f23bb8c3f391667b50929984b7daa666ea1c7730f3b73b9
Status: Downloaded newer image for debian:buster-slim
root@dfdefdc47381:/#
```

### Additional context

We are unable to upgrade to MacOS 14.x at this time due to corporate policies.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.