Can't boot my sparc system anymore
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?
Quoted 11 lines · Robert Reif
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" -nographicand 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.
Quoted 15 lines · Blue Swirl
Quoted 5 lines · Robert Reif
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" -nographicQuoted 7 lines
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?
Quoted 12 lines
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...
Quoted 54 lines · Robert Reif
Quoted 5 lines · Blue Swirl
Quoted 2 lines · Robert Reif
I tried running one of my sparc system boot scripts that does:
Quoted 8 lines
Quoted 8 lines
qemu-system-sparc -hda c.img -M SS-10 -append "console=ttyS0
video=tcxfb:off" -nographicand I now get:
-append only allowed with -kernel option
This is a recent regression. Do I need to do this differently now or
is
Quoted 4 lines
Quoted 3 lines
this a bug?
Quoted 13 lines
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" -nographicConfiguration 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 is0x4000
Jumping to entry point...
SILO Version 1.4.13
Quoted 1 line
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?
Quoted 8 lines · Blue Swirl
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.
Quoted 11 lines · Robert Reif
Quoted 9 lines · Blue Swirl
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?
Quoted 7 lines
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?
Quoted 4 lines
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.
Quoted 3 lines · Blue Swirl
Could you please bisect?
5186 is OK, 5187 doesn't compile and 5188 is broken.
RH9 system (2.4.20-31.9smp).
Quoted 9 lines · Robert Reif
Quoted 4 lines · Blue Swirl
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?
Quoted 10 lines · Blue Swirl
Quoted 8 lines · Robert Reif
Quoted 5 lines · Blue Swirl
Could you please bisect?
Quoted 7 lines
Quoted 4 lines
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
Quoted 7 lines · Robert Reif
Quoted 3 lines · Blue Swirl
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
Quoted 13 lines · Anthony Liguori
Quoted 7 lines · Robert Reif
Quoted 3 lines · Blue Swirl
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?
Quoted 9 lines
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.
Quoted 18 lines · Robert Reif
Quoted 17 lines · Anthony Liguori
Quoted 7 lines · Robert Reif
Quoted 3 lines · Blue Swirl
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?
Quoted 8 lines
Quoted 5 lines
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
Quoted 2 lines
Quoted 2 lines · Anthony Liguori
How did you upgrade the compiler (can you point me to the rpms)?
I compiled it from source.