Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 11.1 in KVM

1,842 views
Skip to first unread message

wil...@wilbur.25thandclement.com

unread,
May 19, 2014, 9:07:31 PM5/19/14
to
Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
KVM 2.0.0?

I have a Solaris image installed in VMWare (Fusion Desktop) to help with
porting software, but I'd much rather have it running on a server under KVM.
I can complete the install, but networking just won't work.

Everything works under QEMU with pure emulation (same psuedo-devices, same
configuration). But emulation is prohibitively slow and too power hungry.

I've tried different emulated ethernet cards. But I think it may be a
problem with Solaris' PCI drivers. Something about KVM is making it behave
differently.

Ian Collins

unread,
May 19, 2014, 9:23:19 PM5/19/14
to
Which KVM host?

I've had Solaris guests running on SmartOS with e1000 network drivers
and ide disk.

--
Ian Collins

Barry OGrady

unread,
May 20, 2014, 12:43:18 AM5/20/14
to
On Mon, 19 May 2014 18:07:31 -0700,
<wil...@wilbur.25thandClement.com> wrote:

>Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
>KVM 2.0.0?
>
>I have a Solaris image installed in VMWare (Fusion Desktop) to help with
>porting software, but I'd much rather have it running on a server under KVM.
>I can complete the install, but networking just won't work.

There is no networking involved. The KVM connects between the
Keyboard, Video, and Mouse, and the computers.

>Everything works under QEMU with pure emulation (same psuedo-devices, same
>configuration). But emulation is prohibitively slow and too power hungry.
>
>I've tried different emulated ethernet cards. But I think it may be a
>problem with Solaris' PCI drivers. Something about KVM is making it behave
>differently.

The fact that you don't know what a KVM is?

--
Creationists - get educated before you argue,
And when you're corrected, try to learn something.

Creationists only need know that
Evolution is important proven science
and
creation is made up nonsense

ITguy

unread,
May 20, 2014, 1:39:40 AM5/20/14
to
> The fact that you don't know what a KVM is?

Oh, the irony!

Doug McIntyre

unread,
May 20, 2014, 1:47:48 PM5/20/14
to
Barry OGrady <ath...@hotmail.com.au> writes:
>On Mon, 19 May 2014 18:07:31 -0700,
><wil...@wilbur.25thandClement.com> wrote:

>>Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
>>KVM 2.0.0?
>>
>>I have a Solaris image installed in VMWare (Fusion Desktop) to help with
>>porting software, but I'd much rather have it running on a server under KVM.
>>I can complete the install, but networking just won't work.

>There is no networking involved. The KVM connects between the
>Keyboard, Video, and Mouse, and the computers.

Here, why don't you read the first entry for KVM in Wikipedia?

http://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine

--
Doug McIntyre
do...@themcintyres.us

Dirk Heinrichs

unread,
May 20, 2014, 1:49:37 PM5/20/14
to
Barry OGrady wrote:

> On Mon, 19 May 2014 18:07:31 -0700,
> <wil...@wilbur.25thandClement.com> wrote:
>
>>Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
>>KVM 2.0.0?
>>
>>I have a Solaris image installed in VMWare (Fusion Desktop) to help with
>>porting software, but I'd much rather have it running on a server under
>>KVM. I can complete the install, but networking just won't work.
>
> There is no networking involved. The KVM connects between the
> Keyboard, Video, and Mouse, and the computers.

Not the one William is talking about.

>>Everything works under QEMU with pure emulation (same psuedo-devices, same
>>configuration). But emulation is prohibitively slow and too power hungry.
>>
>>I've tried different emulated ethernet cards. But I think it may be a
>>problem with Solaris' PCI drivers. Something about KVM is making it behave
>>differently.
>
> The fact that you don't know what a KVM is?

If you know better, then please, tell us what version 2.0.0. (see above) is
all about.

Bye...

Dirk
--
Dirk Heinrichs <dirk.he...@altum.de>
Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
GPG Public Key CB614542 | Jabber: dirk.he...@altum.de
Sichere Internetkommunikation: http://www.retroshare.org

Dirk Heinrichs

unread,
May 20, 2014, 2:07:10 PM5/20/14
to
wil...@wilbur.25thandClement.com wrote:

> Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
> KVM 2.0.0?

Not Solaris, but OpenIndiana. The Solaris 11.2 beta installation ISO doesn't
even boot under KVM 2.0.0 on my Debian box, using virt-manager to setup the
VMs.

> I have a Solaris image installed in VMWare (Fusion Desktop) to help with
> porting software, but I'd much rather have it running on a server under
> KVM. I can complete the install, but networking just won't work.

Can you be more specific. Devices not recognized in the guest, or hosts not
reachable,...?

> Everything works under QEMU with pure emulation (same psuedo-devices, same
> configuration). But emulation is prohibitively slow and too power hungry.

That's the same with OI, too. If you want it to be fast, you'd need the
VirtIO drivers in the guest. Don't know whether they're available for OI or
Solaris, though.

> I've tried different emulated ethernet cards. But I think it may be a
> problem with Solaris' PCI drivers. Something about KVM is making it behave
> differently.

See above. If you can use the VirtIO devices for your NICs and HDs, it will
run faster.

HTH...

wil...@wilbur.25thandclement.com

unread,
May 20, 2014, 7:06:48 PM5/20/14
to
Dirk Heinrichs <dirk.he...@altum.de> wrote:
> wil...@wilbur.25thandClement.com wrote:
>
>> Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
>> KVM 2.0.0?
>
> Not Solaris, but OpenIndiana. The Solaris 11.2 beta installation ISO doesn't
> even boot under KVM 2.0.0 on my Debian box, using virt-manager to setup the
> VMs.

Yeah, I'm going to try OpenIndiana next, but it seems like they're diverging
so it's not as useful for porting to Solaris.

>> I have a Solaris image installed in VMWare (Fusion Desktop) to help with
>> porting software, but I'd much rather have it running on a server under
>> KVM. I can complete the install, but networking just won't work.
>
> Can you be more specific. Devices not recognized in the guest, or hosts not
> reachable,...?

On boot up I get these on the console

WARNING: /pci@0,0/pci1af4,1100@1,2 (uhci0): Connecting device on port 1 failed
WARNING: rtls0: Failure resetting PHY.

I think only the second one is relevant. In dmesg, before the PHY warning, is

NOTICE: rtls0 registered

$ ifconfig net0
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 38.99.63.182 netmask fffffff0 broadcast 38.99.63.191

I get the PHY warning in software-emulated QEMU, too, but networking still
works.

Given your issues with 11.2 I'm guess I'll just have to give up.

>> Everything works under QEMU with pure emulation (same psuedo-devices, same
>> configuration). But emulation is prohibitively slow and too power hungry.
>
> That's the same with OI, too. If you want it to be fast, you'd need the
> VirtIO drivers in the guest. Don't know whether they're available for OI or
> Solaris, though.
>
>> I've tried different emulated ethernet cards. But I think it may be a
>> problem with Solaris' PCI drivers. Something about KVM is making it behave
>> differently.
>
> See above. If you can use the VirtIO devices for your NICs and HDs, it will
> run faster.

I'm just compiling software, and nothing too large. Disk or network I/O
isn't of much a concern. And AFAICT Solaris doesn't have VirtIO support.
That was added to OpenIndiana and kin. The open source driver for Solaris 10
doesn't work on 11.

Casper H.S. Dik

unread,
May 21, 2014, 3:39:24 AM5/21/14
to
<wil...@wilbur.25thandClement.com> writes:

>Dirk Heinrichs <dirk.he...@altum.de> wrote:
>> wil...@wilbur.25thandClement.com wrote:
>>
>>> Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
>>> KVM 2.0.0?
>>
>> Not Solaris, but OpenIndiana. The Solaris 11.2 beta installation ISO doesn't
>> even boot under KVM 2.0.0 on my Debian box, using virt-manager to setup the
>> VMs.

>Yeah, I'm going to try OpenIndiana next, but it seems like they're diverging
>so it's not as useful for porting to Solaris.

Yes; though I'm pretty that much more has happened in Solaris 11 even before
the release of Solaris 11/11 that there was already a lot of divergence
and two "dot" releases have made the change even bigger.

Casper

David Combs

unread,
May 29, 2014, 9:39:26 PM5/29/14
to
This is with Solaris 10, but we got it to work.

Easy trick!

All you have to do is buy a better kvm.

We got a Trendnet tk-803r (has 8 ports).

What a SURPRISE when we found it worked
for THE KEYBOARD!

We'd always thought it was a Sun problem;
well, I guess it was, but a better (bigger?)
kvm seemed to be all that was necessary.

David


PS: sparc

Dirk Heinrichs

unread,
May 30, 2014, 11:51:36 AM5/30/14
to
David Combs wrote:

> All you have to do is buy a better kvm.

This thread is about virtualization (KVM => Kernel Virtual Machine), not
console switching.

Bye...

marin....@gmail.com

unread,
Sep 16, 2015, 5:51:32 AM9/16/15
to
Does anyone can share an solaris qcow2 image for KVM ?

ITguy

unread,
Sep 22, 2015, 3:22:30 PM9/22/15
to
On Wednesday, September 16, 2015 at 4:51:32 AM UTC-5, marin....@gmail.com wrote:
> Does anyone can share an solaris qcow2 image for KVM ?

You could download Oracle's own VirtualBox template for Solaris and use qemu-img to convert the virtual disk file
0 new messages