LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   system unstable after resume from suspend (https://www.linuxquestions.org/questions/slackware-14/system-unstable-after-resume-from-suspend-719718/)

grissiom 04-16-2009 08:50 PM

system unstable after resume from suspend
 
1 Attachment(s)
Yes, I mean resuming from suspend to RAM. After resuming, what ever action I do, I will got a error message which yield by kernel. The snip of dmesg is here:(attachment is full dmesg)
Code:

[ 7962.125970] BUG: unable to handle kernel paging request at f76f5004
[ 7962.125984] IP: [<c01e0129>] ext3_check_dir_entry+0x19/0x140
[ 7962.126000] *pde = 00007067 *pte = 77520002
[ 7962.126010] Oops: 0000 [#1] SMP
[ 7962.126017] last sysfs file: /sys/power/state
[ 7962.126024] Modules linked in: radeon drm vboxnetflt vboxdrv snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ipv6 nls_cp936 vfat fat ext4 jbd2 crc16 fuse dell_laptop dcdbas b43 mac80211 joydev ricoh_mmc sdhci_pci cfg80211 led_class shpchp ohci_hcd sg input_polldev ati_agp agpgart video output
[ 7962.126075]
[ 7962.126082] Pid: 6509, comm: pm-powersave Not tainted (2.6.29.1-slk-based-2 #4) Inspiron 1501
[ 7962.126089] EIP: 0060:[<c01e0129>] EFLAGS: 00010292 CPU: 1
[ 7962.126097] EIP is at ext3_check_dir_entry+0x19/0x140
[ 7962.126102] EAX: c0463684 EBX: f76f5000 ECX: f76f5000 EDX: f6c5a478
[ 7962.126108] ESI: f6846a00 EDI: 00002000 EBP: f6c5a478 ESP: f6785cec
[ 7962.126113]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 7962.126120] Process pm-powersave (pid: 6509, ti=f6784000 task=f7031090 task.ti=f6784000)
[ 7962.126126] Stack:
[ 7962.126129]  f7781000 d9e5ad68 f6c35040 c01e6c4d 00000000 00000000 f6785dec f6785dec
[ 7962.126141]  f6785e80 c0463684 00000000 f76f5000 f6846a00 00002000 f6e246c0 c01e86f3
[ 7962.126153]  f6e246c0 00002000 f66c2cc0 f6ba1400 00000000 c01e5a07 0000000b d9c5fbb8
[ 7962.126166] Call Trace:
[ 7962.126171]  [<c01e6c4d>] dx_probe+0x8d/0x350
[ 7962.126180]  [<c01e86f3>] ext3_find_entry+0x403/0x650
[ 7962.126189]  [<c01e5a07>] ext3_truncate+0x317/0x8e0
[ 7962.126197]  [<c01e263a>] __ext3_get_inode_loc+0xda/0x2f0
[ 7962.126205]  [<c012378e>] __wake_up+0x3e/0x60
[ 7962.126215]  [<c01e91a6>] ext3_lookup+0x46/0xf0
[ 7962.126222]  [<c01a4dd7>] d_alloc+0xf7/0x170
[ 7962.126233]  [<c019b8ba>] do_lookup+0x1ba/0x1e0
[ 7962.126240]  [<c019d5d5>] __link_path_walk+0x675/0xd90
[ 7962.126247]  [<c016baca>] generic_file_aio_read+0x2fa/0x6d0
[ 7962.126257]  [<c011bcdc>] do_page_fault+0x28c/0x6a0
[ 7962.126266]  [<c019dea4>] path_walk+0x54/0xb0
[ 7962.126273]  [<c019e000>] do_path_lookup+0xb0/0x160
[ 7962.126280]  [<c019cf26>] getname+0x96/0xd0
[ 7962.126287]  [<c019ec3a>] user_path_at+0x5a/0x90
[ 7962.126295]  [<c0197352>] vfs_stat_fd+0x22/0x60
[ 7962.126305]  [<c019746f>] sys_stat64+0xf/0x30
[ 7962.126313]  [<c010336e>] syscall_call+0x7/0xb
[ 7962.126321] Code: ff ff 83 c4 0c 5b c3 90 90 90 90 90 90 90 90 90 90 90 83 ec 3c 89 6c 24 38 89 5c 24 2c 89 d5 89 74 24 30 89 7c 24 34 89 44 24 24 <0f> b7 41 04 3d ff ff 00 00 74 74 83 f8 0b 89 c6 0f 8f c1 00 00
[ 7962.126379] EIP: [<c01e0129>] ext3_check_dir_entry+0x19/0x140 SS:ESP 0068:f6785cec
[ 7962.126390] ---[ end trace a30eca9c02841218 ]---
[ 7962.164065] b43-phy0: Radio turned on by software
[ 7962.164076] b43-phy0: The hardware RF-kill button still turns the radio physically off. Press the button to turn it on.
[ 7962.763264] BUG: unable to handle kernel paging request at f76fd000
[ 7962.763286] IP: [<c016f919>] get_page_from_freelist+0x2a9/0x470
[ 7962.763315] *pde = 00007067 *pte = 7c00701a
[ 7962.763328] Oops: 0002 [#2] SMP
[ 7962.763335] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[ 7962.763345] Modules linked in: radeon drm vboxnetflt vboxdrv snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ipv6 nls_cp936 vfat fat ext4 jbd2 crc16 fuse dell_laptop dcdbas b43 mac80211 joydev ricoh_mmc sdhci_pci cfg80211 led_class shpchp ohci_hcd sg input_polldev ati_agp agpgart video output
[ 7962.763397]
[ 7962.763407] Pid: 3085, comm: knotify4 Tainted: G      D    (2.6.29.1-slk-based-2 #4) Inspiron 1501
[ 7962.763415] EIP: 0060:[<c016f919>] EFLAGS: 00010246 CPU: 0
[ 7962.763424] EIP is at get_page_from_freelist+0x2a9/0x470
[ 7962.763431] EAX: 00000000 EBX: c16edfa0 ECX: 00000400 EDX: 00000003
[ 7962.763436] ESI: 00000000 EDI: f76fd000 EBP: c16edfa0 ESP: e67d5d78
[ 7962.763442]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 7962.763448] Process knotify4 (pid: 3085, ti=e67d4000 task=f73a67c0 task.ti=e67d4000)
[ 7962.763453] Stack:
[ 7962.763457]  00000002 00000044 00000246 f76fd000 c0617920 00000002 00000000 00000000
[ 7962.763468]  001280d2 00000002 00000246 00000001 c0587980 00000000 00000000 c058930c
[ 7962.763480]  c0587c80 c0587140 c0587c80 f73a67c0 e66c5088 001280d2 c016fddd c0589300
[ 7962.763494] Call Trace:
[ 7962.763500]  [<c016fddd>] __alloc_pages_internal+0xbd/0x470
[ 7962.763511]  [<c017eae5>] handle_mm_fault+0x385/0x610
[ 7962.763525]  [<c016e20e>] __rmqueue+0x1e/0x220
[ 7962.763533]  [<c011bc8e>] do_page_fault+0x23e/0x6a0
[ 7962.763545]  [<c0182364>] vma_adjust+0xe4/0x4b0
[ 7962.763553]  [<c0182ce7>] vma_merge+0x1a7/0x280
[ 7962.763559]  [<c01831a3>] do_brk+0x223/0x2e0
[ 7962.763566]  [<c018332e>] sys_brk+0xce/0x110
[ 7962.763572]  [<c011ba50>] do_page_fault+0x0/0x6a0
[ 7962.763579]  [<c0451292>] error_code+0x72/0x78
[ 7962.763595] Code: 24 20 00 79 40 8b 7c 24 2c 85 ff 7e 38 89 dd 31 f6 90 ba 03 00 00 00 89 e8 e8 94 03 fb ff b9 00 04 00 00 89 44 24 0c 89 c7 31 c0 <f3> ab 8b 44 24 0c ba 03 00 00 00 46 83 c5 20 e8 b3 01 fb ff 3b
[ 7962.763651] EIP: [<c016f919>] get_page_from_freelist+0x2a9/0x470 SS:ESP 0068:e67d5d78
[ 7962.763667] ---[ end trace a30eca9c02841219 ]---
[ 7962.763677] note: knotify4[3085] exited with preempt_count 1
[ 7963.373230] b44: eth0: powering down PHY
[ 7963.421641] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7966.988209] b44: eth0: Link is up at 100 Mbps, full duplex.
[ 7966.988220] b44: eth0: Flow control is off for TX and off for RX.
[ 7966.988664] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7977.589038] eth0: no IPv6 routers present

Here is /var/log/pm-suspend.log
Code:

~$ cat /var/log/pm-suspend.log
Initial commandline parameters:
2009年 04月 17日 星期五 08:25:20 CST: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks from HAL: --quirk-s3-bios --quirk-s3-mode
success.                                                                                                       
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux grissiom_slackware 2.6.29.1-slk-based-2 #4 SMP Tue Apr 14 17:16:11 CST 2009 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-56 AuthenticAMD GNU/Linux                                           
Module                  Size  Used by                                                                                       
radeon                143936  2                                                                                             
drm                  137600  3 radeon                                                                                       
vboxnetflt            85640  0                                                                                             
vboxdrv              112552  1 vboxnetflt                                                                                   
snd_seq_dummy          2464  0                                                                                             
snd_seq_oss            29760  0                                                                                             
snd_seq_midi_event      5916  1 snd_seq_oss                                                                                 
snd_seq                47792  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event                                                 
snd_seq_device          6056  3 snd_seq_dummy,snd_seq_oss,snd_seq                                                           
snd_pcm_oss            37760  0                                                                                             
snd_mixer_oss          14396  1 snd_pcm_oss                                                                                 
ipv6                  242580  12                                                                                             
nls_cp936            126748  2                                                                                             
vfat                  10652  1                                                                                             
fat                    48604  1 vfat                                                                                         
ext4                  226328  1                                                                                             
jbd2                  50868  1 ext4                                                                                         
crc16                  1564  1 ext4                                                                                         
fuse                  53496  1                                                                                             
dell_laptop            3388  0                                                                                             
dcdbas                  7068  1 dell_laptop                                                                                 
b43                  120056  0                                                                                             
mac80211              155236  1 b43                                                                                         
joydev                  9472  0                                                                                             
ricoh_mmc              3516  0                                                                                             
sdhci_pci              6812  0                                                                                             
cfg80211              36404  2 b43,mac80211                                                                                 
led_class              3392  1 b43                                                                                         
shpchp                31856  0                                                                                             
ohci_hcd              24524  0                                                                                             
sg                    24432  0                                                                                             
input_polldev          3108  1 b43                                                                                         
ati_agp                6632  0                                                                                             
agpgart                29192  2 drm,ati_agp                                                                                 
video                  16492  0                                                                                             
output                  2396  1 video                                                                                       
            total      used      free    shared    buffers    cached                                                   
Mem:        902160    730536    171624          0      35072    349200                                                   
-/+ buffers/cache:    346264    555896                                                                                     
Swap:      1574328      3376    1570952                                                                                     
success.                                                                                                                     
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
/usr/lib/pm-utils/sleep.d/55wicd suspend suspend: success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/99video suspend suspend: kernel.acpi_video_flags = 3
success.
2009年 04月 17日 星期五 08:25:23 CST: performing suspend
2009年 04月 17日 星期五 08:55:56 CST: Awake.
2009年 04月 17日 星期五 08:55:56 CST: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
/usr/lib/pm-utils/sleep.d/55wicd resume suspend: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/01grub resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: /usr/lib/pm-utils/sleep.d/00powersave: line 7:  6509 segfault  pm-powersave
success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk resume suspend: success.
2009年 04月 17日 星期五 08:56:00 CST: Finished.

(I translate some Chinese word into English so we can see there is a segfault...)

It seems that many process quits even syslogd in the worst case. And then, the whole system become totally unstable. Firefox will not launch, su refuse to work etc... If you click icons on plasma, it will freeze...

I even upgrade pm-utils to 1.2.5 which is a bugfix release but don't help. I don't know this is a bug in kernel or pm-utils or whatever. So I just post them here.

How to fix this? Thanks in advance.

grissiom 04-16-2009 10:23 PM

Hmm, problem resolved after I set NEED_CLOCK_SYNC=1 in /etc/pm/config.d/defaults. I think I have to mail rworkman ;)

rworkman 04-17-2009 02:25 AM

Sorry I missed this thread, but THANKS for the mail.
I've replied and CC'd the pm-utils maintainer and mailing list, so be sure to keep the CC list intact on any replies.

grissiom 04-25-2009 12:08 AM

For those who follow and see this post, I should say sorry that I should update info more frequently. This issue is addressed as a kernel regression and not fixed.... So, just wait for the gifted kernel devs to solve this problem.

For more info:
http://bugzilla.kernel.org/show_bug.cgi?id=13149


All times are GMT -5. The time now is 01:13 AM.