From owner-freebsd-current Fri Nov 10 18:14:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 2051B37B479; Fri, 10 Nov 2000 18:14:15 -0800 (PST) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id SAA22604; Fri, 10 Nov 2000 18:14:13 -0800 Date: Fri, 10 Nov 2000 18:14:12 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: John Baldwin Cc: current@FreeBSD.ORG, John Polstra Subject: Re: savecore broken because kern.bootfile is set wrong In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > kernel to have the actual path or not. > > > > It is supposed to. Looks like a bug in the alpha startup code somewhere: > > > > > uname -a > > FreeBSD laptop.baldwin.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #40: Fri Nov 10 > > 15:17:48 PST 2000 john@laptop.baldwin.cx:/usr/src/sys/compile/LAPTOP-card > > i386 > > > sysctl kern.bootfile > > kern.bootfile: /boot/kernel.card/kernel > > > uname -a > > FreeBSD baz.osd.bsdi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #48: Fri Nov 3 > > 12:37:16 PST 2000 root@baz.osd.bsdi.com:/usr/src/sys/compile/BAZ alpha > > > sysctl kern.bootfile > > kern.bootfile: kernel > > > > Urgle. Okay. Something actually was changed at some point perhaps? On i386, kernelname is dug out of bootinfo and copied (in assembler). On alpha: p = getenv("kernelname"); if (p) strncpy(kernelname, p, sizeof(kernelname) - 1); Did the loader used to set kernelname as an environment variable? At any rate, this should be easy enough to fix (doing so right now). -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message