From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 14:00:06 2005 Return-Path: X-Original-To: current@freebsd.org 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 1F46516A41C for ; Wed, 8 Jun 2005 14:00:06 +0000 (GMT) (envelope-from jroberson@chesapeake.net) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C083443D48 for ; Wed, 8 Jun 2005 14:00:05 +0000 (GMT) (envelope-from jroberson@chesapeake.net) Received: from mail.chesapeake.net (localhost [127.0.0.1]) by mail.chesapeake.net (8.12.10/8.12.10) with ESMTP id j58E04k9018000; Wed, 8 Jun 2005 10:00:04 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.12.10/8.12.10/Submit) with ESMTP id j58E01NL017979; Wed, 8 Jun 2005 10:00:02 -0400 (EDT) (envelope-from jroberson@chesapeake.net) X-Authentication-Warning: mail.chesapeake.net: jroberson owned process doing -bs Date: Wed, 8 Jun 2005 10:00:01 -0400 (EDT) From: Jeff Roberson To: Poul-Henning Kamp In-Reply-To: <772.1118232172@critter.freebsd.dk> Message-ID: <20050608095804.S16943@mail.chesapeake.net> References: <772.1118232172@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: current@freebsd.org Subject: Re: suspend/resume on T41p broken (again) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 08 Jun 2005 14:00:06 -0000 On Wed, 8 Jun 2005, Poul-Henning Kamp wrote: > > I just tried updating to -current and found that suspend/resume > on my T41p was broken (again). > Just about every acpi feature is broken on my T42p. I've tracked it down to writing to IO port 178, which we do on reset, suspend/resume, and switching to an external monitor. This port comes from "AcpiGbl_FADT->SmiCmd" which I believe the hardware tells us about. However, I see no successful writes to this port without hanging the machine. Also, suspiciously, acpi uses many other ports, none of which have a value close to 178. Most are near 4096. Does anyone know how to debug this further? > I hacked up a laserprinter as console and the last thing I see > is: > > [...] > vga0: saving 68 bytes of video state > pci0:29:7: Transition from D0 to D3 > ======= acpi_printcpu() debug dump ======== > gdt [0097:c0769280] idt [07ff:c0769660] ldt [0050] tr [0048] efl[00080082] > eax [00000001] ebx [c1a72180] ecx [00000001] edx [00000004] > esi [00000000] edi [00000003] ebp [d4447bf4] esp[d4447bd8] > cr0 [8005003b] cr2 [08069080] cr3 [00c1e000] cr4[00000691] > cs[0020] ds[0028] es[0028] fs[0008] gs[003b] ss[0028] > > I belive this comes from the suspend side. The next thing I have > is the copyright message from the subsequent reboot. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >