Date: Fri, 10 Nov 2000 18:37:58 -0800 (PST) From: Matthew Jacob <mjacob@feral.com> To: Mike Smith <msmith@FreeBSD.ORG> Cc: current@FreeBSD.ORG Subject: Re: savecore broken because kern.bootfile is set wrong Message-ID: <Pine.LNX.4.21.0011101835510.31159-100000@zeppo.feral.com> In-Reply-To: <200011110237.eAB2bw909143@mass.osd.bsdi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, things are more broken than I thought. The -current loader for alpha is passing "kernel" in the bootinfo structure- not the full pathname. Loader bug. What's amusing is that kenv does see a full pathname. So, now why did the lines below fail to see the pathname? Hmmm.. ponders.... -matt > > 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? > > It should still do it. (The forth code handles this) My only Alpha is > running -stable, and $kernelname is set correctly there (see the output > of 'kenv'). > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0011101835510.31159-100000>