From owner-freebsd-mobile Thu Apr 23 11:14:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24514 for freebsd-mobile-outgoing; Thu, 23 Apr 1998 11:14:29 -0700 (PDT) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from theta.iis.u-tokyo.ac.jp (theta.iis.u-tokyo.ac.jp [157.82.98.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24496 for ; Thu, 23 Apr 1998 11:14:23 -0700 (PDT) (envelope-from ignaz@fujita3.iis.u-tokyo.ac.jp) Received: from yari.iis.u-tokyo.ac.jp (yari.iis.u-tokyo.ac.jp [157.82.98.143]) by theta.iis.u-tokyo.ac.jp (8.8.6/3.6W) with ESMTP id DAA29171; Fri, 24 Apr 1998 03:14:17 +0900 (JST) Received: from daikon.fujita3.iis.u-tokyo.ac.jp (daikon.fujita3.iis.u-tokyo.ac.jp [157.82.109.70]) by yari.iis.u-tokyo.ac.jp (8.8.6/3.6W) with SMTP id DAA29331; Fri, 24 Apr 1998 03:14:16 +0900 (JST) Received: from shake.fujita3.iis.u-tokyo.ac.jp by daikon.fujita3.iis.u-tokyo.ac.jp (AIX 3.2/UCB 5.64/3.4W2) id AA15138; Fri, 24 Apr 1998 03:14:16 +0900 Message-Id: <353F83FD.E64B69A4@fujita3.iis.u-tokyo.ac.jp> Date: Fri, 24 Apr 1998 03:10:05 +0900 From: Ignaz KOHLBECKER Organization: Institute of Industrial Science, University of Tokyo X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) Mime-Version: 1.0 To: freebsd-mobile@FreeBSD.ORG Subject: kernel recompile, inflated files Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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