Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 1998 03:10:05 +0900
From:      Ignaz KOHLBECKER <ignaz@fujita3.iis.u-tokyo.ac.jp>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   kernel recompile, inflated files
Message-ID:  <353F83FD.E64B69A4@fujita3.iis.u-tokyo.ac.jp>

next in thread | raw e-mail | index | archive | help
Using the boot-pao.flp for 2.2.5-RELEASE, I observed the following:

When repeatedly trying the installation and kernel recompile procedures,
the  kernel customization fails:

	config takes several minutes instead of about 15s. 
	make depend takes several minutes instead of about 30s 
		or even stops with "out of memory". 
	make takes up to 40 minutes instead of 8min 
		and stops with "Memory exhausted" or "Out of swap space". 

I believe the reason for this is related to "inflated" files that I
found. Some step (which?) seems to append them rather then replacing
them when the installation is repeated, making them multiple copies of
themselves. Among others, those files were: 

      /usr/src/sys/i386/isa/ic/i82593.h 
      /usr/src/sys/i386/isa/if_snreg.h 
      /usr/src/sys/i386/isa/if_wl_i82586.h 
      /usr/src/sys/i386/scsi/ncr53c500/ncr53c500if.h 
      /usr/src/sys/i386/scsi/scsi_low/scsi_low_if.h 
      /usr/src/sys/i386/scsi/tmc18c30/tmc18c30if.h 
      /usr/src/sys/pccard/pccard_subr.c 
      /usr/src/sys/pccard/cardbus.h

When this occured, I found my way out with the following clearcut
method. 

      If using /stand/sysinstall, Alt-F4 into shell 
      backup configuration file original and formerly used customization 
         /usr/src/sys/i386/conf/MYPAO ->
/usr/src/sys/i386/conf/MYPAO.BUP 
         /usr/src/sys/i386/conf/PAO -> /usr/src/sys/i386/conf/PAO.BUP 
      inside /usr/src/sys, remove everything except 
         /usr/src/sys/i386/conf/LINT 
         /usr/src/sys/i386/conf/MYPAO.BUP 
         /usr/src/sys/i386/conf/PAO.BUP 
         /usr/src/sys/compile 
      install generic kernel again, including kernel sources 
      do manual PAO kernel customization 

See details at: http://www.fujita3.iis.u-tokyo.ac.jp/~ignaz/upgrade.html

Ignaz Kohlbecker



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?353F83FD.E64B69A4>