[oi-dev] 1479 Qemu delivered by pkg:/system/qemu/kvm is broken

Garrett D'Amore garrett at damore.org
Thu Sep 8 15:50:54 UTC 2011


On Sep 8, 2011, at 8:42 AM, Andrzej Szeszo wrote:

> Hi Garrett
> 
> I propose the change to workaround the problem for now to make qemu-kvm more usable. It is not a proper fix I agree.
> 
> Without --enable-debug, CentOS 6 ISO fails to uncompress initial ramdisk and kernel is unable to find root device because of that . Illumos guests get stuck at boot and are not usable at all. Ubuntu guests seem to be fine.
> 
> With --enable-debug CentOS and Illumos guests run fine.
> 
> --enable-debug seems to be set by default by Joyent's build.sh sript used to build Qemu.
> 
> We can wait for a proper fix I guess. Robert Mustacchi from Joyent is looking at the problem already.
> 
> In the mean time though qemu-kvm from the repo will have limited use.

My biggest fear is that band-aids like this underscore a lack of understanding of the problem.  Which means you may have just deferred the problem to another point rather than actually fixing anything.  The other fear is that a band aid like this can result in a situation where the root cause is never properly investigated because folks are "satisfied" with the work around.

I'd suggest spending at least a couple of days trying to analyze the problem before giving up and using the workaround.

	- Garrett

> 
> Andrzej
> 
> On 08/09/2011 16:15, Garrett D'Amore wrote:
>> This feels like a hack rather than a fix.  And a poor one at that.  The upstream bug indicates that the upstream have no such problems, and the failure seen is indicative of a failure to find the boot device in the guest.  I recommend further investigation.
>> 
>> 	- Garrett
>> 
>> On Sep 8, 2011, at 7:28 AM, Andrzej Szeszo wrote:
>> 
>>> I propose the change below to workaround https://www.illumos.org/issues/1479
>>> 
>>> diff --git a/components/qemu-kvm/Makefile b/components/qemu-kvm/Makefile
>>> --- a/components/qemu-kvm/Makefile
>>> +++ b/components/qemu-kvm/Makefile
>>> @@ -46,6 +46,7 @@
>>> CONFIGURE_OPTIONS += --disable-kvm-device-assignment
>>> CONFIGURE_OPTIONS += --enable-trace-backend=dtrace
>>> CONFIGURE_OPTIONS += --target-list="i386-softmmu x86_64-softmmu"
>>> +CONFIGURE_OPTIONS += --enable-debug
>>> 
>>> COMPONENT_BUILD_ENV += PATH=$(PATH):/usr/sbin
>>> 
>>> Andrzej
>>> 
>>> 
>>> _______________________________________________
>>> oi-dev mailing list
>>> oi-dev at openindiana.org
>>> http://openindiana.org/mailman/listinfo/oi-dev
>> 
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> http://openindiana.org/mailman/listinfo/oi-dev
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev





More information about the oi-dev mailing list