From owner-acpi-jp@jp.freebsd.org  Tue Oct 30 04:13:32 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA34174;
	Tue, 30 Oct 2001 04:13:32 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from thalia.fm.intel.com (fmfdns02.fm.intel.com [132.233.247.11])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA34168;
	Tue, 30 Oct 2001 04:13:30 +0900 (JST)
	(envelope-from andrew.grover@intel.com)
Received: from fmsmsxvs040.fm.intel.com (fmsmsxv040-1.fm.intel.com [132.233.48.108])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.46 2001/10/25 21:02:55 root Exp $) with SMTP id TAA15330;
	Mon, 29 Oct 2001 19:13:27 GMT
Received: from fmsmsx27.fm.intel.com ([132.233.42.27])
 by fmsmsxvs040.fm.intel.com (NAVGW 2.5.1.6) with SMTP id M2001102911130229255
 ; Mon, 29 Oct 2001 11:13:02 -0800
Received: by fmsmsx27.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <VBND5XJG>; Mon, 29 Oct 2001 11:14:12 -0800
Message-ID: <59885C5E3098D511AD690002A5072D3C42D6CC@orsmsx111.jf.intel.com>
From: "Grover, Andrew" <andrew.grover@intel.com>
To: "'Mitsuru IWASAKI'" <iwasaki@jp.FreeBSD.org>, jhb@FreeBSD.org
Cc: acpi-jp@jp.FreeBSD.org,
        "Acpi-linux (E-mail)" <acpi@phobos.fachschaften.tu-muenchen.de>
Date: Mon, 29 Oct 2001 11:13:20 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1402
Subject: [acpi-jp 1402] RE: Libretto L2
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: andrew.grover@intel.com

I made that change on 8/31 with the checkin comment: "fix compiler error".
This is both incorrect and unhelpful. ;-)

Soooo....I'll make the change, but it would be great if you could keep
digging on why this should cause problems, or if someone wants to speak up
for why I made this change in the first place?

Regards -- Andy

> -----Original Message-----
> From: Mitsuru IWASAKI [mailto:iwasaki@jp.FreeBSD.org]
> Sent: Monday, October 29, 2001 10:46 AM
> To: andrew.grover@intel.com; jhb@FreeBSD.org
> Cc: acpi-jp@jp.FreeBSD.org
> Subject: Re: [acpi-jp 1397] Re: Libretto L2
> 
> 
> Hi, Intel folks.  Could you merge the patch in [acpi-jp 1395] if
> acceptable?  As I reported long time ago, it seems that calling
> AcpiOsStall() in AcpiEnterSleepState() causes strange behaviors at
> wakeup time if sleep state is not S5 on Toshiba laptops.
> 
> 
> John, very sorry, I forgot this problem was identified before.
> AcpiOsStall() is actually DELAY() in FreeBSD implementation, but
> I don't understand why this cause double fault or mutex releated
> panic on wakeup time.  %esp destroyed? Cache corrupted?
> # We would be happy if you have enough time to analyze it :-)
> 
> 
> > > > The root cause of this problem was in ACPICA and Osd in
> > > > AcpiEnterSleepState() after all for me.  Funamashi-san, 
> could you try
> > > > attached patch?
> > funa> I've applied your patch to the kernel source, and tried 
> > funa> "acpiconf -s 3". Great!! Now my LibrettoL2 can wake 
> up from S3 state.
> > funa> I must run 'killall -HUP moused' and switch to 
> console when I run
> > funa> "acpiconf -s 3" under X running, but that's not a problem.
> > 
> > I also confirm this. Thank you Iwasaki-san.
> 
> Thanks for testing!
> # for your mouse, options PSM_HOOKRESUME maybe helpful?
> # and for X crash, how about syscons_isa.c patches in [acpi-jp 1340]?
> 
> Thanks
> 
