2013/4/15 Ivan Loskutov <loskutov.ivan@...9...>
I've upload ipxe to github https://github.com/Ksys-labs/ipxe/tree/boot_l4linux
First you need build ipxe. Go to ipxe source folder. If you would like to have autoboot you need embedd start script for ipxe. Create script boot.ipxe with context like this: #!ipxe :retry_dhcp dhcp || goto retry_dhcp echo Booting from tftp://10.0.0.1/genode/genode.ipxehttp://10.0.0.1/genode.ipxe chain tftp://10.0.0.1/genode/genode.ipxe
Build ipxe with command: make EMBED="boot.ipxe"
Copy your files to tftp folder genode and create genode.ipxe script like this: #!ipxe kernel bootstrap -modaddr 0x80000000 module fiasco -serial_esc module sigma0 module core module config module init module timer module uart_drv module atapi_drv module acpi_drv module part_blk module rom_loopdev module pci_drv module ps2_drv module vesa_drv module nic_drv module l4linux-ata module fedora-initrd.cpio.gz module fedora18.img vbeset 0x117 boot
-- Ivan Loskutov
I have use the iPXE's sanboot feature. This allows to directly boot the
Genode's ISO without writing the boot script. However, it needs the http server. I used NGINX, but lighttpd should be also fine.
2013/4/14 yuqing wang <happymoodmglm@...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@...9...>
2013/4/10 yuqing wang <happymoodmglm@...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@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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main