Bug#661112: Resume from suspend does not fully turn on laptop screen

2012-03-02 Thread Didier Raboud
Le vendredi, 24 février 2012 10.41:45, Enrico Zini a écrit :
 
 since version 3.2.0, when I resume from suspend the laptop screen
 backlight turns on, but the screen contents remain all black. Other
 monitors connected to the system wake up fine.

I'm getting the same symptoms, but with a different syslog error:

[18889.928026] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... 
GPU hung
[18889.928036] [drm] capturing error event; look for more information in 
/debug/dri/0/i915_error_state
[18889.928927] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 
(awaiting 4 at 3, next 5)
[18889.929209] [drm:init_ring_common] *ERROR* render ring initialization 
failed ctl  head  tail  start 
[18889.992311] [drm] Changing LVDS panel from (+hsync, +vsync) to (-hsync, -
vsync)
[18889.992463] [ cut here ]
[18889.992490] WARNING: at 
/home/blank/debian/kernel/release/linux-2.6/linux-2.6-3.2.7/debian/build/source_amd64_none/drivers/gpu/drm/i915/intel_display.c:793
 
intel_enable_pipe+0x68/0x11f [i915]()
[18889.992493] Hardware name: Latitude D630   
[18889.992495] PLL state assertion failure (expected on, current off)
[18889.992497] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat 
nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables 
x_tables cn acpi_cpufreq mperf cpufreq_conservative cpufreq_stats 
cpufreq_powersave cpufreq_userspace parport_pc ppdev lp parport bnep rfcomm 
binfmt_misc kvm_intel kvm fuse ext2 loop joydev snd_hda_codec_idt 
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss pcmcia snd_mixer_oss snd_pcm 
snd_seq_midi snd_rawmidi dell_wmi sparse_keymap yenta_socket pcmcia_rsrc 
pcmcia_core snd_seq_midi_event evdev snd_seq dell_laptop dcdbas i2c_i801 
snd_timer snd_seq_device pcspkr arc4 btusb psmouse bluetooth serio_raw 
iTCO_wdt iTCO_vendor_support snd iwl3945 iwl_legacy mac80211 cfg80211 i915 
drm_kms_helper drm i2c_algo_bit i2c_core soundcore rfkill snd_page_alloc video 
battery button wmi ac power_supply processor ext4 mbcache jbd2 crc16 
sha256_generic cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mod sr_mod sd_mod 
crc_t10dif cdrom ata_generic uhci_hcd firewire_ohci
thermal thermal_sys ahci libahci firewire_core crc_itu_t ata_piix ehci_hcd tg3 
libphy libata scsi_mod usbcore usb_common [last unloaded: scsi_wait_scan]
[18889.992572] Pid: 21437, comm: kworker/u:29 Not tainted 3.2.0-1-amd64 #1
[18889.992574] Call Trace:
[18889.992580]  [81046871] ? warn_slowpath_common+0x78/0x8c
[18889.992584]  [8104691d] ? warn_slowpath_fmt+0x45/0x4a
[18889.992596]  [a02749e3] ? intel_enable_pipe+0x68/0x11f [i915]
[18889.992607]  [a0277551] ? i9xx_crtc_mode_set+0xa19/0xa89 [i915]
[18889.992618]  [a0272c67] ? intel_crtc_mode_set+0x60/0x8a [i915]
[18889.992624]  [a02534a8] ? drm_crtc_helper_set_mode+0x22b/0x38f 
[drm_kms_helper]
[18889.992628]  [811a840d] ? idr_pre_get+0x51/0x69
[18889.992635]  [a025365e] ? drm_helper_resume_force_mode+0x52/0xfe 
[drm_kms_helper]
[18889.992643]  [a0259cd2] ? i915_reset+0x420/0x43a [i915]
[18889.992652]  [a025d1a1] ? i915_driver_irq_postinstall+0x169/0x169 
[i915]
[18889.992660]  [a025d250] ? i915_error_work_func+0xaf/0xe7 [i915]
[18889.992666]  [8105ae45] ? process_one_work+0x163/0x284
[18889.992669]  [8105be0d] ? worker_thread+0xc2/0x145
[18889.992672]  [8105bd4b] ? manage_workers.isra.23+0x15b/0x15b
[18889.992675]  [8105ef49] ? kthread+0x76/0x7e
[18889.992680]  [81347934] ? kernel_thread_helper+0x4/0x10
[18889.992683]  [8105eed3] ? kthread_worker_fn+0x139/0x139
[18889.992687]  [81347930] ? gs_change+0x13/0x13
[18889.992688] ---[ end trace 7275beeccf86fa64 ]---

Is that the same issue or should I report a separate bug ?

Cheers,

OdyX


signature.asc
Description: This is a digitally signed message part.


Bug#661112: Resume from suspend does not fully turn on laptop screen

2012-02-24 Thread Enrico Zini
Package: linux-2.6
Version: 3.2.6-1
Severity: normal

Hello,

since version 3.2.0, when I resume from suspend the laptop screen
backlight turns on, but the screen contents remain all black. Other
monitors connected to the system wake up fine.

This bit of log from resume contains a relevant error:

Feb 24 09:29:06 viaza kernel: [  186.037113] e1000e: eth0 NIC Link is Up 100 
Mbps Full Duplex, Flow Control: Rx
Feb 24 09:29:06 viaza kernel: [  186.037116] e1000e :00:19.0: eth0: 10/100 
speed: disabling TSO
Feb 24 09:29:06 viaza kernel: [  186.810811] [drm:intel_dp_complete_link_train] 
*ERROR* failed to train DP, aborting
Feb 24 09:29:06 viaza kernel: [  187.235132] PM: resume of devices complete 
after 2932.802 msecs
Feb 24 09:29:06 viaza kernel: [  187.235255] PM: Finishing wakeup.
Feb 24 09:29:06 viaza kernel: [  187.235256] Restarting tasks ... done.
Feb 24 09:29:06 viaza kernel: [  187.241634] video LNXVIDEO:01: Restoring 
backlight state

http://forums.gentoo.org/viewtopic-p-6921616.html?sid=afa6e13df7286caeeb27e9a3b1e0d4a8
and https://bugs.gentoo.org/show_bug.cgi?id=398149
seem to be exactly it.

Resume worked almost fine on 3.1.0, failing only once in 5 or 6 where
after resume the laptop would be completely dead.


Ciao,

Enrico


-- Package-specific info:
** Version:
Linux version 3.2.0-1-amd64 (Debian 3.2.6-1) (b...@decadent.org.uk) (gcc 
version 4.6.2 (Debian 4.6.2-14) ) #1 SMP Fri Feb 17 05:17:36 UTC 2012

** Command line:
BOOT_IMAGE=/vmlinuz-3.2.0-1-amd64 root=/dev/mapper/viaza-root ro quiet

** Tainted: O (4096)
 * Out-of-tree module has been loaded.

** Kernel log: # Note: I added some more log from /var/log/kern.log
[1.767319] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input0
[1.832870] input: Sleep Button as 
/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1
[1.832879] ACPI: Sleep Button [SLPB]
[1.832941] input: Lid Switch as 
/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input2
[1.833008] ACPI: Lid Switch [LID]
[1.833067] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[1.833072] ACPI: Power Button [PWRF]
[1.844109] e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k
[1.844112] e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
[1.844165] e1000e :00:19.0: PCI INT A - GSI 20 (level, low) - IRQ 20
[1.844180] e1000e :00:19.0: setting latency timer to 64
[1.844309] e1000e :00:19.0: irq 43 for MSI/MSI-X
[1.852427] [drm] Initialized drm 1.1.0 20060810
[1.861318] usbcore: registered new interface driver usbfs
[1.861347] usbcore: registered new interface driver hub
[1.864053] thermal LNXTHERM:00: registered as thermal_zone0
[1.864057] ACPI: Thermal Zone [EXTZ] (0 C)
[1.864731] usbcore: registered new device driver usb
[1.867878] thermal LNXTHERM:01: registered as thermal_zone1
[1.867882] ACPI: Thermal Zone [EX2Z] (0 C)
[1.869375] thermal LNXTHERM:02: registered as thermal_zone2
[1.869378] ACPI: Thermal Zone [PWMZ] (11 C)
[1.873098] thermal LNXTHERM:03: registered as thermal_zone3
[1.873102] ACPI: Thermal Zone [LOCZ] (27 C)
[1.873711] thermal LNXTHERM:04: registered as thermal_zone4
[1.873713] ACPI: Thermal Zone [GFXZ] (0 C)
[1.874427] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[1.874803] SCSI subsystem initialized
[1.875884] sdhci: Secure Digital Host Controller Interface driver
[1.875887] sdhci: Copyright(c) Pierre Ossman
[1.876290] sdhci-pci :44:06.1: SDHCI controller found [1180:0822] (rev 
25)
[1.876310] sdhci-pci :44:06.1: PCI INT B - GSI 22 (level, low) - IRQ 
22
[1.877342] sdhci-pci :44:06.1: Will use DMA mode even though HW doesn't 
fully claim to support it.
[1.877351] sdhci-pci :44:06.1: setting latency timer to 64
[1.877390] mmc0: no vmmc regulator found
[1.877604] libata version 3.00 loaded.
[1.879978] Registered led device: mmc0::
[1.883200] mmc0: SDHCI controller on PCI [:44:06.1] using DMA
[1.883244] firewire_ohci :44:06.0: PCI INT A - GSI 20 (level, low) - 
IRQ 20
[1.883252] firewire_ohci :44:06.0: setting latency timer to 64
[1.887187] thermal LNXTHERM:05: registered as thermal_zone5
[1.887190] ACPI: Thermal Zone [BATZ] (20 C)
[1.896822] thermal LNXTHERM:06: registered as thermal_zone6
[1.896824] ACPI: Thermal Zone [EGXZ] (0 C)
[1.897118] thermal LNXTHERM:07: registered as thermal_zone7
[1.897121] ACPI: Thermal Zone [CPUZ] (43 C)
[1.897437] thermal LNXTHERM:08: registered as thermal_zone8
[1.897440] ACPI: Thermal Zone [MCHZ] (46 C)
[1.897688] thermal LNXTHERM:09: registered as thermal_zone9
[1.897691] ACPI: Thermal Zone [PCHZ] (59 C)
[1.946044] firewire_ohci: Added fw-ohci device :44:06.0, OHCI v1.10, 4 
IR + 4 IT contexts, quirks 0x11
[2.020267] e1000e :00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 
68:b5:99:f5:a3:6a
[2.020270] e1000e