Subject: port-i386/35747
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Alexander V. Butenko <avb@avb.bas-net.by>
List: netbsd-bugs
Date: 02/27/2007 14:35:03
The following reply was made to PR port-i386/35747; it has been noted by GNATS.

From: "Alexander V. Butenko" <avb@avb.bas-net.by>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: port-i386/35747
Date: Tue, 27 Feb 2007 16:30:27 +0200

 Got src/sys/arch/i386/acpi/acpi_wakeup.c from -current.
 With him when i'm going to sleep i see:
 acpi0: good morning
 ioapic0: enabling
 pckbd0: resuming...
 
 And then nothing
 
 Tue, 20 Feb 2007 you wrote:
 
 > >Number:         35747
 > >Category:       port-i386
 > >Synopsis:       suspend to ram doesnt works on Asus S5200N
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    port-i386-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Feb 20 20:45:00 +0000 2007
 > >Originator:     Alexander V. Butenko
 > >Release:        netbsd-4
 > >Organization:
 > digiqube
 > >Environment:
 > NetBSD ds 4.0_BETA2 NetBSD 4.0_BETA2 (ds) #12: Mon Jan 22 11:38:43 EET 2007  root@ds:/usr/src/sys/arch/i386/compile/ds i386
 > >Description:
 > Asus S5200N (similar as Asus S5N). i855GM chipset.
 > FUJITSU MHT2040AT hdd.
 
 > Tests was made in the running netbsd-4 with minimal running processes.
 
 > When i disable USB in bios after setting machdep.sleep_state=3 
 > i'm getting messages:
 > acpiec0: timeout waiting to EC to respond to EC_COMMAND_QUEURY
 > acpiec0: GRE command failed AE_ERROR
 
 > when USB is enables there is no such errors.
 
 > # sysctl -w machdep.acpi_vbios_reset=0
 > no messages
 > # sysctl -w machdep.sleep_state=3
 > acpi0: entering sleep state 3
 > ...and notebook goes to sleep
 > after a pressing power button i see:
 
 > acpi0: good morning
 > ioapic0: enabling
 
 > and then nothing. Machine hangs.
 
 > Notebook is very quite. No cooler or hdd sounds.
 > it seems that hdd is not enabled after waking up.
 
 > Let me know if a can provide any additional information.
 > >How-To-Repeat:
 > sysctl -w machdep.acpi_vbios_reset=0
 > sysctl -w machdep.sleep_state=3
 
 > >Fix:
 Alex