qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] OpenBios in Sparc can't handle long kernel command line


From: Rob Landley
Subject: Re: [Qemu-devel] OpenBios in Sparc can't handle long kernel command lines.
Date: Mon, 22 Apr 2013 10:40:00 -0500

On 04/19/2013 05:27:55 AM, Mark Cave-Ayland wrote:
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!

Yay! Thank you. I look forward to trying it out when QEMU refreshes.

Rob


reply via email to

[Prev in Thread] Current Thread [Next in Thread]