<html><body><div style="color:#000; background-color:#fff; font-family:garamond, new york, times, serif;font-size:14pt"><div style="font-family: garamond, 'new york', times, serif; font-size: 14pt;"><span>Hi,</span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>I have configured my system according to the instructions you have given, but still not able to boot barrelfish. It seems both tftp/dhcp are up and working fine. While booting the PXE client it shows the IP address of the Gateway and the installation process stuck on that point. I looked at the /var/lib/messages for any error message and can see there are some error messages regarding to "tftp: client does
not accept options ".</span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>For your information :</span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>1) Both my DHCP/TFTP servers are on the same machine(</span><span style="font-size: 14pt;">"Red Hat Enterprise Linux Server release 6.4 (Santiago)"</span><span style="background-color: transparent;">).</span></div><div
style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">2)Configuration of my "dhcp.conf" file is as below:</span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 19px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="background-color: transparent;"><span style="color: rgb(0, 0, 0); font-family: garamond, 'new york', times, serif; font-size: 19px; font-style: normal; background-color: transparent;"><span class="Apple-tab-span" style="white-space:pre">                </span></span><span style="font-size: 19px;">subnet 10.1.57.0 netmask 255.255.255.0 {</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; font-style:
normal;"><span style="font-size: 19px;"><span class="Apple-tab-span" style="white-space:pre">                </span>include "/etc/dhcp/private/subnet_10.1.57%24"; </span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; font-style: normal;"><span style="font-size: 19px;"><span class="Apple-tab-span" style="white-space:pre">                </span>option routers 10.1.57.11; </span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; font-style: normal;"><span style="font-size: 19px;"><span class="Apple-tab-span" style="white-space:pre">                </span>option subnet-mask 255.255.255.0; </span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; font-style: normal;"><span style="font-size: 19px;"><span class="Apple-tab-span"
style="white-space:pre">        </span>}</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; font-style: normal;"><span style="font-size: 19px;"><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; font-style: normal;"><span style="font-size: 19px;"><span class="Apple-tab-span" style="white-space:pre">        </span>Configuration in (</span>/etc/dhcp/private/subnet_10.1.57%24<span style="background-color: transparent;">)</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="background-color: transparent;"><span style="font-size: 19px;"><span class="Apple-tab-span" style="white-space:pre">        </span>group
{</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">                        </span>next-server next-server address;</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">                </span>filename "tftpboot.bf014";</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"><br></span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">        </span>host bf013 {</span></div><div style="background-color: transparent;"><span style="font-size: 19px;">
<span class="Apple-tab-span" style="white-space:pre">                </span>hardware ethernet 00:21:5A:4D:7F:11;</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">                </span>fixed-address <span class="Apple-tab-span" style="white-space:pre">        </span> 10.1.57.13;</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">                        </span> }</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">        </span>host bf014 {</span></div><div style="background-color: transparent;"><span style="font-size: 19px;">
<span class="Apple-tab-span" style="white-space:pre">                </span>hardware ethernet 00:21:5A:1D:9F:F2;</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">                </span>fixed-address 10.1.57.14;</span></div><div style="background-color: transparent;"><span style="font-size: 19px;"></span></div><div style="background-color: transparent;"><span style="font-size: 19px;"> <span class="Apple-tab-span" style="white-space:pre">                </span>}</span></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div><span style="font-size: 19px;"> Now my directory structure for tftp are as below(/var/lib/tftpboot)</span><div><div><span style="font-size:
19px;"><br></span></div><div><span><div><span style="font-size: 19px;">drwxrwxrwx 3 root root 4096 Sep 23 00:02 barrelfish</span></div><div><span style="font-size: 19px;">lrwxrwxrwx 1 root root          19 Sep 20 12:14 menu.lst.10.1.57.14 -> barrelfish/menu.lst</span></div><div><span style="font-size: 19px;">-rwxrwxrwx 1 root root 121776 Sep 18 01:21 pxegrub-undi</span></div><div><span style="font-size: 19px;">lrwxrwxrwx 1 root root 12 Sep 20 12:15 tftpboot.bf014 -> pxegrub-undi</span></div><div style="font-size: 19px;"><br></div><div style="font-size: 19px;">barrelfish directory contains the below:</div><div style="font-size: 19px;"><br></div><div><div><span style="font-size: 19px;">-rwxrwxrwx 1 root root 1277 Sep 23 00:02 menu.lst</span></div><div><span style="font-size:
19px;">-rwxrwxrwx 1 root root 653551 Sep 4 01:43 skb_ramfs.cpio.gz</span></div><div><span style="font-size: 19px;">drwxrwxrwx 3 root root 4096 Sep 4 01:43 x86_64</span></div><div><span style="font-size: 19px;"><br></span></div><div><span style="font-size: 19px;">I have generated the binaries using the below command:</span></div><div><span><span style="font-size: 19px;">$ make install INSTALL_PREFIX=/var/lib/tftpboot/barrelfish</span><br></span></div><div><br></div><div><span style="font-size: 19px;">My "menu.lst" file in /var/lib/tftpboot/barrelfish is as below:</span></div><div><span style="font-size: 19px;"><br></span></div><div><span><div><span style="font-size: 19px;">#boot the list of cores passed as argument.</span></div><div><span style="font-size: 19px;"># The APIC id of the cores to boot should be specified.</span></div><div><span style="font-size: 19px;"># This list may not include the bsp core id.</span></div><div><span
style="font-size: 19px;"><br></span></div><div><span style="font-size: 19px;">title Barrelfish</span></div><div><span style="font-size: 19px;">root (nd)</span></div><div><span style="font-size: 19px;">kernel /barrelfish/x86_64/sbin/elver loglevel=4</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/cpu</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/init</span></div><div><span style="font-size: 19px;"><br></span></div><div><span style="font-size: 19px;"># Domains spawned by init</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/mem_serv</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/monitor</span></div><div><span style="font-size: 19px;"><br></span></div><div><span style="font-size: 19px;"># Special boot time domains spawned by monitor</span></div><div><span style="font-size:
19px;">module /barrelfish/x86_64/sbin/ramfsd boot</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/vbe</span></div><div><span style="font-size: 19px;">module / barrelfish/x86_64/sbin/skb boot</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/lpc_kbd</span></div><div><span style="font-size: 19px;">modulenounzip barrelfish/skb_ramfs.cpio.gz nospawn</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/kaluga boot</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/acpi boot</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/spawnd boot</span></div><div><span style="font-size: 19px;">#bootapic-x86_64=1-4</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/startd boot</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/routing_setup
boot</span></div><div><span style="font-size: 19px;"><br></span></div><div><span style="font-size: 19px;"># Drivers</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/pci auto</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/ahcid auto</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/rtl8029 auto</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/e1000n auto</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/NGD_mng auto</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/netd auto</span></div><div><span style="font-size: 19px;"><br></span></div><div><span style="font-size: 19px;"># General user domains</span></div><div><span style="font-size: 19px;">module /barrelfish/x86_64/sbin/serial</span></div><div><span style="font-size: 19px;">module
/barrelfish/x86_64/sbin/fish</span></div><div style="font-size: 19px;"><br></div></span></div><div><span style="font-size: 19px;">The only error I can see in my logs is </span><span style="font-size: 19px;">"tftp: client does not accept options ".</span><br></div><div><span style="font-size: 19px;">Did I miss something in my configuration? </span></div><div><span style="font-size: 19px;"><br></span></div><div><span style="font-size: 19px;">Many Thanks,</span></div><div><span style="font-size: 19px;">Jiban</span></div><div><span style="font-size: 19px;"><br></span></div><div style="font-size: 19px;"><br></div></div></span><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: garamond, 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: garamond, 'new york', times, serif; font-size: 14pt;"><br></div> <div style="font-family: garamond, 'new york', times,
serif; font-size: 14pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Pravin <shindep@student.ethz.ch><br> <b><span style="font-weight: bold;">To:</span></b> jiban sarma <jj_sep@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "barrelfish-users@lists.inf.ethz.ch" <barrelfish-users@lists.inf.ethz.ch>; Kornilios Kourtis <kornilios.kourtis@inf.ethz.ch> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 17 September 2013, 11:52<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Barrelfish-users] Need Help configuring PXE/TFTP boot<br> </font> </div> <div class="y_msg_container"><br>Hi,<br><br>To expand on Kornilios's answer, here are few configuration<br>details from our internal setup which might help you to use<br>as an example for
your setup.<br><br>Directory structure ::<br><br> tftpboot<br> ├── menu.lst.10.110.4.51 -> shindep/menu.lst<br> ├── pxegrub-undi<br> ├── tftpboot.nos5 -> ./pxegrub-undi<br> └── shindep<br> ├── menu.lst<br> ├── skb_ramfs.cpio.gz<br> └── x86_64<br> └── sbin<br> ├── NGD_mng<br> ├── acpi<br> ├── ahci_bench<br> ├── .....<br> ├── .....<br> ├── .....<br> ├── lot of
binary images<br><br>While installing the barrelfish, you can use following prefix to get files<br>in proper place ::<br><br> make install INSTALL_PREFIX=/path/to/tftpboot/shindep<br><br>What you need to note that tftp configuration will point the boot process to<br>``tftpboot.nos5`` file, which is essentially a symbolic link to ``pxegrub-undi``<br>from grub installation. Here is a sample tftp configuration which configures<br>the tftp booting for the machine ``nos5`` ::<br><br> host nos5-boot-interface {<br> hardware ethernet 00:0f:53:07:4d:64;<br> fixed-address 10.110.4.51;<br> filename "tftpboot.nos5";<br> }<br><br><br>Also, the ``menu.lst.10.110.4.51`` is symbolic link to the ``shindep/menu.lst``<br>which is slightly modified version of ``menu.lst`` from your install directory.<br>The changes are mostly related to the
paths. Following is small part of<br>``menu.lst`` to give you an idea how paths should be modified<br>according to your directory structure (note the prefix ``/shindep/``<br>in each entry) ::<br><br> title barrelfish image<br> root (nd)<br> kernel /shindep/x86_64/sbin/elver loglevel=4<br> module /shindep/x86_64/sbin/cpu loglevel=4<br> module /shindep/x86_64/sbin/init<br><br> # Domains spawned by init<br> module /shindep/x86_64/sbin/mem_serv<br> module /shindep/x86_64/sbin/monitor<br><br> # Special boot time domains spawned by monitor<br> module /shindep/x86_64/sbin/ramfsd boot<br> module /shindep/x86_64/sbin/skb boot<br><br> modulenounzip /shindep/skb_ramfs.cpio.gz nospawn<br><br>
module /shindep/x86_64/sbin/kaluga boot<br> module /shindep/x86_64/sbin/acpi boot<br> module /shindep/x86_64/sbin/spawnd boot<br> module /shindep/x86_64/sbin/startd boot<br> module /shindep/x86_64/sbin/routing_setup boot<br><br> .... and lot of other files ....<br><br><br>Essentially, DHCP will instruct the tftboot loader to download and use<br>``tftpboot.nos5`` for booting. This file is part of grub bootloader<br>``pxegrub-undi`` and will then download and use ``menu.lst`` to figure out<br>which other modules to download. Once it has downloaded all files, it will<br>give the control to ``elver`` (it should be there after doing ``make install``<br>on Barrelfish). Then elver will do rest of the loading for Barrelfish and<br>then pass the control to cpu driver.<br><br>I hope that all this information will be helpful to you for setting up<br>the
infrastructure.<br><br>Regards,<br>Pravin<br><br><br>On Thu, Sep 5, 2013 at 7:17 AM, Kornilios Kourtis<br><<a ymailto="mailto:kornilios.kourtis@inf.ethz.ch" href="mailto:kornilios.kourtis@inf.ethz.ch">kornilios.kourtis@inf.ethz.ch</a>> wrote:<br>> Hi Jiban,<br>><br>> On Thu, Sep 05, 2013 at 03:57:41AM -0700, jiban sarma wrote:<br>>> Hello All,<br>>><br>>> Today I have got a set up to install barrelfish on real hardware. I want to<br>>> boot the OS via PXE/TFTP. I have configured the DHCP server and TFTP/PXE<br>>> configuration as well. After that I have copied all the binary files of<br>>> barrelfish using<br>>> make install INSTALL_PREFIX=/var/lib/tftpboot/barrelfish .<br>>><br>>> Now i have the following directory structure within /var/lib/tftpboot<br>>><br>>> drwxr-xr-x 3 root root 4096 Sep 5 02:08 barrelfish<br>>> -rwxr-xr-x 1 root root 353 Sep 5
02:15 mybootmenu.cfg<br>>> drwxr-xr-x 2 root root 4096 Sep 5 03:25 pxelinux.cfg<br>>><br>>> Now when i start my Pxe boot client its stuck in PXE-32 TFTP open timeout.<br>>> Is there any additional file required to boot barrelfish?<br>>><br>>> Please can someone help me how to resolve the issue.<br>><br>> In what file transfer is PXE stuck?<br>> Are you using grub?<br>><br>> I'm not sure how well your setup matches ours, but (unless I'm mistaken) our<br>> booting process is:<br>> - pxe loads the grub image over tftp<br>> (the image is typically specified in the dhcpd configuration file)<br>> - grub fetches proper menu.lst (usually it's menu.lst.$IP) using tftp<br>> - grub reads menu.lst (see README on Barrelfish source tree for an<br>> example) and fetches the necessary files from tftp<br>> - grub starts elver that loads
Barrelfish kernel<br>><br>> A good starting point would be to look at the tftp logs and see what files are<br>> requested and what files are actually transfered.<br>><br>> cheers,<br>> Kornilios.<br>><br>> --<br>> Kornilios Kourtis<br>><br>> _______________________________________________<br>> Barrelfish-users mailing list<br>> <a ymailto="mailto:Barrelfish-users@lists.inf.ethz.ch" href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>> <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br><br></div> </div> </div> </div></div></div></body></html>