From owner-freebsd-current@FreeBSD.ORG Thu Sep 25 16:13:10 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 558DE16A4B3 for ; Thu, 25 Sep 2003 16:13:10 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 36A4543FE3 for ; Thu, 25 Sep 2003 16:13:09 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 60900 invoked by uid 1000); 25 Sep 2003 23:13:10 -0000 Date: Thu, 25 Sep 2003 16:13:10 -0700 (PDT) From: Nate Lawson To: Jeremy Bingham In-Reply-To: <20030925222711.GC25035@lagash.satanosphere.com> Message-ID: <20030925160643.W60851@root.org> References: <20030925114945.Y59820@root.org> <20030925191831.GA25035@lagash.satanosphere.com> <20030925222711.GC25035@lagash.satanosphere.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Problem w/ ACPI in -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 23:13:10 -0000 On Thu, 25 Sep 2003, Jeremy Bingham wrote: > > Unfortunately, no. You can cvsup to 2003/8/23 on just the sys/dev/ata > > directory and revert the change to sys/conf/files. That does the trick. > > Currently ATAng causes a hang on resume from suspend whereas it has worked > > for months before ATAng. I am running -current without ATAng with no > > problems. > > > > -Nate > > Herm. I checked out a copy of the sys tree from 8/23, copied the files > from sys/dev/ata over (after deleting the current ones), made the > changes in sys/conf/files, and tried making a new kernel, but it won't > do it. I get errors like: > > ../../../dev/ata/ata-all.c: In function `ataioctl': > ../../../dev/ata/ata-all.c:409: error: `ATAPICMD' undeclared (first use > in this function) > ... etc. etc. etc. > > What am I missing? /sys/sys/ata.h needs to be reverted. You should look at the original commit message to have a full understanding of what needs to be reverted. > Incidentally, compiling a kernel w/ ACPI_DEBUG and > putting those lines in /boot/loader.conf that you mentioned in that > other email did nothing -- booting with verbose logging gave the same > amount of logging, and booting normally didn't give any more messages > than normal. That's because ACPI is a module and options defined in the kernel config do not apply to the modules. I think someone was working on fixing this annoyance. To rebuild it, cd /sys/modules/acpi and do: make ACPI_DEBUG=1 cp acpi.ko /boot/kernel.test (or wherever your test kernel is) reboot An easier way is to just include acpi in the kernel build. Add this to your kernel config and rebuild: device acpica options ACPI_DEBUG -Nate