Skip to contentSkip to conversation

Networking in MIPS Malta emulation is broken

Qemu-devel Stefan Weil 1 participant 1 message Nov 24, 2011

lore
Share & tools
lore
#0 lore raw

One of my standard tests (booting a MIPS Malta emulation with a Debian NFS root) no longer works.

Git bisect shows that this commit caused the regression:

commit 5632ae46d5bda798e971dae48ebb318ac2c3686a

Author: Avi Kivity <[email protected]>
Date:   Mon Sep 12 13:00:05 2011 +0300

mips_malta: move i8259 initialization after piix4 initialization

i8259 is an ISA device (or at least, depends on the ISA
infrastructure to
register its ioport); and the ISA bus is supplied by piix4. Later
patches
make this dependency explicit.

Use qemu_irq_proxy() to stop the cycle by adding an extra layer of indirection.

The test was run with default networking and with an eepro100 network card. In both cases, Linux shows the ethernet devices, but fails to read init from NFS. I think there are problems with interrupt handling.

Is there a simple solution? Otherwise I'll examine this issue. It would be good to get this fixed before 1.0 is released.

Regards,
Stefan