From owner-freebsd-sparc64@FreeBSD.ORG Sun Feb 4 19:40:26 2007 Return-Path: X-Original-To: freebsd-sparc64@hub.freebsd.org Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FB2816A400 for ; Sun, 4 Feb 2007 19:40:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA6013C467 for ; Sun, 4 Feb 2007 19:40:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l14JeQcF049764 for ; Sun, 4 Feb 2007 19:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l14JePBH049763; Sun, 4 Feb 2007 19:40:25 GMT (envelope-from gnats) Date: Sun, 4 Feb 2007 19:40:25 GMT Message-Id: <200702041940.l14JePBH049763@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Miles Nordin Cc: Subject: Re: sparc64/108757: cant boot if rtc stuffed, no means of recovery X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Miles Nordin List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 19:40:26 -0000 The following reply was made to PR sparc64/108757; it has been noted by GNATS. From: Miles Nordin To: freebsd-sparc64@freebsd.org Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: sparc64/108757: cant boot if rtc stuffed, no means of recovery Date: Sun, 04 Feb 2007 14:18:57 -0500 --pgp-sign-Multipart_Sun_Feb__4_14:18:42_2007-1 Content-Type: text/plain; charset=US-ASCII >>>>> "ag" == Andrew Grillet writes: ag> The boot process fails because the rtc is invalid, and then ag> reboots endlessly.(no dump device) ag> This needs to be changed so that the user is offered the ag> choice of having the rtc zapped to a sane state for subsequent ag> resetting after reboot. possibly there is a way to do this in OpenFirmware. I don't know what's wrong with your RTC in particular. How do you know it's corrupt? Did you see an error message? This is for older Suns, but you could try parts of it: http://www.squirrel.com/sun-nvram-hostid.faq.html I don't think it's a good idea to add architecture-specific user dialog to the bootup process. Whatever you want the kernel to do---ignore the problem, work around the problem, fix the problem, do nothing differently but print a better error message---it should always do that thing, not ask questions. --pgp-sign-Multipart_Sun_Feb__4_14:18:42_2007-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (NetBSD) iQCVAwUARcYxoYnCBbTaW/4dAQI0mgP9HF+T3AjWJ1ArjJ80ZO+wSegBndbj0vYQ mJMff+RBFV0hq/+Ur8wNYnd3MPM59X0FKPmJ7Skj52c1e2uvyxwrsLLuBNSOBbhW +v+PgwhvMV4JDTqcw4q8W7flu5yAA/yCHUlWFNLbkmHMzfukM07+jFNyI98rF+xu Bb+4LsKqUp8= =DqpK -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Feb__4_14:18:42_2007-1--