Install Odroid C2 DietPi v127 doesnt work

Having issues with your DietPi installation, or, found a bug? Post it here.
mathk_ing

Install Odroid C2 DietPi v127 doesnt work

Post by mathk_ing »

Hey,

I want to install DietPi v127 but it doesnt work.
After the first installation (script to select the software e.g.) the system doesnt start after the reboot.
[Info] Testing connection to http://ftp.debian.org/debian
[Info] Max duration of 20 seconds, please wait...
[Ok] Connection test | Completed


DietPi
─────────────────────────────────────────────────────
Mode: Updating user data location
Please wait...

[Info] Calculating space required for moving data, please wait...
- Available 58918162432 bytes
- Required 4096 bytes

DietPi-Services
─────────────────────────────────────────────────────
Mode: stop
Please wait...

[Ok] cron


DietPi
─────────────────────────────────────────────────────
Mode: Disable swapfile
Please wait...

[Info] Deleting existing swapfile (/var/swap)

Synchronizing state for dphys-swapfile.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d dphys-swapfile defaults
Executing /usr/sbin/update-rc.d dphys-swapfile disable
insserv: warning: current start runlevel(s) (empty) of script `dphys-swapfile' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (2 3 4 5) of script `dphys-swapfile' overrides LSB defaults (empty).
[Info] Completed


DietPi
─────────────────────────────────────────────────────
Mode: Generating new swapfile
Please wait...

[Info] Size = 100 MB
[Info] Location = /mnt/usb_1/.swapfile
[Info] Deleting existing swapfile (/mnt/.swapfile)

want /mnt/usb_1/.swapfile=100MByte, generating swapfile ... of 100MBytes
Synchronizing state for dphys-swapfile.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d dphys-swapfile defaults
insserv: warning: current start runlevel(s) (empty) of script `dphys-swapfile' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (2 3 4 5) of script `dphys-swapfile' overrides LSB defaults (empty).
Executing /usr/sbin/update-rc.d dphys-swapfile enable
[Info] Completed


DietPi-Services
─────────────────────────────────────────────────────
Mode: start
Please wait...

[Ok] cron


DietPi-Process_Tool
─────────────────────────────────────────────────────
Mode: Apply
Please wait...

Cron (1421)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
DHCP Client (721)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Dropbear (520)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Dropbear (749)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0

[Ok] DietPi-Process Tool | Completed

[Info] User data location setup completed.

[Ok] Completed


DietPi-Software
─────────────────────────────────────────────────────
Mode: Update & upgrade APT
Please wait...

[Info] Waiting for apt-get update to finish: Please wait...
[Ok] Completed

Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Hit http://security.debian.org jessie/updates/main arm64 Packages
Hit http://ftp.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates/contrib arm64 Packages
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [5,440 B]
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/non-free arm64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://oph.mdrjr.net all InRelease
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:3 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Get:4 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://ftp.debian.org jessie Release
Get:5 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Hit http://oph.mdrjr.net jessie InRelease
Get:6 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [15.1 kB]
Get:7 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [3,610 B]
Get:8 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [5,008 B]
Get:9 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Hit http://oph.mdrjr.net all/main arm64 Packages
Get:10 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [8,314 B]
Get:11 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [3,964 B]
Get:12 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [3,826 B]
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:13 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:14 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [5,440 B]
Get:15 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:16 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [8,176 B]
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Ign http://oph.mdrjr.net all/c2 Translation-en_GB
Ign http://oph.mdrjr.net all/c2 Translation-en
Ign http://oph.mdrjr.net all/main Translation-en_GB
Ign http://oph.mdrjr.net all/main Translation-en
Ign http://oph.mdrjr.net all/testing Translation-en_GB
Ign http://oph.mdrjr.net all/testing Translation-en
Ign http://oph.mdrjr.net jessie/backports Translation-en_GB
Ign http://oph.mdrjr.net jessie/backports Translation-en
Ign http://oph.mdrjr.net jessie/main Translation-en_GB
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 174 kB in 7s (22.6 kB/s)
Reading package lists... Done
[Info] Running apt simulation to check for errors, please wait...
[Ok] Apt simulation | Completed

───────────────────────────────────────
DietPi | 11:22 | Thu 01/09/16
───────────────────────────────────────
V129 | oDroid C2 (aarch64)
───────────────────────────────────────
IP Address | 192.168.178.54
───────────────────────────────────────

Welcome to DietPi-Software


DietPi-Software
─────────────────────────────────────────────────────
Mode: Update & upgrade APT
Please wait...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
gnupg gpgv libgcrypt20 linux-image-3.14.65+
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.1 MB of archives.
After this operation, 62.5 kB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libgcrypt20 arm64 1.6.3-2+deb8u2 [337 kB]
Get:2 http://security.debian.org/ jessie/updates/main gpgv arm64 1.4.18-7+deb8u2 [184 kB]
Get:3 http://security.debian.org/ jessie/updates/main gnupg arm64 1.4.18-7+deb8u2 [1,096 kB]
Get:4 http://oph.mdrjr.net/meveric/ all/c2 linux-image-3.14.65+ arm64 3.14.65-20160813-C2 [12.5 MB]
Fetched 14.1 MB in 5s (2,448 kB/s)
Preconfiguring packages ...
(Reading database ... 16524 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.6.3-2+deb8u2_arm64.deb ...
Unpacking libgcrypt20:arm64 (1.6.3-2+deb8u2) over (1.6.3-2+deb8u1) ...
Setting up libgcrypt20:arm64 (1.6.3-2+deb8u2) ...
Processing triggers for libc-bin (2.19-18+deb8u5) ...
(Reading database ... 16524 files and directories currently installed.)
Preparing to unpack .../linux-image-3.14.65+_3.14.65-20160813-C2_arm64.deb ...
The directory /lib/modules/3.14.65+ still exists. Continuing as directed.
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/remove-old-on-upgrade 3.14.65+ /boot/vmlinuz-3.14.65+
Done.
Unpacking linux-image-3.14.65+ (3.14.65-20160813-C2) over (3.14.65-20160714-C2) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.14.65+ /boot/vmlinuz-3.14.65+
Preparing to unpack .../gpgv_1.4.18-7+deb8u2_arm64.deb ...
Unpacking gpgv (1.4.18-7+deb8u2) over (1.4.18-7+deb8u1) ...
Setting up gpgv (1.4.18-7+deb8u2) ...
(Reading database ... 16641 files and directories currently installed.)
Preparing to unpack .../gnupg_1.4.18-7+deb8u2_arm64.deb ...
Unpacking gnupg (1.4.18-7+deb8u2) over (1.4.18-7+deb8u1) ...
Setting up gnupg (1.4.18-7+deb8u2) ...
Setting up linux-image-3.14.65+ (3.14.65-20160813-C2) ...

Hmm. There is a symbolic link /lib/modules/3.14.65+/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/3.14.65+/build


Hmm. The package shipped with a symbolic link /lib/modules/3.14.65+/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/3.14.65+/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/Image 3.14.65+ /boot/vmlinuz-3.14.65+
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.14.65+ /boot/vmlinuz-3.14.65+
run-parts: executing /etc/kernel/postinst.d/copy_dtb 3.14.65+ /boot/vmlinuz-3.14.65+
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.14.65+ /boot/vmlinuz-3.14.65+
update-initramfs: Generating /boot/initrd.img-3.14.65+
run-parts: executing /etc/kernel/postinst.d/uImage 3.14.65+ /boot/vmlinuz-3.14.65+
run-parts: executing /etc/kernel/postinst.d/uInitrd 3.14.65+ /boot/vmlinuz-3.14.65+

DietPi-Software
─────────────────────────────────────────────────────
Mode: Checking for prerequisite software
Please wait...


DietPi-Services
─────────────────────────────────────────────────────
Mode: stop
Please wait...

[Ok] cron


DietPi-Services
─────────────────────────────────────────────────────
Mode: stop
Please wait...

[Ok] cron


DietPi-Software
─────────────────────────────────────────────────────
Mode: Optimize and configure software
Please wait...

[Info] Applying DietPi optimizations and configurations for oDroid C2 (aarch64)
[Info] Please wait...

# processing | D I E T P I #


DietPi-Services
─────────────────────────────────────────────────────
Mode: stop
Please wait...

[Ok] cron


DietPi-Services
─────────────────────────────────────────────────────
Mode: disable
Please wait...

[Ok] cron

sed: can't read /boot/cmdline.txt: No such file or directory
sed: can't read /boot/cmdline.txt: No such file or directory
sed: can't read /boot/cmdline.txt: No such file or directory

DietPi-Software
─────────────────────────────────────────────────────
Mode: Installation completed
Please wait...


The system will now reboot.
This completes the DietPi-Software installation.

# processing | D I E T P I #
I hope somebody can help me with my problem
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Install Odroid C2 DietPi v127 doesnt work

Post by Fourdee »

mathk_ing wrote:Hey,

I want to install DietPi v127 but it doesnt work.
After the first installation (script to select the software e.g.) the system doesnt start after the reboot.
Hi,

I've been through the patch file from v127>v129, nothing major is changed, or anything that could prevent a bootup on C2.

Highly likely its a filesystem corruption, possibly due to unstable PSU.
- Whats your PSU make/model and SDcard/EMMC make model?
- Is there any output on HDMI after reboot?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
mathk_ing

Re: Install Odroid C2 DietPi v127 doesnt work

Post by mathk_ing »

Fourdee wrote: Hi,

I've been through the patch file from v127>v129, nothing major is changed, or anything that could prevent a bootup on C2.

Highly likely its a filesystem corruption, possibly due to unstable PSU.
- Whats your PSU make/model and SDcard/EMMC make model?
- Is there any output on HDMI after reboot?
Thank you for your quick replay.

My power supply unit is a QUATPOWER PSN5/2000H2.5, 5 V-/2 A, 2,5/0,8 mm
My SDcard model is a SANDISK MICROSDXC KARTE 64GB ANDROID
I dont have plugged the Odroid C2 in the television. Perhaps I can test it.
The blue LED doesnt blink blink after reboot.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Install Odroid C2 DietPi v127 doesnt work

Post by Fourdee »

mathk_ing wrote:My power supply unit is a QUATPOWER PSN5/2000H2.5, 5 V-/2 A, 2,5/0,8 mm
My SDcard model is a SANDISK MICROSDXC KARTE 64GB ANDROID
PSU looks fine, but could be the cause.
Sandisk, I've only ever had one Sandisk Ultra fail on me, very stable so likely not the cause.
I dont have plugged the Odroid C2 in the television. Perhaps I can test it.
The blue LED doesnt blink blink after reboot.
Please do, take a picture and attach it if possible. Should give us much needed clues.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
mathk_ing

Re: Install Odroid C2 DietPi v127 doesnt work

Post by mathk_ing »

hi,

okay, now it works :)

the problem is, that the odroid doesnt reboot after the installation, it is shuting down. After I have plug it out / plug it in, the odroid works fine.
This ist also, when I take the command "reboot".
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Install Odroid C2 DietPi v127 doesnt work

Post by Fourdee »

mathk_ing wrote:hi,

okay, now it works :)

the problem is, that the odroid doesnt reboot after the installation, it is shuting down. After I have plug it out / plug it in, the odroid works fine.
This ist also, when I take the command "reboot".
Hi,

Thanks for the update.

Very strange, so when you run reboot, it actually shuts down the system?

Curious:
Have you changed the system locale, and, what revision is your C2?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
mathk_ing

Re: Install Odroid C2 DietPi v127 doesnt work

Post by mathk_ing »

thanks for replay
Fourdee wrote: Very strange, so when you run reboot, it actually shuts down the system?
yes, it is like "shutdown -h now".
Fourdee wrote: Curious:
Have you changed the system locale, and, what revision is your C2?
I have change the local to de_DE.UTF-8
My revision ist 0.2 20160226
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Install Odroid C2 DietPi v127 doesnt work

Post by Fourdee »

Hi Math_K,

Curious, what happens if you try rebooting with:

Code: Select all

shutdown -r 0
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
mathk_ing

Re: Install Odroid C2 DietPi v127 doesnt work

Post by mathk_ing »

Hi Fourdee,
Fourdee wrote: Curious, what happens if you try rebooting with:

Code: Select all

shutdown -r 0
it is the same

Code: Select all

root@c2:/home/user# shutdown -r 0
Shutdown scheduled for Mon 2016-09-12 22:00:45 CEST, use 'shutdown -c' to cancel.
root@c2:/home/user#
the C2 stop an doesnt reboot.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Install Odroid C2 DietPi v127 doesnt work

Post by Fourdee »

Hi,

Thanks for the results.

I've created a new C2 image with the latest kernel. If you have any spare time, please try this image and see if it resolves the reboot issue: http://dietpi.com/downloads/images/Diet ... Jessie).7z
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply