vivier / qemu-m68k

Other
40 stars 6 forks source link

dp83932 stops working after a short while #47

Open jrmuizel opened 3 years ago

jrmuizel commented 3 years ago

Following the instructions here https://wiki.qemu.org/Documentation/Platforms/m68k I was able to successfully install debian. However, running apt-get update stalls after the first 1-2MB.

root@debian:~# apt-get update
Get:1 http://ftp.ports.debian.org/debian-ports sid InRelease [55.3 kB]
Ign:1 http://ftp.ports.debian.org/debian-ports sid InRelease
Get:2 http://ftp.ports.debian.org/debian-ports sid/main all Packages [8,735 kB]
18% [2 Packages 2,155 kB/8,735 kB 25%]

I'm launching qemu with:

  qemu-system-m68k -boot c \
 -M q800 -serial none -serial mon:stdio -m 1000M \
 -net nic,model=dp83932 -net user \
 -append "root=/dev/sda2 rw console=ttyS0 console=tty" \
 -kernel vmlinux-4.16.0-1-m68k \
 -initrd initrd.img-4.16.0-1-m68k \
 -drive file=m68k-deb10.qcow2,format=qcow2 \
 -nographic

I see the same thing with qemu v6.0.0-rc5 and q800-dev

vivier commented 3 years ago

Sometime I have problem but generally it comes from the server side (debian).

Could you try to ping ftp.ports.debian.org? Or to transfer a files from your host using scp?

You can also try to replace the "-net user" to use a bridge or tap device.

If the problem appears with qemu mainstream, please report the problem to https://bugs.launchpad.net/qemu/

jrmuizel commented 3 years ago

The second time I run the command it makes no progress at all which suggests the problem is more likely to be client side. I'll file an issue about it upstream.

jrmuizel commented 3 years ago

I filed: https://bugs.launchpad.net/qemu/+bug/1926497