2009-07-16 07:30:33

by Sid Boyce

[permalink] [raw]
Subject: OpenSolaris boot failure with KVM and VirtualBox

I first tried using kernel 2.6.31-rc1 on openSUSE 11.2 Milestone1 on a
4P box. All other VM's, Windows and Linux work, currently running
openSUSE 11.2 Milestone 3 with 2.6.31-rc3. Verified the .iso is good.
Error message
=============
Booting 'OpenSolaris 2009.06'
kernel$ /platform/i86pc/kernel/$ISADIR/unix
loading '/platform/i86pc/kernel/$ISADIR/unix' ...
cpu: 'AuthenticAMD' family 16 model 4 step 2 ...
[BIOS accepted mixed-mode target setting!]
[Multiboot-kernel, loadaddr=0xbffe38, text-and-data=0x1b1ff0, bss=0x0,
entry=0xc00000]
'platform/i86pc/kernel/amd64/unix' is loaded
module$ /boot/$ISADIR/x86.microroot
loading '/boot/$ISADIR/x86.microroot' ...
Error 15: File not found
Press any key to continue ...
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


2009-07-26 16:09:33

by Avi Kivity

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox

On 07/16/2009 10:30 AM, Sid Boyce wrote:
> I first tried using kernel 2.6.31-rc1 on openSUSE 11.2 Milestone1 on a
> 4P box. All other VM's, Windows and Linux work, currently running
> openSUSE 11.2 Milestone 3 with 2.6.31-rc3. Verified the .iso is good.
> Error message
> =============
> Booting 'OpenSolaris 2009.06'
> kernel$ /platform/i86pc/kernel/$ISADIR/unix
> loading '/platform/i86pc/kernel/$ISADIR/unix' ...
> cpu: 'AuthenticAMD' family 16 model 4 step 2 ...
> [BIOS accepted mixed-mode target setting!]
> [Multiboot-kernel, loadaddr=0xbffe38, text-and-data=0x1b1ff0, bss=0x0,
> entry=0xc00000]
> 'platform/i86pc/kernel/amd64/unix' is loaded
> module$ /boot/$ISADIR/x86.microroot
> loading '/boot/$ISADIR/x86.microroot' ...
> Error 15: File not found
> Press any key to continue ...
> Regards
> Sid.
>

Please copy [email protected] on kvm issues.

Is this a regression from previous kernel versions? What userspace are
you using?

--
error compiling committee.c: too many arguments to function

2009-07-26 16:46:51

by Heinz Diehl

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox

On 26.07.2009, Avi Kivity wrote:

> On 07/16/2009 10:30 AM, Sid Boyce wrote:
> >I first tried using kernel 2.6.31-rc1 on openSUSE 11.2 Milestone1 on a
> >4P box. All other VM's, Windows and Linux work, currently running
> >openSUSE 11.2 Milestone 3 with 2.6.31-rc3. Verified the .iso is good.

Opensuse Milestones are testing versions in at best alpha state.

> >Error 15: File not found
[....]

Virtualbox works properly running Opensolaris on my machines, with any
2.6.31-rc kernel released, including rc4 and git versions (opensuse 11.1
based).

2009-07-26 18:15:09

by Sid Boyce

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox

On 26/07/09 17:13, Avi Kivity wrote:
> On 07/16/2009 10:30 AM, Sid Boyce wrote:
>> I first tried using kernel 2.6.31-rc1 on openSUSE 11.2 Milestone1 on a
>> 4P box. All other VM's, Windows and Linux work, currently running
>> openSUSE 11.2 Milestone 3 with 2.6.31-rc3. Verified the .iso is good.
>> Error message
>> =============
>> Booting 'OpenSolaris 2009.06'
>> kernel$ /platform/i86pc/kernel/$ISADIR/unix
>> loading '/platform/i86pc/kernel/$ISADIR/unix' ...
>> cpu: 'AuthenticAMD' family 16 model 4 step 2 ...
>> [BIOS accepted mixed-mode target setting!]
>> [Multiboot-kernel, loadaddr=0xbffe38, text-and-data=0x1b1ff0, bss=0x0,
>> entry=0xc00000]
>> 'platform/i86pc/kernel/amd64/unix' is loaded
>> module$ /boot/$ISADIR/x86.microroot
>> loading '/boot/$ISADIR/x86.microroot' ...
>> Error 15: File not found
>> Press any key to continue ...
>> Regards
>> Sid.
>>
>
> Please copy [email protected] on kvm issues.
>
> Is this a regression from previous kernel versions? What userspace are
> you using?
>

Currently running 2.6.31-rc4 with the original kqemu-1.4.0pre1 on
openSUSE 11.2 Milestone 4 and it boots OK - a 200G disk image used.
qemu-system-x86_64 -cdrom /ISO/osol-0906-ai-x86.iso -boot d
/osol0906.qcow2 -smp 4 -m 500M &
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-07-26 18:18:19

by Avi Kivity

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox

On 07/26/2009 09:14 PM, Sid Boyce wrote:
>
>> Is this a regression from previous kernel versions? What userspace are
>> you using?
>>
>>
>
> Currently running 2.6.31-rc4 with the original kqemu-1.4.0pre1 on
> openSUSE 11.2 Milestone 4 and it boots OK - a 200G disk image used.
> qemu-system-x86_64 -cdrom /ISO/osol-0906-ai-x86.iso -boot d
> /osol0906.qcow2 -smp 4 -m 500M&
>

Wait, are you using kqemu or kvm?

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

2009-07-26 21:59:17

by Sid Boyce

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox

On 26/07/09 19:18, Avi Kivity wrote:
> On 07/26/2009 09:14 PM, Sid Boyce wrote:
>>
>>> Is this a regression from previous kernel versions? What userspace are
>>> you using?
>>>
>>>
>>
>> Currently running 2.6.31-rc4 with the original kqemu-1.4.0pre1 on
>> openSUSE 11.2 Milestone 4 and it boots OK - a 200G disk image used.
>> qemu-system-x86_64 -cdrom /ISO/osol-0906-ai-x86.iso -boot d
>> /osol0906.qcow2 -smp 4 -m 500M&
>>
>
> Wait, are you using kqemu or kvm?
>

# l /dev/kvm
crw-rw----+ 1 root root 10, 232 2009-07-24 20:26 /dev/kvm
# lsmod|grep kvm
kvm_amd 41908 0
kvm 180488 1 kvm_amd

>From long ago I read that kvm needed kqemu, so I have always built the
module, but I see here it's not used.
lsmod|grep qemu
kqemu 173496 0

# rpm -qf /usr/bin/qemu-system-x86_64
qemu-0.10.1-2.21

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-07-27 05:36:13

by Alexander Graf

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox


On 26.07.2009, at 23:59, Sid Boyce wrote:

> On 26/07/09 19:18, Avi Kivity wrote:
>> On 07/26/2009 09:14 PM, Sid Boyce wrote:
>>>
>>>> Is this a regression from previous kernel versions? What
>>>> userspace are
>>>> you using?
>>>>
>>>>
>>>
>>> Currently running 2.6.31-rc4 with the original kqemu-1.4.0pre1 on
>>> openSUSE 11.2 Milestone 4 and it boots OK - a 200G disk image used.
>>> qemu-system-x86_64 -cdrom /ISO/osol-0906-ai-x86.iso -boot d
>>> /osol0906.qcow2 -smp 4 -m 500M&
>>>
>>
>> Wait, are you using kqemu or kvm?
>>
>
> # l /dev/kvm
> crw-rw----+ 1 root root 10, 232 2009-07-24 20:26 /dev/kvm
> # lsmod|grep kvm
> kvm_amd 41908 0
> kvm 180488 1 kvm_amd
>
> From long ago I read that kvm needed kqemu, so I have always built the
> module, but I see here it's not used.
> lsmod|grep qemu
> kqemu 173496 0
>
> # rpm -qf /usr/bin/qemu-system-x86_64
> qemu-0.10.1-2.21

You're not using KVM. "Qemu" is the non-KVM version.

Maybe uli activated the preliminary kvm support in there, but if you
want the real deal, install the "kvm" package and use /usr/bin/qemu-kvm.

Alex

2009-07-27 11:11:44

by Sid Boyce

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox

On 27/07/09 06:36, Alexander Graf wrote:
>
> On 26.07.2009, at 23:59, Sid Boyce wrote:
>
>> On 26/07/09 19:18, Avi Kivity wrote:
>>> On 07/26/2009 09:14 PM, Sid Boyce wrote:
>>>>
>>>>> Is this a regression from previous kernel versions? What userspace
>>>>> are
>>>>> you using?
>>>>>
>>>>>
>>>>
>>>> Currently running 2.6.31-rc4 with the original kqemu-1.4.0pre1 on
>>>> openSUSE 11.2 Milestone 4 and it boots OK - a 200G disk image used.
>>>> qemu-system-x86_64 -cdrom /ISO/osol-0906-ai-x86.iso -boot d
>>>> /osol0906.qcow2 -smp 4 -m 500M&
>>>>
>>>
>>> Wait, are you using kqemu or kvm?
>>>
>>
>> # l /dev/kvm
>> crw-rw----+ 1 root root 10, 232 2009-07-24 20:26 /dev/kvm
>> # lsmod|grep kvm
>> kvm_amd 41908 0
>> kvm 180488 1 kvm_amd
>>
>> From long ago I read that kvm needed kqemu, so I have always built the
>> module, but I see here it's not used.
>> lsmod|grep qemu
>> kqemu 173496 0
>>
>> # rpm -qf /usr/bin/qemu-system-x86_64
>> qemu-0.10.1-2.21
>
> You're not using KVM. "Qemu" is the non-KVM version.
>
> Maybe uli activated the preliminary kvm support in there, but if you
> want the real deal, install the "kvm" package and use /usr/bin/qemu-kvm.
>
> Alex
>
>
>

Thanks, I shall check that out, no mention of x86_64, but I shall have a
look at the stuff below.
>From Documentation/ia64/kvm.txt
1. Get the kvm source from git.kernel.org.
Userspace source:
git clone
git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-07-27 11:28:48

by Sid Boyce

[permalink] [raw]
Subject: Re: OpenSolaris boot failure with KVM and VirtualBox

On 27/07/09 12:17, Alexander Graf wrote:
>
> On 27.07.2009, at 13:11, Sid Boyce wrote:
>
>> On 27/07/09 06:36, Alexander Graf wrote:
>>>
>>> On 26.07.2009, at 23:59, Sid Boyce wrote:
>>>
>>>> On 26/07/09 19:18, Avi Kivity wrote:
>>>>> On 07/26/2009 09:14 PM, Sid Boyce wrote:
>>>>>>
>>>>>>> Is this a regression from previous kernel versions? What userspace
>>>>>>> are
>>>>>>> you using?
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Currently running 2.6.31-rc4 with the original kqemu-1.4.0pre1 on
>>>>>> openSUSE 11.2 Milestone 4 and it boots OK - a 200G disk image used.
>>>>>> qemu-system-x86_64 -cdrom /ISO/osol-0906-ai-x86.iso -boot d
>>>>>> /osol0906.qcow2 -smp 4 -m 500M&
>>>>>>
>>>>>
>>>>> Wait, are you using kqemu or kvm?
>>>>>
>>>>
>>>> # l /dev/kvm
>>>> crw-rw----+ 1 root root 10, 232 2009-07-24 20:26 /dev/kvm
>>>> # lsmod|grep kvm
>>>> kvm_amd 41908 0
>>>> kvm 180488 1 kvm_amd
>>>>
>>>> From long ago I read that kvm needed kqemu, so I have always built the
>>>> module, but I see here it's not used.
>>>> lsmod|grep qemu
>>>> kqemu 173496 0
>>>>
>>>> # rpm -qf /usr/bin/qemu-system-x86_64
>>>> qemu-0.10.1-2.21
>>>
>>> You're not using KVM. "Qemu" is the non-KVM version.
>>>
>>> Maybe uli activated the preliminary kvm support in there, but if you
>>> want the real deal, install the "kvm" package and use /usr/bin/qemu-kvm.
>>>
>>> Alex
>>>
>>>
>>>
>>
>> Thanks, I shall check that out, no mention of x86_64, but I shall have a
>> look at the stuff below.
>> From Documentation/ia64/kvm.txt
>> 1. Get the kvm source from git.kernel.org.
>> Userspace source:
>> git clone
>> git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git
>
> (leaving out the MLs since this really doesn't belong there)
>
> Just do "zypper in kvm" and you should be set.
>
> Alex
>
>
>
Thanks, I had kvm-kmp-default locked, so that's no doubt why kvm isn't
installed.
Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks