[Bug 335862] New: Resume from a suspended state stalls the machine.
https://bugzilla.novell.com/show_bug.cgi?id=335862#c1 Summary: Resume from a suspended state stalls the machine. Product: openSUSE 10.3 Version: Final Platform: i586 OS/Version: openSUSE 10.3 Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jjaimon@novell.com QAContact: qa@suse.de Found By: Customer I reported this issue in the linux mailing list and Andreas suggested that I file a bug report or report this in the kernel mailing list. So, doing both. Hardware: IBM T60p with 2GB memory. Using the ATI drivers and compiz enabled. I have been observing that laptop is too slow when it resumes from suspend (T61p with 2GB ram), it takes more than 10 minutes ( or never) before the system starts responding normally. There will be continuous read from the hard disk during this time. I noticed the following in my top (3 outputs taken at different times) after 5 mins-------------------------------- Cpu(s): 1.2%us, 2.0%sy, 0.0%ni, 56.7%id, 32.2%wa, 0.1%hi, 7.9%si, 0.0%st Mem: 2075132k total, 299748k used, 1775384k free, 264k buffers Swap: 2097140k total, 567580k used, 1529560k free, 26856k cached after 10 mins-------------------------------- Cpu(s): 1.3%us, 2.4%sy, 0.0%ni, 64.8%id, 26.5%wa, 0.1%hi, 4.8%si, 0.0%st Mem: 2075132k total, 256348k used, 1818784k free, 300k buffers Swap: 2097140k total, 581164k used, 1515976k free, 28740k cached after 12 mins-------------------------------- top - 19:29:29 up 17:53, 6 users, load average: 4.63, 5.56, 5.86 Tasks: 163 total, 1 running, 160 sleeping, 0 stopped, 2 zombie Cpu(s): 0.9%us, 1.5%sy, 0.0%ni, 57.8%id, 36.6%wa, 0.1%hi, 3.1%si, 0.0%st Mem: 2075132k total, 187348k used, 1887784k free, 300k buffers Swap: 2097140k total, 609680k used, 1487460k free, 18480k cached -------------------------------- It shows that I/O is very high during this period. Though I have 2GB memory, only 200-300MB is used where as 550-600MB swap is used. Why is it this way? Also, only one task is running out of 163 total tasks in the system. The kernel I have is 2.6.22.9-0.4-default #1 SMP Here is another output that I took 15 minutes after resuming. Again, RES is very low for all processes and it looks like VM is still thinking that the main memory is not available. A VM bug? I can still see my harddisk grinding continuously. top - 23:34:43 up 21:58, 6 users, load average: 3.16, 3.37, 4.73 Tasks: 165 total, 1 running, 162 sleeping, 0 stopped, 2 zombie Cpu(s): 1.4%us, 2.4%sy, 0.0%ni, 45.2%id, 44.2%wa, 0.3%hi, 6.5%si, 0.0%st Mem: 2075132k total, 467476k used, 1607656k free, 600k buffers Swap: 2097140k total, 680644k used, 1416496k free, 128576k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3081 root 15 0 564m 74m 14m S 2 3.7 43:26.70 X 4272 jjaimon 15 0 260m 68m 13m S 0 3.4 8:02.26 thunderbird-bin 20011 root 5 -10 591m 52m 50m S 3 2.6 22:47.90 vmware-vmx 4607 jjaimon 15 0 330m 42m 7584 S 2 2.1 19:34.48 firefox-bin 3967 jjaimon 15 0 114m 18m 2632 S 3 0.9 23:13.73 main-menu Load average is shown high. But, all that I have is 3-4 regular applications (firefox, gnome-terminal and thunderbird) and one VMWare instance. I also noticed that, my system returns to normal state if I restart X. I read through the pm_utils suggestions given at http://en.opensuse.org/Pm-utils but couldn't notice any difference. Here is the log from pm-utils. Tue Oct 23 08:47:03 IST 2007: running suspend hooks. ===== Tue Oct 23 08:47:03 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/00clear ===== ===== Tue Oct 23 08:47:03 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/01logging ===== suspend initiated: Tue Oct 23 08:47:03 IST 2007 Module Size Used by nls_utf8 6144 1 cifs 216304 1 xfrm4_mode_tunnel 6912 2 esp4 11648 2 usbhid 41300 0 hid 29184 1 usbhid ff_memless 9352 1 usbhid deflate 7808 0 zlib_deflate 21736 1 deflate twofish_i586 9728 0 twofish_common 38912 1 twofish_i586 camellia 32896 0 serpent 22528 0 blowfish 12416 0 des 20352 2 cbc 8448 2 aes_i586 37236 0 xcbc 9736 0 sha256 15232 0 sha1 6656 0 md5 8064 2 crypto_null 6528 0 af_key 43920 2 ipw3945 196132 1 ieee80211 35400 1 ipw3945 arc4 6016 2 ecb 7552 2 blkcipher 10116 2 cbc,ecb ieee80211_crypt_wep 9088 1 ide_cs 14208 0 ide_core 122948 1 ide_cs pata_pcmcia 17408 2 af_packet 29064 4 ip6t_LOG 10496 8 nf_conntrack_ipv6 22848 4 xt_pkttype 5888 3 ipt_LOG 9984 9 xt_limit 6656 17 vmnet 47008 13 parport_pc 40764 0 parport 37832 1 parport_pc vmblock 18464 3 vmmon 935140 0 snd_pcm_oss 50432 0 snd_mixer_oss 20096 1 snd_pcm_oss snd_seq 54452 0 snd_seq_device 12172 1 snd_seq microcode 15372 0 ip6t_REJECT 9216 3 xt_tcpudp 7168 8 ipt_REJECT 8448 3 xt_state 6528 8 iptable_mangle 6784 0 iptable_nat 11140 0 nf_nat 21912 1 iptable_nat iptable_filter 6912 1 ip6table_mangle 6656 0 nf_conntrack_ipv4 14856 6 iptable_nat nf_conntrack 61684 5 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4 nfnetlink 9752 4 nf_conntrack_ipv6,nf_nat,nf_conntrack_ipv4,nf_conntrack ip_tables 16324 3 iptable_mangle,iptable_nat,iptable_filter ip6table_filter 6784 1 ip6_tables 17476 3 ip6t_LOG,ip6table_mangle,ip6table_filter x_tables 18308 11 ip6t_LOG,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables ipv6 268152 35 nf_conntrack_ipv6,ip6t_REJECT,ip6table_mangle cpufreq_conservative 11272 0 cpufreq_userspace 8704 0 cpufreq_powersave 5888 0 acpi_cpufreq 13192 1 speedstep_lib 9220 0 apparmor 40736 0 fuse 45460 2 nls_iso8859_1 8192 2 nls_cp437 9856 2 vfat 16128 2 fat 52380 1 vfat loop 21636 0 dm_mod 56880 0 pcmcia 41076 2 ide_cs,pata_pcmcia snd_hda_intel 272796 1 snd_pcm 82564 2 snd_pcm_oss,snd_hda_intel nsc_ircc 21520 0 iTCO_wdt 14372 0 yenta_socket 28684 3 iTCO_vendor_support 7812 1 iTCO_wdt fglrx 737408 50 intel_agp 27156 0 snd_timer 26756 2 snd_seq,snd_pcm snd 58164 9 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer irda 120712 1 nsc_ircc agpgart 35764 2 fglrx,intel_agp thinkpad_acpi 45364 0 dock 13960 0 ac 9604 0 rsrc_nonstatic 15872 1 yenta_socket battery 14724 0 button 12432 0 soundcore 11460 1 snd e1000 167616 0 hwmon 7300 1 thinkpad_acpi sr_mod 19492 0 pcmcia_core 40852 5 ide_cs,pata_pcmcia,pcmcia,yenta_socket,rsrc_nonstatic nvram 12552 1 thinkpad_acpi cdrom 37020 1 sr_mod snd_page_alloc 14472 2 snd_hda_intel,snd_pcm crc_ccitt 6144 1 irda i2c_i801 12560 0 i2c_core 27520 1 i2c_i801 rtc_cmos 12064 0 rtc_core 23048 1 rtc_cmos rtc_lib 7040 1 rtc_core joydev 13632 0 ieee80211_crypt 9728 2 ieee80211,ieee80211_crypt_wep firmware_class 13568 3 ipw3945,microcode,pcmcia sg 37036 0 uinput 12800 1 ehci_hcd 34956 0 uhci_hcd 27024 0 sd_mod 31104 9 usbcore 123756 4 usbhid,ehci_hcd,uhci_hcd edd 12996 0 ext3 131976 3 mbcache 12292 1 ext3 jbd 68148 1 ext3 fan 9220 0 ata_piix 21380 0 ahci 29188 6 libata 136904 3 pata_pcmcia,ata_piix,ahci scsi_mod 140376 4 sr_mod,sg,sd_mod,libata thermal 19848 0 processor 40876 2 acpi_cpufreq,thermal total used free shared buffers cached Mem: 2075132 1680088 395044 0 127444 1012896 -/+ buffers/cache: 539748 1535384 Swap: 2097140 127012 1970128 ===== Tue Oct 23 08:47:04 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/05led ===== ===== Tue Oct 23 08:47:04 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/06autofs ===== ===== Tue Oct 23 08:47:04 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager ===== ===== Tue Oct 23 08:47:04 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/24dock ===== Tue Oct 23 08:47:04 IST 2007: running thinkpad hooks for event undock. ===== Tue Oct 23 08:47:04 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check ===== ===== Tue Oct 23 08:47:04 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia ===== ejecting PCMCIA cards... ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/50modules ===== ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/55battery ===== ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan ===== ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/80videobios ===== ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq ===== ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/95led ===== ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/99info ===== ===== Tue Oct 23 08:47:05 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub ===== Tue Oct 23 08:47:05 IST 2007: done running suspend hooks. + /usr/sbin/s2ram Switching from vt7 to vt1 fbcon fb0 state 1 fbcon fb0 state 0 switching back to vt7 + RET=0 + set +x Tue Oct 23 09:34:12 IST 2007: running resume hooks. ===== Tue Oct 23 09:34:12 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/99Zgrub ===== ===== Tue Oct 23 09:34:13 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/99info ===== ===== Tue Oct 23 09:34:13 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/95led ===== ===== Tue Oct 23 09:34:13 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq ===== ===== Tue Oct 23 09:34:13 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/80videobios ===== ===== Tue Oct 23 09:34:13 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan ===== ===== Tue Oct 23 09:34:13 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/55battery ===== method return sender=:1.1 -> dest=:1.31554 boolean true ===== Tue Oct 23 09:34:13 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/50modules ===== ===== Tue Oct 23 09:34:14 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/45pcmcia ===== inserting PCMCIA cards... ===== Tue Oct 23 09:34:14 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check ===== ===== Tue Oct 23 09:34:14 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/24dock ===== Tue Oct 23 09:34:14 IST 2007: running thinkpad hooks for event dock. docking should have been done automatically by the dock driver... ===== Tue Oct 23 09:34:15 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager ===== ===== Tue Oct 23 09:34:15 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/06autofs ===== ===== Tue Oct 23 09:34:15 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/05led ===== ===== Tue Oct 23 09:34:15 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/01logging ===== ===== Tue Oct 23 09:34:15 IST 2007: running hook: /usr/lib/pm-utils/sleep.d/00clear ===== Tue Oct 23 09:34:15 IST 2007: done running resume hooks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=335862
Matej Horvath
https://bugzilla.novell.com/show_bug.cgi?id=335862#c1
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=335862
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862#c2
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862#c3
Jaimon Jose
https://bugzilla.novell.com/show_bug.cgi?id=335862#c4
--- Comment #4 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862#c5
--- Comment #5 from Jaimon Jose
ATI card you're using ("hwinfo --gfxcard").
jjaimon-ibm(jjaimon):1:~/ifolder>hwinfo --gfxcard 26: PCI 100.0: 0300 VGA compatible controller (VGA) [Created at pci.301] UDI: /org/freedesktop/Hal/devices/pci_1002_71c4 Unique ID: VCu0.s+GMGFf+eZ0 Parent ID: vSkL.rxAOeWuq8i6 SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 SysFS BusID: 0000:01:00.0 Hardware Class: graphics card Model: "Lenovo ThinkPad T60p" Vendor: pci 0x1002 "ATI Technologies Inc" Device: pci 0x71c4 "M56GL [Mobility FireGL V5200]" SubVendor: pci 0x17aa "Lenovo" SubDevice: pci 0x2007 "ThinkPad T60p" Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable) I/O Ports: 0x2000-0x2fff (rw) Memory Range: 0xee100000-0xee10ffff (rw,non-prefetchable) Memory Range: 0xee120000-0xee13ffff (ro,prefetchable,disabled) IRQ: 11 (no events) I/O Ports: 0x3c0-0x3df (rw) Module Alias: "pci:v00001002d000071C4sv000017AAsd00002007bc03sc00i00" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #10 (PCI bridge) Primary display adapter: #26 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=335862#c6
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862#c7
--- Comment #7 from Jaimon Jose
Wich such a card you need to use the fglrx driver if you want to use compiz.
I'm not sure I understood the above statement. This is what I see in my laptop jjaimon-ibm(jjaimon)::~>fglrxinfo Xlib: extension "XFree86-DRI" missing on display ":0.0". display: :0.0 screen: 0 OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.4 (2.1 Mesa 7.0.1) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=335862#c8
--- Comment #8 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c9
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User jjaimon@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c10
Jaimon Jose
Could you verify, if this issue is still reproducable with release 8.44?
Tried using this driver. I can't get a resolution above 1024x768. I followed the instructions given here http://wiki.cchtml.com/index.php/Ubuntu_Gutsy_Installation_Guide This thread shows the same problem http://ubuntuforums.org/showthread.php?t=647311 Anyway, I couldn't test the driver. Video rendering is completely messy even with the lower resolution (extremely slow response, large blocks around the mouse cursor etc.).. I will wait for the next release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c11
--- Comment #11 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User pavel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c12
Pavel Machek
https://bugzilla.novell.com/show_bug.cgi?id=335862
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c13
--- Comment #13 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User gregkh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c14
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c15
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User gregkh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c16
--- Comment #16 from Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=335862
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User jjaimon@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c17
--- Comment #17 from Jaimon Jose
https://bugzilla.novell.com/show_bug.cgi?id=335862
User jjaimon@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c18
--- Comment #18 from Jaimon Jose
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c19
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User jjaimon@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c20
--- Comment #20 from Jaimon Jose
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c21
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User jjaimon@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c22
--- Comment #22 from Jaimon Jose
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c23
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=335862
User jjaimon@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c24
Jaimon Jose
Could you verify, if this issue is still reproducable with Catalyst 8.5?
Already tried. This issue is very much reproducible. Moreover, defect mentioned in comment#18 is still not fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=335862
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335862#c25
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com