Rock pi 4 emmc back up

Hi all,
I installed ubuntu server 18.4 os after that installed our application required package and docker in production this manual installation is difficult that’s why we trying to automation using shell script after emmc flashed with ubuntu os.
1) Any method is there i can take emmc bootloader+kernel+rootfs back up and then generate .img file ?
2) Any other suggestion rock pi 4 with ubuntu server 18.04 os and application code for production ?

Thanks & Regards
Vasu

But we want ubuntu server 18.04 os.
Any suggestion for ubuntu os ?

You will need to make one. Or you could invest few more seconds and find out what Armbian is. Ubuntu needs years to get there. https://docs.armbian.com/#what-is-armbian

Thank you for your reply.
I can’t take any decision.
Our company requirement is ubuntu server os.
Do you have any suggestion ubuntu server os for production ?

That is your only option.

We have a script to backup and generate the image:

https://wiki.radxa.com/Rockpi4/backup

1 Like

I am not sure he will be satisfied with :slight_smile: It’s not “Ubuntu”.

You want to trust your production to someone who is totally incompetent in the single board computer arena?

As you can see they are unable to provide Raspberry Pi production level support.


… on one of the few arm SBC platform they “support”.

I already followed same link i got error.
Please see attached rock pi debug log.
Why this error is coming ?

[ 4.416512] [] cpuidle_enter+0x34/0x44
[ 4.416996] [] call_cpuidle+0x70/0x78
[ 4.417469] [] cpu_startup_entry+0x29c/0x2ac
[ 4.418000] [] secondary_start_kernel+0x190/0x1bc
[ 4.418562] [<0000000000e45178>] 0xe45178
[ 4.418927] CPU3: stopping
[ 4.419195] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.154-59-rockchip-g5e70f14 #4
[ 4.419893] Hardware name: ROCK PI 4B (DT)
[ 4.420264] Call trace:
[ 4.420508] [] dump_backtrace+0x0/0x220
[ 4.421006] [] show_stack+0x24/0x30
[ 4.421469] [] dump_stack+0x98/0xc0
[ 4.421930] [] handle_IPI+0x1d0/0x248
[ 4.422402] [] gic_handle_irq+0x17c/0x180
[ 4.422905] Exception stack(0xffffffc0ef2ffda0 to 0xffffffc0ef2ffed0)
[ 4.423494] fda0: 0000000000000000 0000000000000003 00000040eed59000 0000000000000020
[ 4.424200] fdc0: 00ffffffffffffff 000000001c148021 00000000000006fe 0000000000000003
[ 4.424906] fde0: 00000032b5593519 ffffff8008081800 0000000000001000 0000000000000000
[ 4.425611] fe00: 0000000034d5d91d 00000040eed59000 ffffffc0ef2eaa00 0000000000000000
[ 4.426317] fe20: 0000000000000000 0000000000000000 0000000030d00800 0000000100e5f067
[ 4.427022] fe40: 0000000000000002 ffffffc0ed124400 0000000000000002 ffffff800935a6c0
[ 4.427728] fe60: 0000000000000001 00000000ff292f4f ffffff80092f4630 0000000000e45234
[ 4.428433] fe80: 0000000000000000 ffffffc0ef2ffed0 ffffff8008903934 ffffffc0ef2ffed0
[ 4.429139] fea0: ffffff8008903938 0000000060000045 ffffffc0ef2ffed0 ffffff8008903934
[ 4.429841] fec0: ffffffffffffffff 0000000000000002
[ 4.430289] [] el1_irq+0xb4/0x140
[ 4.430741] [] cpuidle_enter_state+0x1fc/0x254
[ 4.431284] [] cpuidle_enter+0x34/0x44
[ 4.431767] [] call_cpuidle+0x70/0x78
[ 4.432240] [] cpu_startup_entry+0x29c/0x2ac
[ 4.432772] [] secondary_start_kernel+0x190/0x1bc
[ 4.433333] [<0000000000e45178>] 0xe45178
[ 4.433704] CPU5: stopping
[ 4.433975] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 4.4.154-59-rockchip-g5e70f14 #4
[ 4.434672] Hardware name: ROCK PI 4B (DT)
[ 4.435045] Call trace:
[ 4.435292] [] dump_backtrace+0x0/0x220
[ 4.435780] [] show_stack+0x24/0x30
[ 4.436244] [] dump_stack+0x98/0xc0
[ 4.436705] [] handle_IPI+0x1d0/0x248
[ 4.437175] [] gic_handle_irq+0x17c/0x180
[ 4.437679] Exception stack(0xffffffc0ef307da0 to 0xffffffc0ef307ed0)
[ 4.438261] 7da0: 0000000000000000 0000000000000005 00000040eed83000 0000000000000020
[ 4.438961] 7dc0: 00ffffffffffffff 000000001c148021 00000000000006fe 0000000000000005
[ 4.439660] 7de0: 00000034b5593519 ffffff8008081800 0000000000001000 0000000000000000
[ 4.440359] 7e00: 0000000034d5d91d 00000040eed83000 ffffffc0ef2ec600 0000000000000000
[ 4.441057] 7e20: 0000000000000000 0000000000000000 0000000030d00800 0000000100e5cb22
[ 4.441756] 7e40: 0000000000000002 ffffffc0ed124800 0000000000000002 ffffff800935a6c0
[ 4.442454] 7e60: 0000000000000001 0000000100038f9b ffffff80092f4630 0000000000e45234
[ 4.443152] 7e80: 0000000000000000 ffffffc0ef307ed0 ffffff8008903934 ffffffc0ef307ed0
[ 4.443851] 7ea0: ffffff8008903938 0000000060000045 ffffffc0ef307ed0 ffffff8008903934
[ 4.444547] 7ec0: ffffffffffffffff 0000000000000002
[ 4.444993] [] el1_irq+0xb4/0x140
[ 4.445446] [] cpuidle_enter_state+0x1fc/0x254
[ 4.445990] [] cpuidle_enter+0x34/0x44
[ 4.446474] [] call_cpuidle+0x70/0x78
[ 4.446944] [] cpu_startup_entry+0x29c/0x2ac
[ 4.447464] [] secondary_start_kernel+0x190/0x1bc
[ 4.448029] [<0000000000e45178>] 0xe45178
[ 4.448394] CPU4: stopping
[ 4.448659] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 4.4.154-59-rockchip-g5e70f14 #4
[ 4.449356] Hardware name: ROCK PI 4B (DT)
[ 4.449727] Call trace:
[ 4.449966] [] dump_backtrace+0x0/0x220
[ 4.450454] [] show_stack+0x24/0x30
[ 4.450916] [] dump_stack+0x98/0xc0
[ 4.451375] [] handle_IPI+0x1d0/0x248
[ 4.451845] [] gic_handle_irq+0x17c/0x180
[ 4.452350] Exception stack(0xffffffc0ef303da0 to 0xffffffc0ef303ed0)
[ 4.452931] 3da0: 0000000000000000 0000000000000004 00000040eed6e000 0000000000000020
[ 4.453631] 3dc0: 00ffffffffffffff 000000001c148021 00000000000006fe 0000000000000004
[ 4.454330] 3de0: 00000034b5593519 ffffff8008081800 0000000000001000 0000000000000000
[ 4.455029] 3e00: 0000000034d5d91d 00000040eed6e000 ffffffc0ef2eb800 0000000000000000
[ 4.455728] 3e20: 0000000000000000 0000000000000000 0000000030d00800 0000000100e55b7a
[ 4.456426] 3e40: 0000000000000002 ffffffc0ed124600 0000000000000002 ffffff800935a6c0
[ 4.457124] 3e60: 0000000000000001 0000000100061352 ffffff80092f4630 0000000000e45234
[ 4.457822] 3e80: 0000000000000000 ffffffc0ef303ed0 ffffff8008903934 ffffffc0ef303ed0
[ 4.458520] 3ea0: ffffff8008903938 0000000060000045 ffffffc0ef303ed0 ffffff8008903934
[ 4.459216] 3ec0: ffffffffffffffff 0000000000000002
[ 4.459662] [] el1_irq+0xb4/0x140
[ 4.460112] [] cpuidle_enter_state+0x1fc/0x254
[ 4.460656] [] cpuidle_enter+0x34/0x44
[ 4.461140] [] call_cpuidle+0x70/0x78
[ 4.461611] [] cpu_startup_entry+0x29c/0x2ac
[ 4.462130] [] secondary_start_kernel+0x190/0x1bc
[ 4.462694] [<0000000000e45178>] 0xe45178
[ 4.463058] CRU:
[ 4.463257] 00000000: 00000044 00002201 80000000 00000108 00000007 00007f00 00000000 00000000
[ 4.464031] 00000020: 00000044 00002201 80000000 00000108 00000007 00007f00 00000000 00000000
[ 4.464806] 00000040: 00000064 00001301 8000031f 00000108 00000007 00007f00 00000000 00000000
[ 4.465580] 00000060: 0000010b 00006508 80000000 00000108 00000007 00007f00 00000000 00000000
[ 4.466354] 00000080: 00000064 00001301 8000031f 00000108 00000007 00007f00 00000000 00000000
[ 4.467127] 000000a0: 0000004b 00001301 80000000 00000108 00000007 00007f00 00000000 00000000
[ 4.467901] 000000c0: 000000c6 00001202 8000031f 00000008 00000007 00007f00 00000000 00000000
[ 4.468673] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.469447] 00000100: 00000100 00000202 00000140 00006202 00000083 00008581 00008320 00000141
[ 4.470221] 00000120: 00000181 00008181 00000141 00000141 00004141 00008343 00003185 00000201
[ 4.470994] 00000140: 00000107 00000300 00004a87 0000033f 00009381 00008387 00001103 00005282
[ 4.471768] 00000160: 00008247 00000187 00001743 0000001f 00000380 00000300 00000380 00000000
[ 4.472541] 00000180: 00006300 00009200 00000200 00000200 00000200 00000200 00003f3f 00000081
[ 4.473315] 000001a0: 00000000 00000000 00004141 00000421 00008700 000002dc 00000004 00000381
[ 4.474088] 000001c0: 00000381 00000001 00000100 00000087 00000087 00000141 00000141 00008181
[ 4.474862] 000001e0: 00008323 00000007 00008f1f 00008f8f 00008f8f 00008787 00008787 00008787
[ 4.475634] 00000200: 000000cf 000000cf 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.476407] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.477179] 00000240: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.477952] 00000260: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.478726] 00000280: 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60
[ 4.479500] 000002a0: 0bb8ea60 0bb8ea60 0bb8ea60 00010014 00000000 00000000 00000000 00000000
[ 4.480273] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.481046] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.481819] 00000300: 00000080 00000080 00000202 0000006b 00000c30 00000000 0000001c 000001c0
[ 4.482593] 00000320: 0000efd8 0000f0ff 0000d0ff 00000130 00000040 0000e202 00000000 00000000
[ 4.483367] 00000340: 00000505 00000505 00001000 00000000 00000e04 00000008 0000cfeb 00003f00
[ 4.484140] 00000360: 0000ef60 00000020 00000ffe 000001f0 0000000c 00000f80 00000c08 000001b8
[ 4.484913] 00000380: 00002010 00000000 0000002a 00000000 00000000 00000000 00000000 00000000
[ 4.485686] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.486458] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.487231] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.488003] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.488777] 00000420: 00000000 00004040 00000000 00000014 00000000 00000000 00000000 00000000
[ 4.489549] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.490322] 00000460: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.491095] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.491867] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.492640] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.493413] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.494186] 00000500: 00000000 00000000 00640064 00000000 00000003 00000000 00000000 00000000
[ 4.494959] 00000520: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.495731] 00000540: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.496504] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.497271] 00000580: 00000004 00000000 00000004 0000087e 00000004
[ 4.497826] PMU CRU:
[ 4.498055] 00000000: 000000a9 00001203 80000000 00000108 00000007 00007f00 00000000 00000000
[ 4.498829] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.499604] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.500378] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.501154] 00000080: 0000060d 00001986 00000303 00000003 000002dc 00000600 0bb8ea60 00010014
[ 4.501928] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.502703] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.503477] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.504251] 00000100: 00000ffc 0000fb88 0000000f 00000000 00000024 00000000 00000000 00000000
[ 4.505020] 00000120: 00000000 00000000 00000000 00000000 00000003
[ 4.505576] PMU:
[ 4.505770] 00000000: 00000000 00000000 00000000 00000000 00000000 10cf0000 10cf0000 00000000
[ 4.506544] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.507318] 00000040: 00000000 00000000 00000000 00000000 00000000 98cf833f 00000000 00000000
[ 4.508094] 00000060: 004006f8 004006f8 004006f8 00000010 00000000 00007e00 00000000 28800000
[ 4.508870] 00000080: 000003c0 00011940 00005dc0 000003c0 00005dc0 00000060 0000000f 00000018
[ 4.509645] 000000a0: 00000018 00000018 00000018 00000006 00000006 00005dc0 00005dc0 00005dc0
[ 4.510419] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 3fffffff 00000000
[ 4.511194] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.511950] Kernel Offset: disabled
[ 4.512264] Memory Limit: none
[ 4.512559] rockchip-thermal ff260000.tsadc: channal 0: temperature(38 C)
[ 4.513162] THERMAL REGS:
[ 4.513425] 00000000: 00000200 00030133 00000031 00000002 00000000 00000000 00000000 00000000
[ 4.514199] 00000020: 00000217 00000216 00000000 00000000 00000268 00000000 00000000 00000000
[ 4.514972] 00000040: 00000293 00000293 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.515746] 00000060: 00000004 00000004 00000753 00000753 00000000 00000000 00000000 00000000
[ 4.516507] 00000080: 00000000 00000000
[ 4.516867] —[ end Kernel panic - not syncing: Requested init /sbin/init failed (error -2).
[ 36.126622] Watchdog detected hard LOCKUP on cpu 3
[ 36.127059] ------------[ cut here ]------------
[ 36.127505] WARNING: at kernel/watchdog.c:352
[ 36.127899] Modules linked in:
[ 36.128191]
[ 36.128351] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.154-59-rockchip-g5e70f14 #4
[ 36.129049] Hardware name: ROCK PI 4B (DT)
[ 36.129424] task: ffffffc0ef2a0000 task.stack: ffffffc0ef1fc000
[ 36.129969] PC is at watchdog_timer_fn+0x190/0x2e8
[ 36.130407] LR is at watchdog_timer_fn+0x190/0x2e8
[ 36.130840] pc : [] lr : [] pstate: 600001c5
[ 36.131492] sp : ffffffc0f7f02df0
[ 36.131795] x29: ffffffc0f7f02df0 x28: 0000000000000003
[ 36.132304] x27: ffffff80091f7880 x26: ffffff80091c1238
[ 36.132813] x25: ffffffc0f7f05250 x24: ffffffc0ef1ffc70
[ 36.133320] x23: 0000000000000000 x22: 0000000000000000
[ 36.133828] x21: ffffff80091f6000 x20: ffffff80091c12b0
[ 36.134336] x19: ffffff80091c1000 x18: 0000000000000005
[ 36.134844] x17: 0000000000000000 x16: 0000000000000000
[ 36.135351] x15: 0000000000000000 x14: 000000000000000a
[ 36.135859] x13: ffffff808939b8cb x12: 0000000000000030
[ 36.136367] x11: 0000000000000006 x10: ffffff800939b8d3
[ 36.136875] x9 : 0000000005f5e0ff x8 : 6e6f2050554b434f
[ 36.137383] x7 : 4c20647261682064 x6 : ffffff800939b901
[ 36.137891] x5 : 00000000fffffffe x4 : ffffff80091f5688
[ 36.138399] x3 : 00000040eed44000 x2 : 00000040eed44000
[ 36.138907] x1 : 0000000000000002 x0 : 0000000000000026
[ 36.139416]
[ 36.139416] PC: 0xffffff800813a654:
[ 36.139862] a654 91022694 d538d080 38746801 34000041 3834681f 97ffff7a a94153f3 52800020
[ 36.140665] a674 a9425bf5 a94363f7 a9446bf9 a94573fb a8c77bfd d65f03c0 91020282 f87a6860
[ 36.141467] a694 f8626865 91022294 eb05001f 54000101 38746860 35fffb80 b9403082 f0006ec0
[ 36.142269] a6b4 91223000 340000c2 9400df46 f8226860 f87c7b60 3834681f 17ffffd3 9400dfd0
[ 36.143072] a6d4 d4210000 f87c7b60 52800021 38346801 17ffffcd 97fe48df f9443ea1 36080941
[ 36.143874] a6f4 b9401341 910003e2 340008e1 531f7821 d35efc00 8b21c2c1 cb000021 b6f80841
[ 36.144675] a714 6b160016 54000800 91022a99 d538d080 38606b21 34000101 91024294 f8746802
[ 36.145476] a734 d5384101 eb01005f 54fff980 3839681f 17ffffc9 34000157 90009641 52800000
[ 36.146281]
[ 36.146281] LR: 0xffffff800813a654:
[ 36.146736] a654 91022694 d538d080 38746801 34000041 3834681f 97ffff7a a94153f3 52800020
[ 36.147527] a674 a9425bf5 a94363f7 a9446bf9 a94573fb a8c77bfd d65f03c0 91020282 f87a6860
[ 36.148329] a694 f8626865 91022294 eb05001f 54000101 38746860 35fffb80 b9403082 f0006ec0
[ 36.149120] a6b4 91223000 340000c2 9400df46 f8226860 f87c7b60 3834681f 17ffffd3 9400dfd0
[ 36.149921] a6d4 d4210000 f87c7b60 52800021 38346801 17ffffcd 97fe48df f9443ea1 36080941
[ 36.150723] a6f4 b9401341 910003e2 340008e1 531f7821 d35efc00 8b21c2c1 cb000021 b6f80841
[ 36.151515] a714 6b160016 54000800 91022a99 d538d080 38606b21 34000101 91024294 f8746802
[ 36.152316] a734 d5384101 eb01005f 54fff980 3839681f 17ffffc9 34000157 90009641 52800000
[ 36.153120]
[ 36.153120] SP: 0xffffffc0f7f02d70:
[ 36.153575] 2d70 00000000 00000000 00000000 00000000 ef1ffc70 ffffffc0 f7f05250 ffffffc0
[ 36.154377] 2d90 091c1238 ffffff80 091f7880 ffffff80 00000003 00000000 f7f02df0 ffffffc0
[ 36.155179] 2db0 0813a6d4 ffffff80 f7f02df0 ffffffc0 0813a6d4 ffffff80 600001c5 00000000
[ 36.155980] 2dd0 091f6878 ffffff80 00000001 00000000 00000000 00000080 eec00028 ffffffc0
[ 36.156782] 2df0 f7f02e60 ffffffc0 081052fc ffffff80 f7f05250 ffffffc0 f7f04c00 ffffffc0
[ 36.157583] 2e10 64a0dc86 00000008 f7f04c80 ffffffc0 091bb000 ffffff80 00000001 00000000
[ 36.158384] 2e30 0935a198 ffffff80 64a0dc86 00000008 0813a544 ffffff80 ef2a0000 ffffffc0
[ 36.159185] 2e50 f7f05250 ffffffc0 091f6878 ffffff80 f7f02ed0 ffffffc0 081058e0 ffffff80
[ 36.159995]
[ 36.159995] X4: 0xffffff80091f5608:
[ 36.160440] 5608 ffffffff 00000000 ffffffff ffffffff 00000000 00000000 00000000 00000000
[ 36.161241] 5628 00000000 00000000 00000000 00000000 00000000 00000000 00000100 00000001
[ 36.162042] 5648 00000000 00000000 000000ff 00000000 0037b0d6 0000001f 00000001 00000000
[ 36.162843] 5668 f8000000 00000000 00000000 00000000 07e00000 ffffff80 00000000 00000000
[ 36.163634] 5688 00000004 00000000 0000003f 00000000 0000003f 00000000 0000003f 00000000
[ 36.164435] 56a8 00000000 00000000 ef0d7600 ffffffc0 ef0d7800 ffffffc0 ef0d7a00 ffffffc0
[ 36.165237] 56c8 ef0d7c00 ffffffc0 ef0d7e00 ffffffc0 ef004000 ffffffc0 ef2d8000 ffffffc0
[ 36.166038] 56e8 00000000 0001af3b 000003e8 00000001 00000020 00000001 0007a120 00000000
[ 36.166834]
[ 36.166834] X6: 0xffffff800939b881:
[ 36.167279] b880 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.168080] b8a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.168881] b8c0 00000000 00000000 00000001 30303020 32303330 38383830 62205d31 20306338
[ 36.169682] b8e0 312e3633 33383636 58205d34 30203a36 66666678 38666666 33393030 38386239
[ 36.170484] b900 300a3a31 33313830 34643661 70205d3e 74617473 36203a65 30303030 0a356331
[ 36.171286] b920 34232034 20726f0a 2e29322d 465b200a 5d636e75 6d203a20 5f696c61 75646f6d
[ 36.172088] b940 695f656c 2874696e 73203b29 725f6e76 735f7665 6e697274 72665f67 615f6d6f
[ 36.172890] b960 6f206d72 68742066 6d207369 5f696c61 69206f6b 27272073 6b72202c 5f6f6b5f
[ 36.173691] b980 20726576 27207369 202c2735 6c697562 74612074 30322720 3a34333a 2c273231
[ 36.174500]
[ 36.174500] X10: 0xffffff800939b853:
[ 36.174956] b850 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.175757] b870 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.176548] b890 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.177348] b8b0 00000000 00000000 00000000 00000000 00000000 00000000 00000001 30303020
[ 36.178138] b8d0 312e3633 33313833 62205d38 20306438 312e3633 30353437 58205d30 203a3031
[ 36.178940] b8f0 66667830 66666666 39303038 38623933 0a3a3335 33313830 34643661 70205d3e
[ 36.179741] b910 74617473 36203a65 30303030 0a356331 34232034 20726f0a 2e29322d 465b200a
[ 36.180543] b930 5d636e75 6d203a20 5f696c61 75646f6d 695f656c 2874696e 73203b29 725f6e76
[ 36.181334] b950 735f7665 6e697274 72665f67 615f6d6f 6f206d72 68742066 6d207369 5f696c61
[ 36.182142]
[ 36.182142] X13: 0xffffff808939b84b:
[ 36.182598] b848 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.183409] b868 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.184204] b888 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.185010] b8a8 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.185815] b8c8 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.186620] b8e8 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.187425] b908 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.188230] b928 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.189035] b948 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.189849]
[ 36.189849] X19: 0xffffff80091c0f80:
[ 36.190305] 0f80 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.191100] 0fa0 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.191905] 0fc0 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.192710] 0fe0 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.193516] 1000 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.194321] 1020 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.195127] 1040 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.195932] 1060 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.196740]
[ 36.196740] X20: 0xffffff80091c1230:
[ 36.197195] 1230 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.198001] 1250 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.198806] 1270 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.199611] 1290 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.200416] 12b0 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.201221] 12d0 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.202027] 12f0 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.202832] 1310 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.203640]
[ 36.203640] X21: 0xffffff80091f5f80:
[ 36.204096] 5f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.204898] 5fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.205688] 5fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.206489] 5fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.207289] 6000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.208091] 6020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.208894] 6040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.209695] 6060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.210502]
[ 36.210502] X24: 0xffffffc0ef1ffbf0:
[ 36.210958] fbf0 00000051 00000000 00000000 00000000 0939c12e ffffff80 00000006 00000000
[ 36.211760] fc10 ef1ffc30 ffffffc0 000192c0 00000006 00000000 00000000 00000000 00000001
[ 36.212550] fc30 ef1ffcd0 ffffffc0 080efef4 ffffff80 ef1ffd50 ffffffc0 08f0cf8c ffffff80
[ 36.213341] fc50 09203000 ffffff80 00000000 00000000 00000000 00000000 09398850 ffffff80
[ 36.214143] fc70 000016c0 00000000 497c5083 00000000 000000fa 00000000 eed44000 00000040
[ 36.214945] fc90 091f5688 ffffff80 fffffffe 00000000 0939b92c ffffff80 206c656e 696e6170
[ 36.215746] fcb0 202d2063 20746f6e 636e7973 3a676e69 71655220 74736575 69206465 2074696e
[ 36.216549] fcd0 6962732f 6e692f6e 66207469 656c6961 65282064 726f7272 00000000 00000000
[ 36.217354]
[ 36.217354] X25: 0xffffffc0f7f051d0:
[ 36.217810] 51d0 ffffffff 00000000 ffffffff ffffffff 00000001 00000000 f7f051e8 ffffffc0
[ 36.218611] 51f0 f7f051e8 ffffffc0 f7f051f8 ffffffc0 f7f051f8 ffffffc0 0812e5e0 ffffff80
[ 36.219413] 5210 ef1ffcf8 ffffffc0 ef1ffc50 ffffffc0 00020002 00000000 00000000 00000000
[ 36.220204] 5230 00000001 00000000 00000009 00000000 00000001 00000000 ef329c00 ffffffc0
[ 36.221005] 5250 f7f05250 ffffffc0 f7f050c0 ffffffc0 00000000 00000000 64a0d400 00000008
[ 36.221806] 5270 64a0d400 00000008 0813a544 ffffff80 f7f04c80 ffffffc0 00000000 00000010
[ 36.222608] 5290 0813a518 ffffff80 63746177 676f6468 0000322f 00000000 00000000 00000000
[ 36.223410] 52b0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 36.224214]
[ 36.224214] X26: 0xffffff80091c11b8:
[ 36.224670] 11b8 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.225475] 11d8 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.226281] 11f8 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.227086] 1218 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.227881] 1238 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.228686] 1258 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.229491] 1278 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.230286] 1298 ******** ******** ******** ******** ******** ******** ******** ********
[ 36.231095]
[ 36.231095] X27: 0xffffff80091f7800:
[ 36.231551] 7800 00000001 00000000 00000001 00000000 000000fa 00000000 f7f53640 ffffffc0
[ 36.232343] 7820 00000015 00000000 f7f53600 ffffffc0 00000001 00000006 00000060 00000000
[ 36.233145] 7840 00015000 00001000 00000001 00000000 f7f53680 ffffffc0 f7f536c0 ffffffc0
[ 36.233947] 7860 00000000 00000005 00000010 00000000 f7f53500 ffffffc0 f7ed5000 ffffffc0
[ 36.234749] 7880 eed1a000 00000040 eed2f000 00000040 eed44000 00000040 eed59000 00000040
[ 36.235551] 78a0 eed6e000 00000040 eed83000 00000040 00000000 00000000 00000000 00000000
[ 36.236352] 78c0 00000002 00000000 00001597 00000000 00010000 00000000 000f7fff 00000000
[ 36.237153] 78e0 0001db4d 00000000 00002000 00000000 00000000 0000fffa 00000000 00000000
[ 36.237949]
[ 36.237949] X29: 0xffffffc0f7f02d70:
[ 36.238404] 2d70 00000000 00000000 00000000 00000000 ef1ffc70 ffffffc0 f7f05250 ffffffc0
[ 36.239206] 2d90 091c1238 ffffff80 091f7880 ffffff80 00000003 00000000 f7f02df0 ffffffc0
[ 36.240007] 2db0 0813a6d4 ffffff80 f7f02df0 ffffffc0 0813a6d4 ffffff80 600001c5 00000000
[ 36.240809] 2dd0 091f6878 ffffff80 00000001 00000000 00000000 00000080 eec00028 ffffffc0
[ 36.241611] 2df0 f7f02e60 ffffffc0 081052fc ffffff80 f7f05250 ffffffc0 f7f04c00 ffffffc0
[ 36.242414] 2e10 64a0dc86 00000008 f7f04c80 ffffffc0 091bb000 ffffff80 00000001 00000000
[ 36.243215] 2e30 0935a198 ffffff80 64a0dc86 00000008 0813a544 ffffff80 ef2a0000 ffffffc0
[ 36.244017] 2e50 f7f05250 ffffffc0 091f6878 ffffff80 f7f02ed0 ffffffc0 081058e0 ffffff80
[ 36.244818]
[ 36.244971] —[ end trace 7dfdacb1b2cf48e9 ]—
[ 36.245389] Call trace:
[ 36.245625] Exception stack(0xffffffc0f7f02c20 to 0xffffffc0f7f02d50)
[ 36.246215] 2c20: ffffff80091c1000 0000008000000000 ffffffc0f7f02df0 ffffff800813a6d4
[ 36.246920] 2c40: 0000000000000026 0000000000000000 ffffffc0f7f02cf0 ffffff80080efef4
[ 36.247626] 2c60: ffffffc0f7f02d70 ffffff8008f1588c ffffff80091f6000 0000000000000000
[ 36.248332] 2c80: 0000000000000000 ffffffc0ef1ffc70 ffffffc0f7f05250 ffffff80091c1238
[ 36.249038] 2ca0: ffffff80091f7880 0000000000000003 ffffffc0f7f02ce0 ffffff80091bb000
[ 36.249743] 2cc0: 0000000000000026 0000000000000002 00000040eed44000 00000040eed44000
[ 36.250449] 2ce0: ffffff80091f5688 00000000fffffffe ffffff800939b901 4c20647261682064
[ 36.251155] 2d00: 6e6f2050554b434f 0000000005f5e0ff ffffff800939b8d3 0000000000000006
[ 36.251860] 2d20: 0000000000000030 ffffff808939b8cb 000000000000000a 0000000000000000
[ 36.252562] 2d40: 0000000000000000 0000000000000000
[ 36.253014] [] watchdog_timer_fn+0x190/0x2e8
[ 36.253548] [] __hrtimer_run_queues+0x1bc/0x284
[ 36.254102] [] hrtimer_interrupt+0xac/0x1bc
[ 36.254627] [] arch_timer_handler_phys+0x38/0x50
[ 36.255195] [] handle_percpu_devid_irq+0xe8/0x178
[ 36.255762] [] generic_handle_irq+0x2c/0x44
[ 36.256282] [] __handle_domain_irq+0xb4/0xb8
[ 36.256811] [] gic_handle_irq+0xc8/0x180
[ 36.257303] Exception stack(0xffffffc0ef1ffc70 to 0xffffffc0ef1ffda0)
[ 36.257888] fc60: 00000000000016c0 00000000497c5083
[ 36.258594] fc80: 00000000000000fa 00000040eed44000 ffffff80091f5688 00000000fffffffe
[ 36.259300] fca0: ffffff800939b92c 696e6170206c656e 20746f6e202d2063 3a676e69636e7973
[ 36.260006] fcc0: 7473657571655220 2074696e69206465 6e692f6e6962732f 656c696166207469
[ 36.260711] fce0: 726f727265282064 0000000000000000 0000000000000000 0000000000000000
[ 36.261416] fd00: 0000000000000005 0000000000005dc0 0000000000000001 0000000000007b70
[ 36.262121] fd20: 0000000000007c38 0000000000000060 0000000000418958 0000000000000000
[ 36.262827] fd40: 0000000000000000 0000000000000000 0000000000000000 ffffffc0ef1ffda0
[ 36.263532] fd60: ffffff8008557708 ffffffc0ef1ffda0 ffffff80085576c0 0000000080000045
[ 36.264238] fd80: ffffff800817260c ffffffc0ef1ffdc0 ffffffffffffffff 0000000020000045
[ 36.264943] [] el1_irq+0xb4/0x140
[ 36.265394] [] __delay+0x24/0x48
[ 36.265833] [] __const_udelay+0x24/0x2c
[ 36.266330] [] panic+0x238/0x23c
[ 36.266770] [] kernel_init+0x94/0x100
[ 36.267242] [] ret_from_fork+0x10/0x20

How to solve this issue ?

Thanks & Regards
Vasu

Hi vasudhevan,

I want to know how this error came about, what steps did you take.

Ubuntu server 18.04 os i followed this https://wiki.radxa.com/Rockpi4/backup taking backup for production.
I got .img using etcher software flashed sd card.
Rock pi 4 connected debug console to my pc while booting i seen that log(previous post log) after that log noting is coming in terminal.

Backup and restore from eMMC to uSD?

Please see the tips above on https://rock.sh/rockpi-toolbox

Hi setq,
Backup and restore from eMMC to uSD?
This backup i thought to use for production for all rock pi boards.
https://rock.sh/rockpi-toolbox 404 error found.

Hello,
I use either DD or Partclone. DD is reliable in recreating the whole image but backing up large eMMCs when 6gb is used is time consuming…
Partclone will back up a partition to a file and backs up only used space. I use sfdisk --dump to keep the partition layout the same.
I usually do something like

sfdisk --dump /dev/mmcblk1 > mmcblk1.sfdisk.dump
partclone.ext4 -s /dev/mmcblk1p1 -o ./pinebookpro-mmcblk1p1.partclone -c -N
partclone.ext4 -s /dev/mmcblk1p2 -o ./pinebookpro-mmcblk1p2.partclone -c -N

You can restore to a larger partition without issue and I think you can restore to a smaller partition if the used space of the back is (obviously), less then the available space. And it works with a wide variety of file system types.

Hi setq,
I followed same link before i used 16gb emmc when trying to run ./rockpi-backup.sh -o (pwd) got error no space left on device.
Now i removed emmc ubuntu server os flashed with 32GB SD card after that tried same command now also i am getting error.

 etc/sysctl.d/99-sysctl.conf -> ../sysctl.conf
 etc/sysctl.d/README
     519 100%    0.96kB/s    0:00:00 (xfr#532, ir-chk=1002/2035)
 rsync: write failed on "/tmp/rootfs/rockpi-backup-191113-1018.img": No space left on device (28)
 rsync error: error in file IO (code 11) at receiver.c(393) [receiver=3.1.2]

How to solve the issue ?

Thanks & Regards
Vasu

Hi vasudhevan,

I want to see the print of df -h

If you have a mounted external disk, specify the mount point for -e option.

Hi setq

Filesystem           Size  Used Avail Use% Mounted on
/dev/root             15G  2.6G   12G  19% /
devtmpfs             1.9G     0  1.9G   0% /dev
tmpfs                1.9G     0  1.9G   0% /dev/shm
tmpfs                1.9G  720K  1.9G   1% /run
tmpfs                5.0M     0  5.0M   0% /run/lock
tmpfs                1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/mmcblk0p4       100M   38M   62M  38% /boot
tmpfs                382M     0  382M   0% /run/user/0
overflow             5.8M     0  5.8M   0% /tmp
/dev/mapper/loop0p5  1.6G  5.9M  1.5G

I am fixing it now, please update it in about 30 minutes.