From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUIqb-0004EZ-RG for qemu-devel@nongnu.org; Mon, 22 Apr 2013 11:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUIqa-0006S3-FS for qemu-devel@nongnu.org; Mon, 22 Apr 2013 11:40:05 -0400 Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]:35792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUIqa-0006Qt-Bg for qemu-devel@nongnu.org; Mon, 22 Apr 2013 11:40:04 -0400 Received: by mail-ie0-f180.google.com with SMTP id to1so2522566ieb.39 for ; Mon, 22 Apr 2013 08:40:03 -0700 (PDT) Date: Mon, 22 Apr 2013 10:40:00 -0500 From: Rob Landley In-Reply-To: <51711C2B.2070103@ilande.co.uk> (from mark.cave-ayland@ilande.co.uk on Fri Apr 19 05:27:55 2013) Message-Id: <1366645200.18069.145@driftwood> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: Mark Cave-Ayland Cc: qemu-devel@nongnu.org On 04/19/2013 05:27:55 AM, Mark Cave-Ayland wrote: > On 22/03/13 05:19, Rob Landley wrote: >=20 >> If I do this: >>=20 >> qemu-system-sparc -nographic -no-reboot -kernel image -hda hda.sqf >> -append 'root=3D/dev/sda rw init=3D/sbin/init.sh panic=3D1 >> PATH=3D/usr/distcc:/bin:/sbin console=3DttyS0 HOST=3Dsparc CPUS=3D1 >> DISTCC_HOSTS=3D10.0.2.2:31322/1 FTP_SERVER=3D10.0.2.2 FTP_PORT=3D31307 >> NATIVE_BUILD=3Dlfs-bootstrap ' -hdb hdb.img -hdc lfs-bootstrap.hdc -m =20 >> 256 >>=20 >> qemu goes: >>=20 >> ^[[H^[[JConfiguration device id QEMU version 1 machine id 32 >> CPUs: 1 x FMI,MB86904 >> Unhandled Exception 0x00000007 >> PC =3D 0xffd07d28 NPC =3D 0xffd07d2c >> Stopping execution >>=20 >> 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 =20 >> bytes >> is just too much data for Sparc to cope with. >>=20 >> Rob >=20 > This is now fixed in OpenBIOS SVN trunk, and so should be included in =20 > QEMU 1.5 > when we update the images in git master. Thanks for the report! Yay! Thank you. I look forward to trying it out when QEMU refreshes. Rob=