From owner-cvs-all@FreeBSD.ORG Fri Dec 29 18:10:29 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED8E816A403; Fri, 29 Dec 2006 18:10:29 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.183]) by mx1.freebsd.org (Postfix) with ESMTP id D2F9913C44C; Fri, 29 Dec 2006 18:10:29 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout13/MantshX 4.0) with ESMTP id kBTHvd2k008733; Fri, 29 Dec 2006 09:57:39 -0800 (PST) Received: from [192.168.1.2] (c-67-164-11-148.hsd1.ca.comcast.net [67.164.11.148]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id kBTHvQTF000212 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 29 Dec 2006 09:57:37 -0800 (PST) In-Reply-To: References: <200612282356.kBSNuopW055795@repoman.freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6411B1E4-0663-4B4A-8EB3-D8CC45FCB3C6@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Fri, 29 Dec 2006 09:56:33 -0800 To: Garance A Drosehn X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: cvs-src@FreeBSD.org, Marcel Moolenaar , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/powerpc/powerpc vm_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Dec 2006 18:10:30 -0000 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