Skip to contentSkip to conversation

0.60 Solaris 9 problems.

Qemu-devel Juergen Keil 4 participants 4 messages Sep 13, 2004

lore
Share & tools
lore
#0 lore raw

Simon H wrote

Quoted 3 lines

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.

Quoted 3 lines

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?

Quoted 9 lines

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.

#1 lore raw
Quoted 13 lines · Juergen Keil

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.

Quoted 6 lines

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 [email protected]
ObjectSecurity Ltd. http://www.objectsecurity.com

#2 lore raw
In reply to Juergen Keil
Quoted 15 lines · Juergen Keil

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.

Quoted 6 lines

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.

#3 lore raw
In reply to Juergen Keil
Quoted 10 lines · --- Juergen Keil

Simon H wrote

Quoted 3 lines

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?

Quoted 9 lines
Quoted 3 lines

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.

Quoted 3 lines

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.

Quoted 7 lines

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.

Quoted 3 lines

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