From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 10 04:03:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A465106566C for ; Tue, 10 Jan 2012 04:03:29 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id D4EBE8FC08 for ; Tue, 10 Jan 2012 04:03:28 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta12.emeryville.ca.mail.comcast.net with comcast id Kg3R1i00A1eYJf8ACg3UKu; Tue, 10 Jan 2012 04:03:28 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta19.emeryville.ca.mail.comcast.net with comcast id Kg3T1i00j4NgCEG01g3ToW; Tue, 10 Jan 2012 04:03:28 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q0A43PX8025829; Mon, 9 Jan 2012 21:03:25 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: =?iso-8859-2?Q?=A3ukasz?= Kurek In-Reply-To: <192396d2.4ca0430d.4f0baa06.40411@o2.pl> References: <192396d2.4ca0430d.4f0baa06.40411@o2.pl> Content-Type: text/plain; charset="iso-8859-2" Date: Mon, 09 Jan 2012 21:03:25 -0700 Message-Id: <1326168205.2199.56.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org Subject: Re: backup BIOS settings X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2012 04:03:29 -0000 On Tue, 2012-01-10 at 04:01 +0100, Łukasz Kurek wrote: > Hi, > Is it possible to backup BIOS settings (CMOS configuration) to file and restore this settings on the other machine (the same hardware configuration and the same BIOS)? > > I try do it for this way: > > kldload nvram > > dd if=/dev/nvram of=nvram.bin (backup) > > dd if=nvram.bin of=/dev/nvram (restore) > > > but this way always load default BIOS settings, not my (probably there is some kind of error). Oh wait, the patch I posted can't help, because it fixes a problem that only happens when you read the same location repeatedly, and the nvram driver never does that. But it would still be interesting to examine the nvram.bin file and see if it "looks reasonable". -- Ian