From owner-freebsd-mobile Tue Apr 30 21: 8: 9 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 5CBCA37B419 for ; Tue, 30 Apr 2002 21:08:05 -0700 (PDT) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id WAA25388; Tue, 30 Apr 2002 22:08:01 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.12.3/8.12.3) id g41480SW037450; Tue, 30 Apr 2002 22:08:00 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15567.27168.230527.88559@caddis.yogotech.com> Date: Tue, 30 Apr 2002 22:08:00 -0600 To: "M. Warner Losh" Cc: john@utzweb.net, freebsd-mobile@FreeBSD.ORG Subject: Re: is there a technical reason for apm or pnp to NOT be klds? In-Reply-To: <20020430.213611.23716977.imp@village.org> References: <20020430.213611.23716977.imp@village.org> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > : 7. discover that apm isnt a KLD either. :-( > : > : 8. wonder why apm isnt a KLD... > : > : 9. decide to ask list. > > apm is hard to make a kld. There's a number of things that we do > differently if apm is in the kernel, since apm is a known rogue when > it comes to timing things. Since the clock attaches well before apm, > it is hard to go back and retro-fit things to behave properly. With > enough work, you might be able to pull it off. I believe John has a patch for APM that I promised to test a long time ago that fixes much of this. Note, if APM didn't get loaded before someone used the APM utility, bad things would happen, but this is no worse than disabling APM. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message