Difference between revisions of "Bering-uClibc 5.x - User Guide - Appendices - Troubleshooting/FAQ"

From bering-uClibc
Jump to: navigation, search
Line 15: Line 15:
 
I get this cryptic syslinux message: "failed to load com32 file <code class="filename">vesamenu.c32</code>" ! This is because the syslinux version used to create the USB key bootloader <code class="filename">ldlinux.sys</code> does not match the <code class="filename">*.c32</code> files version present in the Bering-uClibc 5.3.1 <code class="filename">/syslinux</code> distribution directory.  
 
I get this cryptic syslinux message: "failed to load com32 file <code class="filename">vesamenu.c32</code>" ! This is because the syslinux version used to create the USB key bootloader <code class="filename">ldlinux.sys</code> does not match the <code class="filename">*.c32</code> files version present in the Bering-uClibc 5.3.1 <code class="filename">/syslinux</code> distribution directory.  
  
Whatever syslinux version you are using, make sure to copy '''that''' syslinux's "<code class="filename">hdt.c32, menu.c32 and vesamenu.c32</code>" files to your USB key <code class="filename">/syslinux</code> directory.  
+
Whatever syslinux version you are using, make sure to copy the files "<code class="filename">hdt.c32, menu.c32 and vesamenu.c32</code>" that comes with it to your USB key <code class="filename">/syslinux</code> directory. In other words, do not use the <code class="filename">*.c32</code> files present in the Bering uClibc distribution unless you know from which syslinux version they come from.
 +
 
 +
At the time of this writing, latest version 6.0.3 of syslinux also complains it is missing some more <code class="filename">*.c32</code> files (<code class="filename">libutil.c32</code> ...), so again copy these in your USB key <code class="filename">/syslinux</code> directory.  
  
At the time of this writing, latest version 6.0.3 of syslinux also complains it is missing some more <code class="filename">*.c32</code> files (<code class="filename">libutil.c32</code> ...), so again copy them in your USB key <code class="filename">/syslinux</code> directory.
 
  
In other words, do not use the <code class="filename">*.c32</code> files present in the Bering uClibc distribution unless you know from which syslinux version they come from.
 
  
 
== My firewall randomly assigns eth0 to either of my two NICs on bootup... that is very bad ! ==
 
== My firewall randomly assigns eth0 to either of my two NICs on bootup... that is very bad ! ==
  
For those of you who missed it, there is a bbnameif.lrp package that address this problem. Add it to your LRP="root license local '''bbnameif''' dhcpcd keyboard ..." list of packages to load, reboot and make sure it is executed before /etc/init.d/ifupdown by adjusting /etc/init.d/nameif's RCDLINKS="2,S04". Pick any unused S0X number lower than ifupdown. Find this unused X number by looking at your /etc/rc?.d . For Bering uClibc 5.1.3, ifupdown uses S04, so I use S03 for nameif, since it is free for my setup. Don't forget to add /etc/init.d/nameif to local.local... and save your config, so your changes are there on the next bootup !
+
For those of you who missed it, there is a <code class="filename">bbnameif.lrp</code> package that address this problem.  
 +
 
 +
Add it to your <code class="filename">LRP="root license local '''bbnameif''' dhcpcd keyboard ..."</code> list of packages to load and reboot.
 +
 
 +
<code class="filename">/etc/init.d/nameif</code> must be run while eth0 and eth1 are down, this can be done by making sure it is executed before <code class="filename">/etc/init.d/ifupdown</code> runs.  You might have to change <code class="filename">/etc/init.d/nameif</code>'s RCDLINKS="2,S04" depending on your lrp list of packages.  
 +
 
 +
Find out which RCDLINKS <code class="filename">/etc/init.d/ifupdown</code> uses by looking at your <code class="filename">/etc/rc?.d</code>. Pick any unused S0X number lower than the one <code class="filename">ifupdown</code> uses, and assign it to <code class="filename">nameif</code>.  
 +
 
 +
For Bering uClibc 5.1.3, <code class="filename">ifupdown</code> uses S04, so I use S03 for <code class="filename">nameif</code>, since it is free for my setup.  
  
<pre>lrcfg
+
Don't forget to add <code class="filename">/etc/init.d/nameif</code> to <code class="filename">local.local</code>... and save your config, so your changes are there on the next bootup !
    3) Packages configuration
+
    3) local  
+
    1) list of files that should be saved
+
</pre>
+
  
<pre>lrcfg
 
    s) Save configuration
 
</pre>
 
  
  

Revision as of 19:10, 24 April 2015

Appendices - Troubleshooting/FAQ
Prev Bering-uClibc 5.x - User Guide Next


My freshly made USB key won't boot, what's wrong with the instructions ?

I get this cryptic syslinux message: "failed to load com32 file vesamenu.c32" ! This is because the syslinux version used to create the USB key bootloader ldlinux.sys does not match the *.c32 files version present in the Bering-uClibc 5.3.1 /syslinux distribution directory.

Whatever syslinux version you are using, make sure to copy the files "hdt.c32, menu.c32 and vesamenu.c32" that comes with it to your USB key /syslinux directory. In other words, do not use the *.c32 files present in the Bering uClibc distribution unless you know from which syslinux version they come from.

At the time of this writing, latest version 6.0.3 of syslinux also complains it is missing some more *.c32 files (libutil.c32 ...), so again copy these in your USB key /syslinux directory.


My firewall randomly assigns eth0 to either of my two NICs on bootup... that is very bad !

For those of you who missed it, there is a bbnameif.lrp package that address this problem.

Add it to your LRP="root license local bbnameif dhcpcd keyboard ..." list of packages to load and reboot.

/etc/init.d/nameif must be run while eth0 and eth1 are down, this can be done by making sure it is executed before /etc/init.d/ifupdown runs. You might have to change /etc/init.d/nameif's RCDLINKS="2,S04" depending on your lrp list of packages.

Find out which RCDLINKS /etc/init.d/ifupdown uses by looking at your /etc/rc?.d. Pick any unused S0X number lower than the one ifupdown uses, and assign it to nameif.

For Bering uClibc 5.1.3, ifupdown uses S04, so I use S03 for nameif, since it is free for my setup.

Don't forget to add /etc/init.d/nameif to local.local... and save your config, so your changes are there on the next bootup !



Prev Up Next