From owner-freebsd-current Sat Feb 22 8:13:14 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55F0C37B401 for ; Sat, 22 Feb 2003 08:13:13 -0800 (PST) Received: from hugin.diku.dk (hugin.diku.dk [130.225.96.144]) by mx1.FreeBSD.org (Postfix) with SMTP id F157E43FB1 for ; Sat, 22 Feb 2003 08:13:11 -0800 (PST) (envelope-from jlouis@diku.dk) Received: (qmail 13155 invoked from network); 22 Feb 2003 16:13:10 -0000 Received: from ask.diku.dk (jlouis@130.225.96.225) by hugin.diku.dk with QMQP; 22 Feb 2003 16:13:10 -0000 From: jlouis@diku.dk Date: Sat, 22 Feb 2003 17:13:10 +0100 To: current@freebsd.org Subject: Problem in /usr/src/sys/boot/i386/boot2 Message-ID: <20030222161310.GA2928@diku.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have a problem with -CURRENT. As I try to btxld: /usr/src/sys/boot/i386/boot2 btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.01 size=780 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=1691 text=0 data=0 bss=0 entry=0 output: fmt=bin size=1f25 text=114 data=1e11 org=0 entry=0 -293 bytes available *** Error code 1 Assumption: -293 bytes available is due to some sector mapping on the disk of some kind, where we need boot2 to fit into. My guess is that this is due to the first time I try to compile the kernel with gcc version: Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.2 [FreeBSD] 20030205 (release) Which makes the resulting boot2 too big. Is there any way to fix this problem? -- Jesper ./programmer < coffee > code To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message