Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HC-1: replaced zram as swap with partition and got swap error

Featured Replies

Spoiler

[58531.860637] lowmem_reserve[]: 0 0 0
[58531.860654] Normal: 56*4kB (H) 44*8kB (H) 48*16kB (H) 37*32kB (H) 14*64kB (H) 1*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3552kB
[58531.860733] HighMem: 27*4kB (UM) 42*8kB (C) 1*16kB (C) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 460kB
[58531.860786] 304403 total pagecache pages
[58531.860790] 15267 pages in swap cache
[58531.860794] Swap cache stats: add 382457, delete 367190, find 125239/202183
[58531.860798] Free swap  = 1630472kB
[58531.860801] Total swap = 2097148kB
[58531.860805] 518656 pages RAM
[58531.860809] 322048 pages HighMem/MovableOnly
[58531.860813] 8201 pages reserved
[58531.860817] 32768 pages cma reserved
[58531.860825] swapper/7: page allocation failure: order:0, mode:0x2080020(GFP_ATOMIC)
[58531.860839] CPU: 7 PID: 0 Comm: swapper/7 Not tainted 4.9.61-odroidxu4 #2
[58531.860844] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[58531.860852] [<c021b299>] (unwind_backtrace) from [<c021831f>] (show_stack+0xb/0xc)
[58531.860861] [<c021831f>] (show_stack) from [<c05765f7>] (dump_stack+0x67/0x74)
[58531.860869] [<c05765f7>] (dump_stack) from [<c02ae9af>] (warn_alloc+0xbf/0xdc)
[58531.860877] [<c02ae9af>] (warn_alloc) from [<c02aecc7>] (__alloc_pages_nodemask+0x29f/0x9cc)
[58531.860885] [<c02aecc7>] (__alloc_pages_nodemask) from [<c02af50d>] (__alloc_page_frag+0xcd/0xdc)
[58531.860893] [<c02af50d>] (__alloc_page_frag) from [<c07a6ca9>] (__napi_alloc_skb+0x71/0xb0)
[58531.860901] [<c07a6ca9>] (__napi_alloc_skb) from [<c067eb3f>] (r8152_poll+0x227/0xacc)
[58531.860909] [<c067eb3f>] (r8152_poll) from [<c07b0ee5>] (net_rx_action+0x1ad/0x234)
[58531.860916] [<c07b0ee5>] (net_rx_action) from [<c022d129>] (__do_softirq+0x9d/0x194)
[58531.860922] [<c022d129>] (__do_softirq) from [<c022d429>] (irq_exit+0x8d/0xdc)
[58531.860930] [<c022d429>] (irq_exit) from [<c025fb1f>] (__handle_domain_irq+0x3f/0x7c)
[58531.860936] [<c025fb1f>] (__handle_domain_irq) from [<c02013b7>] (gic_handle_irq+0x43/0x78)
[58531.860942] [<c02013b7>] (gic_handle_irq) from [<c0218bd3>] (__irq_svc+0x53/0x94)
[58531.860946] Exception stack(0xee8cbf88 to 0xee8cbfd0)
[58531.860951] bf80:                   00000001 00000000 00000000 c02240a1 ee8ca000 c100313c
[58531.860956] bfa0: 00000080 c1003190 00000000 00000000 c0e650b8 c1003198 c107f4e8 ee8cbfd8
[58531.860961] bfc0: c0216245 c0216246 40000033 ffffffff
[58531.860968] [<c0218bd3>] (__irq_svc) from [<c0216246>] (arch_cpu_idle+0x22/0x24)
[58531.860976] [<c0216246>] (arch_cpu_idle) from [<c0258997>] (cpu_startup_entry+0x123/0x170)
[58531.860982] [<c0258997>] (cpu_startup_entry) from [<40201491>] (0x40201491)
[58531.860986] Mem-Info:
[58531.860994] active_anon:76119 inactive_anon:82136 isolated_anon:0
                active_file:207652 inactive_file:81195 isolated_file:0
                unevictable:64 dirty:6436 writeback:15443 unstable:0
                slab_reclaimable:7317 slab_unreclaimable:13754
                mapped:3882 shmem:186 pagetables:1576 bounce:0
                free:997 free_pcp:544 free_cma:70
[58531.861003] Node 0 active_anon:304476kB inactive_anon:328544kB active_file:830608kB inactive_file:324780kB unevictable:256kB isolated(anon):0kB isolated(file):0kB mapped:15528kB dirty:25744kB writeback:61772kB shmem:744kB writeback_tmp:0kB unstable:0kB pages_scanned:3984 all_unreclaimable? no
[58531.861011] Normal free:3476kB min:3452kB low:4312kB high:5172kB active_anon:58072kB inactive_anon:89612kB active_file:239988kB inactive_file:143312kB unevictable:0kB writepending:87140kB present:786432kB managed:753628kB mlocked:0kB slab_reclaimable:29268kB slab_unreclaimable:55016kB kernel_stack:2416kB pagetables:2740kB bounce:0kB free_pcp:1908kB local_pcp:0kB free_cma:0kB
[58531.861015] lowmem_reserve[]: 0 9040 9040
[58531.861036] HighMem free:512kB min:512kB low:1848kB high:3184kB active_anon:246404kB inactive_anon:238932kB active_file:590684kB inactive_file:181680kB unevictable:256kB writepending:388kB present:1288192kB managed:1288192kB mlocked:256kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:3564kB bounce:0kB free_pcp:268kB local_pcp:0kB free_cma:280kB
[58531.861039] lowmem_reserve[]: 0 0 0
[58531.861054] Normal: 56*4kB (H) 44*8kB (H) 48*16kB (H) 37*32kB (H) 14*64kB (H) 1*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3552kB
[58531.861118] HighMem: 27*4kB (UM) 42*8kB (C) 1*16kB (C) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 460kB
[58531.861184] 304362 total pagecache pages
[58531.861189] 15251 pages in swap cache
[58531.861194] Swap cache stats: add 382459, delete 367208, find 125239/202183
[58531.861198] Free swap  = 1630464kB
[58531.861203] Total swap = 2097148kB
[58531.861207] 518656 pages RAM
[58531.861213] 322048 pages HighMem/MovableOnly
[58531.861217] 8201 pages reserved
[58531.861222] 32768 pages cma reserved

 

 

In short: disabling zram-config.service and using "pure partition swap via ssd" causes problems

HC-1, armbianmonitor -u = http://sprunge.us/aRZc

 

UPDATE: "New year problems party" continues: 

Spoiler

[63786.258447] lowmem_reserve[]: 0 0 0
[63786.258463] Normal: 56*4kB (H) 40*8kB (H) 48*16kB (H) 37*32kB (H) 14*64kB (H) 1*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3520kB
[63786.258522] HighMem: 2295*4kB (UMC) 334*8kB (MC) 3*16kB (C) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 11900kB
[63786.258572] 299158 total pagecache pages
[63786.258575] 11127 pages in swap cache
[63786.258579] Swap cache stats: add 409233, delete 398106, find 133227/215304
[63786.258583] Free swap  = 1580692kB
[63786.258586] Total swap = 2097148kB
[63786.258589] 518656 pages RAM
[63786.258593] 322048 pages HighMem/MovableOnly
[63786.258596] 8201 pages reserved
[63786.258599] 32768 pages cma reserved
[63787.042853] slab_out_of_memory: 878 callbacks suppressed
[63787.042857] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.042863]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.042868]   node 0: slabs: 389, objs: 8169, free: 0
[63787.046695] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.046702]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.046708]   node 0: slabs: 389, objs: 8169, free: 0
[63787.048040] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.048045]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.048049]   node 0: slabs: 389, objs: 8169, free: 0
[63787.049142] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.049149]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.049154]   node 0: slabs: 389, objs: 8169, free: 0
[63787.050405] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.050410]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.050415]   node 0: slabs: 389, objs: 8169, free: 0
[63787.055956] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.055961]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.055966]   node 0: slabs: 389, objs: 8169, free: 0
[63787.075953] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.075958]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.075963]   node 0: slabs: 389, objs: 8169, free: 0
[63787.095948] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.095953]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.095957]   node 0: slabs: 389, objs: 8169, free: 0
[63787.115953] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.115958]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.115963]   node 0: slabs: 389, objs: 8169, free: 0
[63787.135961] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[63787.135967]   cache: kmalloc-192, object size: 192, buffer size: 192, default order: 0, min order: 0
[63787.135973]   node 0: slabs: 389, objs: 8169, free: 0

 

 

armbianmonitor -u = http://sprunge.us/ZYLE

 

  • Author

Returned zram swap back.

Spoiler

odroidxu4:~$  cat /proc/swaps 
Filename				Type		Size	Used	Priority
/dev/zram0                              partition	127612	37156	5
/dev/zram1                              partition	127612	37172	5
/dev/zram2                              partition	127612	37128	5
/dev/zram3                              partition	127612	37132	5
/dev/zram4                              partition	127612	37136	5
/dev/zram5                              partition	127612	37096	5
/dev/zram6                              partition	127612	37028	5
/dev/zram7                              partition	127612	37108	5

 

Rebooted. And once again: 

Spoiler

[32933.612697] 518656 pages RAM
[32933.612703] 322048 pages HighMem/MovableOnly
[32933.612708] 8201 pages reserved
[32933.612713] 32768 pages cma reserved
[32933.612723] swapper/7: page allocation failure: order:0, mode:0x2080020(GFP_ATOMIC)
[32933.612735] CPU: 7 PID: 0 Comm: swapper/7 Not tainted 4.9.61-odroidxu4 #2
[32933.612738] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[32933.612745] [<c021b299>] (unwind_backtrace) from [<c021831f>] (show_stack+0xb/0xc)
[32933.612751] [<c021831f>] (show_stack) from [<c05765f7>] (dump_stack+0x67/0x74)
[32933.612758] [<c05765f7>] (dump_stack) from [<c02ae9af>] (warn_alloc+0xbf/0xdc)
[32933.612765] [<c02ae9af>] (warn_alloc) from [<c02aecc7>] (__alloc_pages_nodemask+0x29f/0x9cc)
[32933.612771] [<c02aecc7>] (__alloc_pages_nodemask) from [<c02af50d>] (__alloc_page_frag+0xcd/0xdc)
[32933.612778] [<c02af50d>] (__alloc_page_frag) from [<c07a6ca9>] (__napi_alloc_skb+0x71/0xb0)
[32933.612784] [<c07a6ca9>] (__napi_alloc_skb) from [<c067eb3f>] (r8152_poll+0x227/0xacc)
[32933.612790] [<c067eb3f>] (r8152_poll) from [<c07b0ee5>] (net_rx_action+0x1ad/0x234)
[32933.612796] [<c07b0ee5>] (net_rx_action) from [<c022d129>] (__do_softirq+0x9d/0x194)
[32933.612801] [<c022d129>] (__do_softirq) from [<c022d429>] (irq_exit+0x8d/0xdc)
[32933.612807] [<c022d429>] (irq_exit) from [<c025fb1f>] (__handle_domain_irq+0x3f/0x7c)
[32933.612813] [<c025fb1f>] (__handle_domain_irq) from [<c02013b7>] (gic_handle_irq+0x43/0x78)
[32933.612818] [<c02013b7>] (gic_handle_irq) from [<c0218bd3>] (__irq_svc+0x53/0x94)
[32933.612822] Exception stack(0xee8cbf88 to 0xee8cbfd0)
[32933.612826] bf80:                   00000001 00000000 00000000 c02240a1 ee8ca000 c100313c
[32933.612831] bfa0: 00000080 c1003190 00000000 00000000 c0e650b8 c1003198 00199110 ee8cbfd8
[32933.612835] bfc0: c0216245 c0216246 400f0033 ffffffff
[32933.612841] [<c0218bd3>] (__irq_svc) from [<c0216246>] (arch_cpu_idle+0x22/0x24)
[32933.612848] [<c0216246>] (arch_cpu_idle) from [<c0258997>] (cpu_startup_entry+0x123/0x170)
[32933.612854] [<c0258997>] (cpu_startup_entry) from [<40201491>] (0x40201491)
[32933.612859] Mem-Info:
[32933.612867] active_anon:90964 inactive_anon:94229 isolated_anon:0
                active_file:110064 inactive_file:100502 isolated_file:0
                unevictable:64 dirty:21664 writeback:4733 unstable:0
                slab_reclaimable:5984 slab_unreclaimable:11106
                mapped:3801 shmem:784 pagetables:1590 bounce:0
                free:1066 free_pcp:1528 free_cma:68
[32933.612878] Node 0 active_anon:363856kB inactive_a
  

 

 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.