From owner-freebsd-stable@FreeBSD.ORG Sat Aug 23 07:38:54 2003 Return-Path: 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 BDAD616A4BF for ; Sat, 23 Aug 2003 07:38:54 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9363A43FDF for ; Sat, 23 Aug 2003 07:38:52 -0700 (PDT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qZYP-0007sZ-00 for ; Sat, 23 Aug 2003 16:39:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qZYO-0007sR-00 for ; Sat, 23 Aug 2003 16:39:44 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19qZXV-0001o6-00 for ; Sat, 23 Aug 2003 16:38:49 +0200 From: Clemens Fischer Date: Sat, 23 Aug 2003 16:38:36 +0200 Lines: 27 Message-ID: References: <20030822115335.GB89240@technokratis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:Uz9Ld/dfD+BJycvZZC2LE4LwF1g= Sender: news Subject: Re: SOLVED kernel: locore.s doesn't assemble (fillkpt, $PAGE_SHIFT, $PTESHIFT) 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: Sat, 23 Aug 2003 14:38:54 -0000 * Bosko Milekic: > Please show us exactly what you're doing to build the kernel. nothing other than outlined in usr/src/Makefile or the handbook article on making custom kernels. > Try whiping the old kernel build directory and make sure that after > you config you make depend before you make. i had tried this several times without success. now hold on to your seats: sys/kern/genassym.sh looked fishy to me due to its "funny" redirection. it basically does "nm genassym.o | awk '...' > /dev/stdout" to make "#define " pairs in assym.s. redirecting to /dev/stdout showed nothing on the tube. i checked that, and /dev/stdout turned out to be a regular file instead of a character special device! i think i broke this when playing with rsync i did "rsync localhost::rsync/readme /dev/stdout". i'll verify this and do a PR to the rsync team when i have the time. the line "sh ../../kern/genassym.sh genassym.o > assym.s" is ok, but only after "cd /dev; ./MAKEDEV std". thanks for all your help, clemens