how to install Genode on PC machine

yuqing wang happymoodmglm at ...9...
Wed Apr 10 15:23:41 CEST 2013


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.
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.
Regards
Yuqing Wang



2013/4/9 Ivan Loskutov <loskutov.ivan at ...9...>

> L4linux didn't start because atapi_drv crashed:
> [init -> atapi_drv] Io error!
> I have the same error with qemu-1.4.0 but it works with qemu-1.2.2. You
> can downgrade qemu or disable hard disk access in run script (attached).
>
> --
> Ivan Loskutov
>
>
>
> 2013/4/9 yuqing wang <happymoodmglm at ...9...>
>
>>  I downloaded the sources from branch staging ,when I tried fedora.run
>> run script, the system seemed to hang.
>>
>> The whole log file is attached.
>> The original fedora.run run script set the qemu memory to 3072M,but my
>> mechine only support 1024M,I am not sure if this cause the hangs.
>> I check the log file, find it lose some output which normally printed by
>> nic_drv.
>>
>> [init -> nic_drv] --- init iPXE NIC
>> [init -> nic_drv]     number of devices: 1
>> [init -> nic_drv] --- init rx_callbacks
>> [init -> nic_drv] --- get MAC address
>> [init -> nic_drv]     00:0e:04:00:03:16
>>
>> so I add some print function in the source file
>> genode/dde_ipxe/src/driver/nic/main.cc
>> According to the print message,in the nic-main.cc file, the create member
>> function of driver-factory class is not called.
>> Is this cause my hang?What do you suggest to fix this strange issue.
>> Regard.
>> Yuqing Wang.
>>
>>
>>
>> 2013/4/9 Ivan Loskutov <loskutov.ivan at ...9...>
>>
>>> Try sources from our fork https://github.com/Ksys-labs/genode from
>>> branch *staging*. You can try *fedora.run* run script from *iloskutov*folder. It worked for me on my hardware.
>>>
>>> --
>>> Ivan Loskutov
>>>
>>>
>>>
>>> 2013/4/8 yuqing wang <happymoodmglm at ...9...>
>>>
>>>> I update the patches  I can find related to issue #593 ,some are writed
>>>> by chelmuth and some by alex-ab .But the issue still occur.
>>>> I am not familiar with Github,maybe I missed some files,I will still
>>>> work on it.
>>>> When I try to find the patches  related to issue #593,I find that the
>>>> genode source tree I downloaded two or three weeks ago is not newest.Some
>>>> patches  I finded is released three months ago,but my source tree still
>>>> have the old files.
>>>> I download genode source tree from the website
>>>> https://github.com/genodelabs/genode.
>>>> Is there a way can update the whole source tree to make it have all
>>>> patches,or is there a website where we can always get the newest genode
>>>> source tree.
>>>> Regards.
>>>>
>>>> Yuqing Wang
>>>>
>>>>
>>>>
>>>>
>>>> 2013/4/8 Ivan Loskutov <loskutov.ivan at ...9...>
>>>>
>>>>> Try to apply patches from Christian Helmuth which related to issue
>>>>> #593 thread. This must partialy solve this issue. But sometimes I have the
>>>>> same messages too.
>>>>>
>>>>> --
>>>>> Ivan Loskutov
>>>>>
>>>>>
>>>>>
>>>>> 2013/4/8 yuqing wang <happymoodmglm at ...9...>
>>>>>
>>>>>> Hi Ivan,
>>>>>> Thank you.I read the mails at the website
>>>>>> https://github.com/genodelabs/genode/issues/593 ,and I find that
>>>>>> there is not a clear way to solve my issue.
>>>>>> I notice that you have tested the network performance of l4linux on
>>>>>> real hardware.The Ethernet card in your test is intel 82579LM.
>>>>>> Do you know the details about how to sovle my issue ? Or I should
>>>>>> change my Ethernet card to another one ,such as intel 82540EM or 82579LM?
>>>>>> Best.
>>>>>> Yuqing Wang.
>>>>>>
>>>>>>
>>>>>> 2013/4/8 Ivan Loskutov <loskutov.ivan at ...9...>
>>>>>>
>>>>>>> Hi,
>>>>>>> it's known issue https://github.com/genodelabs/genode/issues/593
>>>>>>>
>>>>>>> --
>>>>>>> Ivan Loskutov
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2013/4/8 yuqing wang <happymoodmglm at ...9...>
>>>>>>>
>>>>>>>>  Hi,
>>>>>>>> I want to run l4linux on real hardware to do some research about
>>>>>>>> its network.I use l4linux.run script to create the files which I would copy
>>>>>>>> to my hard disk.I also modified the menu.lst file in my PC according to the
>>>>>>>> menu.lst in l4linux.iso file created by run script.
>>>>>>>> The motherboard of my PC is DELL OptiPlex 330,CPU is Intel Pentium
>>>>>>>> dual e2180 @ 2.00GHz . It has a broadcom BCM5787 Enthernet Card on board
>>>>>>>> and I use  another intel 82541PI Ethernet Card.Because qemu use the intel
>>>>>>>> 82540 series Ethernet card as default,so I think intel 82541 is supported.
>>>>>>>> When I tried to boot l4linux from hard disk ,there is something
>>>>>>>> wrong with nic_drv:
>>>>>>>>
>>>>>>>> [init -> nic_drv] memory allocation failed in alloc_memblock
>>>>>>>> (size=2048, align=800, offset=0)
>>>>>>>> [init -> nic_drv] memory allocation failed in alloc_memblock
>>>>>>>> (size=2048, align=800, offset=0)
>>>>>>>>
>>>>>>>> the whole log file is attached.
>>>>>>>> I find the source file which would print the error message.It is
>>>>>>>> 'genode/dde_ipxe/src/lib/dde_ipxe/dde_support.cc', 'dde_alloc_memblock'
>>>>>>>> function.But I don't know how to debug it.
>>>>>>>> Any help is appreciated.
>>>>>>>> Regards.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2013/3/27 Jian Liu <gjk.liu at ...9...>
>>>>>>>>
>>>>>>>>> Thanks all, I will try it.
>>>>>>>>>
>>>>>>>>>       Jian LIU
>>>>>>>>> ----
>>>>>>>>> email to: gjk.liu at ...9...
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2013/3/27 Ivan Loskutov <loskutov.ivan at ...9...>
>>>>>>>>>
>>>>>>>>>> Hi Jian,
>>>>>>>>>>
>>>>>>>>>> I recommend you to make bootable USB flash or setup network boot.
>>>>>>>>>> For booting you can use Grub or Grub2, but genode's vesa driver
>>>>>>>>>> can't use some modern video adapters, and it can be solved with
>>>>>>>>>> using patched version of Grub from Adam Lackorzynski
>>>>>>>>>> http://os.inf.tu-dresden.de/~adam/grub/
>>>>>>>>>> Step-by-step guide with grub 1.xx bootloader:
>>>>>>>>>> 1. Create bootable USB-flash with grub 1.xx
>>>>>>>>>> 2. Copy directories fiasco and genode from your
>>>>>>>>>> BUILD_DIR/var/run/BUILD_NAME to usb disk, example for demo run script :
>>>>>>>>>> cd BUILD_DIR; cp -R var/run/demo/fiasco
>>>>>>>>>> /mnt/usb; cp -R var/run/demo/genode /mnt/usb
>>>>>>>>>> 3. Copy grub
>>>>>>>>>> config from BUILD_DIR/var/run/BUILD_NAME/boot/grub/menu.lst to usb disk,
>>>>>>>>>> example: cp var/run/demo/boot/grub/menu.lst /mnt/usb/boot/grub/menu.lst
>>>>>>>>>> 4. Boot from usb flash on PC
>>>>>>>>>>
>>>>>>>>>> If you would like to use Grub2 you need rewrite Grub menu.lst in
>>>>>>>>>> Grub2 format.
>>>>>>>>>>
>>>>>>>>>> Genode supports most of modern hardware, and you don't need
>>>>>>>>>> usually to special config for drivers.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Ivan Loskutov
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 2013/3/26 Jian Liu <ljian236 at ...9...>
>>>>>>>>>>
>>>>>>>>>>> Hi Norman,
>>>>>>>>>>>
>>>>>>>>>>>    With your help, I have now some experiences on Genode, such as
>>>>>>>>>>> building and demo it in Qemu. I have also learned about the whole
>>>>>>>>>>> structure of source code and some calling relastionship in the
>>>>>>>>>>> system.
>>>>>>>>>>> Now I try to install Genode in my PC (the physical machine) and
>>>>>>>>>>> boot
>>>>>>>>>>> it from hard drivers. So I can see avaliablity and response time
>>>>>>>>>>> from
>>>>>>>>>>> applications such as Arora, which is really some slow in Qemu.
>>>>>>>>>>> But I
>>>>>>>>>>> don't know to do it. Could you give me some directions? Thanks.
>>>>>>>>>>>
>>>>>>>>>>>    I have found some guy sent similar question in the mail list
>>>>>>>>>>> last year as,
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> http://sourceforge.net/mailarchive/forum.php?thread_name=4FB142EF.2080407%40genode-labs.com&forum_name=genode-main
>>>>>>>>>>>
>>>>>>>>>>>    But there is no detail explainations and steps how to do it. I
>>>>>>>>>>> wonder if there is any document on how to install Genode in a PC.
>>>>>>>>>>> Which hardwares does it support now? and how to config drivers
>>>>>>>>>>> code
>>>>>>>>>>> for network card, usb etc?
>>>>>>>>>>>
>>>>>>>>>>>      Best,
>>>>>>>>>>>
>>>>>>>>>>>      Jian
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Own the Future-Intel® Level Up Game Demo Contest 2013
>>>>>>>>>>> Rise to greatness in Intel's independent game demo contest.
>>>>>>>>>>> Compete for recognition, cash, and the chance to get your game
>>>>>>>>>>> on Steam. $5K grand prize plus 10 genre and skill prizes.
>>>>>>>>>>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Genode-main mailing list
>>>>>>>>>>> Genode-main at lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Own the Future-Intel® Level Up Game Demo Contest 2013
>>>>>>>>>> Rise to greatness in Intel's independent game demo contest.
>>>>>>>>>> Compete for recognition, cash, and the chance to get your game
>>>>>>>>>> on Steam. $5K grand prize plus 10 genre and skill prizes.
>>>>>>>>>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Genode-main mailing list
>>>>>>>>>> Genode-main at lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Own the Future-Intel® Level Up Game Demo Contest 2013
>>>>>>>>> Rise to greatness in Intel's independent game demo contest.
>>>>>>>>> Compete for recognition, cash, and the chance to get your game
>>>>>>>>> on Steam. $5K grand prize plus 10 genre and skill prizes.
>>>>>>>>> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>>>>>>>>> _______________________________________________
>>>>>>>>> Genode-main mailing list
>>>>>>>>> Genode-main at lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Minimize network downtime and maximize team effectiveness.
>>>>>>>> Reduce network management and security costs.Learn how to hire
>>>>>>>> the most talented Cisco Certified professionals. Visit the
>>>>>>>> Employer Resources Portal
>>>>>>>> http://www.cisco.com/web/learning/employer_resources/index.html
>>>>>>>> _______________________________________________
>>>>>>>> Genode-main mailing list
>>>>>>>> Genode-main at lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Minimize network downtime and maximize team effectiveness.
>>>>>>> Reduce network management and security costs.Learn how to hire
>>>>>>> the most talented Cisco Certified professionals. Visit the
>>>>>>> Employer Resources Portal
>>>>>>> http://www.cisco.com/web/learning/employer_resources/index.html
>>>>>>> _______________________________________________
>>>>>>> Genode-main mailing list
>>>>>>> Genode-main at lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Minimize network downtime and maximize team effectiveness.
>>>>>> Reduce network management and security costs.Learn how to hire
>>>>>> the most talented Cisco Certified professionals. Visit the
>>>>>> Employer Resources Portal
>>>>>> http://www.cisco.com/web/learning/employer_resources/index.html
>>>>>> _______________________________________________
>>>>>> Genode-main mailing list
>>>>>> Genode-main at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Minimize network downtime and maximize team effectiveness.
>>>>> Reduce network management and security costs.Learn how to hire
>>>>> the most talented Cisco Certified professionals. Visit the
>>>>> Employer Resources Portal
>>>>> http://www.cisco.com/web/learning/employer_resources/index.html
>>>>> _______________________________________________
>>>>> Genode-main mailing list
>>>>> Genode-main at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Minimize network downtime and maximize team effectiveness.
>>>> Reduce network management and security costs.Learn how to hire
>>>> the most talented Cisco Certified professionals. Visit the
>>>> Employer Resources Portal
>>>> http://www.cisco.com/web/learning/employer_resources/index.html
>>>> _______________________________________________
>>>> Genode-main mailing list
>>>> Genode-main at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/genode-main
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Minimize network downtime and maximize team effectiveness.
>>> Reduce network management and security costs.Learn how to hire
>>> the most talented Cisco Certified professionals. Visit the
>>> Employer Resources Portal
>>> http://www.cisco.com/web/learning/employer_resources/index.html
>>> _______________________________________________
>>> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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/20130410/02916c86/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log
Type: application/octet-stream
Size: 22582 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20130410/02916c86/attachment.obj>


More information about the users mailing list