Installation floppies kernel slab allocator

David Rhodus drhodus at catpa.com
Fri Oct 10 06:28:04 PDT 2003


On Friday, October 10, 2003, at 08:44 AM, Rodrigo Fernandez-Vizarra 
wrote:
I've created the two install disks (kern.flp and mfsroot.flp) and 
booted from them... and I get the following error

   ....
   Mounting root from ufs:/dev/md0c
   /stand/sysinstall running as init on vty0
   panic:slaballoc: corrupted zone
I've seen that in the latest revision of the kern_slaballocator.c  
(rev 1.7/1.8) it's repaired a bug regarding low memory machines (mine 
is a Pentium 133Mhz with 48MBytes of Ram).

My question is. Are the install floppies kernel updated with the 
latest kernel? If yes then I have probably hit a bug in the Slab 
allocator code. I've tried to fire DDB but it's not enabled in the 
kernel....
That leads me to something else....
Looks like having DDB built into the generic kernel is causing the make
release to fail. Is anyone familiar with the release scripts to know 
what we
need to change so that we can keep DDB in the generic kernel ?

-DR

ex..
cd /usr/obj/usr/src/sys/BOOTMFS;  MAKEOBJDIRPREFIX=/usr/obj  
MACHINE_ARCH=i386  MACHINE=i386  
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac make 
KERNEL=BOOTMFS reinstall
install -m 555 -o root -g wheel -fschg  BOOTMFS /R/stage/kernels/BOOTMFS
mv /R/stage/kernels/BOOTMFS /R/stage/image.kern/kernel
Setting up /boot directory for kern floppy
dload=0x200000 dsize=0x25000 isize=0x25000 entry=0x200000 nsize=0x11a44
/R/stage/image.kern/kernel:	 53.3% -- replaced with 
/R/stage/image.kern/kernel.gz
sh -e /usr/src/release/scripts/doFS.sh /R/stage/floppies/kern.flp  
/R/stage /mnt 1440 /R/stage/image.kern  80000 fd1440
Warning: Block size restricts cylinders per group to 6.
Warning: 1216 sector(s) in last cylinder unallocated
/dev/rvnn0c:	2880 sectors in 1 cylinders of 1 tracks, 4096 sectors
	1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 32 i/g)
super-block backups (for fsck -b #) at:
 32
cpio: write error: No space left on device
*** Error code 1

Stop in /usr/src/release.
*** Error code 1
Stop in /usr/src/release.
*** Error code 1
Stop in /usr/.build/src/release.






More information about the Kernel mailing list