Received: from eggs.gnu.org ([208.118.235.92]:56838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT8Xx-00077z-Ba for qemu-devel@nongnu.org; Fri, 19 Apr 2013 06:28:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UT8Xw-00067Y-A1 for qemu-devel@nongnu.org; Fri, 19 Apr 2013 06:28:01 -0400 Received: from katherinewilliamsonsoprano.co.uk ([82.165.34.74]:48455 helo=p15195424.pureserver.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT8Xw-00067I-45 for qemu-devel@nongnu.org; Fri, 19 Apr 2013 06:28:00 -0400 Message-ID: <51711C2B.2070103@ilande.co.uk> Date: Fri, 19 Apr 2013 11:27:55 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 References: <1363929577.15703.59@driftwood> In-Reply-To: <1363929577.15703.59@driftwood> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] OpenBios in Sparc can't handle long kernel command lines. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: qemu-devel@nongnu.org On 22/03/13 05:19, Rob Landley wrote: > If I do this: > > qemu-system-sparc -nographic -no-reboot -kernel image -hda hda.sqf > -append 'root=/dev/sda rw init=/sbin/init.sh panic=1 > PATH=/usr/distcc:/bin:/sbin console=ttyS0 HOST=sparc CPUS=1 > DISTCC_HOSTS=10.0.2.2:31322/1 FTP_SERVER=10.0.2.2 FTP_PORT=31307 > NATIVE_BUILD=lfs-bootstrap ' -hdb hdb.img -hdc lfs-bootstrap.hdc -m 256 > > qemu goes: > > ^[[H^[[JConfiguration device id QEMU version 1 machine id 32 > CPUs: 1 x FMI,MB86904 > Unhandled Exception 0x00000007 > PC = 0xffd07d28 NPC = 0xffd07d2c > Stopping execution > > And then hangs. I've never figured out why it clears the screen first > (none of the other targets do), but I _have_ figured out that the > unhandled exception is "kernel command line too long". Because 197 bytes > is just too much data for Sparc to cope with. > > Rob This is now fixed in OpenBIOS SVN trunk, and so should be included in QEMU 1.5 when we update the images in git master. Thanks for the report! ATB, Mark.