riz94107 Posted September 3, 2019 Posted September 3, 2019 I have an Odroid-C1+ running some version of Armbian (I forget the details, exactly) - it's been happily working for a while, but recently that board went dead. I finally got a serial console on it, and captured the output below. Pretty clearly, something is wrong, and it being a cheap flash card, I bet the card itself is going bad. My real question: does anyone have a good suggestion how I can recover anything there is to recover from the SD card before setting up a new one? It's been long enough since I set up this device that I'd prefer not to start from scratch if I can avoid it. I'm not much of a Linux guy (usually NetBSD/MacOS), but I do have a Ubuntu 16.04LTS VM I can use for mounting - but I'd love any suggestions how to maximize my chances of having something recoverable... Thanks! bootm 0x21000000 0x22000000 0x21800000 ## Booting kernel from Legacy Image at 21000000 ... Image Name: Linux-3.10.107-odroidc1 Image Type: ARM Linux Kernel Image (lzo compressed) Data Size: 5408888 Bytes = 5.2 MiB Load Address: 00208000 Entry Point: 00208000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 22000000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4512655 Bytes = 4.3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 21800000 Booting using the fdt blob at 0x21800000 Uncompressing Kernel Image ... OK uboot time: 6500125 us. Using machid 0xf81 from environment From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x5456001 Loading Ramdisk to 05008000, end 05455b8f ... OK Loading Device Tree to 05000000, end 05007e3f ... OK Starting kernel ... [ 6.695002@0] hdmi: Fixing to HDMI Mode [ 6.695080@0] hdmi: Sink is HDMI device [ 6.697060@0] hdmi: No sink attached Loading, please wait... Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.25.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: recovering journal /dev/mmcblk0p1: clean, 49616/453120 files, 515993/1905664 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. run-init: /sbin/init: No such file or directory [ 9.365190@0] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 9.365190@0] [ 9.369136@0] CPU: 0 PID: 1 Comm: run-init Not tainted 3.10.107-odroidc1 #15 [ 9.376151@0] [<c0014b58>] (unwind_backtrace+0x0/0xf4) from [<c0011b24>] (show_stack+0x10/0x14) [ 9.384841@0] [<c0011b24>] (show_stack+0x10/0x14) from [<c06532e4>] (panic+0xa4/0x1f8) [ 9.392738@0] [<c06532e4>] (panic+0xa4/0x1f8) from [<c00336fc>] (do_exit+0x49c/0x918) [ 9.400549@0] [<c00336fc>] (do_exit+0x49c/0x918) from [<c0033ba4>] (do_group_exit+0x0/0xc0) [ 9.408886@0] [<c0033ba4>] (do_group_exit+0x0/0xc0) from [<00000000>] ( (null)) [ 9.416259@3] CPU3: stopping [ 9.419087@3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.10.107-odroidc1 #15 [ 9.426248@3] [<c0014b58>] (unwind_backtrace+0x0/0xf4) from [<c0011b24>] (show_stack+0x10/0x14) [ 9.434943@3] [<c0011b24>] (show_stack+0x10/0x14) from [<c00133c4>] (handle_IPI+0xd4/0x17c) [ 9.443276@3] [<c00133c4>] (handle_IPI+0xd4/0x17c) from [<c0008490>] (gic_handle_irq+0x58/0x5c) [ 9.451964@3] [<c0008490>] (gic_handle_irq+0x58/0x5c) from [<c000d840>] (__irq_svc+0x40/0x70) [ 9.460467@3] Exception stack(0xec6a3f98 to 0xec6a3fe0) [ 9.465648@3] 3f80: 00000003 00000000 [ 9.474015@3] 3fa0: 0000b22c 00000000 c0944550 c06620b8 ec6a2000 c09a371e ec6a2000 c09a371e [ 9.482351@3] 3fc0: ec6a2000 ec6a2000 00000000 ec6a3fe0 c000f04c c000f050 60000013 ffffffff [ 9.490691@3] [<c000d840>] (__irq_svc+0x40/0x70) from [<c000f050>] (arch_cpu_idle+0x28/0x2c) [ 9.499116@3] [<c000f050>] (arch_cpu_idle+0x28/0x2c) from [<c006f9a8>] (cpu_startup_entry+0xf8/0x154) [ 9.508327@3] [<c006f9a8>] (cpu_startup_entry+0xf8/0x154) from [<0084fde4>] (0x84fde4) [ 9.516212@2] CPU2: stopping [ 9.519038@2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.10.107-odroidc1 #15 [ 9.526199@2] [<c0014b58>] (unwind_backtrace+0x0/0xf4) from [<c0011b24>] (show_stack+0x10/0x14) [ 9.534894@2] [<c0011b24>] (show_stack+0x10/0x14) from [<c00133c4>] (handle_IPI+0xd4/0x17c) [ 9.543227@2] [<c00133c4>] (handle_IPI+0xd4/0x17c) from [<c0008490>] (gic_handle_irq+0x58/0x5c) [ 9.551915@2] [<c0008490>] (gic_handle_irq+0x58/0x5c) from [<c000d840>] (__irq_svc+0x40/0x70) [ 9.560418@2] Exception stack(0xec6a1f98 to 0xec6a1fe0) [ 9.565599@2] 1f80: 00000002 00000000 [ 9.573966@2] 1fa0: 000016f8 00000000 c0944550 c06620b8 ec6a0000 c09a371e ec6a0000 c09a371e [ 9.582303@2] 1fc0: ec6a0000 ec6a0000 00000000 ec6a1fe0 c000f04c c000f050 60000013 ffffffff [ 9.590643@2] [<c000d840>] (__irq_svc+0x40/0x70) from [<c000f050>] (arch_cpu_idle+0x28/0x2c) [ 9.599066@2] [<c000f050>] (arch_cpu_idle+0x28/0x2c) from [<c006f9a8>] (cpu_startup_entry+0xf8/0x154) [ 9.608279@2] [<c006f9a8>] (cpu_startup_entry+0xf8/0x154) from [<0084fde4>] (0x84fde4) [ 9.616164@1] CPU1: stopping [ 9.618989@1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.107-odroidc1 #15 [ 9.626150@1] [<c0014b58>] (unwind_backtrace+0x0/0xf4) from [<c0011b24>] (show_stack+0x10/0x14) [ 9.634846@1] [<c0011b24>] (show_stack+0x10/0x14) from [<c00133c4>] (handle_IPI+0xd4/0x17c) [ 9.643179@1] [<c00133c4>] (handle_IPI+0xd4/0x17c) from [<c0008490>] (gic_handle_irq+0x58/0x5c) [ 9.651867@1] [<c0008490>] (gic_handle_irq+0x58/0x5c) from [<c000d840>] (__irq_svc+0x40/0x70) [ 9.660370@1] Exception stack(0xec69ff98 to 0xec69ffe0) [ 9.665551@1] ff80: 00000001 00000000 [ 9.673919@1] ffa0: 00001632 00000000 c0944550 c06620b8 ec69e000 c09a371e ec69e000 c09a371e [ 9.682255@1] ffc0: ec69e000 ec69e000 00000000 ec69ffe0 c000f04c c000f050 60000013 ffffffff [ 9.690594@1] [<c000d840>] (__irq_svc+0x40/0x70) from [<c000f050>] (arch_cpu_idle+0x28/0x2c) [ 9.699018@1] [<c000f050>] (arch_cpu_idle+0x28/0x2c) from [<c006f9a8>] (cpu_startup_entry+0xf8/0x154) [ 9.708229@1] [<c006f9a8>] (cpu_startup_entry+0xf8/0x154) from [<0084fde4>] (0x84fde4)
Charly Posted September 16, 2019 Posted September 16, 2019 Buy a new SD card and reinstall it with Armbian (the current version/origin or the new update) Restart your O-droid with the new SD card and do the basic config (name, network) With a SD/USB card reader, connect the old card to your O-dorid Retrieves what is still readable and makes the copies directly where is needed on the new SD card
Recommended Posts