Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange behaviour/no newtork/ #93

Open
Lelo5657 opened this issue Dec 11, 2024 · 0 comments
Open

Strange behaviour/no newtork/ #93

Lelo5657 opened this issue Dec 11, 2024 · 0 comments

Comments

@Lelo5657
Copy link

Hi SpaceinvaderOne,
first thanks for your amazing work as well as introducing noobs and intersted people to unraid and its features!

Now to the issues:

  1. As soon as I change something like the core count and run the Docker afterwards - i get no networkconnetction
    Logs:
2024-12-11 21:53:40.466+0000: starting up libvirt version: 10.7.0, qemu version: 9.1.0, kernel: 6.6.62-Unraid, hostname: LSH-Server
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME=/var/lib/libvirt/qemu/domain-5-Ventura \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-5-Ventura/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-5-Ventura/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-5-Ventura/.config \
/usr/local/sbin/qemu \
-name guest=Ventura,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-5-Ventura/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/e19cb4e5-c9ee-4f83-9121-14ba30ae03db_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.1,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,host-cache-info=on,l3-cache=off \
-m size=4194304k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":4294967296}' \
-overcommit mem-lock=off \
-smp 2,sockets=1,dies=1,clusters=1,cores=1,threads=2 \
-uuid e19cb4e5-c9ee-4f83-9121-14ba30ae03db \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=39,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":8,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x1"}' \
-device '{"driver":"pcie-root-port","port":9,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x1.0x1"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x7.0x7"}' \
-device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x7"}' \
-device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","multifunction":true,"addr":"0x7.0x1"}' \
-device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x7.0x2"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/Ventura/Ventura-opencore.img","node-name":"libvirt-3-storage","read-only":false,"cache":{"direct":false,"no-flush":false}}' \
-device '{"driver":"ide-hd","bus":"ide.2","drive":"libvirt-3-storage","id":"sata0-0-2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/Ventura-install.img","node-name":"libvirt-2-storage","read-only":false,"cache":{"direct":false,"no-flush":false}}' \
-device '{"driver":"ide-hd","bus":"ide.3","drive":"libvirt-2-storage","id":"sata0-0-3","write-cache":"on","serial":"vdisk2"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/Ventura/macos_disk.img","node-name":"libvirt-1-storage","read-only":false,"cache":{"direct":false,"no-flush":false}}' \
-device '{"driver":"ide-hd","bus":"ide.4","drive":"libvirt-1-storage","id":"sata0-0-4","write-cache":"on","serial":"vdisk3"}' \
-netdev '{"type":"tap","fd":"40","vhost":true,"vhostfd":"43","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"ac:87:a3:58:95:01","bus":"pcie.0","addr":"0x3"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev socket,id=charchannel0,fd=38,server=on,wait=off \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \
-k en-us \
-device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x4"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-device 'isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc' \
-smbios type=2 \
-usb \
-device usb-tablet \
-device usb-kbd \
-cpu Skylake-Server,vendor=GenuineIntel,+hypervisor,+invtsc,kvm=on,+fma,+avx,+avx2,+aes,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2024-12-11 21:53:40.466+0000: Domain id=5 is tainted: high-privileges
2024-12-11 21:53:40.467+0000: Domain id=5 is tainted: custom-argv
char device redirected to /dev/pts/0 (label charserial0)
2024-12-11T21:53:40.596980Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2024-12-11T21:53:40.597018Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
2024-12-11T21:53:40.597024Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
2024-12-11T21:53:40.597619Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2024-12-11T21:53:40.597631Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
2024-12-11T21:53:40.597637Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
qxl_send_events: spice-server bug: guest stopped, ignoring
2024-12-11 21:53:54.002+0000: Domain id=5 is tainted: custom-monitor

Running the Docker shows no errors:

CUSTOMNAME is either blank or set to 'default'. Continuing without changes.
Version check passed. Continuing...
You have stated that you are compliant with Apple’s EULA. Continuing...
Icon already there skipping.....
Host path for '/domains' is /mnt/user/domains
Host path for '/isos' is /mnt/user/isos
Host path for '/config' is /mnt/user/appdata/macinabox
Highest Q35 machine type available is pc-q35-9.1
The default VM network type is vhost0

Checking macOS VM named Ventura that its XML is correct and fixing if needed
Nic will be set to "virtio"
Found existing <qemu:commandline>. Removing and adding new configuration.
VCPU count is a power of 2. No action needed.
Domain Ventura defined from /config/macinabox_tmp.xml

Done -- VM redefined successfully

  1. When starting the VM created by the Docker without changing anything i can proceed installation to this point (internet on Safari is working)

image

Logs:

2024-12-11 21:53:40.466+0000: starting up libvirt version: 10.7.0, qemu version: 9.1.0, kernel: 6.6.62-Unraid, hostname: LSH-Server
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME=/var/lib/libvirt/qemu/domain-5-Ventura \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-5-Ventura/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-5-Ventura/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-5-Ventura/.config \
/usr/local/sbin/qemu \
-name guest=Ventura,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-5-Ventura/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/e19cb4e5-c9ee-4f83-9121-14ba30ae03db_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.1,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,host-cache-info=on,l3-cache=off \
-m size=4194304k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":4294967296}' \
-overcommit mem-lock=off \
-smp 2,sockets=1,dies=1,clusters=1,cores=1,threads=2 \
-uuid "a-random-uuid" \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=39,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":8,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x1"}' \
-device '{"driver":"pcie-root-port","port":9,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x1.0x1"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x7.0x7"}' \
-device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x7"}' \
-device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","multifunction":true,"addr":"0x7.0x1"}' \
-device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x7.0x2"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/Ventura/Ventura-opencore.img","node-name":"libvirt-3-storage","read-only":false,"cache":{"direct":false,"no-flush":false}}' \
-device '{"driver":"ide-hd","bus":"ide.2","drive":"libvirt-3-storage","id":"sata0-0-2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/Ventura-install.img","node-name":"libvirt-2-storage","read-only":false,"cache":{"direct":false,"no-flush":false}}' \
-device '{"driver":"ide-hd","bus":"ide.3","drive":"libvirt-2-storage","id":"sata0-0-3","write-cache":"on","serial":"vdisk2"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/Ventura/macos_disk.img","node-name":"libvirt-1-storage","read-only":false,"cache":{"direct":false,"no-flush":false}}' \
-device '{"driver":"ide-hd","bus":"ide.4","drive":"libvirt-1-storage","id":"sata0-0-4","write-cache":"on","serial":"vdisk3"}' \
-netdev '{"type":"tap","fd":"40","vhost":true,"vhostfd":"43","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"ac:87:a3:58:95:01","bus":"pcie.0","addr":"0x3"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev socket,id=charchannel0,fd=38,server=on,wait=off \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \
-k en-us \
-device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x4"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-device 'isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc' \
-smbios type=2 \
-usb \
-device usb-tablet \
-device usb-kbd \
-cpu Skylake-Server,vendor=GenuineIntel,+hypervisor,+invtsc,kvm=on,+fma,+avx,+avx2,+aes,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2024-12-11 21:53:40.466+0000: Domain id=5 is tainted: high-privileges
2024-12-11 21:53:40.467+0000: Domain id=5 is tainted: custom-argv
char device redirected to /dev/pts/0 (label charserial0)
2024-12-11T21:53:40.596980Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2024-12-11T21:53:40.597018Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
2024-12-11T21:53:40.597024Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
2024-12-11T21:53:40.597619Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2024-12-11T21:53:40.597631Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
2024-12-11T21:53:40.597637Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
qxl_send_events: spice-server bug: guest stopped, ignoring
2024-12-11 21:53:54.002+0000: Domain id=5 is tainted: custom-monitor
  1. When changing variable "Delete and replace Opencore:" to yes instead of no the docker stops with following logs:
CUSTOMNAME is either blank or set to 'default'. Continuing without changes.
Version check passed. Continuing...
You have stated that you are compliant with Apple’s EULA. Continuing...
Icon already there skipping.....
Host path for '/domains' is /mnt/user/domains
Host path for '/isos' is /mnt/user/isos
Host path for '/config' is /mnt/user/appdata/macinabox
Highest Q35 machine type available is pc-q35-9.1
The default VM network type is vhost0
VM called Ventura does not exist. Continuing to install it.
deleting existing opencore
No custom OpenCore .iso.gz file found, using stock version
Extracting stock OpenCore from /config/bootloader/OpenCore-v21.iso.gz
Moving stock OpenCore to the VM share
Failed to move stock OpenCore image

Tried already reinstalling Docker (deleting all appdata etc) - tried all available CPU spoofing settings - no clue what I should do next -...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant