From bugbird@bmdk2237.bmobile.ne.jp  Tue Aug 12 21:01:00 2003
Return-Path: <bugbird@bmdk2237.bmobile.ne.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 47F5A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Aug 2003 21:01:00 -0700 (PDT)
Received: from bmdk2237.bmobile.ne.jp (bmdk2237.bmobile.ne.jp [203.180.16.237])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1FD1543F93
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Aug 2003 21:00:50 -0700 (PDT)
	(envelope-from bugbird@bmdk2237.bmobile.ne.jp)
Received: from bmdk2237.bmobile.ne.jp (localhost [127.0.0.1])
	by bmdk2237.bmobile.ne.jp (8.12.9/8.12.9) with ESMTP id h7DD0ZQW001227
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Aug 2003 13:00:38 GMT
	(envelope-from bugbird@bmdk2237.bmobile.ne.jp)
Received: (from bugbird@localhost)
	by bmdk2237.bmobile.ne.jp (8.12.9/8.12.9/Submit) id h7DD0Yv0001226;
	Wed, 13 Aug 2003 13:00:34 GMT
Message-Id: <200308131300.h7DD0Yv0001226@bmdk2237.bmobile.ne.jp>
Date: Wed, 13 Aug 2003 13:00:34 GMT
From: Toshiboumi Ohta <bugbird@timedia.co.jp>
Reply-To: Toshiboumi Ohta <bugbird@timedia.co.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: 5.1-RELEASE on ThinkPad 570 (2644-BAJ) freeze at suspending
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55518
>Category:       kern
>Synopsis:       5.1-RELEASE on ThinkPad 570 (2644-BAJ) freeze at suspending
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 12 21:10:18 PDT 2003
>Closed-Date:    Fri Oct 17 17:38:56 PDT 2003
>Last-Modified:  Fri Oct 17 17:38:56 PDT 2003
>Originator:     Toshiboumi Ohta
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
Time Intermedia Corp.
>Environment:
System: FreeBSD 5.1-RELEASE FreeBSD 5.1-RELEASE #10: Tue Aug 12 12:24:08 GMT 2003 root@enigma.radio.timedia.co.jp:/usr/src/sys/i386/compile/ENIGMA i386

Machine: IBM ThinkPad 570 / Celeron 400MHz 192MbyteRAM

>Description:

As, ThinkPad 570's BIOS does not support ACPI functions,
I configured apm(4) and OLDCARD environment on my note,
and disabling ACPI module by "device.hints".

It seems working good, when suspending from charactor 
console environments, but X11.

The complete hang occur with remaining graphical
displaying.  And no way to recover except power
resetting.

Interest thing is that, when switching to charactor
console by virtual console function (a.k.a. Ctl-Alt-F?? ),
the hibernation work with no problems.

I also compared with 4.8-RELEASE, but it work with no
problems.

>How-To-Repeat:

configure "device apm" on kernel configuration file
disable ACPI / enable APM functions by "device.hints"
append 'apm_enable="YES"' entry on "rc.conf"
startup X11 GUI
pushdown Fn-F12 (specify hibernation) or type "zzz"
on command line.

>Fix:

 
>Release-Note:
>Audit-Trail:

From: Lukas Ertl <l.ertl@univie.ac.at>
To: freebsd-gnats-submit@FreeBSD.org, bugbird@timedia.co.jp
Cc:  
Subject: Re: kern/55518: 5.1-RELEASE on ThinkPad 570 (2644-BAJ) freeze at
 suspending
Date: Wed, 13 Aug 2003 09:25:28 +0200 (CEST)

 Try to put the following into your kernel config:
 
 options SC_NO_SUSPEND_VTYSWITCH
 
 This helped on my T20, which had the same problem.
 
 regards,
 le
 
 -- 
 Lukas Ertl                             eMail: l.ertl@univie.ac.at
 UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
 Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
 University of Vienna                   http://mailbox.univie.ac.at/~le/

From: Lukas Ertl <l.ertl@univie.ac.at>
To: Toshiboumi bugbird Ohta <bugbird@timedia.co.jp>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/55518: 5.1-RELEASE on ThinkPad 570 (2644-BAJ) freeze at
 suspending
Date: Wed, 13 Aug 2003 10:40:05 +0200 (CEST)

 On Wed, 13 Aug 2003, Toshiboumi bugbird Ohta wrote:
 
 > On Wed, 13 Aug 2003 09:25:28 +0200 (CEST)
 > Lukas Ertl <l.ertl@univie.ac.at> wrote:
 >
 > > Try to put the following into your kernel config:
 > >
 > > options SC_NO_SUSPEND_VTYSWITCH
 > >
 > > This helped on my T20, which had the same problem.
 >
 >  It works !   Thank you.
 >
 >  I was little bit afraid of whether I missed refering
 > "NOTES", but no description existing on it.
 >
 >  The user who like to chasing current are expected reading
 > source... may be... :D
 
 So I guess this PR can be closed?
 
 regards,
 le
 
 -- 
 Lukas Ertl                             eMail: l.ertl@univie.ac.at
 UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
 Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
 University of Vienna                   http://mailbox.univie.ac.at/~le/
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Oct 17 17:38:32 PDT 2003 
State-Changed-Why:  
Workaround provided. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55518 
>Unformatted:
