From owner-acpi-jp@jp.freebsd.org  Tue Oct 30 04:36:57 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA35433;
	Tue, 30 Oct 2001 04:36:57 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mass.dis.org (mass.dis.org [216.240.45.41])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA35427;
	Tue, 30 Oct 2001 04:36:54 +0900 (JST)
	(envelope-from msmith@mass.dis.org)
Received: from mass.dis.org (localhost [127.0.0.1])
	by mass.dis.org (8.11.6/8.11.3) with ESMTP id f9TJalP02238;
	Mon, 29 Oct 2001 11:36:47 -0800 (PST)
	(envelope-from msmith@mass.dis.org)
Message-Id: <200110291936.f9TJalP02238@mass.dis.org>
X-Mailer: exmh version 2.1.1 10/15/1999
To: acpi-jp@jp.freebsd.org
cc: "'Mitsuru IWASAKI'" <iwasaki@jp.freebsd.org>, jhb@FreeBSD.org,
        "Acpi-linux (E-mail)" <acpi@phobos.fachschaften.tu-muenchen.de>
In-reply-to: Your message of "Mon, 29 Oct 2001 11:13:20 PST."
             <59885C5E3098D511AD690002A5072D3C42D6CC@orsmsx111.jf.intel.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 29 Oct 2001 11:36:47 -0800
From: Mike Smith <msmith@freebsd.org>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1403
Subject: [acpi-jp 1403] Re: Libretto L2 
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: msmith@freebsd.org


Do the problems only occur with ACPI_DEBUG defined?  It's conceivable 
that calling FUNCTION_TRACE at this point is an error, as it was in the 
GetThreadId case.

> 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
> > 

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E


