imx8mp swupdate

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp swupdate

626 Views
yyn
Contributor I

I created the environment and upgrade image based on SWUpdate OTA i.MX8MM EVK/i.MX8QXP MEK, and when I was doing the upgrade, I encountered the following error:

[ 107.518540] CPU: 1 PID: 377 Comm: avahi-daemon Not tainted 5.10.35-gf6b4d62e1667 #20
[ 107.526283] Hardware name: NXP i.MX8MPlus QIYANG board (DT)
[ 107.531855] Call trace:
[ 107.534309] dump_backtrace+0x0/0x1a0
[ 107.537974] show_stack+0x18/0x70
[ 107.541291] dump_stack+0xd0/0x12c
[ 107.544694] dump_header+0x48/0x1f4
[ 107.548187] oom_kill_process+0x200/0x204
[ 107.552199] out_of_memory+0x178/0x560
[ 107.555950] __alloc_pages_nodemask+0xb34/0xc24
[ 107.560483] alloc_pages_current+0x80/0x13c
[ 107.564668] __get_free_pages+0x14/0x50
[ 107.568506] __pollwait+0x54/0x100
[ 107.571911] pipe_poll+0x114/0x180
[ 107.575316] do_sys_poll+0x268/0x5ac
[ 107.578894] __arm64_sys_ppoll+0x9c/0x120
[ 107.582907] el0_svc_common.constprop.0+0x78/0x1a0
[ 107.587700] do_el0_svc+0x24/0x90
[ 107.591016] el0_svc+0x14/0x20
[ 107.594071] el0_sync_handler+0x1a4/0x1b0
[ 107.598081] el0_sync+0x178/0x180
[ 107.601490] Mem-Info:
[ 107.603785] active_anon:195 inactive_anon:343331 isolated_anon:0
[ 107.603785] active_file:223 inactive_file:41 isolated_file:0
[ 107.603785] unevictable:0 dirty:0 writeback:0
[ 107.603785] slab_reclaimable:3040 slab_unreclaimable:6132
[ 107.603785] mapped:707 shmem:336735 pagetables:544 bounce:0
[ 107.603785] free:7545 free_pcp:42 free_cma:427
[ 107.635636] Node 0 active_anon:780kB inactive_anon:1373324kB active_file:52kB inactive_file:340kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:2332kB dirty:0kB writeback:0kB shmem:1346940kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_stack:2352kB all_unreclaimable? no
[ 107.663471] Node 0 DMA free:29484kB min:30000kB low:37500kB high:45000kB reserved_highatomic:0KB active_anon:780kB inactive_anon:1373324kB active_file:156kB inactive_file:620kB unevictable:0kB writepending:0kB present:2097152kB managed:1732840kB mlocked:0kB pagetables:2176kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:1708kB
[ 107.692521] lowmem_reserve[]: 0 0 0 0
[ 107.696214] Node 0 DMA: 612*4kB (UMEC) 282*8kB (UMEC) 115*16kB (UMEC) 39*32kB (EC) 16*64kB (MEC) 13*128kB (UMEC) 8*256kB (UE) 1*512kB (M) 1*1024kB (U) 0*2048kB 0*4096kB 2*8192kB (UM) 0*16384kB 0*32768kB = 30448kB
[ 107.715183] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[ 107.723917] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
[ 107.732457] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[ 107.740906] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
[ 107.749181] 336867 total pagecache pages
[ 107.753114] 0 pages in swap cache
[ 107.756429] Swap cache stats: add 0, delete 0, find 0/0
[ 107.761724] Free swap = 0kB
[ 107.764607] Total swap = 0kB
[ 107.767502] 524288 pages RAM
[ 107.770404] 0 pages HighMem/MovableOnly
[ 107.774250] 91078 pages reserved
[ 107.777487] 245760 pages cma reserved
[ 107.781157] 0 pages hwpoisoned
[ 107.784211] Tasks state (memory values in pages):
[ 107.788923] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[ 107.797586] [ 203] 996 203 961 58 49152 0 0 rpcbind
[ 107.805953] [ 204] 0 204 4062 522 65536 0 -250 systemd-journal
[ 107.815012] [ 221] 0 221 3642 226 53248 0 -1000 systemd-udevd
[ 107.823896] [ 236] 994 236 2281 145 53248 0 0 systemd-network
[ 107.832957] [ 241] 993 241 2011 100 61440 0 0 systemd-resolve
[ 107.842055] [ 242] 992 242 20533 103 61440 0 0 systemd-timesyn
[ 107.851133] [ 269] 995 269 734 42 49152 0 0 rpc.statd
[ 107.859674] [ 377] 998 377 1255 86 53248 0 0 avahi-daemon
[ 107.868478] [ 387] 0 387 814 23 49152 0 0 klogd
[ 107.876671] [ 390] 998 390 1224 63 53248 0 0 avahi-daemon
[ 107.885479] [ 392] 0 392 814 22 45056 0 0 syslogd
[ 107.893850] [ 405] 997 405 1166 114 45056 0 -900 dbus-daemon
[ 107.902566] [ 420] 0 420 2268 172 57344 0 0 ofonod
[ 107.910843] [ 441] 0 441 2015 99 53248 0 0 swupdate-sysres
[ 107.919904] [ 449] 0 449 79751 249 102400 0 0 swupdate
[ 107.928358] [ 455] 0 455 558 23 40960 0 0 swupdate-progre
[ 107.937419] [ 458] 0 458 2042 119 57344 0 0 systemd-logind
[ 107.946391] [ 471] 0 471 63431 313 98304 0 0 swupdate
[ 107.954842] [ 475] 0 475 1271 28 45056 0 0 agetty
[ 107.963119] [ 476] 0 476 1383 105 49152 0 0 login
[ 107.971310] [ 477] 0 477 93103 1678 618496 0 0 weston
[ 107.979587] [ 478] 0 478 1914 79 57344 0 0 systemd-userdbd
[ 107.988649] [ 479] 0 479 1985 102 57344 0 0 systemd-userwor
[ 107.997710] [ 480] 0 480 1985 102 53248 0 0 systemd-userwor
[ 108.006770] [ 481] 0 481 1942 102 57344 0 0 systemd-userwor
[ 108.015836] [ 483] 0 483 2409 253 57344 0 0 systemd
[ 108.024203] [ 484] 0 484 2989 500 69632 0 0 (sd-pam)
[ 108.032654] [ 489] 0 489 2953 486 69632 0 0 (sd-pam)
[ 108.041106] [ 491] 0 491 9562 793 102400 0 0 weston-keyboard
[ 108.050168] [ 492] 0 492 9196 506 90112 0 0 weston-desktop-
[ 108.059232] [ 495] 0 495 976 131 45056 0 0 sh
[ 108.067168] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-c1.scope,task=weston,pid=477,uid=0
[ 108.083052] Out of memory: Killed process 477 (weston) total-vm:372412kB, anon-rss:6708kB, file-rss:4kB, shmem-rss:0kB, UID:0 pgtables:604kB oom_score_adj:0
[ 108.100939] oom_reaper: reaped process 477 (weston), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[ 108.942179] avahi-daemon invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0
[ 108.951119] CPU: 2 PID: 377 Comm: avahi-daemon Not tainted 5.10.35-gf6b4d62e1667 #20

 

The full error message is in attached

Thinks

0 Kudos
2 Replies

607 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

No memory for update

0 Kudos

592 Views
yyn
Contributor I

it work ,think you

0 Kudos