running VirtualBox on Genode
Alexander Boettcher
alexander.boettcher at ...1...
Wed Jul 29 09:49:38 CEST 2015
Hello,
On 29.07.2015 08:44, Daren Sin wrote:
> I seem to have found the problem. Now, I would like to run some other
Can you give some short note what was the issue and how you fixed it? We
can use this knowledge to improve things on our side (error messages,
checks, correlate it to other issues we already identified but not rated
high priority enough to be fixed soon ...). Thanks.
> (larger) OS on Virtualbox, instead of the Tiny Core Linux, which was
> previously suggested that I run. However, how should I go about doing this,
> because if I simply swap the test.iso file to a bigger file, I would get an
> error
The run script is not suited well for big(ger) images, since everything
first gets loaded by the bootloader into RAM and stays there. So,
effectively you have less memory actually during runtime (if you ever
manage to load everything).
>
>>> "Want to load module to 0xbe9000 len 0x3e400000 but only have 0x27ffe000
> RAM"
That is a message of Grub complaining about having insufficient RAM
space to load everything.
For bigger images, we put it typically in one partition on the harddisk
using ext2. We use than our ahci driver + part_blk + rump_fs (for ext2)
to load the images (.vdi) directly from the disk. This is done by our
vbox test run scripts executed every night automatically to test
win7/win8 - look for repos/ports/run/vbox_auto_*.run. This is all bit
advanced (but doable) and needs to be setup for your machine
accordingly. The vbox_auto_*.run can serve you as blue-print.
The other option is to read the images from a usb stick with usb driver
+ part_blk + rump_fs, but this needs some manually tweaking/work by you
- [0] could be maybe of use here.
[0]
http://genode.org/documentation/release-notes/14.08#Booting_from_a_GRUB2_disk_image_with_an_ext2_partition
Cheers,
Alex.
>
> I inspected the virtualbox.run file, and experimented with changing some of
> the quantum values, but to no avail. What should I do here?
>
> Daren
>
> On Wed, Jul 22, 2015 at 8:46 PM, Alexander Boettcher <
> alexander.boettcher at ...1...> wrote:
>
>> Hello,
>>
>> On 20.07.2015 10:43, Daren Sin wrote:
>>> I waited for there seemed to be no further progress. I tried other
>>> solutions suggested by searches online, such as using UNetBootin on
>> Ubuntu,
>>> but was directed to a grub interface, saying that the kernel image was
>>> corrupt. I also tried burning it on a DVD instead.
>>
>> the output looks actually good in that regard that the kernel came up -
>> so you did all right with copying the image to the stick. Still,
>> something is wrong and we need the serial output of the machine to see
>> what is ongoing, as Nobody III suggested already. If you adventures
>> enough, you may also apply the last commit of the following experimental
>> branch [0] to your branch and rebuild - with that you should get some
>> limited output on the VGA console screen.
>>
>> Cheers,
>>
>> Alex.
>>
>> [0] https://github.com/alex-ab/genode/commits/experimental_vga_console
>>
>>>
>>> Am I doing something by mistake, like using the wrong commands?
>>>
>>> Daren
>>>
>>> On Mon, Jul 13, 2015 at 5:13 PM, Alexander Boettcher <
>>> alexander.boettcher at ...1...> wrote:
>>>
>>>> Hello,
>>>>
>>>> On 13.07.2015 11:04, Daren Sin wrote:
>>>>> In order to run from my USB, where should I obtain the .iso file from?
>>>>
>>>> The iso image of the VM (test.iso for virtualbox.run) is part of the
>>>> generated Genode iso image in your build directory
>>>> (<build_dir>/var/run/virtualbox.iso). Just copy the Genode iso to your
>>>> usb stick by using dd.
>>>>
>>>> Cheers,
>>>>
>>>> Alex.
>>>>
>>>>>
>>>>> Cheers
>>>>> Daren
>>>>>
>>>>> On Fri, Jul 10, 2015 at 5:15 PM, Alexander Boettcher <
>>>>> alexander.boettcher at ...1...> wrote:
>>>>>
>>>>>> On 10.07.2015 10:36, Daren Sin wrote:
>>>>>>> Hi Alex and Christian,
>>>>>>>
>>>>>>> Really really thankful for the advice; apologies for the spoonfeeding
>>>> as
>>>>>>> well. Making changes to virtualbox.run, I've managed to boot up
>>>> TinyLinux
>>>>>>> on QEMU, but while QEMU says "booting kernel", the terminal reflects:
>>>>>>>
>>>>>>> ...
>>>>>>> [init -> virtualbox] attempted to write to non-existing port 0xa79+1
>> .
>>>>>> (02)
>>>>>>> [init -> virtualbox] attempted to write to non-existing port 0xa79+1
>> .
>>>>>> (05)
>>>>>>> [init -> virtualbox] attempted to write to non-existing port 0xa79+1
>> .
>>>>>> (02)
>>>>>>> [init -> virtualbox] attempted to write to non-existing port 0xa79+1
>> .
>>>>>> (00)
>>>>>>> [init -> virtualbox] VMM: invalid gueststate
>>>>>>> [init -> virtualbox] VMM: invalid gueststate
>>>>>>> [init -> virtualbox] VMM: invalid gueststate
>>>>>>> [init -> virtualbox] VMM: invalid gueststate
>>>>>>
>>>>>> I have another workaround to get a bit further, but finally Qemu for
>> me
>>>>>> (version 2.1.2 and 2.3.0) dies with an internal failure - so it will
>> of
>>>>>> no help to you. Please do as Christian suggested.
>>>>>>
>>>>>> Alex.
>>>>>>
>>>>>>> ...
>>>>>>>
>>>>>>> On Fri, Jul 10, 2015 at 3:23 PM, Alexander Boettcher <
>>>>>>> alexander.boettcher at ...1...> wrote:
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> On 10.07.2015 08:13, Daren Sin wrote:
>>>>>>>>> [init -> acpi] Could not open ROM session for module "config"
>>>>>>>>> [init -> acpi] void* abort(): abort called
>>>>>>>>
>>>>>>>> That it the actual reason, the acpi driver did not find a
>>>> configuration
>>>>>>>> xml node. The issue got fixed already on current Genode master
>> branch,
>>>>>>>> but for now you may apply the following fix [0]. Nevertheless,
>> please
>>>>>>>> consider the suggestions of Christian Helmuth.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>>
>>>>>>>> Alex.
>>>>>>>>
>>>>>>>> [0]
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>> https://github.com/alex-ab/genode/commit/738ad842f546afef16f3eb642ca3ff5c7c36e0cd
>>>>>>>>>
>>>>>>>>> What might be the problem?
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>>
>>>>>>>>> On Wed, Jul 8, 2015 at 1:23 AM, Martin Stein <
>>>>>>>> martin.stein at ...1...>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Daren,
>>>>>>>>>>
>>>>>>>>>> On 08.07.2015 04:51, Daren Sin wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I've found this
>>>>>>>>>>> page
>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>> http://genode.org/documentation/release-notes/14.02#VirtualBox_on_top_of_the_NOVA_microhypervisor
>>>>>>>>>>> and managed to run the /make prepare/ command, but got stuck at
>> the
>>>>>>>> next
>>>>>>>>>>> one.
>>>>>>>>>>
>>>>>>>>>> The 'make prepare' mechanism is outdated. It has been replaced by
>>>> the
>>>>>>>>>> prepare_port command in tool/ports. Call the tool without
>> arguments
>>>>>> for
>>>>>>>>>> a short manpage.
>>>>>>>>>>
>>>>>>>>>>> I tried doing that, but got a /Error: libc is not
>>>>>>>>>>> prepared or outdated/ error.
>>>>>>>>>>
>>>>>>>>>> The error indicates that the third-party package "libc", which is
>>>>>> needed
>>>>>>>>>> for your scenario, is missing or too old. You can update it by
>> doing
>>>>>>>>>> './prepare_port libc' in tool/ports. There may be further
>>>> third-party
>>>>>>>>>> packages (ports) that need such treatment.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Martin
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>>>>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>>>>>>> GigeNET's Cloud Solutions provide you with the tools and support
>>>> that
>>>>>>>>>> you need to offload your IT needs and focus on growing your
>>>> business.
>>>>>>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>>>>>>> https://www.gigenetcloud.com/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> genode-main mailing list
>>>>>>>>>> genode-main at lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>>>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>>>>>> GigeNET's Cloud Solutions provide you with the tools and support
>> that
>>>>>>>>> you need to offload your IT needs and focus on growing your
>> business.
>>>>>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>>>>>> https://www.gigenetcloud.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> genode-main mailing list
>>>>>>>>> genode-main at lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>>>>> GigeNET's Cloud Solutions provide you with the tools and support
>> that
>>>>>>>> you need to offload your IT needs and focus on growing your
>> business.
>>>>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>>>>> https://www.gigenetcloud.com/
>>>>>>>> _______________________________________________
>>>>>>>> genode-main mailing list
>>>>>>>> genode-main at lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>>>>> you need to offload your IT needs and focus on growing your business.
>>>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>>>> https://www.gigenetcloud.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> genode-main mailing list
>>>>>>> genode-main at lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>>>> you need to offload your IT needs and focus on growing your business.
>>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>>> https://www.gigenetcloud.com/
>>>>>> _______________________________________________
>>>>>> genode-main mailing list
>>>>>> genode-main at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>>> you need to offload your IT needs and focus on growing your business.
>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>> https://www.gigenetcloud.com/
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> genode-main mailing list
>>>>> genode-main at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>
>>>>
>>>>
>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>> Don't Limit Your Business. Reach for the Cloud.
>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>> you need to offload your IT needs and focus on growing your business.
>>>> Configured For All Businesses. Start Your Cloud Today.
>>>> https://www.gigenetcloud.com/
>>>> _______________________________________________
>>>> genode-main mailing list
>>>> genode-main at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> ------------------------------------------------------------------------------
>>> Don't Limit Your Business. Reach for the Cloud.
>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>> you need to offload your IT needs and focus on growing your business.
>>> Configured For All Businesses. Start Your Cloud Today.
>>> https://www.gigenetcloud.com/
>>>
>>>
>>>
>>> _______________________________________________
>>> genode-main mailing list
>>> genode-main at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Don't Limit Your Business. Reach for the Cloud.
>> GigeNET's Cloud Solutions provide you with the tools and support that
>> you need to offload your IT needs and focus on growing your business.
>> Configured For All Businesses. Start Your Cloud Today.
>> https://www.gigenetcloud.com/
>> _______________________________________________
>> genode-main mailing list
>> genode-main at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> genode-main mailing list
> genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
More information about the users
mailing list