[Bug]: Startup Failed: 「Negotiation failed: EOFError」

Aperta
#2,249 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, docker-compose, shell

Direzione di ricerca

Start with the container startup logs around “Timeout while waiting for QEMU to boot” and the QEMU launch and shutdown entry points. Check how the startup timeout and negotiation errors are handled, then compare with the reported shutdown and host restart behavior. Done means identifying and fixing the cause so startup succeeds after shutdown without requiring a host reboot.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Operating system

Debian GNU/Linux 13 (trixie)

Description

It often fails to start after being shut down. Restarting the host machine usually allows it to start successfully, but the issue reoccurs after some time.

Docker compose
name: windows

services:
  windows:
    image: dockurr/windows
    container_name: windows
    stop_grace_period: 2m
    restart: "no"
    cpuset: "0-11"
    environment:
      DEBUG: false
      CPU_CORES: "12"
      CPU_FLAGS: "guest-phys-bits=39"
      RAM_SIZE: "24G"
      BALLOONING: "Y"
      BALLOONING_MIN_MEM: "25%"
      BALLOONING_RAM_THRESHOLD: "75"
      BALLOONING_RAM_THRESHOLD_HARD: "88"
      USERNAME: "qiaomo"
      NETWORK: "nat"
      SAMBA: false
      RTC: "localtime"
      TZ: "Asia/Shanghai"
      ARGUMENTS: >-
        -device pcie-root-port,id=pcieport0,bus=pcie.0,chassis=1
        -device vfio-pci,host=01:00.0,bus=pcieport0,addr=00.0,multifunction=on
        -device vfio-pci,host=01:00.1,bus=pcieport0,addr=00.1
    cap_add:
      - NET_ADMIN
      - IPC_LOCK
    devices:
      - /dev/kvm
      - /dev/net/tun
      - /dev/vfio/vfio
      - /dev/vfio/16
      - /dev/zvol/disk1t/vm/disk0:/disk1
      - /dev/zvol/disk2t/vm/disk1:/disk2
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
      - 45877:45877 # beszel
      - 47990:47990 # sunshine
      - 47984:47984/tcp
      - 47989:47989/tcp
      - 48010:48010/tcp
      - 47998:47998/udp
      - 47999:47999/udp
      - 48000:48000/udp
      - 48002:48002/udp
      - 48010:48010/udp
    volumes:
      - /data/virtualmachines/windows:/storage
Docker log
windows  | ❯ Starting Windows for Docker v6.05...
windows  | ❯ For support visit https://github.com/dockur/windows
windows  | ❯ CPU: Intel Core i5 14600K | RAM: 38/63 GB | DISK: 298 GB (ext4) | KERNEL: 6.12.107+deb13-amd64
windows  | 
windows  | ❯ Detected that your custom .iso file was removed, will be ignored.
windows  | 
windows  | ❯ Host: 172.18.0.2/16 (dadb61dbcbc0)
windows  | ❯ Guest: 172.30.0.2 (Windows)  |  Mode: NAT  |  MAC: 02:DC:E7:DC:D6:CE
windows  | 
windows  | ❯ Booting Windows using QEMU v11.1.0...
windows  | 
windows  | ❯ ERROR: Timeout while waiting for QEMU to boot the machine, terminating...
windows  | 2026-10-22 14:56:45 | ERROR    | Negotiation failed: EOFError
windows  | 2026-10-22 14:56:45 | ERROR    | Failed to establish session: EOFError
windows  | 2026-10-22 14:56:50 | INFO     | Monitor exiting: QEMU process (pid 710) is no longer running
windows  | 
windows  | ❯ ERROR: QEMU exited unexpectedly!
Screenshots (optional)

No response

Lingua principale
Shell
Stelle
54.2k
Fork
5.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dockur/windows

Tutte le issue di dockur/windows

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.