**HEADS UP** FreeBSD-5 boot code has been committed

YONETANI Tomokazu qhwt at myrealbox.com
Thu Nov 13 06:06:48 PST 2003


On Sun, Nov 09, 2003 at 10:27:19PM -0800, Matthew Dillon wrote:
>     WARNING!  Due to changes in how linker sets are handled you have to
>     install an entirely new set of modules when installing a new kernel.
>     The normal installkernel target (or install if you use the config
>     method) will do this, but sometimes people take shortcuts and only
>     install the kernel.
> 
>     WARNING!  Although the FreeBSD sys/boot is now in the tree.  It does
>     not support UFS2 boots by default.  This is only because the boot2
>     output is 88 bytes over its limit when I turn on UFS1 and UFS2.  Maybe
>     someone can eek out some space so we can enable UFS1 and UFS2 boots by
>     default.
> 
>     WARNING!  I tested both boot0 (which is installed by fdisk -B) and boot2
>     (which is installde by disklabel -B) and they appear to work, but you
>     should still be careful if/when you decide to install new boot blocks.
> 
>     NOTICE!  Not all environment variable tie-ins have been implemented yet,
>     so some of the new spiffy boot menu options might not actually work
>     yet.
> 
> 			    Using the new boot code
> 
>     An installworld or an install after building /usr/src/sys/boot will get
>     most of the pieces properly installed on your machine.  However, you
>     will not get the spiffy new boot menu unless you update /boot/loader.rc,
>     which is not installed by default.
> 
>     copying /usr/src/sys/boot/i386/loader/loader.rc to /boot will cause
>     the spiffy new boot menu to come up.
> 
>     The FreeBSD-5 boot code on DragonFly, by default, cannot boot a UFS2
>     partition.  This is temporary, we just have to save 88 bytes somewhere
>     and we can turn it on.
> 
>     The FreeBSD-5 boot code on DragonFly adds '/' and '/modules' to the
>     module path in order to find the FreeBSD-4.x/DragonFly standard 
>     location for a kernel, which is /kernel and /modules.

Did a buildworld/buildkernel and installkernel/installworld, and
installed new loader.rc from the source tree, but with the new boot
loader, both new and old kernels panic at the very beginning of the boot;
Ctrl-Alt-ESC didn't work. The last working boot/world/kernel is from
2003-11-08, and kernel config file hasn't been changed since then.

 Copyright (c) 1992-2003 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 19<9, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD 4.8-STABLE #0: Thu Nov 13 22:05:26 JST 2003
     dragonfly at xxxxxxxxx:/usr/obj/home/source/dragonfly/src/sys/GZL
 Calibrating clock(s) ... TSC clock: 1327934734 Hz, i8254 clock: 1193176 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 Timecounter "TSC"  frequency 1128755689 Hz
 CPU: Mobile Intel(R) Pentium(R) III CPU - M  1333MHz (1128.76-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6b4  Stepping = 4
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 251592704 (245696K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x0039b000 - 0x0efe7fff, 247779328 bytes (60493 pages)
 config> q
 avail memory = 237166592 (231608K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f00b0
 bios32: Entry = 0xf9a8e (c00f9a8e)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xe563
 pnpbios: Found PnP BIOS data at 0xc00f0290
 pnpbios: Entry = f0000:8ea  Rev = 1.0
 pnpbios: Event flag at 510
 pnpbios: OEM ID 4938f351
 Other BIOS signatures found:
 Preloaded elf kernel "/kernel" at 0xc036e000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc036e288.
 Preloaded elf module "/modules/splash_bmp.ko" at 0xc036e2d8.
 Preloaded elf module "/modules/vesa.ko" at 0xc036e384.
 Preloaded elf module "/modules/linux.ko" at 0xc036e42c.
 Preloaded elf mofule "/modules/if_fxp.ko" at 0xc036e4d4.
 panic: namei: bad cred/proc
 Uptime: 0s

Regards.





More information about the Kernel mailing list