<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Massimo Lusetti wrote:
<blockquote cite="mid1157373222.17742.2.camel@massimo.datacode.it"
 type="cite">
  <pre wrap="">On Fri, 2006-09-01 at 11:48 +0200, Rickard Dahlstrand wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi All,

On popular request here are some updated diffs with bugfixes and
cleanups, the ro/rw-scripts are committed and blink got scraped. Please
test and comment.

    </pre>
  </blockquote>
  <pre wrap=""><!---->
./build-largekernel.sh GENRIC-RD produce a kernel which doesn't boot, it
stops loading the 'second stage' during the boot phase even before 
starting to outputting the result of the boot process (dmesg).
The result is the box continuisly rebooting while uncompressing/loading
the kernel.
  </pre>
</blockquote>
That was what we suspected. What factors that are involved when booting
large kernels are a bit of a mystery to us. The 25 mb WRAP12 kernel
boots fine on my 128 MB WRAP-box. But the generic is a bit larger and
could possibly cause problems.<br>
<br>
This is what Damien wrote on the subject:<br>
<i>A couple of caveats regarding kernel customisation: First, if your
kernel+ramdisk blob is larger than 16Mb, then you will need to increase
NKPTP in the kernel config (just uncomment the entry in the file, it's
good for 32Mb kernels). The symptom of a kernel with a too-small NKPTP
is an immediate crash or reboot after the kernel is loaded. Another
caveat is that kernels larger than about 14Mb in size will use up all
the ISA DMA memory and the kernel will panic at boot unless isadma is
disabled in the config or via UKC. This leads to the final problem: if
isadma is disabled, then things that attempt to use it (e.g. floppy
disk access) will panic the kernel. The best solution is to try to keep
your kernels small.</i><br>
<br>
As far as I can tell both of these are done for all kernels:
<a class="moz-txt-link-freetext" href="http://cvsweb.mindrot.org/index.cgi/flashboot/GENERIC-RD.diff?r1=1.7;r2=1.8">http://cvsweb.mindrot.org/index.cgi/flashboot/GENERIC-RD.diff?r1=1.7;r2=1.8</a><br>
<br>
And then we have this where Damien had some kind of idea on what could
be done: <a class="moz-txt-link-freetext" href="http://cvsweb.mindrot.org/index.cgi/flashboot/TODO?rev=1.6">http://cvsweb.mindrot.org/index.cgi/flashboot/TODO?rev=1.6</a><br>
<br>
I'm afraid that I understand to little on this, we need an expert.<br>
<br>
Until we get some facts here people should only use the large-kernel
option if tested properly and on systems with console access and a
backup obsd-kernel.<br>
<br>
Rickard.<br>
</body>
</html>