From owner-cvs-all@FreeBSD.ORG Mon May 5 20:56:40 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B969437B401; Mon, 5 May 2003 20:56:40 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 243C743FBD; Mon, 5 May 2003 20:56:40 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23]) by attbi.com (rwcrmhc52) with SMTP id <20030506035639052006p1bke>; Tue, 6 May 2003 03:56:39 +0000 Date: Mon, 5 May 2003 20:56:39 -0700 (PDT) From: Doug Barton To: Peter Wemm In-Reply-To: <20030506024613.67EC22A8AE@canning.wemm.org> Message-ID: <20030505205113.D666@znfgre.qbhto.arg> References: <20030506024613.67EC22A8AE@canning.wemm.org> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: mtm@FreeBSD.org cc: src-committers@FreeBSD.org cc: Robert Watson cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d apm apmd archdep X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 03:56:41 -0000 On Mon, 5 May 2003, Peter Wemm wrote: > Mike Makonnen wrote: > > On Mon, 5 May 2003 20:06:13 -0400 (EDT) > > Robert Watson wrote: > > > > > > > > > Umm, I dont think so. apm does not exist on amd64, cannot exist and > > > > never will exist. Please back this out. > > > > > > Well, ACPI does provide emulation for some of the apm(4) control ioctls, > > > such that apm(8) actually usefully reports on the power condition on ACPI > > > boxes. I'd imagine the functionality provided by apmd(8) would be useful > > > still with ACPI, but I don't know if it either directly speaks ACPI or > > > whether the ACPI apm emulation is sufficient to support apmd. If it does, > > > then in theory the apm startup scripts could be useful on ACPI-supporting > > > platforms, including ia64 and AMD64. If that's the case, we might > > > seriously think about renaming apmd to powerd or the like. > > > > > > > Should this still be backed out ? > > FWIW, everything that I ported over to rc.d *was* in rc.amd64. > > Robert is incorrect. Only the i386 implementation of acpica provides > the APM API emulation. The include files do not exist on the other platforms. > > ACPI provides its own ioctl() interface (in addition to the sysctl stuff), > which is cross platform. > > Yes, it should still be backed out. And so should the ibcs2_compat thing. > > rc.i386 was repocopied to rc.amd64 without changes. Thats where this mess > started from. I share some responsibility for this too. I noticed the problem with the rc.amd64 stuff, but I was too busy fixing my own mistake with rc.sendmail to send a head's up to the -rc list, and when Mike jumped on what he thought was the fix for this, I decided to hope it was the right thing to do and let more experienced people speak on the topic. Doug -- This .signature sanitized for your protection