From owner-freebsd-stable@FreeBSD.ORG Sun May 22 01:30:17 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FBE16A41C for ; Sun, 22 May 2005 01:30:17 +0000 (GMT) (envelope-from nakaji@takamatsu-nct.ac.jp) Received: from www.heimat.gr.jp (www.heimat.gr.jp [221.186.186.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C5743D48 for ; Sun, 22 May 2005 01:30:16 +0000 (GMT) (envelope-from nakaji@takamatsu-nct.ac.jp) Received: from ra333.heimat.gr.jp.takamatsu-nct.ac.jp ([IPv6:2001:3e0:a84:0:200:4cff:fe17:573c]) by www.heimat.gr.jp (8.13.3/8.13.1) with ESMTP id j4M1UCEv026961 for ; Sun, 22 May 2005 10:30:12 +0900 (JST) (envelope-from nakaji@takamatsu-nct.ac.jp) Sender: nakaji@takamatsu-nct.ac.jp From: NAKAJI Hiroyuki To: freebsd-stable@freebsd.org Date: Sun, 22 May 2005 10:30:12 +0900 Message-ID: <867jhs11zv.fsf@ra333.heimat.gr.jp> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [RELENG_4] buildkernel failure with MAKEOBJDIRPREFIX X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 01:30:17 -0000 Hello, I tried to rebuild a debug kernel to analyze one of my problem(*), and, I faced to another problem. Now this is the main problem for me. The problem I have now is that 'make buildkernel' does not refer to ${MAKEOBJDIRPREFIX} set in /etc/make.conf. The reason I will use MAKEOBJDIRPREFIX is that my /usr/obj does not have enough space to build the debug kernel with DEBUG=-g. I set MAKEOBJDIRPREFIX=/other/big/directory in /etc/make.conf and ran 'make buildkernel' in /usr/src. And got an error "/usr/src: file system full". Because /usr/src is another partition and has as small space as /usr/obj. /usr/src is 400MB and /usr/obj is 500MB which are enouch to build normal RELENG_4 world. I noticed that modules are built in /usr/src/sys/modules not in ${MAKEOBJDIRPREFIX}/usr/src/sys/modules. Of cource, kernel.debug is created in ${MAKEOBJDIRPREFIX}/usr/src/sys/CONFIG/kernel.debug. I think this is a bug of make, *.mk or other Makefiles in /sys but I cannot fix it. (*) When running /usr/sbin/ppp to connect to the provider with PPPoE, the system gets panic with 'fatal trap 12' after several days of uptime. I have seen this panic twice in these 10 days. -- NAKAJI Hiroyuki