All of lore.kernel.org
 help / color / mirror / Atom feed
* Yocto in Virtualbox
@ 2012-02-08  8:14 cnxsoft
  2012-02-08 14:06 ` autif khan
  2012-02-08 17:00 ` Yocto in Virtualbox Scott Garman
  0 siblings, 2 replies; 11+ messages in thread
From: cnxsoft @ 2012-02-08  8:14 UTC (permalink / raw)
  To: yocto

Hi,

I have build x86 qemu image using "bitbake -k core-image-sato" following 
the instructions given at 
http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html
I'm running Ubuntu 11.10 in VirtualBox 4.1.6.

When I run qemu, qemu starts apparently fine, but the qemu window stays 
black. So I'm suspecting that either it does not work in Virtualbox or I 
may have tochange some settings in qemu (e.g. -vga vmware).

Here's the output:

runqemu qemux86

Continuing with the following parameters:
KERNEL: 
[/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/bzImage-qemux86.bin]
ROOTFS: 
[/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/core-image-minimal-qemux86.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
Starting distccd...
Running qemu...
/home/jaufranc/edev/edison-6.0-build/tmp/sysroots/i686-linux/usr/bin/qemu -kernel 
/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/bzImage-qemux86.bin 
-net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -hda 
/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/core-image-minimal-qemux86.ext3 
-show-cursor -usb -usbdevice wacom-tablet -vga vmware -enable-gl 
-no-reboot -m 128 --append "vga=0 root=/dev/hda rw mem=128M 
ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 "
Enabling opengl


Thanks.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox
  2012-02-08  8:14 Yocto in Virtualbox cnxsoft
@ 2012-02-08 14:06 ` autif khan
  2012-02-08 14:18   ` cnxsoft
  2012-02-08 17:00 ` Yocto in Virtualbox Scott Garman
  1 sibling, 1 reply; 11+ messages in thread
From: autif khan @ 2012-02-08 14:06 UTC (permalink / raw)
  To: cnxsoft; +Cc: yocto

On Wed, Feb 8, 2012 at 3:14 AM, cnxsoft <cnxsoft@cnx-software.com> wrote:
> Hi,
>
> I have build x86 qemu image using "bitbake -k core-image-sato" following the
> instructions given at
> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html
> I'm running Ubuntu 11.10 in VirtualBox 4.1.6.
>
> When I run qemu, qemu starts apparently fine, but the qemu window stays
> black. So I'm suspecting that either it does not work in Virtualbox or I may
> have tochange some settings in qemu (e.g. -vga vmware).
>
> Here's the output:
>
> runqemu qemux86
>
> Continuing with the following parameters:
> KERNEL:
> [/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/bzImage-qemux86.bin]
> ROOTFS:
> [/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/core-image-minimal-qemux86.ext3]
> FSTYPE: [ext3]
> Setting up tap interface under sudo
> Acquiring lockfile for tap0...
> Starting distccd...
> Running qemu...
> /home/jaufranc/edev/edison-6.0-build/tmp/sysroots/i686-linux/usr/bin/qemu
> -kernel
> /home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/bzImage-qemux86.bin
> -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -hda
> /home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/core-image-minimal-qemux86.ext3
> -show-cursor -usb -usbdevice wacom-tablet -vga vmware -enable-gl -no-reboot
> -m 128 --append "vga=0 root=/dev/hda rw mem=128M
> ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 "
> Enabling opengl
>

So, what is the problem?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox
  2012-02-08 14:06 ` autif khan
@ 2012-02-08 14:18   ` cnxsoft
  2012-02-09  3:11     ` David Smoot
  0 siblings, 1 reply; 11+ messages in thread
From: cnxsoft @ 2012-02-08 14:18 UTC (permalink / raw)
  To: autif khan; +Cc: yocto

On 08/02/2012 21:06, autif khan wrote:
> On Wed, Feb 8, 2012 at 3:14 AM, cnxsoft<cnxsoft@cnx-software.com>  wrote:
>> Hi,
>>
>> I have build x86 qemu image using "bitbake -k core-image-sato" following the
>> instructions given at
>> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html
>> I'm running Ubuntu 11.10 in VirtualBox 4.1.6.
>>
>> When I run qemu, qemu starts apparently fine, but the qemu window stays
>> black. So I'm suspecting that either it does not work in Virtualbox or I may
>> have tochange some settings in qemu (e.g. -vga vmware).
>>
>> Here's the output:
>>
>> runqemu qemux86
>>
>> Continuing with the following parameters:
>> KERNEL:
>> [/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/bzImage-qemux86.bin]
>> ROOTFS:
>> [/home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/core-image-minimal-qemux86.ext3]
>> FSTYPE: [ext3]
>> Setting up tap interface under sudo
>> Acquiring lockfile for tap0...
>> Starting distccd...
>> Running qemu...
>> /home/jaufranc/edev/edison-6.0-build/tmp/sysroots/i686-linux/usr/bin/qemu
>> -kernel
>> /home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/bzImage-qemux86.bin
>> -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -hda
>> /home/jaufranc/edev/edison-6.0-build/tmp/deploy/images/core-image-minimal-qemux86.ext3
>> -show-cursor -usb -usbdevice wacom-tablet -vga vmware -enable-gl -no-reboot
>> -m 128 --append "vga=0 root=/dev/hda rw mem=128M
>> ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 "
>> Enabling opengl
>>
> So, what is the problem?

Qemu starts apparently fine, but the qemu window stays black.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox
  2012-02-08  8:14 Yocto in Virtualbox cnxsoft
  2012-02-08 14:06 ` autif khan
@ 2012-02-08 17:00 ` Scott Garman
  2012-02-09  2:01   ` cnxsoft
  1 sibling, 1 reply; 11+ messages in thread
From: Scott Garman @ 2012-02-08 17:00 UTC (permalink / raw)
  To: yocto

On 02/08/2012 12:14 AM, cnxsoft wrote:
> Hi,
>
> I have build x86 qemu image using "bitbake -k core-image-sato" following
> the instructions given at
> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html
> I'm running Ubuntu 11.10 in VirtualBox 4.1.6.
>
> When I run qemu, qemu starts apparently fine, but the qemu window stays
> black. So I'm suspecting that either it does not work in Virtualbox or I
> may have tochange some settings in qemu (e.g. -vga vmware).

Have you installed the Virtualbox guest additions within your VM?

Fwiw I've not run into any issues doing this with a Fedora 14 and Fedora 
16 VM (other than the builds themselves being dog slow). I make sure to 
install the guest additions in all my VMs.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox
  2012-02-08 17:00 ` Yocto in Virtualbox Scott Garman
@ 2012-02-09  2:01   ` cnxsoft
  2012-02-09  2:56     ` Scott Garman
  0 siblings, 1 reply; 11+ messages in thread
From: cnxsoft @ 2012-02-09  2:01 UTC (permalink / raw)
  To: yocto

On 09/02/2012 00:00, Scott Garman wrote:
> On 02/08/2012 12:14 AM, cnxsoft wrote:
>> Hi,
>>
>> I have build x86 qemu image using "bitbake -k core-image-sato" following
>> the instructions given at
>> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html 
>>
>> I'm running Ubuntu 11.10 in VirtualBox 4.1.6.
>>
>> When I run qemu, qemu starts apparently fine, but the qemu window stays
>> black. So I'm suspecting that either it does not work in Virtualbox or I
>> may have tochange some settings in qemu (e.g. -vga vmware).
>
> Have you installed the Virtualbox guest additions within your VM?
>
> Fwiw I've not run into any issues doing this with a Fedora 14 and 
> Fedora 16 VM (other than the builds themselves being dog slow). I make 
> sure to install the guest additions in all my VMs.
>
> Scott
>
Thanks Scott.  Yes, I have Virtual Box guest additions installed. My 
host is running Windows XP btw. And yes it was slow...the build for 
core-image-minimal took around 36 hours...
I found a link with a Virtual Box issue 
(https://wiki.yoctoproject.org/wiki/Build_Appliance_Design), but it seem 
related to the build itself rather than an issue while running qemu.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox
  2012-02-09  2:01   ` cnxsoft
@ 2012-02-09  2:56     ` Scott Garman
  0 siblings, 0 replies; 11+ messages in thread
From: Scott Garman @ 2012-02-09  2:56 UTC (permalink / raw)
  To: yocto

On 02/08/2012 06:01 PM, cnxsoft wrote:
> On 09/02/2012 00:00, Scott Garman wrote:
>> On 02/08/2012 12:14 AM, cnxsoft wrote:
>>> Hi,
>>>
>>> I have build x86 qemu image using "bitbake -k core-image-sato" following
>>> the instructions given at
>>> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html
>>>
>>> I'm running Ubuntu 11.10 in VirtualBox 4.1.6.
>>>
>>> When I run qemu, qemu starts apparently fine, but the qemu window stays
>>> black. So I'm suspecting that either it does not work in Virtualbox or I
>>> may have tochange some settings in qemu (e.g. -vga vmware).
>>
>> Have you installed the Virtualbox guest additions within your VM?
>>
>> Fwiw I've not run into any issues doing this with a Fedora 14 and
>> Fedora 16 VM (other than the builds themselves being dog slow). I make
>> sure to install the guest additions in all my VMs.
>>
>> Scott
>>
> Thanks Scott. Yes, I have Virtual Box guest additions installed. My host
> is running Windows XP btw. And yes it was slow...the build for
> core-image-minimal took around 36 hours...
> I found a link with a Virtual Box issue
> (https://wiki.yoctoproject.org/wiki/Build_Appliance_Design), but it seem
> related to the build itself rather than an issue while running qemu.

Hmmm...I'm not sure what to tell you. Really grasping for straws here - 
one thing you could try is to export the image and load it into VMWare 
Player and see if there is any difference. If not, that would implicate 
the guest distro (Ubuntu 11.10).

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox
  2012-02-08 14:18   ` cnxsoft
@ 2012-02-09  3:11     ` David Smoot
  2012-02-09  3:15       ` Scott Garman
  0 siblings, 1 reply; 11+ messages in thread
From: David Smoot @ 2012-02-09  3:11 UTC (permalink / raw)
  To: cnxsoft, yocto


On Feb 8, 2012, at 8:18 AM, cnxsoft wrote:

On 08/02/2012 21:06, autif khan wrote:
> On Wed, Feb 8, 2012 at 3:14 AM, cnxsoft<cnxsoft@cnx-software.com>  wrote:
>> Hi,
>> 
>> .255.0 oprofile.timer=1 "
>> Enabling opengl
>> 
> So, what is the problem?

>Qemu starts apparently fine, but the qemu window stays black.

I would try one of the pre-built images to isolate the problem between running inside virtualbox and your build. 


_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

David Smoot
davidsmoot@gmail.com





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox
  2012-02-09  3:11     ` David Smoot
@ 2012-02-09  3:15       ` Scott Garman
  2012-02-09  8:50         ` Yocto in Virtualbox (Ubuntu 11.10) cnxsoft
  0 siblings, 1 reply; 11+ messages in thread
From: Scott Garman @ 2012-02-09  3:15 UTC (permalink / raw)
  To: yocto

On 02/08/2012 07:11 PM, David Smoot wrote:
>
> On Feb 8, 2012, at 8:18 AM, cnxsoft wrote:
>
> On 08/02/2012 21:06, autif khan wrote:
>> On Wed, Feb 8, 2012 at 3:14 AM, cnxsoft<cnxsoft@cnx-software.com>   wrote:
>>> Hi,
>>>
>>> .255.0 oprofile.timer=1 "
>>> Enabling opengl
>>>
>> So, what is the problem?
>
>> Qemu starts apparently fine, but the qemu window stays black.
>
> I would try one of the pre-built images to isolate the problem between running inside virtualbox and your build.

This would be much quicker to test than my "export to VMWare Player" 
suggestion. I'd definitely try this first.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox (Ubuntu 11.10)
  2012-02-09  3:15       ` Scott Garman
@ 2012-02-09  8:50         ` cnxsoft
  2012-02-09 16:44           ` Scott Garman
  0 siblings, 1 reply; 11+ messages in thread
From: cnxsoft @ 2012-02-09  8:50 UTC (permalink / raw)
  To: yocto

On 09/02/2012 10:15, Scott Garman wrote:
> On 02/08/2012 07:11 PM, David Smoot wrote:
>>
>> On Feb 8, 2012, at 8:18 AM, cnxsoft wrote:
>>
>> On 08/02/2012 21:06, autif khan wrote:
>>> On Wed, Feb 8, 2012 at 3:14 AM, cnxsoft<cnxsoft@cnx-software.com>   
>>> wrote:
>>>> Hi,
>>>>
>>>> .255.0 oprofile.timer=1 "
>>>> Enabling opengl
>>>>
>>> So, what is the problem?
>>
>>> Qemu starts apparently fine, but the qemu window stays black.
>>
>> I would try one of the pre-built images to isolate the problem 
>> between running inside virtualbox and your build.
>
> This would be much quicker to test than my "export to VMWare Player" 
> suggestion. I'd definitely try this first.
>
> Scott
>
FYI.  have done some further tests with the prebuilt binaries and 
toolchain (yocto-eglibc-i686-i586-toolchain-gmae-1.0.tar.bz2, 
bzImage-2.6.37-qemux86-1.0.bin and 
yocto-image-minimal-dev-qemux86-1.0.rootfs.ext3).

With Ubuntu 11.10 (Virtual Box), it fails with the same black screen.
With Debian Squeeze 6.0.3 (inside Virtual Box), it works fine.

PS: For Ubuntu, poky-qemu script to pass libGL detection.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox (Ubuntu 11.10)
  2012-02-09  8:50         ` Yocto in Virtualbox (Ubuntu 11.10) cnxsoft
@ 2012-02-09 16:44           ` Scott Garman
  2012-02-10  8:52             ` cnxsoft
  0 siblings, 1 reply; 11+ messages in thread
From: Scott Garman @ 2012-02-09 16:44 UTC (permalink / raw)
  To: yocto

On 02/09/2012 12:50 AM, cnxsoft wrote:
> FYI. have done some further tests with the prebuilt binaries and
> toolchain (yocto-eglibc-i686-i586-toolchain-gmae-1.0.tar.bz2,
> bzImage-2.6.37-qemux86-1.0.bin and
> yocto-image-minimal-dev-qemux86-1.0.rootfs.ext3).
>
> With Ubuntu 11.10 (Virtual Box), it fails with the same black screen.
> With Debian Squeeze 6.0.3 (inside Virtual Box), it works fine.
>
> PS: For Ubuntu, poky-qemu script to pass libGL detection.

Thank you for reporting this, I have filed the following bug to track 
this issue:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1971

Are you using the default user interface (Unity) in your Ubuntu setup?

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Yocto in Virtualbox (Ubuntu 11.10)
  2012-02-09 16:44           ` Scott Garman
@ 2012-02-10  8:52             ` cnxsoft
  0 siblings, 0 replies; 11+ messages in thread
From: cnxsoft @ 2012-02-10  8:52 UTC (permalink / raw)
  To: yocto

On 09/02/2012 23:44, Scott Garman wrote:
> On 02/09/2012 12:50 AM, cnxsoft wrote:
>> FYI. have done some further tests with the prebuilt binaries and
>> toolchain (yocto-eglibc-i686-i586-toolchain-gmae-1.0.tar.bz2,
>> bzImage-2.6.37-qemux86-1.0.bin and
>> yocto-image-minimal-dev-qemux86-1.0.rootfs.ext3).
>>
>> With Ubuntu 11.10 (Virtual Box), it fails with the same black screen.
>> With Debian Squeeze 6.0.3 (inside Virtual Box), it works fine.
>>
>> PS: For Ubuntu, poky-qemu script to pass libGL detection.
>
> Thank you for reporting this, I have filed the following bug to track 
> this issue:
>
> http://bugzilla.pokylinux.org/show_bug.cgi?id=1971
>
> Are you using the default user interface (Unity) in your Ubuntu setup?
>
> Scott
>
Yes, I'm using the Unity user interface.

Just one detail. By mistake, yesterday I used Yocto 1.0 toolchain and 
pre-built binaries. I've tried again with with Yocto 1.1 and I did not 
need to change any script, but the black screen issue still occurs.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-02-10  8:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-08  8:14 Yocto in Virtualbox cnxsoft
2012-02-08 14:06 ` autif khan
2012-02-08 14:18   ` cnxsoft
2012-02-09  3:11     ` David Smoot
2012-02-09  3:15       ` Scott Garman
2012-02-09  8:50         ` Yocto in Virtualbox (Ubuntu 11.10) cnxsoft
2012-02-09 16:44           ` Scott Garman
2012-02-10  8:52             ` cnxsoft
2012-02-08 17:00 ` Yocto in Virtualbox Scott Garman
2012-02-09  2:01   ` cnxsoft
2012-02-09  2:56     ` Scott Garman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.