Re: commit f6be75d03c88 broke qemu-system-mips64.

From: David Daney
Date: Tue Sep 07 2010 - 12:29:36 EST


On 09/04/2010 03:54 PM, Rob Landley wrote:
linux-2.6.33 booted mips64 to a shell prompt, and 2.6.34 didn't. The above
commit is the one that broke it, and if you revert it the result boots again.

To try it yourself, download this mips64 system image:

http://impactlinux.com/aboriginal/downloads/binaries/system-image-mips64.tar.bz2

Extract it, cd into it, and "./run-emulator.sh".

You'll need QEMU installed. Note that Ubuntu's qemu package is actually
kqemu, and doesn't support any non-x86 targets. You need to install
"qemu-kvm-extras" to get _actual_ qemu. I don't know why they broke this.

Once you've confirmed it used to work, replace the zImage-mips64 file with a
vmlinux built using the attached .config and ./run-emulator.sh again. If you
build f6be75d03c88 it fails, but f6be75d03c88^1 works. If you build 2.6.35
but revert the f6be75d03c88 patch (all one line of it), it works. If you don't
revert it, v2.6.35 is still broken.

Rob

Has anybody tried it on a real 64-bit Malta? Perhaps the emulator is broken.

Rob, did you try to debug it at all? Where is it going off into the weeds?

David Daney
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/