From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 25 Feb 2014 05:13:46 +0100 (CET) Received: from mail.active-venture.com ([67.228.131.205]:60851 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6822478AbaBYENoFok1k (ORCPT ); Tue, 25 Feb 2014 05:13:44 +0100 Received: (qmail 4865 invoked by uid 399); 25 Feb 2014 04:13:35 -0000 Received: from unknown (HELO server.roeck-us.net) (linux@roeck-us.net@108.223.40.66) by mail.active-venture.com with ESMTPAM; 25 Feb 2014 04:13:35 -0000 X-Originating-IP: 108.223.40.66 X-Sender: linux@roeck-us.net Message-ID: <530C186D.3050602@roeck-us.net> Date: Mon, 24 Feb 2014 20:13:33 -0800 From: Guenter Roeck User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Huacai Chen CC: Linux MIPS Mailing List , Paul Burton , Ralf Baechle , "linux-kernel@vger.kernel.org" Subject: Re: Commit 597ce1723 (MIPS: Support for 64-bit FP with O32 binaries) causing qemu hang with mips64 kernels References: <52F5A6EE.7020000@roeck-us.net> <52F5B8CE.1000808@roeck-us.net> In-Reply-To: <52F5B8CE.1000808@roeck-us.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 39378 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: linux@roeck-us.net Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On 02/07/2014 08:55 PM, Guenter Roeck wrote: > On 02/07/2014 07:57 PM, Huacai Chen wrote: >> Hi, >> >> Maybe you can try this: >> http://patchwork.linux-mips.org/patch/6506/ >> http://patchwork.linux-mips.org/patch/6507/ >> > With those two patches applied the problem is gone. > Any idea if and when those patches may find their way upstream ? 3.14-rc4 still has the problem. Thanks, Guenter > Thanks a lot! > > Guenter > >> On Sat, Feb 8, 2014 at 11:39 AM, Guenter Roeck wrote: >>> >>> Hi all, >>> >>> in 3.14-rc1, my mips64 qemu test fails. The image boots and then hangs. >>> Bisect points to commit 597ce1723 (MIPS: Support for 64-bit FP with O32 >>> binaries). >>> Reverting this commit fixes the problem. Disabling MIPS_O32_FP64_SUPPORT >>> in my test image does _not_ solve the problem. The qemu version does not >>> seem >>> to make a difference; I tested with qemu 1.6.0 and 1.7.0. >>> >>> Console log output is available in >>> http://server.roeck-us.net:8010/builders/qemu-mips64-master/builds/34/steps/buildcommand/logs/stdio >>> >>> When the problem is seen, the emulation hangs as can be seen in the log, >>> and the qemu process consumes 100% CPU until it is killed. >>> >>> qemu command line is >>> >>> qemu-system-mips64 -kernel vmlinux -M malta -hda >>> core-image-minimal-qemumips64.ext3 \ >>> -vga cirrus -usb -usbdevice wacom-tablet -no-reboot -m 128 --append >>> "root=/dev/hda \ >>> rw mem=128M console=ttyS0 console=tty" -nographic >>> >>> The same configuration works fine with earlier kernels. I'll be happy to >>> provide >>> the detailed configuration as well as the root file system for testing if >>> needed. >>> >>> Obviously I have no idea if this is a problem with the patch or with qemu. >>> If there is anything I can do to help tracking down the problem further, >>> please let me know. >>> >>> Thanks, >>> Guenter >>> >> >> >