From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kk1JQ-00009t-UR for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:48:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kk1JP-00007n-As for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:48:08 -0400 Received: from [199.232.76.173] (port=47297 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kk1JP-00007a-3a for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:48:07 -0400 Received: from rv-out-0708.google.com ([209.85.198.250]:51424) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kk1JO-0007lR-JK for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:48:06 -0400 Received: by rv-out-0708.google.com with SMTP id f25so1549667rvb.22 for ; Sun, 28 Sep 2008 11:48:06 -0700 (PDT) Message-ID: Date: Sun, 28 Sep 2008 21:48:05 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] Can't boot my sparc system anymore In-Reply-To: <48DFCB20.7090106@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DFC2A5.6040305@earthlink.net> <48DFCB20.7090106@earthlink.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 9/28/08, Robert Reif wrote: > Blue Swirl wrote: > > > On 9/28/08, Robert Reif wrote: > > > > > > > I tried running one of my sparc system boot scripts that does: > > > > > > qemu-system-sparc -hda c.img -M SS-10 -append "console=ttyS0 > > > video=tcxfb:off" -nographic > > > > > > and I now get: > > > > > > -append only allowed with -kernel option > > > > > > This is a recent regression. Do I need to do this differently now or > is > > > this a bug? > > > > > > > > > > It has never worked. -append is used only with preloaded Linux kernel > > , it is not passed to the boot loader. Please use -prom-env, for > > example -prom-env 'boot-args=linux single'. > > > > Also -nographic is passed to OpenBIOS which switches prom console to > > serial, so it is not necessary to use 'console=xxx' or 'video=xxx' > > options. Linux uses prom console before switching to its own console > > functions. > > > > > > > > > > > It may not be right but it does (did) work. Here is current svn with the > failing command line test disabled running: > > qemu-system-sparc -hda c.img -M SS-10 -append "Linux console=ttyS0 > video=tcxfb:off" -nographic > > Configuration device id QEMU version 1 machine id 64 > CPUs: 1 x TI,TMS390Z55 > Welcome to OpenBIOS v1.0RC1 built on Sep 18 2008 19:07 > Type 'help' for detailed information > > [sparc] Booting file 'disk' with parameters 'Linux console=ttyS0 > video=tcxfb:off' > Not a bootable ELF image > Not a Linux kernel image > Loading a.out image... > Loaded 7680 bytes > entry point is 0x4000 > Jumping to entry point... > SILO Version 1.4.13 > > Uncompressing image... Sorry, I had forgotten about this. Do you get the same result with -prom-env 'boot-args=Linux console=ttyS0 video=tcxfb:off'? Or just -prom-env 'boot-args=Linux' and -nographic?