[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation
From: |
Finn Thain |
Subject: |
Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation |
Date: |
Sun, 15 Dec 2019 10:16:18 +1100 (AEDT) |
On Sat, 14 Dec 2019, Aleksandar Markovic wrote:
> On Saturday, December 14, 2019, Finn Thain <address@hidden>
> wrote:
>
> > Hi All,
> >
> > There is a bug in the DP8393X emulation that can stop packet reception.
> >
> >
> Can you provide the details of your test scenario?
>
> Thanks,
> Aleksandar
>
I test the qemu build like this,
qemu-system-m68k -M q800 -m 512M -serial none -serial mon:stdio -g 800x600x4
-net nic,model=dp83932,addr=00:00:00:01:02:03
-net bridge,helper=/opt/qemu/libexec/qemu-bridge-helper,br=br0
-append "fbcon=font:ProFont6x11 console=tty0 console=ttyS0 ignore_loglevel"
-kernel vmlinux-4.14.157-mac-backport+
-initrd /mnt/loop/install/cdrom/initrd.gz
You can obtain this kernel binary from the linux-mac68k project on
sourceforge. (I usually use a mainline Linux build but it makes no
difference.)
I normally use a disk image with Debian/m68k SID rootfs but in this
example I've used the initrd that you can find on the Debian/m68k
installer ISO.
Once the guest starts, switch to a different virtual console and bring up
the SONIC:
<ctrl>-<a> <ctrl>-<a> <2>
# ip addr add dev eth0 192.168.65.2/24
# ip link set dev eth0 up
On the host, send a ping flood (with preload) to the guest:
# ifconfig br0 192.168.65.1/24
# ping 192.168.65.2 -f -l 20
The packet reception ("deaf sonic") issue is reproduced immediately.
This has been observed in both qemu-m68k and mainline qemu. See also,
https://github.com/vivier/qemu-m68k/commit/0a45280c9fa40da8d5f30b1bb3d0513db91c3909
- [PATCH 04/10] dp8393x: Don't advance RX descriptor twice, (continued)
- [PATCH 04/10] dp8393x: Don't advance RX descriptor twice, Finn Thain, 2019/12/13
- [PATCH 07/10] dp8393x: Implement TBWC0 and TBWC1 registers to restore buffer state, Finn Thain, 2019/12/13
- [PATCH 08/10] dp8393x: Implement packet size limit and RBAE interrupt, Finn Thain, 2019/12/13
- [PATCH 03/10] dp8393x: Have dp8393x_receive() return the packet size, Finn Thain, 2019/12/13
- [PATCH 02/10] dp8393x: Clean up endianness hacks, Finn Thain, 2019/12/13
- [PATCH 01/10] dp8393x: Mask EOL bit from descriptor addresses, Finn Thain, 2019/12/13
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Aleksandar Markovic, 2019/12/14
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation,
Finn Thain <=
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Aleksandar Markovic, 2019/12/14
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Aleksandar Markovic, 2019/12/14
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Finn Thain, 2019/12/19
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Philippe Mathieu-Daudé, 2019/12/23
- NetBSD/arc on MIPS Magnum, was Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Finn Thain, 2019/12/23
- Re: NetBSD/arc on MIPS Magnum, was Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Finn Thain, 2019/12/23
- Re: NetBSD/arc on MIPS Magnum, was Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Hervé Poussineau, 2019/12/24
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Finn Thain, 2019/12/15
- Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Finn Thain, 2019/12/19
Re: [PATCH 00/10] Fixes for DP8393X SONIC device emulation, Aleksandar Markovic, 2019/12/20