Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 16:47:40 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Brian Astill <bastill@sa.apana.org.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Microuptime/CD weirdness
Message-ID:  <20020726071740.GP72382@wantadilla.lemis.com>
In-Reply-To: <200207260656.g6Q6u9L38900@tierzero.apana.org.au>
References:  <200207251218.g6PCIrL19840@tierzero.apana.org.au> <20020726022631.GC72382@wantadilla.lemis.com> <200207260656.g6Q6u9L38900@tierzero.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726071740.GP72382>