<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Not having compiled kernels before, I was hoping someone might be able to lend me some insight. &nbsp;Here's what I've got going.<div><br></div><div>I am building a firewall/router/ap out of an old watchguard firebox 700. &nbsp;I am using pyramid linux (<a href="http://pyramid.metrix.net/trac/)as">http://pyramid.metrix.net/trac/)as</a> my&nbsp;distribution&nbsp;due to it's small stature and default read only booting (everything lives on a flash card). &nbsp;While Pyramid is based on ubuntu, it does not have dpkg or apt-get so any compiling needs to be done on another system. &nbsp;I have a ubuntu server setup with the pyramid kernel and config for compiling anything I might need to. &nbsp;So far I have successfully compiled a tulip network driver on this box as a kernel module, moved it over, loaded it, and got my 3 other nics up.</div><div><br></div><div>What I'm having trouble with presently is compiling a whole kernel to suit some needs. &nbsp;Those needs are the following:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>1. Add the tulip network driver (in kernel, not module) and remove all other unnecessary ones<br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>2. Add kernel support for APM real mode. &nbsp;(The box does not reboot when I ask it to, I'm hoping this will fix that)<br></div><div><br></div><div>Ok, so...</div><div><br></div><div>Not having really compiled full kernels before, what is the "proper" method for doing this? &nbsp;I've tried the following:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span><br></div><ul class="MailOutline"><li>copy config file to source dir</li><li>make clean</li><li>make menuconfig (selecting my two&nbsp;requirements&nbsp;in addition to the preset config file)</li><li>make</li><ul class="MailOutline"><li>Also tried make bzimage</li></ul><li>scp kernel to firebox</li><li>add line in menu.lst, reboot and select new kernel.</li></ul><div><br></div><div>This generally leads me this type of error:</div><div><br></div><div><div>&nbsp;Booting 'Bzimage'</div><div><br></div><div>root (hd0,0)</div><div>&nbsp;Filesystem type is ext2fs, partition type 0x83</div><div>kernel /boot/bzImage root=/dev/hda1 console=ttys0,19200n8 reboot=bios</div><div><br></div><div>Error 18: Selected cylinder exceeds maximum supported by BIOS</div><div><br></div></div><div><br></div><div>So, does anyone have any suggestions or anything obvious that I'm doing wrong? &nbsp;Again, I'm a first timer with a kernel so it may be something really stupid that I just don't know. &nbsp;I appreciate any help but I'm really looking for help going down the path that I'm headed, not "try this distro" or "why don't you just install XXX". &nbsp;I do want this functional&nbsp;eventually&nbsp;but the project itself is more about learning for me so I'm trying not to jump ship when things get difficult.</div><div><br></div><div>Thanks in advance!</div><div><br></div><div>-Colin</div></body></html>