qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] 0.60 Solaris 9 problems.
@ 2004-09-12 12:29 Simon H
  0 siblings, 0 replies; 8+ messages in thread
From: Simon H @ 2004-09-12 12:29 UTC (permalink / raw)
  To: qemu-devel

Hi,

First, I'm not a developer so sorry for posting to a
devel list, but when I went to:

http://lists.gnu.org/archive/html/qemu-users
I got: "Not Found"

I have been subscribed to that list for a while, but
nobody has posted and since I can't view the archive I
thought it might be dead.

Anyway...

I had problems with Solaris 9 with the -pci option,
which were cured by:
http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00016.html
so I have a stock 0.60 + the above patch.

I managed to then install Solaris 9.0 but for some
reason on certain long operations like:
find / -name <blah>
I get a mostly black emulator screen, usually with
some part of the desktop panel still visible.  I have
to stop the emulator at that stage.  I have used the
detected defaults for all devices, pressing f2 most of
the way through the install.  There was some wierdness
with partitioning the disk, I had to quit out of the
installer, run fdisk, and then re-run the installer.
I've also not had much luck with admintool or the
recommended admin console program, but then since I've
never installed Solaris 9 before that could just be
Solaris wierdness, (ie off-topic).

If anyone on the list is using Sol9 I'd like to know
what configuration options you are using, including
disk size, how you fake 'changing' of the CDs on
install, and the general order of events.

I don't think there's any equivalent of 'eject' that I
can see.  What I'd like to do is unmount a CD and
switch images for the cdrom drive, then remount, but I
*think* qemu keeps the old image file open.  If that's
the case, then how are people dealing with disk
change?

thanks for any help,

-Simon.



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] 0.60 Solaris 9 problems.
@ 2004-09-13 10:34 Juergen Keil
  2004-09-13 11:01 ` Karel Gardas
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Juergen Keil @ 2004-09-13 10:34 UTC (permalink / raw)
  To: qemu-devel


Simon H wrote

> I managed to then install Solaris 9.0 but for some
> reason on certain long operations like:
> find / -name <blah>

Works for me, running qemu on a Solaris 9 x86 host and running 
a Solaris 10 x86 guest os.


> I get a mostly black emulator screen, usually with
> some part of the desktop panel still visible.
> I have to stop the emulator at that stage.

Is that while a GUI (X11) is running in the QEMU emulator?
Which GUI, CDE or Gnome?  Which video card driver are you using
with the X11 server?

Is it perhaps the X11 screen saver, that is activated inside
the guest os after 15(?) minutes?.


Can you reproduce the problem on the text console, by choosing
"command line login" from the "options" menu in the initial
dtlogin login screen, logging in as user root (or some ordinary
user) on the text console?


> I have used the
> detected defaults for all devices, pressing f2 most of
> the way through the install.  There was some wierdness
> with partitioning the disk, I had to quit out of the
> installer, run fdisk, and then re-run the installer.
> I've also not had much luck with admintool or the
> recommended admin console program, but then since I've
> never installed Solaris 9 before that could just be
> Solaris wierdness, (ie off-topic).

The java virtual machine included in Solaris x86 does not work
for me.  When I start "java", I get:

    % java
    Error occurred during initialization of VM
    java.lang.InternalError
    
Tracing system calls (actually tracing signals) using "truss -t!all java"
shows that the JVM gets a SIGSEGV signal when trying to access memory at
address 0x0000001F, and crashes with the internal error after that.  I'm
not sure if that's a bug in the java VM or a QEMU x86 CPU emulator bug.


Sometimes a working java VM is needed at Solaris x86 installation time.
For example with Solaris 10 x86, when you have a system with lots of memory,
then a gui installer written in java is used, but it crashes with the above
"InternalError" message.

The solaris admin console (smc) also needs a working java VM.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] 0.60 Solaris 9 problems.
  2004-09-13 10:34 [Qemu-devel] 0.60 Solaris 9 problems Juergen Keil
@ 2004-09-13 11:01 ` Karel Gardas
  2004-09-13 12:05 ` Bochnig, Martin
  2004-09-13 21:04 ` Simon H
  2 siblings, 0 replies; 8+ messages in thread
From: Karel Gardas @ 2004-09-13 11:01 UTC (permalink / raw)
  To: Juergen Keil, qemu-devel

On Mon, 13 Sep 2004, Juergen Keil wrote:

> The java virtual machine included in Solaris x86 does not work
> for me.  When I start "java", I get:
>
>     % java
>     Error occurred during initialization of VM
>     java.lang.InternalError
>
> Tracing system calls (actually tracing signals) using "truss -t!all java"
> shows that the JVM gets a SIGSEGV signal when trying to access memory at
> address 0x0000001F, and crashes with the internal error after that.  I'm
> not sure if that's a bug in the java VM or a QEMU x86 CPU emulator bug.
>
>
> Sometimes a working java VM is needed at Solaris x86 installation time.
> For example with Solaris 10 x86, when you have a system with lots of memory,
> then a gui installer written in java is used, but it crashes with the above
> "InternalError" message.
>
> The solaris admin console (smc) also needs a working java VM.

JFYI: In the time when I got Solaris9/x86 running in Qemu I had also java
crashing issue with it, but then I have applied patch sent to qemu-users
to implement "no_ops" or something like that. The sender noted that it's
needed for Java and from this time, I was also able to start smc, although
it was horrible slow on my 1GHz x86 guest.

Cheers,

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] 0.60 Solaris 9 problems.
  2004-09-13 10:34 [Qemu-devel] 0.60 Solaris 9 problems Juergen Keil
  2004-09-13 11:01 ` Karel Gardas
@ 2004-09-13 12:05 ` Bochnig, Martin
  2004-09-13 21:04 ` Simon H
  2 siblings, 0 replies; 8+ messages in thread
From: Bochnig, Martin @ 2004-09-13 12:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Sittichai Palanisong

Juergen Keil wrote:
> 
> 
> The java virtual machine included in Solaris x86 does not work
> for me.  When I start "java", I get:
> 
>     % java
>     Error occurred during initialization of VM
>     java.lang.InternalError
>     
> Tracing system calls (actually tracing signals) using "truss -t!all java"
> shows that the JVM gets a SIGSEGV signal when trying to access memory at
> address 0x0000001F, and crashes with the internal error after that.  I'm
> not sure if that's a bug in the java VM or a QEMU x86 CPU emulator bug.
> 
> 
> Sometimes a working java VM is needed at Solaris x86 installation time.
> For example with Solaris 10 x86, when you have a system with lots of memory,
> then a gui installer written in java is used, but it crashes with the above
> "InternalError" message.
> 
> The solaris admin console (smc) also needs a working java VM.

Works for me.
Using 
http://www.thinksolaris.com/MB1Xqemu0_6_0_slirp_i386_sunos5.9_local.pkg.gz

See
http://www.thinksolaris.com/java_smc_snapshot0.jpeg and 
http://www.thinksolaris.com/java_smc_snapshot1.jpeg   .

But currently Gnome2 causes QEMU to segfault.
Maybe the guest graphics driver or so. Using my old pkg and some other 
guest config it worked, too. That's why I started the guest into 
failsafe mode for the java / smc demo.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] 0.60 Solaris 9 problems.
  2004-09-13 10:34 [Qemu-devel] 0.60 Solaris 9 problems Juergen Keil
  2004-09-13 11:01 ` Karel Gardas
  2004-09-13 12:05 ` Bochnig, Martin
@ 2004-09-13 21:04 ` Simon H
  2 siblings, 0 replies; 8+ messages in thread
From: Simon H @ 2004-09-13 21:04 UTC (permalink / raw)
  To: Juergen Keil, qemu-devel

--- Juergen Keil <jk@tools.de> wrote:

> 
> Simon H wrote
> 
> > I managed to then install Solaris 9.0 but for some
> > reason on certain long operations like:
> > find / -name <blah>
> 
> Works for me, running qemu on a Solaris 9 x86 host
> and running 
> a Solaris 10 x86 guest os.

Which version are you using, is it 0.60 unpatched?
Can you give me your command-line?

> > I get a mostly black emulator screen, usually with
> > some part of the desktop panel still visible.
> > I have to stop the emulator at that stage.
> 
> Is that while a GUI (X11) is running in the QEMU
> emulator?
> Which GUI, CDE or Gnome?  Which video card driver
> are you using
> with the X11 server?

Yes, I'm using CDE, with the Vesa driver.

> Is it perhaps the X11 screen saver, that is
> activated inside
> the guest os after 15(?) minutes?.

It happens a *lot* faster than 15 minutes, less than 5
minutes.  I get the "No RTC Timer", "No RTC Date"
message at boot, so that could be something to do with
messed up timing.

> Can you reproduce the problem on the text console,
> by choosing
> "command line login" from the "options" menu in the
> initial
> dtlogin login screen, logging in as user root (or
> some ordinary
> user) on the text console?

Switching back and forth a couple of times between
host and emulated machine I end up with the keyboard
keys entering control characters (^H^A^A etc) in the
emulated machine.  After a while even that stops and
the emulated machine is completely unresponsive.

> The java virtual machine included in Solaris x86
> does not work
> for me.  When I start "java", I get:

Sounds like It'll be some time before I start worrying
about a lack of JVM.  Can you tell me which video
driver you use, or do you just use detected defaults?

thanks,

-Simon.




		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] 0.60 Solaris 9 problems.
@ 2004-09-14 10:42 Juergen Keil
  2004-09-14 11:59 ` Bochnig, Martin
  2004-11-09  7:33 ` Paul Jakma
  0 siblings, 2 replies; 8+ messages in thread
From: Juergen Keil @ 2004-09-14 10:42 UTC (permalink / raw)
  To: qemu-devel


Simon H <si1356@yahoo.co.uk> wrote

> --- Juergen Keil <jk@tools.de> wrote:
> 
> > 
> > Simon H wrote
> > 
> > > I managed to then install Solaris 9.0 but for some
> > > reason on certain long operations like:
> > > find / -name <blah>
> > 
> > Works for me, running qemu on a Solaris 9 x86 host
> > and running 
> > a Solaris 10 x86 guest os.
> 
> Which version are you using, is it 0.60 unpatched?
> Can you give me your command-line?

Both 0.6.0 and the currect cvs version.  But I'm using several patches,
some patches to support a Solaris x86 guest OS, some patches to allow
running QEMU on a Solaris x86 host:

PCI-IDE with busmaster DMA patch (for Solaris x86 guest OS):
http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00099.html
  

To start a Solaris x86 installation, I use:

- Create a virtual disk image, e.g. 4GB

  mkfile -n 4g solaris.img

  
- Start the Solaris 10 x86 installation by booting from the "Software 1 of 3"
  CD:
  
  qemu -localtime -m 512 -fda /tmp/DU.img -cdrom sol-10-b63-x86-v1.iso -boot d 
solaris.img

  The /tmp/DU.img file is a floppy with additional Solaris x86 devices drivers
  (-> <URL:http://www.tools.de/solaris/itu/>).
  It includes an NE2000 driver modified to work with QEMU.
  
  
- When Solaris starts to boot, make sure to press ESC to enter the device
  configuration assistant (DCA).  On the first DCA screen use "F4_Add Driver"
  -> "F2_Continue" (install supplemental drivers from floppy) -> select the
  drivers for "Solaris OS 2.1.0" -> "F4_Done".

  A "Realtek 8029" device should be shown in the list of identified hardware.
  
  
- Select the "CD" as the boot device


- When configuring the video card, use the XF86-CIRRUS driver.
  The 1152x900 mode (24-bit / 16-million colours) should work.


> > > I get a mostly black emulator screen, usually with
> > > some part of the desktop panel still visible.
> > > I have to stop the emulator at that stage.
> > 
> > Is that while a GUI (X11) is running in the QEMU
> > emulator?
> > Which GUI, CDE or Gnome?  Which video card driver
> > are you using
> > with the X11 server?
> 
> Yes, I'm using CDE, with the Vesa driver.

I think there are three drivers available on recent Solaris x86 CDs
that can be used with QEMU: "VESA", "XF86-VESA" and "XF86-CIRRUS".

 
> > Is it perhaps the X11 screen saver, that is
> > activated inside
> > the guest os after 15(?) minutes?.
> 
> It happens a *lot* faster than 15 minutes, less than 5
> minutes.  I get the "No RTC Timer", "No RTC Date"
> message at boot, so that could be something to do with
> messed up timing.

The "No RTC Timer" / "No RTC Date" messages are printed when the
BIOS' get date / get time function returns with an error (carry flag
set).  Bochs' PC BIOS reports such an error when the RTC CMOS clock
is updated at the time the BIOS get date / get time function is used
and the RTC CLOCK "update in progress" bit remains set for a long
time.  The BIOS waits a bit for the "update in progress" bit to clear,
but if the bit remains set, then the BIOS will eventualy time out and
returns with an error.

I don't think that the "No RTC Timer" / "No RTC Date" messages from
the Solaris DCA are an indication that timers inside the Solaris x86
kernel are messed up.  The Solaris x86 kernel does not use the BIOS
get date / get time functions.



> > Can you reproduce the problem on the text console,
> > by choosing
> > "command line login" from the "options" menu in the
> > initial
> > dtlogin login screen, logging in as user root (or
> > some ordinary
> > user) on the text console?
> 
> Switching back and forth a couple of times between
> host and emulated machine I end up with the keyboard
> keys entering control characters (^H^A^A etc) in the
> emulated machine.  After a while even that stops and
> the emulated machine is completely unresponsive.

Yes, when pressing and releasing "SHIFT+CONTROL" to release
mouse focus, quite often one of the SHIFT or CONTROL keys
remains stuck in pressed state inside the guest OS.

With your example it was apparently the CONTROL key that
remained in pressed state.  To clear this problem, press
and release the SHIFT key, then press and release the
CONTROL key.

The explanation for the completly unresponsive emulated
machine is probably that you've send a "CONTROL-S" (stop
output) to it, due to the stuck CONTROL key problem.
Try to send a CONTROL-Q, and output to the console
resumes.


> > The java virtual machine included in Solaris x86
> > does not work
> > for me.  When I start "java", I get:
> 
> Sounds like It'll be some time before I start worrying
> about a lack of JVM.

I've found out that the precompiled Solaris x86 QEMU binary
from <URL:http://www.thinksolaris.com/> does not have the
java problem.  Apparently there's a problem with one of my
patches to get a working QEMU on Solaris x86, a problem that
does not exist in Martin Bochnig's version on
http://www.thinksolaris.com/


> Can you tell me which video
> driver you use, or do you just use detected defaults?

XF86-CIRRUS.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] 0.60 Solaris 9 problems.
  2004-09-14 10:42 Juergen Keil
@ 2004-09-14 11:59 ` Bochnig, Martin
  2004-11-09  7:33 ` Paul Jakma
  1 sibling, 0 replies; 8+ messages in thread
From: Bochnig, Martin @ 2004-09-14 11:59 UTC (permalink / raw)
  To: qemu-devel

Juergen Keil <jk@tools.de>Juergen Keil wrote:

>>Yes, I'm using CDE, with the Vesa driver.
> 
> 
> I think there are three drivers available on recent Solaris x86 CDs
> that can be used with QEMU: "VESA", "XF86-VESA" and "XF86-CIRRUS".
> 

Only three?
Didn't you forget Sun's own (non XF86) Cirrus Logic 544x drivers?
Solaris 9 04/04 guest here.


martin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] 0.60 Solaris 9 problems.
  2004-09-14 10:42 Juergen Keil
  2004-09-14 11:59 ` Bochnig, Martin
@ 2004-11-09  7:33 ` Paul Jakma
  1 sibling, 0 replies; 8+ messages in thread
From: Paul Jakma @ 2004-11-09  7:33 UTC (permalink / raw)
  To: Juergen Keil, qemu-devel

On Tue, 14 Sep 2004, Juergen Keil wrote:

> PCI-IDE with busmaster DMA patch (for Solaris x86 guest OS):
> http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00099.html

This patch allowed Solaris to install fine for me.

It didnt seem to result in DMA being enabled, I did not get a message 
in logs to say a DMA mode had been selected for the QEMU harddisk. 
However, I gather that was due to a different problem - Jen's Axboe 
collective patch to hw/ide.c resulted in DMA being enabled on ata0.

Thanks!

regards,
-- 
Paul Jakma	paul@clubi.ie	paul@jakma.org	Key ID: 64A2FF6A
Fortune:
Accent on helpful side of your nature.  Drain the moat.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-11-09  7:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 10:34 [Qemu-devel] 0.60 Solaris 9 problems Juergen Keil
2004-09-13 11:01 ` Karel Gardas
2004-09-13 12:05 ` Bochnig, Martin
2004-09-13 21:04 ` Simon H
  -- strict thread matches above, loose matches on Subject: below --
2004-09-14 10:42 Juergen Keil
2004-09-14 11:59 ` Bochnig, Martin
2004-11-09  7:33 ` Paul Jakma
2004-09-12 12:29 Simon H

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).