Comment 5 for bug 391628

Revision history for this message
Shane Kerr (shane-time-travellers) wrote : Re: Everything gets swapped out after resume from suspend using fglrx drivers

I think I have the same problem. My system seems to swap everything in after resume from S3 sleep.

Even though this is marked as a duplicate, I think this is possibly unrelated. I am using the fglrx module. This is on Jaunty, with an Asus F6V.

I see this in the dmesg on the machine:

[1052262.236206] ACPI handle has no context!
[1052262.252119] [fglrx] Power down the ASIC .
[1052263.399713] pm-suspend: page allocation failure. order:10, mode:0x4020
[1052263.399717] Pid: 24948, comm: pm-suspend Tainted: P 2.6.28-15-generic #49-Ubuntu
[1052263.399718] Call Trace:
[1052263.399729] [<ffffffff802b6e1e>] __alloc_pages_internal+0x3ee/0x500
[1052263.399731] [<ffffffff802b6fae>] __get_free_pages+0x1e/0x60
[1052263.399735] [<ffffffff802e3587>] __kmalloc+0x107/0x110
[1052263.399857] [<ffffffffa003ed9e>] KCL_MEM_SmallBufferAllocAtomic+0xe/0x10 [fglrx]
[1052263.399893] [<ffffffffa0052639>] firegl_save_fb+0x49/0x180 [fglrx]
[1052263.399931] [<ffffffffa0054241>] ? firegl_cail_powerdown+0x91/0x110 [fglrx]
[1052263.399964] [<ffffffffa0041751>] ? fglrx_pci_suspend+0x81/0x140 [fglrx]
[1052263.399971] [<ffffffff804313c0>] ? pci_legacy_suspend+0x30/0x80
[1052263.399973] [<ffffffff80431605>] ? pci_pm_suspend+0x95/0xd0
[1052263.399977] [<ffffffff804be422>] ? pm_op+0x162/0x1b0
[1052263.399980] [<ffffffff804bead3>] ? suspend_device+0xf3/0x180
[1052263.399982] [<ffffffff804bec28>] ? dpm_suspend+0xc8/0x140
[1052263.399984] [<ffffffff804becc2>] ? device_suspend+0x22/0x30
[1052263.399988] [<ffffffff80280395>] ? suspend_devices_and_enter+0x55/0x180
[1052263.399990] [<ffffffff802806d9>] ? enter_state+0xe9/0x120
[1052263.399993] [<ffffffff802807ca>] ? state_store+0xba/0x100
[1052263.400011] [<ffffffff80419207>] ? kobj_attr_store+0x17/0x20
[1052263.400014] [<ffffffff80347b65>] ? sysfs_write_file+0xc5/0x140
[1052263.400017] [<ffffffff802e821b>] ? vfs_write+0xcb/0x130
[1052263.400019] [<ffffffff802e8370>] ? sys_write+0x50/0x90
[1052263.400022] [<ffffffff8021253a>] ? system_call_fastpath+0x16/0x1b
[1052263.400023] Mem-Info:
[1052263.400025] DMA per-cpu:
[1052263.400027] CPU 0: hi: 0, btch: 1 usd: 0
[1052263.400028] CPU 1: hi: 0, btch: 1 usd: 0
[1052263.400029] DMA32 per-cpu:
[1052263.400030] CPU 0: hi: 186, btch: 31 usd: 104
[1052263.400032] CPU 1: hi: 186, btch: 31 usd: 81
[1052263.400034] Active_anon:275413 active_file:53666 inactive_anon:83167
[1052263.400035] inactive_file:217385 unevictable:2 dirty:0 writeback:0 unstable:0
[1052263.400036] free:27064 slab:77634 mapped:20832 pagetables:6845 bounce:0
[1052263.400038] DMA free:6644kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_
[1052263.400040] lowmem_reserve[]: 0 3013 3013 3013
[1052263.400044] DMA32 free:101612kB min:7016kB low:8768kB high:10524kB active_anon:1101652kB inactive
[1052263.400046] lowmem_reserve[]: 0 0 0 0
[1052263.400048] DMA: 1*4kB 2*8kB 4*16kB 5*32kB 4*64kB 2*128kB 3*256kB 2*512kB 0*1024kB 0*2048kB 1*409
[1052263.400053] DMA32: 20894*4kB 758*8kB 437*16kB 61*32kB 21*64kB 3*128kB 1*256kB 0*512kB 1*1024kB 0*
[1052263.400058] 423428 total pagecache pages
[1052263.400060] 148114 pages in swap cache
[1052263.400061] Swap cache stats: add 997921, delete 849807, find 1728664/1825192
[1052263.400063] Free swap = 2208416kB
[1052263.400063] Total swap = 3124600kB
[1052263.412708] 786288 pages RAM
[1052263.412709] 31339 pages reserved
[1052263.412710] 242446 pages shared
[1052263.412711] 515758 pages non-shared

Using the latest kernel:

shane@shane-asus-laptop:~$ uname -a
Linux shane-asus-laptop 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

I'm going to try this without the tainted drivers and see what happens.