commit f6be75d03c88 broke qemu-system-mips64.

Previous thread: [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver by Guenter Roeck on Saturday, September 4, 2010 - 3:34 pm. (10 messages)

Next thread: [PATCH 1/4] staging: xgifb: Fix compile warning by Javier Martinez Canillas on Saturday, September 4, 2010 - 4:06 pm. (1 message)
From: Rob Landley
Date: Saturday, September 4, 2010 - 3:54 pm

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
-- 
GPLv3: as worthy a successor as The Phantom Menace, as timely as Duke Nukem Forever, and as welcome as 
New Coke.
From: David Daney
Date: Tuesday, September 7, 2010 - 9:29 am

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
--

From: Ralf Baechle
Date: Wednesday, September 8, 2010 - 12:42 am

There is no MIPS64 R2 core for the Malta.  I think the best evidence pointing
to an emulator issue is that the current code is working on Cavium.

  Ralf
--

Previous thread: [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver by Guenter Roeck on Saturday, September 4, 2010 - 3:34 pm. (10 messages)

Next thread: [PATCH 1/4] staging: xgifb: Fix compile warning by Javier Martinez Canillas on Saturday, September 4, 2010 - 4:06 pm. (1 message)