Date: Fri, 29 Dec 2006 09:56:33 -0800 From: Marcel Moolenaar <xcllnt@mac.com> To: Garance A Drosehn <gad@FreeBSD.org> Cc: cvs-src@FreeBSD.org, Marcel Moolenaar <marcel@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/powerpc/powerpc vm_machdep.c Message-ID: <6411B1E4-0663-4B4A-8EB3-D8CC45FCB3C6@mac.com> In-Reply-To: <p0624080cc1ba125b1e31@[128.113.24.47]> References: <200612282356.kBSNuopW055795@repoman.freebsd.org> <p0624080cc1ba125b1e31@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 28, 2006, at 4:51 PM, Garance A Drosehn wrote: > At 11:56 PM +0000 12/28/06, Marcel Moolenaar wrote: >> marcel 2006-12-28 23:56:50 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/powerpc/powerpc vm_machdep.c >> Log: >> In cpu_reset(), call OF_reboot() instead of OF_exit(). The latter >> doesn't do a reboot and has been observed to reset the NVRAM to its >> default values. > > Ooo. Could this cause an 'nvalias' to disappear? I don't know. I only observed that the environment was reset and I had to fix the console and boot settings again. > I keep trying to > store away some long device aliases in nvram on my Mac Mini, and it > it seems like they always just disappear on me. I haven't tried to > do any alternatives with the 'nvedit' command yet, as I assume those > attempts would hit the same fate. Do you typically use shutdown -h? There's a use of OF_exit() in cpu_halt() still. I only changed the cpu_reset() case, which is called from DDB when you enter reset for example. -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6411B1E4-0663-4B4A-8EB3-D8CC45FCB3C6>