* [Qemu-devel] Can't boot my sparc system anymore
@ 2008-09-28 17:45 Robert Reif
2008-09-28 18:08 ` Blue Swirl
0 siblings, 1 reply; 13+ messages in thread
From: Robert Reif @ 2008-09-28 17:45 UTC (permalink / raw)
To: qemu-devel
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?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-28 17:45 [Qemu-devel] Can't boot my sparc system anymore Robert Reif
@ 2008-09-28 18:08 ` Blue Swirl
2008-09-28 18:21 ` Robert Reif
0 siblings, 1 reply; 13+ messages in thread
From: Blue Swirl @ 2008-09-28 18:08 UTC (permalink / raw)
To: qemu-devel
On 9/28/08, Robert Reif <reif@earthlink.net> 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.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-28 18:08 ` Blue Swirl
@ 2008-09-28 18:21 ` Robert Reif
2008-09-28 18:48 ` Blue Swirl
0 siblings, 1 reply; 13+ messages in thread
From: Robert Reif @ 2008-09-28 18:21 UTC (permalink / raw)
To: qemu-devel
Blue Swirl wrote:
> On 9/28/08, Robert Reif <reif@earthlink.net> 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...
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-28 18:21 ` Robert Reif
@ 2008-09-28 18:48 ` Blue Swirl
2008-09-29 0:04 ` Robert Reif
0 siblings, 1 reply; 13+ messages in thread
From: Blue Swirl @ 2008-09-28 18:48 UTC (permalink / raw)
To: qemu-devel
On 9/28/08, Robert Reif <reif@earthlink.net> wrote:
> Blue Swirl wrote:
>
> > On 9/28/08, Robert Reif <reif@earthlink.net> 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?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-28 18:48 ` Blue Swirl
@ 2008-09-29 0:04 ` Robert Reif
2008-09-29 15:50 ` Blue Swirl
0 siblings, 1 reply; 13+ messages in thread
From: Robert Reif @ 2008-09-29 0:04 UTC (permalink / raw)
To: qemu-devel
Blue Swirl wrote:
>
> 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?
>
>
>
No matter how I try to boot right now, it mostly just hangs in SILO
using 100% cpu.
It did finally boot a few times but it took a long time and ran slow.
qemu-g boots fine but the test I use which is just standard debian etch
installed to a disk image doesn't boot reliably anymore. This is a new
regression.
As a side note, this same disk image on the same computer used to display
around 500 bogo mips at the first of this year but has steadily decreased to
around 125 bogo mips.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-29 0:04 ` Robert Reif
@ 2008-09-29 15:50 ` Blue Swirl
2008-09-30 0:52 ` Robert Reif
0 siblings, 1 reply; 13+ messages in thread
From: Blue Swirl @ 2008-09-29 15:50 UTC (permalink / raw)
To: qemu-devel
On 9/29/08, Robert Reif <reif@earthlink.net> wrote:
> Blue Swirl wrote:
>
> >
> > 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?
> >
> >
> >
> >
> No matter how I try to boot right now, it mostly just hangs in SILO using
> 100% cpu.
>
> It did finally boot a few times but it took a long time and ran slow.
> qemu-g boots fine but the test I use which is just standard debian etch
> installed to a disk image doesn't boot reliably anymore. This is a new
> regression.
Could you please bisect?
> As a side note, this same disk image on the same computer used to display
> around 500 bogo mips at the first of this year but has steadily decreased
> to
> around 125 bogo mips.
This is probably caused by TCG conversion. I have not focused much on
performance and there are some things that could be more optimal, like
condition flag handling.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-29 15:50 ` Blue Swirl
@ 2008-09-30 0:52 ` Robert Reif
2008-09-30 16:06 ` Blue Swirl
2008-09-30 18:25 ` Anthony Liguori
0 siblings, 2 replies; 13+ messages in thread
From: Robert Reif @ 2008-09-30 0:52 UTC (permalink / raw)
To: qemu-devel
Blue Swirl wrote:
> Could you please bisect?
>
>
5186 is OK, 5187 doesn't compile and 5188 is broken.
RH9 system (2.4.20-31.9smp).
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-30 0:52 ` Robert Reif
@ 2008-09-30 16:06 ` Blue Swirl
2008-09-30 16:16 ` Anthony Liguori
2008-09-30 18:25 ` Anthony Liguori
1 sibling, 1 reply; 13+ messages in thread
From: Blue Swirl @ 2008-09-30 16:06 UTC (permalink / raw)
To: qemu-devel, Anthony Liguori
On 9/30/08, Robert Reif <reif@earthlink.net> wrote:
> Blue Swirl wrote:
>
> > Could you please bisect?
> >
> >
> >
> 5186 is OK, 5187 doesn't compile and 5188 is broken.
>
> RH9 system (2.4.20-31.9smp).
So the problem is in the signalfd emulation code. Anthony?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-30 16:06 ` Blue Swirl
@ 2008-09-30 16:16 ` Anthony Liguori
0 siblings, 0 replies; 13+ messages in thread
From: Anthony Liguori @ 2008-09-30 16:16 UTC (permalink / raw)
To: qemu-devel
Blue Swirl wrote:
> On 9/30/08, Robert Reif <reif@earthlink.net> wrote:
>
>> Blue Swirl wrote:
>>
>>
>>> Could you please bisect?
>>>
>>>
>>>
>>>
>> 5186 is OK, 5187 doesn't compile and 5188 is broken.
>>
>> RH9 system (2.4.20-31.9smp).
>>
>
> So the problem is in the signalfd emulation code. Anthony?
>
Maybe. There have been some fixes since that changeset. I'm
downloading some RH9 isos right now to create a test VM.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-30 0:52 ` Robert Reif
2008-09-30 16:06 ` Blue Swirl
@ 2008-09-30 18:25 ` Anthony Liguori
2008-09-30 22:37 ` Robert Reif
1 sibling, 1 reply; 13+ messages in thread
From: Anthony Liguori @ 2008-09-30 18:25 UTC (permalink / raw)
To: qemu-devel
Robert Reif wrote:
> Blue Swirl wrote:
>> Could you please bisect?
>>
>>
> 5186 is OK, 5187 doesn't compile and 5188 is broken.
>
> RH9 system (2.4.20-31.9smp).
Robert,
Does the latest SVN work for you if you pass --disable-aio to configure?
SVN doesn't work at all for me regardless of whether aio is built in.
Also, it doesn't build for a number of reasons (for instance, gcc
doesn't know about -Wendif-labels)
What patches are you using to make it build?
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-30 18:25 ` Anthony Liguori
@ 2008-09-30 22:37 ` Robert Reif
2008-10-01 17:43 ` Anthony Liguori
0 siblings, 1 reply; 13+ messages in thread
From: Robert Reif @ 2008-09-30 22:37 UTC (permalink / raw)
To: qemu-devel
Anthony Liguori wrote:
> Robert Reif wrote:
>> Blue Swirl wrote:
>>> Could you please bisect?
>>>
>>>
>> 5186 is OK, 5187 doesn't compile and 5188 is broken.
>>
>> RH9 system (2.4.20-31.9smp).
>
> Robert,
>
> Does the latest SVN work for you if you pass --disable-aio to configure?
>
> SVN doesn't work at all for me regardless of whether aio is built in.
> Also, it doesn't build for a number of reasons (for instance, gcc
> doesn't know about -Wendif-labels)
>
> What patches are you using to make it build?
>
> Regards,
>
> Anthony Liguori
>
>
Using -disable-aio fixes the problem for me.
Up until about a month ago, I was using a standard RH9 distribution.
Commit 4799 broke execution for me so I upgraded the compiler to 3.4.6.
I had no build issues with the stock RH9 compiler.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] Can't boot my sparc system anymore
2008-09-30 22:37 ` Robert Reif
@ 2008-10-01 17:43 ` Anthony Liguori
2008-10-02 0:08 ` Robert Reif
0 siblings, 1 reply; 13+ messages in thread
From: Anthony Liguori @ 2008-10-01 17:43 UTC (permalink / raw)
To: qemu-devel
Robert Reif wrote:
> Anthony Liguori wrote:
>> Robert Reif wrote:
>>> Blue Swirl wrote:
>>>> Could you please bisect?
>>>>
>>>>
>>> 5186 is OK, 5187 doesn't compile and 5188 is broken.
>>>
>>> RH9 system (2.4.20-31.9smp).
>>
>> Robert,
>>
>> Does the latest SVN work for you if you pass --disable-aio to configure?
>>
>> SVN doesn't work at all for me regardless of whether aio is built
>> in. Also, it doesn't build for a number of reasons (for instance,
>> gcc doesn't know about -Wendif-labels)
>>
>> What patches are you using to make it build?
>>
>> Regards,
>>
>> Anthony Liguori
>>
>>
> Using -disable-aio fixes the problem for me.
>
> Up until about a month ago, I was using a standard RH9 distribution.
> Commit 4799 broke execution for me so I upgraded the compiler to
> 3.4.6. I had no build issues with the stock RH9 compiler.
How did you upgrade the compiler (can you point me to the rpms)?
Regards,
Anthony Liguori
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-10-02 0:08 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 17:45 [Qemu-devel] Can't boot my sparc system anymore Robert Reif
2008-09-28 18:08 ` Blue Swirl
2008-09-28 18:21 ` Robert Reif
2008-09-28 18:48 ` Blue Swirl
2008-09-29 0:04 ` Robert Reif
2008-09-29 15:50 ` Blue Swirl
2008-09-30 0:52 ` Robert Reif
2008-09-30 16:06 ` Blue Swirl
2008-09-30 16:16 ` Anthony Liguori
2008-09-30 18:25 ` Anthony Liguori
2008-09-30 22:37 ` Robert Reif
2008-10-01 17:43 ` Anthony Liguori
2008-10-02 0:08 ` Robert Reif
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).