Bug 18561

Summary: [GM45] S3 resume dead
Product: xorg Reporter: jixin.liu <jixin.liu>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: jixin.liu, michael.fu
Version: 7.4 (2008.09)Keywords: NEEDINFO
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 18858    
Attachments:
Description Flags
Xrog Log none

Description jixin.liu@cs2c.com.cn 2008-11-16 17:50:06 UTC
I use kernel 2.6.27.4-79, mesa 7.2.0-13, libdrm 2.4.0-0.21, Xorg server 1.5.2,
intel graphics driver is 2.5.0 can start X , it can suspend and hibernate
normally. but computer has died when I want to wake up system form  suspend and
hibernate. 

But When I use vesa driver start X, then use "pm-suspend --quirk-s3-bios
--quirk-s3-mode --quirk-vbe-post" command can suspend and hibernat. and it is
normal when I wake up system. 


The system environment is:
Chipset: Intel Corporation 82852/855GM 

PCI info is :

lspci

00:00.0 Host bridge: Intel Corporation Cantiga Memory Controller Hub (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Cantiga GM45 Integrated Graphics Controller (rev 06)
00:02.1 Display controller: Intel Corporation Cantiga GM45 Integrated Graphics Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)

lspci -n

00:00.0 0600: 8086:2a40 (rev 06)
00:02.0 0300: 8086:2a42 (rev 06)
00:02.1 0380: 8086:2a43 (rev 06)
00:1a.0 0c03: 8086:2937 (rev 03)
00:1a.1 0c03: 8086:2938 (rev 03)
00:1a.2 0c03: 8086:2939 (rev 03)
00:1a.7 0c03: 8086:293c (rev 03)
00:1b.0 0403: 8086:293e (rev 03)
00:1c.0 0604: 8086:2940 (rev 03)
00:1c.2 0604: 8086:2944 (rev 03)
00:1d.0 0c03: 8086:2934 (rev 03)
00:1d.1 0c03: 8086:2935 (rev 03)
00:1d.2 0c03: 8086:2936 (rev 03)
00:1d.7 0c03: 8086:293a (rev 03)
00:1e.0 0604: 8086:2448 (rev 93)
00:1f.0 0601: 8086:2919 (rev 03)
00:1f.2 0106: 8086:2929 (rev 03)
00:1f.3 0c05: 8086:2930 (rev 03)
02:00.0 0200: 10ec:8136 (rev 01)

System architectue: Linux localhost.localdomain 2.6.27.4-79_dt_1.i686 #1 SMP Tue Nov 11 09:43:13 CST 2008 i686 i686 i386 GNU/Linux

xf86-video-intel version: 2.5.0-1
xserver version: 1.5.2-12
mesa version: 7.2-0.13
drm version: 2.4.0-0.21
kernel version: 2.6.27.4-79

You can get this package from fedora 10

Linux distribution: My system is like fedora 10. some packages get from fedora
10. 

My xorg.conf is :

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


My Xorg log will be provided by accachment.
Comment 1 jixin.liu@cs2c.com.cn 2008-11-16 17:51:23 UTC
Created attachment 20351 [details]
Xrog Log
Comment 2 Gordon Jin 2008-11-16 21:41:02 UTC
>> The system environment is:
>> Chipset: Intel Corporation 82852/855GM 

Why do you think it's older 82852/855GM? Both the lspci and log says it's newer GM45.

Could you give the laptop model?
Comment 3 jixin.liu@cs2c.com.cn 2008-11-16 21:49:34 UTC
Sorry, I misremember it . The Chipset is Intel Corporation Cantiga GM45. The lspci info is true!
Comment 4 Gordon Jin 2008-11-18 17:07:30 UTC
Again, could you give the laptop brand and model info?
Comment 5 jixin.liu@cs2c.com.cn 2008-11-19 17:02:46 UTC
The NotBook is GreatWall A62. The hal info is:

udi = '/org/freedesktop/Hal/devices/computer'
  info.addons = {'hald-addon-cpufreq', 'hald-addon-acpi'} (string list)
  info.callouts.add = {'hal-acl-tool --remove-all', 'hal-storage-cleanup-all-mountpoints'} (string list)
  info.callouts.session_active = {'hal-acl-tool --reconfigure'} (string list)
  info.callouts.session_add = {'hal-acl-tool --reconfigure'} (string list)
  info.callouts.session_inactive = {'hal-acl-tool --reconfigure'} (string list)
  info.callouts.session_remove = {'hal-acl-tool --reconfigure'} (string list)
  info.capabilities = {'cpufreq_control'} (string list)
  info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement', 'org.freedesktop.Hal.Device.CPUFreq'} (string list)
  info.product = 'Computer'  (string)
  info.subsystem = 'unknown'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer'  (string)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = {'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 'enable_power_save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 'i', '', '', '', 'b'} (string list)
  power_management.acpi.linux.version = '20080609'  (string)
  power_management.can_hibernate = true  (bool)
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = false  (bool)
  power_management.can_suspend_to_disk = true  (bool)
  power_management.can_suspend_to_ram = true  (bool)
  power_management.is_powersave_set = false  (bool)
  power_management.type = 'acpi'  (string)
  system.chassis.manufacturer = 'ONKYO CORPORATION'  (string)
  system.chassis.type = 'Desktop'  (string)
  system.firmware.release_date = '07/29/2008'  (string)
  system.firmware.vendor = 'American Megatrends Inc.'  (string)
  system.firmware.version = '080015'  (string)
  system.formfactor = 'desktop'  (string)
  system.hardware.primary_video.product = 2144  (0x860)  (int)
  system.hardware.primary_video.vendor = 4318  (0x10de)  (int)
  system.hardware.product = 'ONKYOPC'  (string)
  system.hardware.serial = 'To Be Filled By O.E.M.'  (string)
  system.hardware.uuid = '00020003-0004-0005-0006-000700080009'  (string)
  system.hardware.vendor = 'ONKYO CORPORATION'  (string)
  system.hardware.version = ''  (string)
  system.kernel.machine = 'i686'  (string)
  system.kernel.name = 'Linux'  (string)
  system.kernel.version = '2.6.27-0.398.rc9_dt_1.i686'  (string)
Comment 6 Michael Fu 2008-11-26 00:15:15 UTC
Is this complete hang? Can you ssh to that machine from another machine after resume? If so, could you please remote login to that machine and grab a log? 

Please ModeDebug True option in driver section and re-submit the log..
Comment 7 jixin.liu@cs2c.com.cn 2008-11-26 00:18:39 UTC
I try ssh to that machine,but, failed!
Comment 8 Jesse Barnes 2008-12-18 14:26:07 UTC
Can you confirm whether suspend/resume works from the console?  Just boot into text mode, do a "modprobe i915", then:
  # intel_reg_dumper > pre-suspend.out
  # echo mem > /sys/power/state
  # intel_reg_dumper > post-resume.out
If the machine doesn't come back, reboot it and see if you got both files, and please attach them to this bug.
Comment 9 Michael Fu 2009-01-18 23:48:13 UTC
no response from bug reporter...pls reopen with reponse to comment# 8

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.