From owner-freebsd-questions Fri Jul 26 0:17:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6924C37B400 for ; Fri, 26 Jul 2002 00:17:44 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 084B243E3B for ; Fri, 26 Jul 2002 00:17:43 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 6FCE88147E; Fri, 26 Jul 2002 16:47:40 +0930 (CST) Date: Fri, 26 Jul 2002 16:47:40 +0930 From: Greg 'groggy' Lehey To: Brian Astill Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Microuptime/CD weirdness Message-ID: <20020726071740.GP72382@wantadilla.lemis.com> References: <200207251218.g6PCIrL19840@tierzero.apana.org.au> <20020726022631.GC72382@wantadilla.lemis.com> <200207260656.g6Q6u9L38900@tierzero.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207260656.g6Q6u9L38900@tierzero.apana.org.au> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, 26 July 2002 at 16:32:12 +0930, Brian Astill wrote: > On Fri, 26 Jul 2002 11:56, Greg 'groggy' Lehey wrote: >> On Thursday, 25 July 2002 at 15:52:41 +0930, Brian Astill wrote: >>> Made my first (and successful -Yeah!) attempt to copy a couple of CDs >>> today. Working from the console (ie no X or KDE to interfere), >>> using >>> dd if=/dev/acd0c of=file.iso bs=2048 >>> the dreaded "microuptime going backwards" began in earnest. >> >> Have you built a kernel without APM? > > At the moment I am using straight 4.5 GENERIC. I'm pretty sure the > answer to your question is "Yes" (because that is the default?) No, the answer is "no", because GENERIC contains a disabled apm device. You need to completely remove it, not disable it, because just compiling it changes some code in other parts of the system. Specifically, make a copy of /usr/src/sys/i386/config/GENERIC, calling it, say, /usr/src/sys/i386/config/NOAPM, and remove the following line: # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management Build a new kernel, install, reboot and all should be well. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message