r13 Posted July 2, 2021 Share Posted July 2, 2021 Словил такую ошибку при загрузке Hero Скрытый текст [W] Jul 2 12:37:02 kernel: swapper/2: page allocation failure: order:6, mode:0x2284020(GFP_ATOMIC|__GFP_COMP|__GFP_NOTRACK) [W] Jul 2 12:37:02 kernel: CPU: 2 PID: 0 Comm: swapper/2 Tainted: P O 4.9-ndm-5 #2 [W] Jul 2 12:37:02 kernel: Stack : 00000000 00000000 814e7872 00000044 00000044 814a0000 814435e4 00000009 [W] Jul 2 12:37:02 kernel: 8142b258 87c6558c 814977e3 814e35ec 87c01580 00000000 02284020 81490000 [W] Jul 2 12:37:02 kernel: 00000e98 8106ecf4 00000000 8106e8b0 00000001 00000000 81431154 87c11bb4 [W] Jul 2 12:37:02 kernel: 00000035 8106bcd0 00000000 00000001 00000002 00000000 87c11bb4 8142b258 [W] Jul 2 12:37:02 kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [W] Jul 2 12:37:02 kernel: ... [W] Jul 2 12:37:02 kernel: Call Trace: [W] Jul 2 12:37:02 kernel: [<275718aa>] show_stack+0x2c/0x88 [W] Jul 2 12:37:02 kernel: [<951785b4>] dump_stack+0x9c/0xd4 [W] Jul 2 12:37:02 kernel: [<38bb4d53>] warn_alloc+0xec/0x120 [W] Jul 2 12:37:02 kernel: [<a57d170f>] __alloc_pages_nodemask+0x290/0xb70 [W] Jul 2 12:37:02 kernel: [<b546f55f>] cache_alloc_refill+0x3a4/0x804 [W] Jul 2 12:37:02 kernel: [<307d9006>] __kmalloc+0x12c/0x140 [W] Jul 2 12:37:02 kernel: [<822beca5>] os_alloc_mem+0x20/0x38 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<dee21912>] BssTableInitByBand+0xc0/0x2b8 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<11f750d4>] ApSiteSurvey_by_wdev+0xfc/0x238 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<e26d9754>] RRM_SiteSurvey+0x14c/0x198 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<33686fd8>] APMlmePeriodicExec+0x448/0x60c [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<e1612af0>] MlmePeriodicExec+0x30c/0x3d8 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<95db8c2f>] rtmp_timer_MlmePeriodicExecTimer+0x24/0x50 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<719058fa>] call_timer_fn.constprop.0+0x24/0x90 [W] Jul 2 12:37:02 kernel: [<74d61c5e>] run_timer_softirq+0x234/0x244 [W] Jul 2 12:37:02 kernel: [<00f2f431>] __do_softirq+0x14c/0x330 [W] Jul 2 12:37:02 kernel: [<6acaf0f5>] irq_exit+0xa8/0xb0 [W] Jul 2 12:37:02 kernel: [<15ec9a05>] except_vec_vi_end+0xb8/0xc4 [W] Jul 2 12:37:02 kernel: [<d5f8a330>] r4k_wait_irqoff+0x18/0x20 [W] Jul 2 12:37:02 kernel: [<58fb6d31>] cpu_startup_entry+0x10c/0x1b0 [W] Jul 2 12:37:02 kernel: [<d87943cb>] not_nmi+0x8c/0x1d8 [W] Jul 2 12:37:02 kernel: Mem-Info: [W] Jul 2 12:37:02 kernel: active_anon:4679 inactive_anon:4690 isolated_anon:0 [W] Jul 2 12:37:02 kernel: active_file:4333 inactive_file:3752 isolated_file:0 [W] Jul 2 12:37:02 kernel: unevictable:0 dirty:0 writeback:0 unstable:0 [W] Jul 2 12:37:02 kernel: slab_reclaimable:328 slab_unreclaimable:4212 [W] Jul 2 12:37:02 kernel: mapped:5583 shmem:177 pagetables:220 bounce:0 [W] Jul 2 12:37:02 kernel: free:1667 free_pcp:75 free_cma:0 [W] Jul 2 12:37:02 kernel: Node 0 active_anon:18716kB inactive_anon:18760kB active_file:17332kB inactive_file:15008kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:22332kB dirty:0kB writeback:0kB shmem:708kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no [W] Jul 2 12:37:02 kernel: DMA free:1096kB min:536kB low:668kB high:800kB active_anon:4356kB inactive_anon:1300kB active_file:296kB inactive_file:256kB unevictable:0kB writepending:0kB present:16384kB managed:16380kB mlocked:0kB slab_reclaimable:12kB slab_unreclaimable:264kB kernel_stack:24kB pagetables:24kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [W] Jul 2 12:37:02 kernel: lowmem_reserve[]: 0 105 105 [W] Jul 2 12:37:02 kernel: Normal free:5572kB min:3556kB low:4444kB high:5332kB active_anon:14360kB inactive_anon:17460kB active_file:17036kB inactive_file:14752kB unevictable:0kB writepending:0kB present:114688kB managed:108420kB mlocked:0kB slab_reclaimable:1300kB slab_unreclaimable:16584kB kernel_stack:1440kB pagetables:856kB bounce:0kB free_pcp:296kB local_pcp:164kB free_cma:0kB [W] Jul 2 12:37:02 kernel: lowmem_reserve[]: 0 0 0 [W] Jul 2 12:37:02 kernel: DMA: 88*4kB (UME) 61*8kB (UME) 16*16kB (U) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1096kB [W] Jul 2 12:37:02 kernel: Normal: 203*4kB (UM) 31*8kB (UME) 52*16kB (ME) 37*32kB (UM) 19*64kB (UME) 10*128kB (UE) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 5572kB [W] Jul 2 12:37:02 kernel: 8266 total pagecache pages [W] Jul 2 12:37:02 kernel: 0 pages in swap cache [W] Jul 2 12:37:02 kernel: Swap cache stats: add 108, delete 108, find 0/0 [W] Jul 2 12:37:02 kernel: Free swap = 130644kB [W] Jul 2 12:37:02 kernel: Total swap = 131068kB [W] Jul 2 12:37:02 kernel: 32768 pages RAM [W] Jul 2 12:37:02 kernel: 0 pages HighMem/MovableOnly [W] Jul 2 12:37:02 kernel: 1568 pages reserved при этом он еле ворочался: Скрытый текст Видимо 128Мегов памяти мало для dpi 😁 Quote Link to comment Share on other sites More sharing options...
0 Padavan Posted July 3, 2021 Share Posted July 3, 2021 r13 Исправление PAF в функции BssTableInitByBand уже вошло в 3.7 Alpha 16 Quote Link to comment Share on other sites More sharing options...
0 Padavan Posted July 2, 2021 Share Posted July 2, 2021 Драйвер 7615 в функции BssTableInitByBand пытается аллокировать большой сплошной блок в атомарном контексте, под нагрузкой может случиться подобный page allocation failure. Эта функция требует доработки, чтобы избежать аллокации в атомарном контексте больше 1 страницы памяти. Принято к доработке. 1 1 Quote Link to comment Share on other sites More sharing options...
0 Le ecureuil Posted July 2, 2021 Share Posted July 2, 2021 7 часов назад, r13 сказал: Словил такую ошибку при загрузке Hero Показать содержимое [W] Jul 2 12:37:02 kernel: swapper/2: page allocation failure: order:6, mode:0x2284020(GFP_ATOMIC|__GFP_COMP|__GFP_NOTRACK) [W] Jul 2 12:37:02 kernel: CPU: 2 PID: 0 Comm: swapper/2 Tainted: P O 4.9-ndm-5 #2 [W] Jul 2 12:37:02 kernel: Stack : 00000000 00000000 814e7872 00000044 00000044 814a0000 814435e4 00000009 [W] Jul 2 12:37:02 kernel: 8142b258 87c6558c 814977e3 814e35ec 87c01580 00000000 02284020 81490000 [W] Jul 2 12:37:02 kernel: 00000e98 8106ecf4 00000000 8106e8b0 00000001 00000000 81431154 87c11bb4 [W] Jul 2 12:37:02 kernel: 00000035 8106bcd0 00000000 00000001 00000002 00000000 87c11bb4 8142b258 [W] Jul 2 12:37:02 kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [W] Jul 2 12:37:02 kernel: ... [W] Jul 2 12:37:02 kernel: Call Trace: [W] Jul 2 12:37:02 kernel: [<275718aa>] show_stack+0x2c/0x88 [W] Jul 2 12:37:02 kernel: [<951785b4>] dump_stack+0x9c/0xd4 [W] Jul 2 12:37:02 kernel: [<38bb4d53>] warn_alloc+0xec/0x120 [W] Jul 2 12:37:02 kernel: [<a57d170f>] __alloc_pages_nodemask+0x290/0xb70 [W] Jul 2 12:37:02 kernel: [<b546f55f>] cache_alloc_refill+0x3a4/0x804 [W] Jul 2 12:37:02 kernel: [<307d9006>] __kmalloc+0x12c/0x140 [W] Jul 2 12:37:02 kernel: [<822beca5>] os_alloc_mem+0x20/0x38 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<dee21912>] BssTableInitByBand+0xc0/0x2b8 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<11f750d4>] ApSiteSurvey_by_wdev+0xfc/0x238 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<e26d9754>] RRM_SiteSurvey+0x14c/0x198 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<33686fd8>] APMlmePeriodicExec+0x448/0x60c [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<e1612af0>] MlmePeriodicExec+0x30c/0x3d8 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<95db8c2f>] rtmp_timer_MlmePeriodicExecTimer+0x24/0x50 [mt7615_ap] [W] Jul 2 12:37:02 kernel: [<719058fa>] call_timer_fn.constprop.0+0x24/0x90 [W] Jul 2 12:37:02 kernel: [<74d61c5e>] run_timer_softirq+0x234/0x244 [W] Jul 2 12:37:02 kernel: [<00f2f431>] __do_softirq+0x14c/0x330 [W] Jul 2 12:37:02 kernel: [<6acaf0f5>] irq_exit+0xa8/0xb0 [W] Jul 2 12:37:02 kernel: [<15ec9a05>] except_vec_vi_end+0xb8/0xc4 [W] Jul 2 12:37:02 kernel: [<d5f8a330>] r4k_wait_irqoff+0x18/0x20 [W] Jul 2 12:37:02 kernel: [<58fb6d31>] cpu_startup_entry+0x10c/0x1b0 [W] Jul 2 12:37:02 kernel: [<d87943cb>] not_nmi+0x8c/0x1d8 [W] Jul 2 12:37:02 kernel: Mem-Info: [W] Jul 2 12:37:02 kernel: active_anon:4679 inactive_anon:4690 isolated_anon:0 [W] Jul 2 12:37:02 kernel: active_file:4333 inactive_file:3752 isolated_file:0 [W] Jul 2 12:37:02 kernel: unevictable:0 dirty:0 writeback:0 unstable:0 [W] Jul 2 12:37:02 kernel: slab_reclaimable:328 slab_unreclaimable:4212 [W] Jul 2 12:37:02 kernel: mapped:5583 shmem:177 pagetables:220 bounce:0 [W] Jul 2 12:37:02 kernel: free:1667 free_pcp:75 free_cma:0 [W] Jul 2 12:37:02 kernel: Node 0 active_anon:18716kB inactive_anon:18760kB active_file:17332kB inactive_file:15008kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:22332kB dirty:0kB writeback:0kB shmem:708kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no [W] Jul 2 12:37:02 kernel: DMA free:1096kB min:536kB low:668kB high:800kB active_anon:4356kB inactive_anon:1300kB active_file:296kB inactive_file:256kB unevictable:0kB writepending:0kB present:16384kB managed:16380kB mlocked:0kB slab_reclaimable:12kB slab_unreclaimable:264kB kernel_stack:24kB pagetables:24kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [W] Jul 2 12:37:02 kernel: lowmem_reserve[]: 0 105 105 [W] Jul 2 12:37:02 kernel: Normal free:5572kB min:3556kB low:4444kB high:5332kB active_anon:14360kB inactive_anon:17460kB active_file:17036kB inactive_file:14752kB unevictable:0kB writepending:0kB present:114688kB managed:108420kB mlocked:0kB slab_reclaimable:1300kB slab_unreclaimable:16584kB kernel_stack:1440kB pagetables:856kB bounce:0kB free_pcp:296kB local_pcp:164kB free_cma:0kB [W] Jul 2 12:37:02 kernel: lowmem_reserve[]: 0 0 0 [W] Jul 2 12:37:02 kernel: DMA: 88*4kB (UME) 61*8kB (UME) 16*16kB (U) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1096kB [W] Jul 2 12:37:02 kernel: Normal: 203*4kB (UM) 31*8kB (UME) 52*16kB (ME) 37*32kB (UM) 19*64kB (UME) 10*128kB (UE) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 5572kB [W] Jul 2 12:37:02 kernel: 8266 total pagecache pages [W] Jul 2 12:37:02 kernel: 0 pages in swap cache [W] Jul 2 12:37:02 kernel: Swap cache stats: add 108, delete 108, find 0/0 [W] Jul 2 12:37:02 kernel: Free swap = 130644kB [W] Jul 2 12:37:02 kernel: Total swap = 131068kB [W] Jul 2 12:37:02 kernel: 32768 pages RAM [W] Jul 2 12:37:02 kernel: 0 pages HighMem/MovableOnly [W] Jul 2 12:37:02 kernel: 1568 pages reserved при этом он еле ворочался: Показать содержимое Видимо 128Мегов памяти мало для dpi 😁 На 64 и 128 устройствах нужно включать zram. Сделаем автовключение перед бетой. Quote Link to comment Share on other sites More sharing options...
0 Le ecureuil Posted July 2, 2021 Share Posted July 2, 2021 Неудивительно что при таком большом количестве включенных сервисов все будет работать небыстро. Но главное, чтобы работало. Quote Link to comment Share on other sites More sharing options...
0 r13 Posted July 2, 2021 Author Share Posted July 2, 2021 17 минут назад, Le ecureuil сказал: На 64 и 128 устройствах нужно включать zram. Сделаем автовключение перед бетой. Так zram включен, вон целых 40МБ занято Quote Link to comment Share on other sites More sharing options...
Question
r13
Словил такую ошибку при загрузке Hero
[W] Jul 2 12:37:02 kernel: swapper/2: page allocation failure: order:6, mode:0x2284020(GFP_ATOMIC|__GFP_COMP|__GFP_NOTRACK)
[W] Jul 2 12:37:02 kernel: CPU: 2 PID: 0 Comm: swapper/2 Tainted: P O 4.9-ndm-5 #2
[W] Jul 2 12:37:02 kernel: Stack : 00000000 00000000 814e7872 00000044 00000044 814a0000 814435e4 00000009
[W] Jul 2 12:37:02 kernel: 8142b258 87c6558c 814977e3 814e35ec 87c01580 00000000 02284020 81490000
[W] Jul 2 12:37:02 kernel: 00000e98 8106ecf4 00000000 8106e8b0 00000001 00000000 81431154 87c11bb4
[W] Jul 2 12:37:02 kernel: 00000035 8106bcd0 00000000 00000001 00000002 00000000 87c11bb4 8142b258
[W] Jul 2 12:37:02 kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[W] Jul 2 12:37:02 kernel: ...
[W] Jul 2 12:37:02 kernel: Call Trace:
[W] Jul 2 12:37:02 kernel: [<275718aa>] show_stack+0x2c/0x88
[W] Jul 2 12:37:02 kernel: [<951785b4>] dump_stack+0x9c/0xd4
[W] Jul 2 12:37:02 kernel: [<38bb4d53>] warn_alloc+0xec/0x120
[W] Jul 2 12:37:02 kernel: [<a57d170f>] __alloc_pages_nodemask+0x290/0xb70
[W] Jul 2 12:37:02 kernel: [<b546f55f>] cache_alloc_refill+0x3a4/0x804
[W] Jul 2 12:37:02 kernel: [<307d9006>] __kmalloc+0x12c/0x140
[W] Jul 2 12:37:02 kernel: [<822beca5>] os_alloc_mem+0x20/0x38 [mt7615_ap]
[W] Jul 2 12:37:02 kernel: [<dee21912>] BssTableInitByBand+0xc0/0x2b8 [mt7615_ap]
[W] Jul 2 12:37:02 kernel: [<11f750d4>] ApSiteSurvey_by_wdev+0xfc/0x238 [mt7615_ap]
[W] Jul 2 12:37:02 kernel: [<e26d9754>] RRM_SiteSurvey+0x14c/0x198 [mt7615_ap]
[W] Jul 2 12:37:02 kernel: [<33686fd8>] APMlmePeriodicExec+0x448/0x60c [mt7615_ap]
[W] Jul 2 12:37:02 kernel: [<e1612af0>] MlmePeriodicExec+0x30c/0x3d8 [mt7615_ap]
[W] Jul 2 12:37:02 kernel: [<95db8c2f>] rtmp_timer_MlmePeriodicExecTimer+0x24/0x50 [mt7615_ap]
[W] Jul 2 12:37:02 kernel: [<719058fa>] call_timer_fn.constprop.0+0x24/0x90
[W] Jul 2 12:37:02 kernel: [<74d61c5e>] run_timer_softirq+0x234/0x244
[W] Jul 2 12:37:02 kernel: [<00f2f431>] __do_softirq+0x14c/0x330
[W] Jul 2 12:37:02 kernel: [<6acaf0f5>] irq_exit+0xa8/0xb0
[W] Jul 2 12:37:02 kernel: [<15ec9a05>] except_vec_vi_end+0xb8/0xc4
[W] Jul 2 12:37:02 kernel: [<d5f8a330>] r4k_wait_irqoff+0x18/0x20
[W] Jul 2 12:37:02 kernel: [<58fb6d31>] cpu_startup_entry+0x10c/0x1b0
[W] Jul 2 12:37:02 kernel: [<d87943cb>] not_nmi+0x8c/0x1d8
[W] Jul 2 12:37:02 kernel: Mem-Info:
[W] Jul 2 12:37:02 kernel: active_anon:4679 inactive_anon:4690 isolated_anon:0
[W] Jul 2 12:37:02 kernel: active_file:4333 inactive_file:3752 isolated_file:0
[W] Jul 2 12:37:02 kernel: unevictable:0 dirty:0 writeback:0 unstable:0
[W] Jul 2 12:37:02 kernel: slab_reclaimable:328 slab_unreclaimable:4212
[W] Jul 2 12:37:02 kernel: mapped:5583 shmem:177 pagetables:220 bounce:0
[W] Jul 2 12:37:02 kernel: free:1667 free_pcp:75 free_cma:0
[W] Jul 2 12:37:02 kernel: Node 0 active_anon:18716kB inactive_anon:18760kB active_file:17332kB inactive_file:15008kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:22332kB dirty:0kB writeback:0kB shmem:708kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
[W] Jul 2 12:37:02 kernel: DMA free:1096kB min:536kB low:668kB high:800kB active_anon:4356kB inactive_anon:1300kB active_file:296kB inactive_file:256kB unevictable:0kB writepending:0kB present:16384kB managed:16380kB mlocked:0kB slab_reclaimable:12kB slab_unreclaimable:264kB kernel_stack:24kB pagetables:24kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[W] Jul 2 12:37:02 kernel: lowmem_reserve[]: 0 105 105
[W] Jul 2 12:37:02 kernel: Normal free:5572kB min:3556kB low:4444kB high:5332kB active_anon:14360kB inactive_anon:17460kB active_file:17036kB inactive_file:14752kB unevictable:0kB writepending:0kB present:114688kB managed:108420kB mlocked:0kB slab_reclaimable:1300kB slab_unreclaimable:16584kB kernel_stack:1440kB pagetables:856kB bounce:0kB free_pcp:296kB local_pcp:164kB free_cma:0kB
[W] Jul 2 12:37:02 kernel: lowmem_reserve[]: 0 0 0
[W] Jul 2 12:37:02 kernel: DMA: 88*4kB (UME) 61*8kB (UME) 16*16kB (U) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1096kB
[W] Jul 2 12:37:02 kernel: Normal: 203*4kB (UM) 31*8kB (UME) 52*16kB (ME) 37*32kB (UM) 19*64kB (UME) 10*128kB (UE) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 5572kB
[W] Jul 2 12:37:02 kernel: 8266 total pagecache pages
[W] Jul 2 12:37:02 kernel: 0 pages in swap cache
[W] Jul 2 12:37:02 kernel: Swap cache stats: add 108, delete 108, find 0/0
[W] Jul 2 12:37:02 kernel: Free swap = 130644kB
[W] Jul 2 12:37:02 kernel: Total swap = 131068kB
[W] Jul 2 12:37:02 kernel: 32768 pages RAM
[W] Jul 2 12:37:02 kernel: 0 pages HighMem/MovableOnly
[W] Jul 2 12:37:02 kernel: 1568 pages reserved
при этом он еле ворочался:
Видимо 128Мегов памяти мало для dpi 😁
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.