Bug 23836 - [KMS] sometimes freezes when resuming from suspend-to-disk
Summary: [KMS] sometimes freezes when resuming from suspend-to-disk
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Wang Zhenyu
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 04:01 UTC by Vincent Danjean
Modified: 2017-07-24 23:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
IRC log about a new occurence of this bug (5.90 KB, text/plain)
2009-10-15 11:30 UTC, Vincent Danjean
no flags Details

Description Vincent Danjean 2009-09-10 04:01:04 UTC
Bug description:
  I reported my bug in the Debian BTS: http://bugs.debian.org/545517
I recopy its text at the end of this report.
I was asked by the Debian xorg maintainer to also report the bug here. However, reading the "bug writing guidelines", I see that I will not be able to provide all requested information. I disabled KMS and I've no time any more to re-enable it (more exactly, I have not enough time to be able to recover from data corruption if it happens again for now)

System environment:
-- chipset: Intel Corporation Mobile GM965/GL960
-- system architecture: 64-bit (x86_64)
-- xf86-video-intel: 2:2.8.1-1 [2.8.1 rom Xorg.0.log] (from xserver-xorg-video-intel Debian package)
-- xserver: 2:1.6.3-1 [1.6.3 from Xorg.0.log] (from xserver-xorg Debian package)
-- mesa: 7.5.1-1 (from mesa-utils Debian package)
-- libdrm: 2.4.13-1 (from libdrm2 Debian package)
-- kernel: 2.6.31-rc6-amd64 (from Debian Kernel Team experimental packages)
-- Linux distribution: Debian unstable
-- Machine or mobo model: Dell latitude D630
-- Display connector: LVDS and sometimes DVI

Copy from the Debian bug report:
  I've tried KMS since about 2.6.30. I've seen support improved for each new
kernel version (each new rc for 2.6.31), however suspend-to-disk has always
problems.
  With older kernel version, KMS and suspend-to-disk did not work at all.
With more recent kernel (as 2.6.31-rc6), KMS and suspend-to-disk seems to
work sometimes. However, it happens sometimes to freeze at restart (just
after reloading the kernel state, ie after the "... reloading ... 100%").
The laptop is then completly frozen, the graphical screen is not correctly
restored and I do not see anything in the /var/log/syslog after next reboot.
  When the laptop is so frozen, the only solution is to hard-reboot it.

  After several such freeze, some ext3 corruptions have been found on my disks
(both / and /home). I do not know if they are due to the bug itself or to the
fact that I had to hard-reboot the machine.

  Nevertheless, I removed KMS in my configuration and now I can use
suspend-to-disk without any problems. Summer break being ended, I need to be
able to suspend-to-disk and not to have on-disk corruption. So I do not know
when I will be able to test KMS again. If other users experiment the same
problem, this bug can be use to track the progress on it.

  For info, my graphic card is (from lspci):
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

  Regards,
    Vincent

PS: to enable KMS, I only added
intel_agp
drm
i915 modeset=1
in /etc/initramfs-tools/modules and recreated the initrd

-- Package-specific info:
** Version:
Linux version 2.6.31-rc6-amd64 (Debian 2.6.31~rc6-1~experimental.1~snapshot.14160) (waldi@debian.org) (gcc version 4.3.3 (GCC) ) #1 SMP Sat Aug 22 01:15:15 UTC 2009

** Command line:
BOOT_IMAGE=/vmlinuz-2.6.31-rc6-amd64 root=/dev/mapper/eyak-root ro quiet

** Tainted: G W (512)

** Kernel log:
[236124.392058] CPU1 attaching sched-domain:
[236124.392061]  domain 0: span 0-1 level MC
[236124.392064]   groups: 1 0
[236124.392704] CPU1 is up
[236124.392708] ACPI: Waking up from system sleep state S4
[236124.404729] pci 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007, writing 0x900403)
[236124.404851] ehci_hcd 0000:00:1a.7: PME# disabled
[236124.404889] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100106, writing 0x100102)
[236124.405222] ehci_hcd 0000:00:1d.7: PME# disabled
[236124.405244] pci 0000:00:1e.0: restoring config space at offset 0x6 (was 0x20040300, writing 0x20070300)
[236124.405367] ahci 0000:00:1f.2: restoring config space at offset 0x1 (was 0x2b00403, writing 0x2b00407)
[236124.405516] iwlagn 0000:0c:00.0: restoring config space at offset 0x1 (was 0x100106, writing 0x100506)
[236124.405620] tg3 0000:09:00.0: restoring config space at offset 0xc (was 0x0, writing 0x20200000)
[236124.405685] yenta_cardbus 0000:03:01.0: restoring config space at offset 0xf (was 0x14001ff, writing 0x5c001ff)
[236124.405698] yenta_cardbus 0000:03:01.0: restoring config space at offset 0xa (was 0x0, writing 0xf43ff000)
[236124.405704] yenta_cardbus 0000:03:01.0: restoring config space at offset 0x9 (was 0x0, writing 0xf4000000)
[236124.405718] yenta_cardbus 0000:03:01.0: restoring config space at offset 0x3 (was 0x824000, writing 0x82a800)
[236124.405725] yenta_cardbus 0000:03:01.0: restoring config space at offset 0x1 (was 0x4100007, writing 0x4100087)
[236124.405769] firewire_ohci 0000:03:01.4: restoring config space at offset 0x1 (was 0x2100117, writing 0x2180117)
[236124.446617] pci 0000:00:02.0: PME# disabled
[236124.446624] pci 0000:00:02.0: setting latency timer to 64
[236124.446628] pci 0000:00:02.1: PME# disabled
[236124.446634] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[236124.446674] usb usb2: root hub lost power or was reset
[236124.446713] uhci_hcd 0000:00:1a.1: setting latency timer to 64
[236124.446752] usb usb4: root hub lost power or was reset
[236124.446772] ehci_hcd 0000:00:1a.7: PME# disabled
[236124.446776] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[236124.446781] usb usb1: root hub lost power or was reset
[236124.450667] ehci_hcd 0000:00:1a.7: debug port 1
[236124.450673] ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
[236124.450730] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[236124.450736] HDA Intel 0000:00:1b.0: setting latency timer to 64
[236124.592360] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[236124.592404] usb usb5: root hub lost power or was reset
[236124.592423] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[236124.592460] usb usb6: root hub lost power or was reset
[236124.592477] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[236124.592515] usb usb7: root hub lost power or was reset
[236124.592552] ehci_hcd 0000:00:1d.7: PME# disabled
[236124.592556] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[236124.592561] usb usb3: root hub lost power or was reset
[236124.596452] ehci_hcd 0000:00:1d.7: debug port 1
[236124.596457] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
[236124.596468] pci 0000:00:1e.0: setting latency timer to 64
[236124.596475] PIIX_IDE 0000:00:1f.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[236124.596505] PIIX_IDE 0000:00:1f.1: setting latency timer to 64
[236124.596577] ahci 0000:00:1f.2: setting latency timer to 64
[236124.596807] tg3 0000:09:00.0: restoring config space at offset 0xc (was 0x0, writing 0x20200000)
[236124.596919] yenta_cardbus 0000:03:01.0: O2: res at 0x94/0xD4: 00/ea
[236124.596920] yenta_cardbus 0000:03:01.0: O2: enabling read prefetch/write burst
[236124.736259] firewire_ohci 0000:03:01.4: restoring config space at offset 0x1 (was 0x2100117, writing 0x2180117)
[236124.808262] firewire_core: skipped bus generations, destroying all nodes
[236124.827171] serial 00:09: activated
[236124.855931] parport_pc 00:0a: activated
[236124.856716] sd 0:0:0:0: [sda] Starting disk
[236124.916226] ata3: SATA link down (SStatus 0 SControl 300)
[236124.924228] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[236125.047054] ata1.00: configured for UDMA/133
[236125.065585] do_drive_get_GTF: Run _GTF error: status = 0x5
[236125.067596] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[236125.069097] hda: UDMA/33 mode selected
[236125.308242] firewire_core: rediscovered device fw0
[236126.388226] usb 2-2: reset full speed USB device using uhci_hcd and address 2
[236126.559279] btusb 2-2:1.0: no reset_resume for driver btusb?
[236126.559283] btusb 2-2:1.1: no reset_resume for driver btusb?
[236126.976223] usb 7-1: reset full speed USB device using uhci_hcd and address 2
[236127.469281] usb 7-1.2: reset full speed USB device using uhci_hcd and address 3
[236127.576326] pci 0000:00:02.0: restoring config space at offset 0x1 (was 0x900407, writing 0x900403)
[236127.576347] pci 0000:00:02.0: setting latency timer to 64
[236127.663974] Restarting tasks ... done.
[236129.520636] tg3 0000:09:00.0: PME# disabled
[236129.520762] tg3 0000:09:00.0: irq 30 for MSI/MSI-X
[236129.586504] ADDRCONF(NETDEV_UP): eth0: link is not ready
[236129.819097] Registered led device: iwl-phy1::radio
[236129.819120] Registered led device: iwl-phy1::assoc
[236129.819140] Registered led device: iwl-phy1::RX
[236129.819162] Registered led device: iwl-phy1::TX
[236129.888421] ADDRCONF(NETDEV_UP): eth1: link is not ready
[236129.903925] eth1: direct probe to AP e2:4d:2b:0b:56:d2 try 1
[236129.911769] eth1 direct probe responded
[236129.911773] eth1: authenticate with AP e2:4d:2b:0b:56:d2
[236129.915523] eth1: authenticated
[236129.915527] eth1: associate with AP e2:4d:2b:0b:56:d2
[236130.112044] eth1: associate with AP e2:4d:2b:0b:56:d2
[236130.312118] eth1: associate with AP e2:4d:2b:0b:56:d2
[236130.515558] eth1: association with AP e2:4d:2b:0b:56:d2 timed out
[236140.402110] eth1: authenticate with AP 00:1d:6a:83:f5:ff
[236140.404097] eth1: authenticated
[236140.404101] eth1: associate with AP 00:1d:6a:83:f5:ff
[236140.406788] eth1: RX AssocResp from 00:1d:6a:83:f5:ff (capab=0x431 status=0 aid=2)
[236140.406793] eth1: associated
[236140.430791] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[236150.656023] eth1: no IPv6 routers present
[236799.604055] eth1: no probe response from AP 00:1d:6a:83:f5:ff - disassociating
[236892.687465] eth1: authenticate with AP 00:1d:6a:83:f5:ff
[236892.690166] eth1: authenticated
[236892.690172] eth1: associate with AP 00:1d:6a:83:f5:ff
[236892.696039] eth1: RX AssocResp from 00:1d:6a:83:f5:ff (capab=0x431 status=0 aid=1)
[236892.696046] eth1: associated

** Loaded modules:
Module                  Size  Used by
snd_usb_audio          91440  0 
snd_usb_lib            16640  1 snd_usb_audio
pwc                    79952  0 
videodev               37216  1 pwc
v4l1_compat            12964  1 videodev
v4l2_compat_ioctl32     9344  1 videodev
iwlagn                 84960  0 
tg3                   100388  0 
tun                    14976  2 
binfmt_misc             9292  1 
i915                  207368  2 
drm                   174640  3 i915
i2c_algo_bit            5988  1 i915
ppdev                   7272  0 
lp                     10708  0 
bridge                 48208  0 
stp                     2900  1 bridge
bnep                   13776  2 
sco                    11028  2 
rfcomm                 36016  4 
l2cap                  21152  16 bnep,rfcomm
nfsd                  269520  9 
lockd                  68372  1 nfsd
nfs_acl                 3296  1 nfsd
auth_rpcgss            40960  1 nfsd
sunrpc                198632  8 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                4656  1 nfsd
kvm_intel              46520  0 
kvm                   160600  1 kvm_intel
acpi_cpufreq            8912  0 
cpufreq_conservative     7856  0 
cpufreq_stats           4692  0 
cpufreq_userspace       3652  0 
cpufreq_powersave       1824  0 
microcode              25208  0 
fuse                   60224  3 
usbhid                 37472  0 
hid                    41392  1 usbhid
dm_crypt               13144  0 
coretemp                6688  0 
loop                   16012  0 
firewire_sbp2          15568  0 
btusb                  12884  2 
bluetooth              55604  9 bnep,sco,rfcomm,l2cap,btusb
ide_cd_mod             28600  0 
cdrom                  34376  1 ide_cd_mod
ide_pci_generic         4996  0 
snd_hda_codec_idt      63904  1 
ata_generic             5972  0 
arc4                    2080  2 
ecb                     3104  2 
iwlcore               111264  1 iwlagn
snd_hda_intel          27656  4 
snd_hda_codec          75952  2 snd_hda_codec_idt,snd_hda_intel
led_class               5080  1 iwlcore
snd_hwdep               8232  2 snd_usb_audio,snd_hda_codec
snd_pcm_oss            37232  0 
snd_mixer_oss          15104  1 snd_pcm_oss
mac80211              139488  2 iwlagn,iwlcore
snd_pcm                79448  5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            7008  0 
snd_rawmidi            23136  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      7744  1 snd_seq_midi
snd_seq                51360  2 snd_seq_midi,snd_seq_midi_event
snd_timer              21904  3 snd_pcm,snd_seq
pcmcia                 27416  0 
snd_seq_device          7508  3 snd_seq_midi,snd_rawmidi,snd_seq
cfg80211               89848  3 iwlagn,iwlcore,mac80211
dell_laptop             3944  0 
snd                    64424  18 snd_usb_audio,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
rfkill                 20552  3 bluetooth,cfg80211,dell_laptop
firewire_ohci          22516  0 
yenta_socket           24972  1 
video                  22204  1 i915
libphy                 25312  1 tg3
intel_agp              29104  1 
processor              40188  3 acpi_cpufreq
firewire_core          47960  2 firewire_sbp2,firewire_ohci
output                  3520  1 video
rsrc_nonstatic         10256  1 yenta_socket
soundcore               8160  1 snd
uhci_hcd               22256  0 
ehci_hcd               34432  0 
crc_itu_t               2752  1 firewire_core
pcmcia_core            37108  3 pcmcia,yenta_socket,rsrc_nonstatic
wmi                     7520  0 
snd_page_alloc          9952  2 snd_hda_intel,snd_pcm
i2c_i801               10432  0 
piix                    7432  0 
i2c_core               24448  5 videodev,i915,drm,i2c_algo_bit,i2c_i801
dcdbas                  8560  1 dell_laptop
ide_core              106592  3 ide_cd_mod,ide_pci_generic,piix
serio_raw               5908  0 
button                  6544  0 
parport_pc             27256  1 
psmouse                42396  0 
evdev                  10480  15 
parport                38304  3 ppdev,lp,parport_pc
battery                 7664  0 
joydev                 10976  0 
ac                      3760  0 
ext3                  122304  6 
jbd                    48456  1 ext3
mbcache                 8836  1 ext3
dm_mod                 68584  21 dm_crypt
sd_mod                 34728  4 
crc_t10dif              2128  1 sd_mod
thermal                15968  0 
fan                     5272  0 
thermal_sys            16496  4 video,processor,thermal,fan
ahci                   39408  3 
libata                176076  2 ata_generic,ahci
scsi_mod              160320  3 firewire_sbp2,sd_mod,libata

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
	Subsystem: Dell Device [1028:01f9]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c) (prog-if 00 [VGA controller])
	Subsystem: Dell Latitude D630 [1028:01f9]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 29
	Region 0: Memory at f6e00000 (64-bit, non-prefetchable) [size=1M]
	Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at eff8 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>

00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 0c)
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f6f00000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>

00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 20
	Region 4: I/O ports at 6f20 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 21
	Region 4: I/O ports at 6f00 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 02) (prog-if 20 [EHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 22
	Region 0: Memory at fed1c400 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
	Subsystem: Dell Dell Latitude D630 [1028:01f9]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 21
	Region 0: Memory at f6dfc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel

00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 02) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver

00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 02) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
	Memory behind bridge: f6c00000-f6cfffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver

00:1c.5 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 [8086:2849] (rev 02) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
	Memory behind bridge: f6b00000-f6bfffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver

00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 20
	Region 4: I/O ports at 6f80 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 21
	Region 4: I/O ports at 6f60 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 02) (prog-if 00 [UHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 22
	Region 4: I/O ports at 6f40 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 02) (prog-if 20 [EHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at fed1c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f2) (prog-if 01 [Subtractive decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Bus: primary=00, secondary=03, subordinate=07, sec-latency=32
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: f6a00000-f6afffff
	Prefetchable memory behind bridge: 00000000f0000000-00000000f3ffffff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR+
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller [8086:2815] (rev 02)
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>

00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374 [size=1]
	Region 4: I/O ports at 6fa0 [size=16]
	Kernel driver in use: PIIX_IDE

00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 02) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 27
	Region 0: I/O ports at 6eb0 [size=8]
	Region 1: I/O ports at 6eb8 [size=4]
	Region 2: I/O ports at 6ec0 [size=8]
	Region 3: I/O ports at 6ec8 [size=4]
	Region 4: I/O ports at 6ee0 [size=32]
	Region 5: Memory at f6dfb800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 02)
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin B routed to IRQ 17
	Region 0: Memory at f6dfb700 (32-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at 10c0 [size=32]
	Kernel driver in use: i801_smbus

03:01.0 CardBus bridge [0607]: O2 Micro, Inc. Cardbus bridge [1217:7135] (rev 21)
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 168
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at f6a00000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=03, secondary=04, subordinate=07, sec-latency=176
	Memory window 0: f0000000-f3fff000 (prefetchable)
	Memory window 1: f4000000-f43ff000
	I/O window 0: 00002000-000020ff
	I/O window 1: 00002400-000024ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001
	Kernel driver in use: yenta_cardbus

03:01.4 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) [1217:00f7] (rev 02) (prog-if 10 [OHCI])
	Subsystem: Dell Device [1028:01f9]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
	Latency: 64, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at f6aff000 (32-bit, non-prefetchable) [size=4K]
	Region 1: Memory at f6afe800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: firewire_ohci

09:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express [14e4:1673] (rev 02)
	Subsystem: Dell Device [1028:01f9]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 30
	Region 0: Memory at f6bf0000 (64-bit, non-prefetchable) [size=64K]
	Expansion ROM at <ignored> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: tg3

0c:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4229] (rev 61)
	Subsystem: Intel Corporation Device [8086:1121]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 28
	Region 0: Memory at f6cfe000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlagn



-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.31-rc6-amd64 depends on:
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.93.4     tools for generating an initramfs
ii  module-init-tools             3.10-3     tools for managing Linux kernel mo

Versions of packages linux-image-2.6.31-rc6-amd64 recommends:
ii      2.6.31~rc6-1~experimental.1~snapshot Binary firmware for various driver

Versions of packages linux-image-2.6.31-rc6-amd64 suggests:
ii  grub-pc [grub]           1.96+20090829-1 GRand Unified Bootloader, version 
pn  linux-doc-2.6.31         <none>          (no description available)

-- debconf information:
  linux-image-2.6.31-rc6-amd64/postinst/depmod-error-initrd-2.6.31-rc6-amd64: false
  linux-image-2.6.31-rc6-amd64/prerm/removing-running-kernel-2.6.31-rc6-amd64: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.31-rc6-amd64/postinst/bootloader-test-error-2.6.31-rc6-amd64:
  linux-image-2.6.31-rc6-amd64/preinst/initrd-2.6.31-rc6-amd64:
  linux-image-2.6.31-rc6-amd64/postinst/bootloader-error-2.6.31-rc6-amd64:
  linux-image-2.6.31-rc6-amd64/prerm/would-invalidate-boot-loader-2.6.31-rc6-amd64: true
  linux-image-2.6.31-rc6-amd64/postinst/missing-firmware-2.6.31-rc6-amd64:
Comment 1 Vincent Danjean 2009-10-15 11:30:56 UTC
Created attachment 30459 [details]
IRC log about a new occurence of this bug

Here is some new info about this bug. You can see that there has really been memory corruption. The kernel is the last from Debian (ie based on 2.6.31.4)
Comment 2 Wang Zhenyu 2009-11-05 22:25:46 UTC
Could you try recent 2.6.32-rc6 kernel? Jesse has several resume fixes might be relate with this one.
Comment 3 Vincent Danjean 2009-11-11 15:11:59 UTC
I cannot try for now: the laptop I use is my work laptop and I do not have time for now to take the risk of a data corruption (and a reinstallation from backup). For my part, new tests will probably needs to wait until January.
  Regards,
    Vincent
Comment 4 Wang Zhenyu 2009-12-21 21:38:22 UTC
lower severity.
Comment 5 Vincent Danjean 2009-12-22 04:42:16 UTC
I've been asked to test with 2.6.32-rc6.
I tested with 2.6.32-rc8 and 2.6.32 (Debian packages).

In both case, I can boot with KMS until gdm screen but my keyboard does not seems to work correctly. The place for the login is black (instead of white as usual). When I try to login, gdm seems to freeze and then restart.

Note that 2.6.32 (or 2.6.32) without KMS does not work either, nor 2.6.31 with KMS (whereas it was working, at least when I do not suspend to disk, when I wrote this initial bug report)
  So I think there have been new bugs in related sofware (probably the X server).
My Xserver is the one from Debian unstable (package xserver-xorg 1:7.4+4).

For now, I've to stick to 2.6.31 without KMS. Debian has xserver-xorg 1:7.5~3 in experimental but I cannot test it because xserver-xorg-video-intel is not (yet ?) recompiled for this server.

  Regards,
    Vincent

PS: most of the time, there is nothing in the log. Sometimes (I think this is 2.6.32 without KMS but I'm not sure), I can see 

Fatal server error:
Failed to map batchbuffer: Input/output error


Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Comment 6 Vincent Danjean 2010-06-14 08:49:44 UTC
Any news on this bug ? I still suffer from it (kernel 2.6.32 and 2.6.34) as I just explain on the debian bug report ( http://bugs.debian.org/545517 ).
Being required to power-off my laptop instead of suspending it is very painful.
Comment 7 Chris Wilson 2010-07-04 07:39:33 UTC
We think we found the cause:


commit 985b823b919273fe1327d56d2196b4f92e5d0fae
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Jul 2 10:04:42 2010 +1000

    drm/i915: fix hibernation since i915 self-reclaim fixes
    
    Since commit 4bdadb9785696439c6e2b3efe34aa76df1149c83 ("drm/i915:
    Selectively enable self-reclaim"), we've been passing GFP_MOVABLE to the
    i915 page allocator where we weren't before due to some over-eager
    removal of the page mapping gfp_flags games the code used to play.
    
    This caused hibernate on Intel hardware to result in a lot of memory
    corruptions on resume.  See for example
    
      http://bugzilla.kernel.org/show_bug.cgi?id=13811
    
    Reported-by: Evengi Golov (in bugzilla)
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Tested-by: M. Vefa Bicakci <bicave@superonline.com>
    Cc: stable@kernel.org
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Which means that there was actually a window in the 2.6.33 where hibernation would have worked...

Vincent, hibernation should finally be usable in the current tip of Linus's tree.
Comment 8 Chris Wilson 2010-07-24 03:58:04 UTC
2.6.35-rc6 appears to have fixed the hibernate regression.


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.