LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2007, 08:54 AM   #1
green_dood
Member
 
Registered: Nov 2007
Location: Puebla, Mexico
Distribution: Ubuntu, DSL, Fedora
Posts: 45
Blog Entries: 1

Rep: Reputation: 15
Solaris 10 guest endless reboot under KVM/Qemu


Hi:

I've been searching the forum and I have not found specific information about my problem.

The situation is that I have managed to install a Solaris 10 guest under KVM/Qemu in a Ubuntu Gusty machine with AMD Turion X2 processors and 512MiB for the VM. The problem is that after the install, when I try to boot the VM (either KVM/Qemu or Qemu), it goes into a endless reboot loop.

Considerations:
  • 1.- When trying to install only with qemu, the installer complained about the installer itself. It said something like "this is not a solaris 10 operating system disc". With KVM i did not have this problem.

    2.-I Checked the md5 sums and were all ok.

    3.-I have tryied the --no-acpi options

    4.-I am concerned about this other thread (http://forum.java.sun.com/thread.jsp...sageID=9414400) in which some guy (yarchie73) complains about the same problem in a real machin with Core Duo processors. May this problem be related with mine?



Thanks in advance!!
 
Old 11-29-2007, 05:15 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Hi! The name may look a bit different but I am that same guy who posted on the Sun forums a year ago. I have to say that I have seen a lot of progress since then. My original suspicions were eventually confirmed, it really was an issue with the newer Intel CPUs not being (properly) supported. But that part got solved with the next Solaris release although it still left me without sound or network. Both worked fine when I switched over to the Solaris Express edition, though. It tends to be a bit ahead in terms of hardware support. I am now a happy (though occasional) Solaris user.

As for your issue, I suspect that it is indirectly related to mine.I imagine that Qemu is having the same issues with the bootloader that VMware or native installs on Core 2 Duo systems had back then. I have heard about similar Qemu/Solaris issues over the last two years so this may be a structural limitation. Unless the issue gets addressed by Qemu or the folks at Sun, there isn't all that much that you can do. Maybe try Solaris Express or one of the live distros that are based on openSolaris.
 
Old 11-29-2007, 10:00 AM   #3
green_dood
Member
 
Registered: Nov 2007
Location: Puebla, Mexico
Distribution: Ubuntu, DSL, Fedora
Posts: 45

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Ok i get it.

Ill be getting a copy of solaris express. I'll tell you what happens next.

Thank you.
 
Old 02-05-2009, 03:01 AM   #4
paracelsus
LQ Newbie
 
Registered: Jul 2005
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0
Did you have any successes with Solaris on kvm in the meantime?
 
Old 09-25-2009, 07:56 AM   #5
SuperJuice
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Must only be every few months that someone tries to get Solaris happening with QEMU. I'm on Ubuntu 9.04. Just installed the latest Solaris 10 x86_64 (not OpenSolaris) and I am having the constant reboot issue. Have tried multiple configurations and not getting anywhere.

Good to see i'm not the only one having this problem, but not the best news that there isn't a quick fix available.

Don't want to use OpenSolaris because of consistency in testing, but thought i'd post to say that this is still ongoing and I feel sorry for you if you have spent any time on this problem .

CPU is a C2D 2.4.

Off to install VMWare, have had success with Sol10 in VMWare Workstation for those looking for an alternative.

Last edited by SuperJuice; 09-25-2009 at 07:58 AM.
 
Old 09-26-2009, 10:50 AM   #6
paracelsus
LQ Newbie
 
Registered: Jul 2005
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0
VirtualBox works nicely with Solaris too.
 
Old 12-13-2009, 01:20 AM   #7
solanum
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by green_dood View Post
The situation is that I have managed to install a Solaris 10 guest under KVM/Qemu in a Ubuntu Gusty machine with AMD Turion X2 processors and 512MiB for the VM. The problem is that after the install, when I try to boot the VM (either KVM/Qemu or Qemu), it goes into a endless reboot loop.

Considerations:
  • 1.- When trying to install only with qemu, the installer complained about the installer itself. It said something like "this is not a solaris 10 operating system disc". With KVM i did not have this problem.

    2.-I Checked the md5 sums and were all ok.

    3.-I have tryied the --no-acpi options

    4.-I am concerned about this other thread in which some guy (yarchie73) complains about the same problem in a real machin with Core Duo processors. May this problem be related with mine?
First make sure you are running the newest qemu/kvm (.11/.7)
Second you should give it 1024M of RAM at least for the install.

Just cuz i have been working on this for a while now with Fedora 8-12 ill share some notes.

They are motoring at fixing things right now. In Fedora it is actually pretty decent if I can work out some of the speed issues with 64-bit.

You need 768 minimum ram to install solaris 8 u8 (u7 was 768 with zfs and 384 without it.) previous versions had some issues with low memory. a gig is about the minimum you really want to give the install. It helps for speed and it does weird things when it runs out of memory.

Then you can knock it down to 512 after you remove the zfs packages, zone packages and live upgrade and possibly the dtrace packages (sunwlxr sunwlxu need to go as well if you remove dtrace) There are also a ton of fibre nic drivers and a whole host of other things that can come out of the kernel.
Make sure after removing packages you init 6 rather then reboot to update the kernel.

To turn off the gui login:
svcadm disable cde-login
(the gui actually runs pretty well on 32-bit/32-bit as does solaris. If you run 64-bit solaris on a 32-bit machine it takes like 8 hours to compile samba. :P 64-bit/64-bit leaves a bit to be desired at this point and a single cpu seems to be better then multiple cpus for 64-bit.

Use virtio if you can get it to work. It is actually what I was looking for. I couldn't get it to work with 64-bit/64-bit.
I am not sure I had it working with 32-bit/32-bit either.
Supposedly you just need to add kernel/unix to the kernel line in grub after installing. I haven't tried it yet.

You can't use hugepages if you are using libvirtd, but if you are just running qemu from the command line you can. (libvirtd needs to parse the options..)

It seems to work best with raw file images rather then qcow2.
(fmd seems to not appreciate qcow2 and core dumps a lot.)

Depending on the version of qemu, you may have display issues however the v.10.x and v.11 releases have been pretty decent.
v.7 of libvirt is better.

Im just geeked they abstracted the network layer so i can stay sshd in to the vm, switch from wireless to hardwire for the outside network, and put the virtual and physical machine to sleep and still remain connected to the ssh session using their nat.

Don't reconfigure the devices. IE touch /reconfigure.
It kills the performance for whatever reason and be a little shy about patching it too. It might reconfigure it.

I probably should file a bug on it..

Hope that helps.
 
  


Reply

Tags
guest, kvm, qemu, solaris


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[KVM] adding guest computer to the network djgerbavore Linux - Networking 5 06-10-2009 02:01 PM
LXer: Using kvm, or kqemu, to speed up qemu LXer Syndicated Linux News 0 08-25-2007 01:21 AM
persistent fs mounts between linux usb-boot and qemu guest on windows? stairwayoflight Linux - Software 0 01-11-2007 03:14 AM
sound in qemu guest os on debian? zero79 Debian 2 10-16-2005 06:42 PM
Computer in endless reboot cycle apocoloco Linux - Software 3 09-12-2005 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration