root@armadillo:~# dumprootfs now reboot to dump the rootfs. after reboot, dump logs can be seen at "/run/initramfs/dump_rootfs.log". root@armadillo:~# Stopping Session c1 of user root. [ OK ] Stopped target Timers. [ OK ] Stopped Daily apt upgrade and clean activities. [ OK ] Stopped Daily apt download activities. [ OK ] Stopped target Graphical Interface. [ OK ] Stopped Daily Cleanup of Temporary Directories. [ OK ] Stopped Daily man-db regeneration. [ OK ] Stopped Daily rotation of log files. Unmounting /opt/license... [ OK ] Stopped target Multi-User System. [ OK ] Stopped target Login Prompts. Stopping Getty on tty1... Stopping Serial Getty on ttymxc2... Stopping System Logging Service... Stopping Regular background program processing daemon... Stopping LSB: exim Mail Transport Agent... [ OK ] Stopped Regular background program processing daemon. [ OK ] Stopped System Logging Service. [ OK ] Stopped Getty on tty1. [ OK ] Stopped Serial Getty on ttymxc2. [ OK ] Unmounted /opt/license. [ OK ] Stopped Session c1 of user root. Stopping User Manager for UID 0... Stopping Login Service... [ OK ] Removed slice system-serial\x2dgetty.slice. [ OK ] Removed slice system-getty.slice. [ OK ] Stopped /etc/rc.local Compatibility. [ OK ] Stopped Login Service. [ OK ] Stopped User Manager for UID 0. [ OK ] Stopped LSB: exim Mail Transport Agent. [ OK ] Stopped target Network is Online. [ OK ] Stopped target System Time Synchronized. Stopping User Runtime Directory /run/user/0... [ OK ] Unmounted /run/user/0. [ OK ] Stopped User Runtime Directory /run/user/0. [ OK ] Removed slice User Slice of UID 0. Stopping Permit User Sessions... Stopping D-Bus System Message Bus... [ OK ] Reached target Unmount All Filesystems. [ OK ] Stopped D-Bus System Message Bus. [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Network. Stopping Raise network interfaces... Stopping Control EMS31 on Armadillo... Stopping ifup for eth0... [ OK ] Stopped Control EMS31 on Armadillo. [ OK ] Stopped target Basic System. [ OK ] Stopped target Slices. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Sockets. [ OK ] Closed Syslog Socket. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Stopped target System Initialization. [ OK ] Stopped target Local Encrypted Volumes. Stopping Load/Save Random Seed... [ OK ] Stopped target Swap. Stopping Update UTMP about System Boot/Shutdown... Stopping Network Time Synchronization... [ OK ] Stopped target Paths. [ OK ] Stopped Forward Password R�.|uests to Wall Directory Watch. [ OK ] Stopped Dispatch Password �.|ts to Console Directory Watch. [ OK ] Stopped Network Time Synchronization. [ OK ] Stopped Load/Save Random Seed. [ OK ] Stopped Update UTMP about System Boot/Shutdown. [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Stopped Raise network interfaces. [ OK ] Stopped ifup for eth0. [ OK ] Stopped target Network (Pre). Stopping netfilter persistent configuration... [ OK ] Stopped Apply Kernel Variables. [ OK ] Stopped netfilter persistent configuration. [ OK ] Stopped Load Kernel Modules. [ OK ] Stopped target Local File Systems. [ OK ] Stopped target Local File Systems (Pre). [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Stopped Create System Users. [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Reached target Shutdown. [ OK ] Reached target Final Step. [ OK ] Started Reboot. [ OK ] Reached target Reboot. [ 131.650421] watchdog: watchdog0: watchdog did not stop! [ 131.666223] systemd-shutdow: 38 output lines suppressed due to ratelimiting [ 131.766897] systemd-shutdown[1]: Syncing filesystems and block devices. [ 131.787474] systemd-shutdown[1]: Sending SIGTERM to remaining processes... [ 131.809191] systemd-journald[184]: Received SIGTERM from PID 1 (systemd-shutdow). [ 131.838361] systemd-shutdown[1]: Sending SIGKILL to remaining processes... [ 131.854754] systemd-shutdown[1]: Hardware watchdog 'imx2+ watchdog', version 0 [ 131.866442] systemd-shutdown[1]: Unmounting file systems. [ 131.878955] [628]: Remounting '/' read-only in with options 'data=ordered'. [ 131.904330] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered [ 131.920547] systemd-shutdown[1]: All filesystems unmounted. [ 131.926190] systemd-shutdown[1]: Deactivating swaps. [ 131.931851] systemd-shutdown[1]: All swaps deactivated. [ 131.937139] systemd-shutdown[1]: Detaching loop devices. [ 131.943314] systemd-shutdown[1]: All loop devices detached. [ 131.980223] ci_hdrc ci_hdrc.1: remove, state 4 [ 131.984783] usb usb2: USB disconnect, device number 1 [ 131.990998] ci_hdrc ci_hdrc.1: USB bus 2 deregistered [ 131.996381] ci_hdrc ci_hdrc.0: remove, state 1 [ 132.000960] usb usb1: USB disconnect, device number 1 [ 132.006040] usb 1-1: USB disconnect, device number 2 [ 132.016023] ci_hdrc ci_hdrc.0: USB bus 1 deregistered [ 132.021439] imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot! [ 132.027684] reboot: Restarting system U-Boot 2018.03-at11 (Jan 19 2022 - 19:31:22 +0900) CPU: Freescale i.MX6ULL rev1.1 at 396 MHz Reset cause: POR I2C: ready DRAM: 512 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment Failed (-5) In: serial Out: serial Err: serial PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 Net: FEC Hit any key to stop autoboot: 0 7626120 bytes read in 231 ms (31.5 MiB/s) 36831 bytes read in 56 ms (641.6 KiB/s) ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-4.14-at41 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 7626056 Bytes = 7.3 MiB Load Address: 82000000 Entry Point: 82000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 83000000 Booting using the fdt blob at 0x83000000 Loading Kernel Image ... OK Loading Device Tree to 9eef7000, end 9ef02fde ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14-at41 (atmark@atde8) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 We2 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Atmark Techno Armadillo-IoT Gateway A6 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] cma: Reserved 16 MiB at 0x9f000000 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 490864K/524288K available (6144K kernel code, 275K rwdata, 1416K rodata, ) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB) [ 0.000000] .init : 0xc0900000 - 0xc0c00000 (3072 kB) [ 0.000000] .data : 0xc0c00000 - 0xc0c44de0 ( 276 kB) [ 0.000000] .bss : 0xc0c4a090 - 0xc0c87824 ( 246 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] Switching to timer-based delay loop, resolution 41ns [ 0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000053] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79s [ 0.001917] Console: colour dummy device 80x30 [ 0.002519] console [tty0] enabled [ 0.002586] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 ) [ 0.002653] pid_max: default: 32768 minimum: 301 [ 0.003075] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.003130] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.004340] CPU: Testing write buffer coherency: ok [ 0.005425] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.007460] devtmpfs: initialized [ 0.019500] random: get_random_u32 called from bucket_table_alloc+0x84/0x1a4 with crng_init=0 [ 0.020010] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.020490] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112s [ 0.020573] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.021890] pinctrl core: initialized pinctrl subsystem [ 0.023089] NET: Registered protocol family 16 [ 0.024979] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.033931] vdd3p0: supplied by regulator-dummy [ 0.034533] cpu: supplied by regulator-dummy [ 0.035364] vddsoc: supplied by regulator-dummy [ 0.050311] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver [ 0.051162] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver [ 0.080367] SCSI subsystem initialized [ 0.080852] usbcore: registered new interface driver usbfs [ 0.080963] usbcore: registered new interface driver hub [ 0.081077] usbcore: registered new device driver usb [ 0.082547] i2c-gpio i2c-gpio1: using pins 31 (SDA) and 30 (SCL) [ 0.083707] i2c i2c-0: IMX I2C adapter registered [ 0.083775] i2c i2c-0: can't use DMA, using PIO instead. [ 0.084504] Advanced Linux Sound Architecture Driver Initialized. [ 0.085711] Bluetooth: Core ver 2.22 [ 0.085811] NET: Registered protocol family 31 [ 0.085850] Bluetooth: HCI device and connection manager initialized [ 0.085898] Bluetooth: HCI socket layer initialized [ 0.085938] Bluetooth: L2CAP socket layer initialized [ 0.085977] Bluetooth: SCO socket layer initialized [ 0.086788] armadillo_iotg_a6_subboard rtc-select: Armadillo-IoT Gateway A6 subboard [ 0.086861] armadillo_iotg_a6_subboard rtc-select: revision undefined. [ 0.088629] clocksource: Switched to clocksource mxc_timer1 [ 0.104566] NET: Registered protocol family 2 [ 0.104921] IP idents hash table entries: 8192 (order: 4, 65536 bytes) [ 0.106229] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.106370] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.106492] TCP: Hash tables configured (established 4096 bind 4096) [ 0.106700] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.106769] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.107041] NET: Registered protocol family 1 [ 0.107725] RPC: Registered named UNIX socket transport module. [ 0.107780] RPC: Registered udp transport module. [ 0.107810] RPC: Registered tcp transport module. [ 0.107838] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.486025] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 0.502167] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.504229] NFS: Registering the id_resolver key type [ 0.504339] Key type id_resolver registered [ 0.504373] Key type id_legacy registered [ 0.504856] fuse init (API version 7.26) [ 0.512978] NET: Registered protocol family 38 [ 0.513575] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.513643] io scheduler noop registered [ 0.513672] io scheduler deadline registered [ 0.514094] io scheduler cfq registered (default) [ 0.525261] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX [ 0.526056] imx-sdma 20ec000.sdma: loaded firmware 3.3 [ 0.527350] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 51, base_baud = 5000000) is a IMX [ 0.528916] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 52, base_baud = 5000000) is a IMX [ 0.529007] Console IMX rounded baud rate from 114943 to 114900 [ 1.095962] console [ttymxc2] enabled [ 1.102147] libphy: Fixed MDIO Bus: probed [ 1.106635] tun: Universal TUN/TAP device driver, 1.6 [ 1.112227] CAN device driver interface [ 1.117957] fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator [ 1.128052] libphy: fec_enet_mii_bus: probed [ 1.166815] PPP generic driver version 2.4.2 [ 1.171702] usbcore: registered new interface driver awl13 [ 1.177233] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 1.184799] usbcore: registered new interface driver pegasus [ 1.190594] usbcore: registered new interface driver rtl8150 [ 1.196340] usbcore: registered new interface driver r8152 [ 1.201971] usbcore: registered new interface driver lan78xx [ 1.207723] usbcore: registered new interface driver asix [ 1.213251] usbcore: registered new interface driver ax88179_178a [ 1.219477] usbcore: registered new interface driver cdc_ether [ 1.225397] usbcore: registered new interface driver net1080 [ 1.231172] usbcore: registered new interface driver cdc_subset [ 1.237178] usbcore: registered new interface driver zaurus [ 1.242899] usbcore: registered new interface driver cdc_ncm [ 1.248595] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.255178] ehci-mxc: Freescale On-Chip EHCI Host driver [ 1.260807] usbcore: registered new interface driver cdc_acm [ 1.266505] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 1.274689] usbcore: registered new interface driver usb-storage [ 1.280932] usbcore: registered new interface driver usbserial [ 1.286878] usbcore: registered new interface driver usbserial_generic [ 1.293544] usbserial: USB Serial support registered for generic [ 1.299686] usbcore: registered new interface driver cp210x [ 1.305355] usbserial: USB Serial support registered for cp210x [ 1.311401] usbcore: registered new interface driver ftdi_sio [ 1.317226] usbserial: USB Serial support registered for FTDI USB Serial Device [ 1.324669] usbcore: registered new interface driver mxuport [ 1.330440] usbserial: USB Serial support registered for MOXA UPort [ 1.336795] usbcore: registered new interface driver pl2303 [ 1.342481] usbserial: USB Serial support registered for pl2303 [ 1.354601] ci_hdrc ci_hdrc.0: EHCI Host Controller [ 1.359650] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 [ 1.388667] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 [ 1.395587] hub 1-0:1.0: USB hub found [ 1.399540] hub 1-0:1.0: 1 port detected [ 1.408718] ci_hdrc ci_hdrc.1: EHCI Host Controller [ 1.413706] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2 [ 1.448674] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 [ 1.455586] hub 2-0:1.0: USB hub found [ 1.459543] hub 2-0:1.0: 1 port detected [ 1.465573] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drives [ 1.480807] rtc-nr3225sa 4-0032: registered as rtc0 [ 1.486964] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1 [ 1.493478] i2c /dev entries driver [ 1.498584] IR NEC protocol handler initialized [ 1.503232] IR RC5(x/sz) protocol handler initialized [ 1.508315] IR RC6 protocol handler initialized [ 1.512896] IR JVC protocol handler initialized [ 1.517452] IR Sony protocol handler initialized [ 1.522116] IR SANYO protocol handler initialized [ 1.526848] IR Sharp protocol handler initialized [ 1.531601] IR MCE Keyboard/mouse protocol handler initialized [ 1.537461] IR XMP protocol handler initialized [ 1.544243] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) [ 1.550612] usbcore: registered new interface driver btusb [ 1.556414] sdhci: Secure Digital Host Controller Interface driver [ 1.562690] sdhci: Copyright(c) Pierre Ossman [ 1.567078] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.638667] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA [ 1.688253] mmc0: new DDR MMC card at address 0001 [ 1.693873] mmcblk0: mmc0:0001 S0J35A 3.53 GiB [ 1.698883] mmcblk0boot0: mmc0:0001 S0J35A partition 1 31.5 MiB [ 1.705195] mmcblk0boot1: mmc0:0001 S0J35A partition 2 31.5 MiB [ 1.711439] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA [ 1.721787] mmcblk0gp0: mmc0:0001 S0J35A partition 4 8.00 MiB [ 1.734105] mmcblk0gp1: mmc0:0001 S0J35A partition 5 8.00 MiB [ 1.741555] usbcore: registered new interface driver usbhid [ 1.747177] usbhid: USB HID core driver [ 1.753080] mmcblk0gp2: mmc0:0001 S0J35A partition 6 8.00 MiB [ 1.763867] Netfilter messages via NETLINK v0.30. [ 1.769097] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) [ 1.775562] nf_tables: (c) 2007-2009 Patrick McHardy [ 1.782220] nf_tables_compat: (c) 2012 Pablo Neira Ayuso [ 1.790212] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.797142] NET: Registered protocol family 10 [ 1.803338] mmcblk0gp3: mmc0:0001 S0J35A partition 7 8.00 MiB [ 1.809749] mmcblk0rpmb: mmc0:0001 S0J35A partition 3 4.00 MiB, chardev (248:0) [ 1.823614] Segment Routing with IPv6 [ 1.827487] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.834696] NET: Registered protocol family 17 [ 1.839289] can: controller area network core (rev 20170425 abi 9) [ 1.845814] NET: Registered protocol family 29 [ 1.850350] can: raw protocol (rev 20170425) [ 1.854656] can: broadcast manager protocol (rev 20170425 t) [ 1.860394] can: netlink gateway (rev 20170425) max_hops=1 [ 1.867597] mmcblk0: p1 p2 p3 p4 [ 1.875569] Bluetooth: RFCOMM TTY layer initialized [ 1.880644] Bluetooth: RFCOMM socket layer initialized [ 1.885821] Bluetooth: RFCOMM ver 1.11 [ 1.889637] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 1.894981] Bluetooth: BNEP filters: protocol multicast [ 1.900270] Bluetooth: BNEP socket layer initialized [ 1.905269] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 1.911249] Bluetooth: HIDP socket layer initialized [ 1.916372] Key type dns_resolver registered [ 1.921563] cpu cpu0: _opp_add: duplicate OPPs detected. Existing: freq: 900000000, volt: 1271 [ 1.935856] random: fast init done [ 1.939414] cpu cpu0: _opp_add: duplicate OPPs detected. Existing: freq: 792000000, volt: 1221 [ 1.953682] cpu cpu0: _opp_add: duplicate OPPs detected. Existing: freq: 528000000, volt: 1171 [ 1.967943] cpu cpu0: _opp_add: duplicate OPPs detected. Existing: freq: 396000000, volt: 1021 [ 1.982206] cpu cpu0: _opp_add: duplicate OPPs detected. Existing: freq: 198000000, volt: 9501 [ 1.996935] ThumbEE CPU extension supported. [ 2.040592] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105CC [ 2.052835] input: gpio-keys as /devices/soc0/gpio-keys/input/input0 [ 2.061988] input: gpio-wakeup as /devices/soc0/gpio-wakeup/input/input1 [ 2.071498] rtc-nr3225sa 4-0032: setting system clock to 2024-11-25 03:39:51 UTC (1732505991) [ 2.080805] ALSA device list: [ 2.083807] No soundcards found. [ 2.087381] Warning: unable to open an initial console. [ 2.098178] Freeing unused kernel memory: 3072K [ 2.239512] systemd-udevd[85]: starting version 215 [ 2.256972] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 2.268735] usb 1-1: new high-speed USB device number 2 using ci_hdrc [ 2.582870] usb-storage 1-1:1.0: USB Mass Storage device detected [ 2.611768] scsi host0: usb-storage 1-1:1.0 [ 3.348447] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.427335] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered [ 3.452485] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered [ 3.689859] scsi 0:0:0:0: Direct-Access KIOXIA TransMemory PQ: 0 ANSI: 6 [ 3.703655] sd 0:0:0:0: [sda] 30274560 512-byte logical blocks: (15.5 GB/14.4 GiB) [ 3.716116] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 3.726014] sd 0:0:0:0: [sda] Write Protect is off [ 3.734083] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPOA [ 3.749431] sda: sda1 [ 3.763912] sd 0:0:0:0: [sda] Attached SCSI removable disk ^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[Bfdisk: cannot opy Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. mkfs.vfat: unable to open : No such file or directory mkfs.fat 4.1 (2017-01-24) mount: mounting on /tmp/mnt.X16MNmf failed: Invalid argument dump_rootfs has failed. dump_rootfs v1.1.0 Description: dump_rootfs can dump a root file system(rootfs) to a specified block device. to run dump_rootfs, create "do_dump_rootfs" on the top directory of the rootfs. "do_dump_rootfs" can be contained parameters of dump_rootfs. to exclude files from dump_rootfs, create "excludes.list" on the top directory of the rootfs. each line of "excludes.list" means fullpath of files to be exclude from dump_rootfs except lines starting with "#". do_dump_rootfs parameters: dstdev=DEV required. output the dumpped rootfs archive to DEV. it must be mountable. for example /dev/sda1, /dev/mmcblk0p2, /dev/mmcblk1p2. debug output detailed logs to "/run/initramfs/dump_rootfs.log". led=LED blink LED while dumping. for example /sys/class/leds/green, /sys/class/leds/led1. force_format=yes "yes" to exec fdisk and mkfs.vfat before mount dstdev, otherwise just mount dstdev. excludes.list description: #.* the lines starting with "#" are comments. these are ignored. .* the lines starting with the other than "#" are fullpath of files to be exclude from dump_rootfs. "*" can be used as wild card. for example /etc/ssh/ssh*key*. Example: run commands below and the armadillo start dumping from the rootfs to "/dev/mmcblk0p2" after reboot itself. and then detailed logs are output to "/run/initramfs/dump_rootfs.log" and "dump_rootfs.tar.gz" is generated in "/dev/mmcblk0p2". [armadillo ~]# echo "dstdev=/dev/mmcblk0p2" > /do_dump_rootfs [armadillo ~]# echo "debug" > /do_dump_rootfs [armadillo ~]# reboot Please specify "dstdev" to run dump_rootfs or "debug" for debug. [ 5.172601] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPAR) [ 5.194964] systemd[1]: Detected architecture arm. Welcome to Debian GNU/Linux 10 (buster)! [ 5.239703] systemd[1]: Set hostname to . [ 6.824327] random: systemd: uninitialized urandom read (16 bytes read) [ 6.846893] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 6.855217] random: systemd: uninitialized urandom read (16 bytes read) [ 6.865915] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 6.899014] random: systemd: uninitialized urandom read (16 bytes read) [ 6.906991] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 6.940148] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 6.979068] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 7.009447] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R�.|uests to Wall Directory Watch. [ 7.049734] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Syslog Socket. [ OK ] Listening on Journal Socket (/dev/log). Starting Journal Service... [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Reached target Remote File Systems. [ OK ] Reached target Slices. [ OK ] Set up automount Arbitrary�.|s File System Automount Point. [ OK ] Started Dispatch Password �.|ts to Console Directory Watch. [ OK ] Reached target Local Encrypted Volumes. [ OK ] Reached target Paths. [ OK ] Listening on fsck to fsckd communication Socket. [ OK ] Created slice system-getty.slice. [ OK ] Listening on initctl Compatibility Named Pipe. Starting udev Coldplug all Devices... Starting Load Kernel Modules... Starting Remount Root and Kernel File Systems... [ OK ] Started Journal Service. [ OK ] Started Load Kernel Modules. Starting Apply Kernel Variables... [ 7.933031] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Mounting FUSE Control File System... Mounting Kernel Configuration File System... [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Mounted FUSE Control File System. [ OK ] Started Apply Kernel Variables. [ OK ] Mounted Kernel Configuration File System. Starting Flush Journal to Persistent Storage... Starting Load/Save Random Seed... Starting Create System Users... [ OK ] Started Load/Save Random Seed. [ 8.821775] systemd-journald[180]: Received request to flush runtime journal from PID 1 [ OK ] Started Create System Users. [ OK ] Started Flush Journal to Persistent Storage. Starting Create Static Device Nodes in /dev... [ OK ] Started udev Coldplug all Devices. Starting Helper to synchronize boot up for ifupdown... [ OK ] Started Helper to synchronize boot up for ifupdown. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems. Starting netfilter persistent configuration... Starting Create Volatile Files and Directories... Starting udev Kernel Device Manager... [ OK ] Started netfilter persistent configuration. [ OK ] Reached target Network (Pre). Starting Raise network interfaces... [ OK ] Started Create Volatile Files and Directories. [ OK ] Started udev Kernel Device Manager. [ OK ] Started Raise network interfaces. Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Network Time Synchronization. [ OK ] Found device /dev/ttymxc2. [ OK ] Found device /dev/mmcblk0gp0. Mounting /opt/license... [ OK ] Started ifup for eth0. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started Control EMS31 on Armadillo. [ OK ] Reached target Network. [ OK ] Reached target Network is Online. Starting /etc/rc.local Compatibility... [ OK ] Started Regular background program processing daemon. [ 15.049048] SMSC LAN8710/LAN8720 2188000.ethernet-1:00: attached PHY driver [SMSC LA) Starting Login Service... [ 15.100961] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Starting Restore /etc/reso�.| the ppp link was shut down... Starting System Logging Service... Starting Permit User Sessions... [ OK ] Started Daily Cleanup of Temporary Directories. Starting OpenBSD Secure Shell server... [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target System Time Synchronized. [ OK ] Started Daily man-db regeneration. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. Starting LSB: exim Mail Transport Agent... [ OK ] Started System Logging Service. [ OK ] Mounted /opt/license. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Restore /etc/resol�.|re the ppp link was shut down. [ OK ] Started Permit User Sessions. [FAILED] Failed to start OpenBSD Secure Shell server. See 'systemctl status ssh.service' for details. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttymxc2. [ OK ] Reached target Login Prompts. [ OK ] Stopped OpenBSD Secure Shell server. Starting OpenBSD Secure Shell server... [ OK ] Started Login Service. [FAILED] Failed to start OpenBSD Secure Shell server. See 'systemctl status ssh.service' for details. [ OK ] Stopped OpenBSD Secure Shell server. Starting OpenBSD Secure Shell server... [FAILED] Failed to start OpenBSD Secure Shell server. See 'systemctl status ssh.service' for details. [ OK ] Stopped OpenBSD Secure Shell server. Starting OpenBSD Secure Shell server... [FAILED] Failed to start OpenBSD Secure Shell server. See 'systemctl status ssh.service' for details. [ 18.249446] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 18.257368] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ OK ] Started LSB: exim Mail Transport Agent. [ OK ] Stopped OpenBSD Secure Shell server. Starting OpenBSD Secure Shell server... [FAILED] Failed to start OpenBSD Secure Shell server. See 'systemctl status ssh.service' for details. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Stopped OpenBSD Secure Shell server. [FAILED] Failed to start OpenBSD Secure Shell server. See 'systemctl status ssh.service' for details. [ OK ] Started Update UTMP about System Runlevel Changes. [ 19.400762] random: crng init done [ 19.404211] random: 6 urandom warning(s) missed due to ratelimiting Debian GNU/Linux 10 armadillo ttymxc2 armadillo login: