> I'm not aware of any 4MB limit on kernel size (and I ought to be if there 
> is one 8).  Can you run the details past me?  (I've regularly booted much 
> larger kernels in the past...)

OK, I built 5 kernels based on the same kerne config file giving some
modifications.  Here is the result.

boot?   kernel size     description ( (+)Add  (-)Delete )
-------+---------------+----------------------------------------------
OK       4007152        (+)device acpica
NG       4182845        (+)device acpica (+)options ACPI_DEBUG
OK       4011963        (+)device acpica (+)options ACPI_DEBUG (-)USB stuff
OK       3470869        GENERIC
OK      16022220        config -g GENERIC

Mysteriously, kernel.debug (16MB) does boot...
Ah, probably section size limitation?

% size ACPICA/kernel* GENERIC/kernel*
   text    data     bss     dec     hex filename
3176366  370104  172152 3718622  38bdde ACPICA/kernel.big
3058264  346724  165848 3570836  367c94 ACPICA/kernel.normal
3009909  368024  169688 3547621  3621e5 ACPICA/kernel.small
2745241  206872  152184 3104297  2f5e29 GENERIC/kernel
2745241  206872  152184 3104297  2f5e29 GENERIC/kernel.debug

Maybe /boot/ stuff is reltated with this too.
% ls -ltR /boot
total 908
drwxr-xr-x  2 root  wheel    3072  10/ 8 15:50 kernel
-r-xr-xr-x  1 root  wheel  159744  10/ 8 15:49 liloboot
-r-xr-xr-x  1 root  wheel  157696  10/ 8 15:49 pxeboot
-r-xr-xr-x  1 root  wheel  157696  10/ 8 15:49 cdboot
drwxr-xr-x  2 root  wheel     512  10/ 8 15:49 defaults
-r-xr-xr-x  1 root  wheel  155648  10/ 8 15:49 loader
-r--r--r--  1 root  wheel    7680  10/ 8 15:49 boot2
-r--r--r--  1 root  wheel     512  10/ 8 15:49 boot1
-r--r--r--  1 root  wheel     512  10/ 8 15:49 boot0
-r--r--r--  1 root  wheel     512  10/ 8 15:49 mbr
drwxr-xr-x  2 root  wheel     512  10/ 7 11:29 kernel.old
-rw-r--r--  1 root  wheel    7816  10/ 6 02:08 loader.conf
-rw-r--r--  1 root  wheel    1440  10/ 4 19:23 device.hints
-r-xr-xr-x  1 root  wheel  155648  10/ 2 16:35 loader.old
-r--r--r--  1 root  wheel    7577   9/27 10:57 loader.4th
-r--r--r--  1 root  wheel   35170   9/27 10:57 support.4th
drwxr-xr-x  2 root  wheel     512   9/16 18:33 modules
-rw-r--r--  1 root  wheel      24   8/ 4 23:58 kernel.conf
-r--r--r--  1 root  wheel   12064   4/17 16:33 loader.help
-r--r--r--  1 root  wheel     338   1/31  2000 loader.rc

/boot/kernel:
total 8536
-r-xr-xr-x  1 root  wheel    20741  10/ 8 15:50 if_wi.ko
                                :
-r-xr-xr-x  1 root  wheel    15097  10/ 8 15:49 3dfx.ko
-r-xr-xr-x  1 root  wheel  3891459  10/ 8 15:40 kernel

/boot/defaults:
total 8
-r--r--r--  1 root  wheel  7979   9/19 04:38 loader.conf

/boot/kernel.old:
total 3768
-r-xr-xr-x  1 root  wheel  3844898  10/ 7 11:29 kernel

/boot/modules:


Thanks


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to