how to install Genode on PC machine

Ivan Loskutov loskutov.ivan at ...9...
Sun Apr 14 17:46:57 CEST 2013


Hi Yuqing,
I'll upload ipxe with my changes to Github in few days.
About hardcode address I've mean that I manually set loading address in
iPXE loader to bigest region of memory layout my PC. Because ipxe has
selected small region which has not enought space for my image.

--
Ivan Loskutov



2013/4/14 yuqing wang <happymoodmglm at ...9...>

> Hi,
> Can you tell me the details about how to use iPXE for boot l4linux.I
> browse the webpage of iPXE, can only find a useful example of
> network-booting windows PE.
> I conclude the process of booting windows PE in three steps
> step 1:  move the kernal and module files to a directory on the web server
> step 2:  create a file named boot.ipxe in the same directory, the content
> of the file is a little like menu.lst in Grub
>
>   #!ipxe
>
>   cpuid --ext 29 && set arch amd64 || set arch x86
>   kernel wimboot
>   initrd ${arch}/media/bootmgr                     bootmgr
>   initrd ${arch}/media/Boot/BCD                    BCD
>   initrd ${arch}/media/Boot/Fonts/segmono_boot.ttf segmono_boot.ttf
>   initrd ${arch}/media/Boot/Fonts/segoe_slboot.ttf segoe_slboot.ttf
>   initrd ${arch}/media/Boot/Fonts/wgl4_boot.ttf    wgl4_boot.ttf
>   initrd ${arch}/media/Boot/boot.sdi               boot.sdi
>   initrd ${arch}/media/sources/boot.wim            boot.wim
>   boot
>
> step 3: in client uses the iPXE command to boot from server. maybe :  #>
> chain http://myserver/ipxe/boot.ipxe
> I not sure if i can use the same way to boot l4linux.
>
> >Memory is not continious.  And Genode's memory manager has strange
> behavior with this. May be people from Genode can help with this.
> >I've temporary solve this issue via hardcode start loading adress to
> 0x40200000 in iPXE multiboot loader. And I've modify bootstrap modaddr to
> 0x80000000.
> I know 'bootstrap modaddr' sentence is in the menu.lst where i can modify
> it .I don't understand the meaning of "hardcode start loading adress to
> 0x40200000 in iPXE multiboot loader"
>
>
> 2013/4/10 Ivan Loskutov <loskutov.ivan at ...9...>
>
>>
>> 2013/4/10 yuqing wang <happymoodmglm at ...9...>
>>
>>> I downgrade qemu,fedora can start now.
>>> But fedora can not connect to the internet in qemu,it is strange.The log
>>> file is attached.
>>>
>> For connect to the internet you need configure ethernet in l4linux. I
>> didn't do auto configuration in this rootfs. Try do:
>> ifconfig eth0 up
>> dhclient eth0& - if you use dhcp server in your network.
>>
>>
>>
>>> My research is based on the network of l4linux running on real machine,I
>>> think if i have a try of your experiment about network performance of
>>> l4linux ,it would help me a lot.
>>>  My PC hardware:
>>> motherboard:        Intel Q77
>>> CPU:                     Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
>>> Ethernet:               intel 82579LM
>>> RAM:                     4G
>>> I burn the fedora.iso in a cd,try to run it on my PC,but the l4linux
>>> hangs,show these message:
>>>
>>> [ 60.001054]INFO:rcu_sched detected stalls on CPUs/tasks: { 1} (detected
>>> by 0, t= 6002 jiffies)
>>> [ 60.001657]INFO:Stall ended before state dump start
>>> [ 236.893706]INFO:rcu_sched detected stalls on CPUs/tasks: { 1}
>>> (detected by 0, t= 24007 jiffies)
>>> [ 236.894303]INFO:Stall ended before state dump start
>>> [ 413.786348]INFO:rcu_sched detected stalls on CPUs/tasks: { 1}
>>> (detected by 0, t= 42012 jiffies)
>>> [ 413.786943]INFO:Stall ended before state dump start
>>> [ 590.678987]INFO:rcu_sched detected stalls on CPUs/tasks: { 1}
>>> (detected by 0, t= 60017 jiffies)
>>> [ 590.679596]INFO:Stall ended before state dump start
>>>
>>> I am not sure whether it's something wrong during my build process or my
>>> hardware don't fit the l4linux.
>>> Could you make your fedora.iso file available on net ,so i can download
>>> and have a try .I think this would help me to find where is wrong.
>>>
>> I have issues with boot on real hardware too. I've tried use Grub 1, Grub
>> 2 and iPXE for boot.
>> My target PC has memory layout different from qemu, this part of log l4
>> bootstraper from my PC:
>>
>> Limiting RAM region   [ bce73000,  bcffffff] {   18d000} to   [ bce73000,
>>  bcffffff] {   18d000} due to 3024 MB limit
>>   Dropping RAM region   [100000000, 23e5fffff] {13e600000} due to 3024 MB
>> limit
>>   RAM: 0000000000000000 - 000000000009ebff: 635kB
>>   RAM: 0000000000100000 - 000000001fffffff: 523264kB
>>   RAM: 0000000020200000 - 000000003fffffff: 522240kB
>>   RAM: 0000000040200000 - 00000000bbd36fff: 2026716kB
>>   RAM: 00000000bcde8000 - 00000000bcde8fff: 4kB
>>   RAM: 00000000bce73000 - 00000000bcffffff: 1588kB
>>
>> Memory is not continious.  And Genode's memory manager has strange
>> behavior with this. May be people from Genode can help with this.
>> I've temporary solve this issue via hardcode start loading adress to
>> 0x40200000 in iPXE multiboot loader. And I've modify bootstrap modaddr to
>> 0x80000000.
>> With these changes I can boot PC but have only 2G memory for using. I
>> don't try to understand how to work it yet. I'm going to prepare more
>> information and open issue on Genode's bug tracker.
>>
>> Maybe you have the same issue for your hardware.
>>
>>
>>
>> --
>> Ivan Loskutov
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Precog is a next-generation analytics platform capable of advanced
>> analytics on semi-structured data. The platform includes APIs for building
>> apps and a phenomenal toolset for data science. Developers can use
>> our toolset for easy data analysis & visualization. Get a free account!
>> http://www2.precog.com/precogplatform/slashdotnewsletter
>> _______________________________________________
>> Genode-main mailing list
>> Genode-main at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>
>>
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20130414/eea15b03/attachment.html>


More information about the users mailing list