From owner-freebsd-current@FreeBSD.ORG Tue Apr 13 19:27:30 2004 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 F133716A4CE; Tue, 13 Apr 2004 19:27:29 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52F4043D2F; Tue, 13 Apr 2004 19:27:29 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i3E2RPkj014870; Tue, 13 Apr 2004 20:27:25 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 13 Apr 2004 20:28:17 -0600 (MDT) Message-Id: <20040413.202817.35014248.imp@bsdimp.com> To: oberman@es.net From: "M. Warner Losh" In-Reply-To: <20040413220142.5F50E5D08@ptavv.es.net> References: <20040413220142.5F50E5D08@ptavv.es.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org cc: current@freebsd.org Subject: Re: Experiences with new PCI code 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: Wed, 14 Apr 2004 02:27:30 -0000 In message: <20040413220142.5F50E5D08@ptavv.es.net> "Kevin Oberman" writes: : System: IBM T30 (ICH3, 1.8G P4-M, 512 MB RAM, Intel/Xircom Pro/100 VE : Ethernet, TI1520 CardBus bridge, Prism 2.5 wireless, Analog Devices : AD1881A AC97 codec) : : After the integration of the new PCI code the suspend/resume behavior is : very different than before. Unfortunately, it's worse, but moving in the : right direction. : : Suspend: : - Display backlight still turns on and remains on upon suspend. Video : does not blank, but loses power so display "rots" over a period of at : least minutes. (This is unchanged.) hw.acpi.video show correct values, : but fails to change them. DPMS blanking does blank the display but : does not turn off back-light. : : - hw.acpi.sleep_delay is now ignored, but the disk no longer does an : instant shutdown without flushing cache, so this is OK. : : - Suspend LED turns on. (Unchanged.) : : Resume: : - I stop receiving interrupts on irq11 which handles much of my : system. This includes sound, CardBus, USB and network. This is the : big issue as the machine is now pretty useless. : : Unfortunately, this loss of irq11 makes further testing almost : impossible. To further confuse things, interrupts continue for a : seemingly random time of up to several minutes after the restore and : then stop. This last part has me totally baffled, but maybe someone has : some idea why this is happening. Non-irq11 devices (mouse, keyboard, : clocks, ata controllers) continue to work. : : Anything you would like me to try? While my patches will make it better, more extensive changes to the power code will be necessary to make it work perfectly. Nate has been taking the lead in this area. Why don't you try hw.pci.do_powerstates=1 to see if that helps any. This will turn on more power managmenet code. Warner