You are not logged in.

#1 2013-02-10 18:48:52

nikonaum
Member
Registered: 2013-02-10
Posts: 5

[SOLVED]Laptop freezes some time after suspend

Hello guys. I installed Arch linux with XFCE4 DE on a HP ProBook 4340s with hybrid graphic card one ATI and one Intel GPU. I've disabled the Discrete ATI because I could not managed to start X with it. I've disabled it in bios and everything works fine except that when I suspend the laptop and then resume it the laptop works for 3-4 minutes and than completely freezes, not just X but everything I'm unable to ssh to the machine.
Any sugestions???
uname -ar
Linux localhost 3.7.5-1-ARCH #1 SMP PREEMPT Mon Jan 28 10:03:32 CET 2013 x86_64 GNU/Linux
pcaman -Q
xorg-server 1.13.2-1
xf86-video-intel 2.21.0-1
lspci
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

lsmod

Module                  Size  Used by
msr                     2673  0
cpufreq_stats           3827  0
fuse                   69245  2
rfcomm                 52665  4
bnep                   11290  2
coretemp                6231  0
kvm_intel             124064  0
kvm                   384721  1 kvm_intel
joydev                  9728  0
snd_hda_codec_hdmi     27561  1
uvcvideo               73462  0
videobuf2_vmalloc       2789  1 uvcvideo
videobuf2_memops        2827  1 videobuf2_vmalloc
videobuf2_core         24073  1 uvcvideo
videodev              104777  2 uvcvideo,videobuf2_core
media                  10438  2 uvcvideo,videodev
crc32c_intel            1988  0
ghash_clmulni_intel     4598  0
cryptd                  8742  1 ghash_clmulni_intel
snd_hda_codec_idt      55976  1
ath3k                   6502  0
btusb                  14645  0
bluetooth             269188  12 bnep,ath3k,btusb,rfcomm
arc4                    2008  2
ath9k                  98669  0
ath9k_common            2097  1 ath9k
ath9k_hw              355244  2 ath9k_common,ath9k
snd_hda_intel          27700  11
ath                    15362  3 ath9k_common,ath9k,ath9k_hw
snd_hda_codec         100743  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               6429  1 snd_hda_codec
mac80211              432402  1 ath9k
snd_pcm                77827  6 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
cfg80211              179435  3 ath,ath9k,mac80211
snd_page_alloc          7427  2 snd_pcm,snd_hda_intel
snd_timer              18935  4 snd_pcm
snd                    60157  23 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec,snd_hda_intel
r8169                  56712  0
iTCO_wdt                5288  0
mii                     4092  1 r8169
iTCO_vendor_support     1930  1 iTCO_wdt
microcode              14434  0
radeon                868228  0
ttm                    64961  1 radeon
acpi_cpufreq           10631  0
mperf                   1268  1 acpi_cpufreq
psmouse                77727  0
lpc_ich                11346  0
mei                    61037  0
hp_accel               16521  0
serio_raw               5074  0
jmb38x_ms              11234  0
soundcore               5443  1 snd
lis3lv02d              11636  1 hp_accel
hp_wmi                  7899  0
memstick                7529  1 jmb38x_ms
sparse_keymap           3089  1 hp_wmi
evdev                  10137  24
input_polldev           2915  1 lis3lv02d
rfkill                 15997  6 cfg80211,hp_wmi,bluetooth
pcspkr                  1900  0
ac                      2569  0
processor              27496  1 acpi_cpufreq
battery                 7099  0
container               2462  0
thermal                 8418  0
wmi                     8380  1 hp_wmi
usbip_host             18612  0
usbip_core             17178  1 usbip_host
ext4                  447457  3
crc16                   1360  2 ext4,bluetooth
jbd2                   78834  1 ext4
mbcache                 6027  1 ext4
sr_mod                 14824  0
sd_mod                 31067  5
cdrom                  35521  1 sr_mod
ahci                   21393  4
libahci                20907  1 ahci
libata                168540  2 ahci,libahci
sdhci_pci              10997  0
sdhci                  28207  1 sdhci_pci
xhci_hcd               89369  0
ehci_hcd               51745  0
scsi_mod              130423  3 libata,sd_mod,sr_mod
mmc_core               90305  2 sdhci,sdhci_pci
usbcore               173914  6 ath3k,btusb,uvcvideo,ehci_hcd,usbip_host,xhci_hcd
usb_common               955  1 usbcore
i915                  526734  9
video                  11332  1 i915
button                  4670  1 i915
i2c_algo_bit            5392  2 i915,radeon
drm_kms_helper         33007  2 i915,radeon
drm                   225482  7 ttm,i915,drm_kms_helper,radeon
i2c_core               23076  6 drm,i915,drm_kms_helper,i2c_algo_bit,radeon,videodev
intel_agp              10745  1 i915
intel_gtt              15361  2 i915,intel_agp

Last edited by nikonaum (2013-08-25 08:14:37)

Offline

#2 2013-02-10 22:07:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED]Laptop freezes some time after suspend

Two things, first of all learn how to use code blocks for better readability. Second, the hardware info is a great start, but what would be much better is any logging output that occurs during the time of these freezes.  Otherwise, you are simply asking "Why is computer freezing sometimes around the general time of after a suspend?" which is impossible to answer without simply guessing.

Offline

#3 2013-02-11 00:24:40

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [SOLVED]Laptop freezes some time after suspend

Bookend the time of the suspend failure with this to get the journalctl from the event:

journalctl --since="2013-02-05 12:34:56" --until="2013-02-05 13:34:56"

I laugh, yet the joke is on me

Offline

#4 2013-02-11 19:57:39

nikonaum
Member
Registered: 2013-02-10
Posts: 5

Re: [SOLVED]Laptop freezes some time after suspend

@WonderWoofy: Sorry for bad formatting. I'll post some logs prior the freeze. I really can't see any pattern showing. had the following command in xfce4-terminal running: top; tail -f /var/log/messages; tail -f /var/log/kernel; journalctl -f and can't see a single thing standing out.
@the sad clown: Thanks for the hint, I'll begin testing it with a clock and will post the output.

Offline

#5 2013-07-23 18:06:55

yasuk68
Member
Registered: 2013-07-23
Posts: 2

Re: [SOLVED]Laptop freezes some time after suspend

file /etc/default/grub

string GRUB_CMDLINE_LINUX_DEFAULT=“quiet i915.i915_enable_rc6=0″

comand # grub-mkconfig -o /boot/grub/grub.cfg

helped me solve the problem

https://bugs.freedesktop.org/show_bug.cgi?id=54739

Offline

#6 2013-07-23 20:11:29

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,725
Website

Re: [SOLVED]Laptop freezes some time after suspend

@yasuk68
You seem to have posted in the wrong thread.

Offline

#7 2013-07-27 10:46:41

yasuk68
Member
Registered: 2013-07-23
Posts: 2

Re: [SOLVED]Laptop freezes some time after suspend

I'm sorry I do not know English (google trasnslate only). And this is the trouble, I'm crushed. But from the response Xyne I realized that I did something wrong. Really stupid happened. I'm using Arch Linux and bought HP ProBook 4340s, and ran into problems, one of which is described nikonaum, although I use the DWM and not XFCE4 DE. By the way the console problem does not manifest itself, so when setting up the system, I have not seen her. Start search led me here, but I have not found an answer. Therefore, having found the information I hurried here to share. My job is not related to IT technology, so I many do not know. Now I understand that GRUB was unnecessary, because not all it's used, but for me it was a revelation, like RC6. Way to disable this function slightly reduces the robots laptop battery life, but for me it is not as critical as it is impossible to close the lid. I think that this page will help someone understand what he faced. Thank Xyne that corrected me.

P.S. For the response took longer than install and configure Arch Linux. Because of this only today, my day off.

Offline

#8 2013-08-25 08:10:47

nikonaum
Member
Registered: 2013-02-10
Posts: 5

Re: [SOLVED]Laptop freezes some time after suspend

Big Thanks to yasuk68. Almost one full day with lots of suspends and no problems at all. Adding the line:

 GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_backlight=vendor i915.i915_enable_rc6=0"

to the /etc/default/grub file and executing the following:

 sudo grub-mkconfig -o /boot/grub/grub.cfg 

solved my problems, and yes with the following parameters to the kernel increased the power consumption according to powertop from 10W to 14.5W but I'm OK with that, the suspend is far more important to me then the extra 30 minutes of battery time. NOTE: At first install around April 2013 I had to put the kernel boot parameter

 acpi_backlight=vendor 

in order to have a working backlight, after some time and 2-3 kernel updates the parameter was not needed anymore, but adding 

 i915.i915_enable_rc6=0 

to boot the backlight was broken again and had to add  acpi_backlight=vendor parameter back again. Now I'm a happy user.
SOLVED (with some minor compromises)

Offline

Board footer

Powered by FluxBB