[OS] Debian Stretch

dominic
Posts: 29
Joined: Thu Jul 20, 2017 12:16 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by dominic » Sun Aug 18, 2019 10:38 am

Have buster now running for quite some time and no bigger issues yet. Therfore a big thanks already maveric!

So far only one smaller thing I haven't found a solution yet. If I restart the server php7.3-fqm does not start properly because the folder '/run/php' is not automatically created but is needed to place the pid and sock files. The folder should be created automatically after each start by systemd. There is even the necessary configuration available in '/user/lib/tmpfiles.d'. No glue what the issue is.

Creating the folder manually and starting php7.3-fqm works. But it'd be nice to have a solution without me tampering around.

chromodoris
Posts: 15
Joined: Thu Apr 05, 2018 3:08 am
languages_spoken: english
ODROIDs: HC1, HC2
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by chromodoris » Mon Aug 19, 2019 4:47 am

Hi all,

I have also switched to buster since a few weeks and got no unsolvable problems... except one.
I use shorewall and shorewall6 for my firewall settings and shorewall6 won't start. The
reason is that it now calls ip6tables-restore with option --icmpv6-type which is unknown. According
to https://bugs.debian.org/cgi-bin/bugrepo ... bug=915627, it seems related to the kernel being
too old.

Are there plans to updates kernels to 4.19? If not, is it possible to install a vanilla kernel from Debian
on HC1/HC2 boards?

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Tue Aug 20, 2019 5:02 am

dominic wrote:
Sun Aug 18, 2019 10:38 am
Have buster now running for quite some time and no bigger issues yet. Therfore a big thanks already maveric!

So far only one smaller thing I haven't found a solution yet. If I restart the server php7.3-fqm does not start properly because the folder '/run/php' is not automatically created but is needed to place the pid and sock files. The folder should be created automatically after each start by systemd. There is even the necessary configuration available in '/user/lib/tmpfiles.d'. No glue what the issue is.

Creating the folder manually and starting php7.3-fqm works. But it'd be nice to have a solution without me tampering around.
php7.3-fpm comes by default with an init.d script for sysvinit. If you're using systemd instead you should enable the php7.3-fpm.service for systemd.

Code: Select all

systemctl enable php7.3-fpm.service
systemctl start php7.3-fpm.service
as you said it should take care of creating /run/php/php7.3-fpm.pid
I haven't tried it myself though, so I can only ask if you tried that already?

Systemd can use /etc/init.d/ services as a legacy support, but there is no guarantee that they will work correctly and I'd rather rely on the systemd service files instead.
chromodoris wrote:
Mon Aug 19, 2019 4:47 am
Hi all,

I have also switched to buster since a few weeks and got no unsolvable problems... except one.
I use shorewall and shorewall6 for my firewall settings and shorewall6 won't start. The
reason is that it now calls ip6tables-restore with option --icmpv6-type which is unknown. According
to https://bugs.debian.org/cgi-bin/bugrepo ... bug=915627, it seems related to the kernel being
too old.
I can't reproduce the issue. Shorewall6 starts normally for me on Debian Buster.
Maybe it depends on the configuration?
chromodoris wrote:
Mon Aug 19, 2019 4:47 am
Are there plans to updates kernels to 4.19?
I use the Kernel provided by HardKernel which is currently Kernel 4.14. As long as HardKernel does not update neither will I.
I think everyone is currently waiting for a new LTS Kernel release as most of the features for the board is already upstream and the rest is hopefully "easy" to implement.
chromodoris wrote:
Mon Aug 19, 2019 4:47 am
If not, is it possible to install a vanilla kernel from Debian
on HC1/HC2 boards?
Not sure, it might work, since you're only using HC1/HC2 I assume you don't need features like HDMI output or GPU support, therefore a "vanilla" Kernel might work for you.
These users thanked the author meveric for the post:
goldencoin5 (Tue Aug 20, 2019 9:47 am)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

chromodoris
Posts: 15
Joined: Thu Apr 05, 2018 3:08 am
languages_spoken: english
ODROIDs: HC1, HC2
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by chromodoris » Wed Aug 21, 2019 4:51 am

meveric wrote:Not sure, it might work, since you're only using HC1/HC2 I assume you don't need features like HDMI output or GPU support, therefore a "vanilla" Kernel might work for you.
It worked!

I just had to have

Code: Select all

deb http://ftp.debian.org/debian buster main contrib non-free
in my /etc/apt/sources.list configuration file, and run the two commands

Code: Select all

aptitude install linux-image-4.19.0-5-armmp
cp /usr/lib/linux-image-4.19.0-5-armmp/exynos5422-odroid* /boot
The second command was needed because the post-install scripts for vanilla kernels do create the proper uInitrd and zImage
files automatically, but do not put the .dtb files there. As the boot.ini file loads all three files (uInitrd, zImage and one of the
.dtb file), I had to make sure everything was in place before rebooting.

After that, I rebooted and my board started flawlessly with the 4.19 kernel. This did solve my shorewall6 problem.

Thanks for your advice! :D

dominic
Posts: 29
Joined: Thu Jul 20, 2017 12:16 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by dominic » Wed Aug 21, 2019 10:32 am

meveric wrote:
Tue Aug 20, 2019 5:02 am
If you're using systemd instead you should enable the php7.3-fpm.service for systemd.
Good hit. Systemd service was enabled but the creation of the temp folder was missing in the script. Added and now runs as expected. Thanks!

secureexp
Posts: 6
Joined: Mon Aug 26, 2019 2:20 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by secureexp » Mon Aug 26, 2019 2:25 am

Thanks meveric for the image. All of a sudden Kodi and MPV won't play movies. The framerate is really slow, but if I run FFPlay from terminal it plays back fine. Loading the movie into Chromium works as well. Movies did play back until I did a dist-upgrade it seems. I tried reinstalling Kodi, MPV and FFmpeg and still same issue. Any ideas?

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Mon Aug 26, 2019 3:20 am

check the log of Kodi, there weren't any changes on the Image or Kodi lately so I doubt that's the issue... Maybe it's missing some drivers.
Maybe you have to reinstall malit628-odroid (GPU drivers).
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

secureexp
Posts: 6
Joined: Mon Aug 26, 2019 2:20 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by secureexp » Mon Aug 26, 2019 6:59 am

Thanks meveric. I ended up flashing the eMMC card and starting over. Video playback is fine in MPV again. One thing I noticed is that in LibreOffice, the tool bar has white icons. The outline of the icon is there, but no color.
Attachments
Screenshot from 2019-08-25 15-04-48.png
Screenshot from 2019-08-25 15-04-48.png (3.76 KiB) Viewed 558 times
Last edited by secureexp on Mon Aug 26, 2019 7:05 am, edited 1 time in total.

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Mon Aug 26, 2019 7:03 am

yes this is a long standing issue which was not resolved. Probably some issues with the alpha channel.
To my knowledge there's currently no solution for that. Some say using a different theme can help but I can't confirm this.

It seems to be fine in Debian Buster though.
Maybe if you install LibreOffice from stretch-backports it will work under Stretch as well.

Code: Select all

apt install -t stretch-backports libreoffice
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

secureexp
Posts: 6
Joined: Mon Aug 26, 2019 2:20 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by secureexp » Tue Aug 27, 2019 10:18 am

I got the icons back. I tried installing the backport like you recommended, but same issue for me. I completely removed LibreOffice:

Code: Select all

apt-get remove --purge libreoffice*
apt-get autoremove
apt-get clean
Reinstalled it:

Code: Select all

apt-get install libreoffice
apt-get install libreoffice-gtk3
Attachments
Screenshot from 2019-08-26 17-26-27.png
Screenshot from 2019-08-26 17-26-27.png (12.33 KiB) Viewed 519 times

secureexp
Posts: 6
Joined: Mon Aug 26, 2019 2:20 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by secureexp » Tue Aug 27, 2019 10:20 am

Also working Firefox too.

Code: Select all

apt-get remove firefox*
Download newer version here: https://github.com/jdonald/firefox-armh ... _armhf.deb

then

Code: Select all

dpkg -i firefox_65.0+build2-0ubuntu0.14.04.1_armhf.deb
Works for me.

jemail
Posts: 19
Joined: Mon Jul 09, 2018 8:33 pm
languages_spoken: english
Has thanked: 10 times
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by jemail » Tue Sep 03, 2019 9:00 pm

Hi,

@meveric
I have used setup-odroid to move rootfs to hdd. I then resized the lvm 'partitions'. Is it possible to use setup-odroid to reverse the process? ie move rootfs back to mmc?

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Wed Sep 04, 2019 2:48 am

Currently this is not possible.

You can boot from eMMC again by simply altering the boot.ini and set the rootfs back to eMMC but if you need the new data from HDD back to eMMC you need to copy it manually.
Please Note: if you updated the Kernel after you moved the rootfs to HDD the eMMC does not have the new Kernel modules and you either need to copy /lib/modules/<Kernel Version> on the eMMC or install the older Kernel again
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

ab1jx
Posts: 47
Joined: Wed Jul 10, 2019 8:25 am
languages_spoken: english
Has thanked: 5 times
Been thanked: 1 time
Contact:

Re: [OS] Debian Stretch

Unread post by ab1jx » Thu Sep 05, 2019 2:43 am

ldconfig doesn't get run every time you boot? I suppose it's an individual preference, but it was a surprise, I've gotten used to it happening.

i wanted to clear my /etc/ld.so.cache so I renamed it and rebooted. Had to do touch on it to recreate it. Rebooted again. It was still empty until I ran ldconfig manually.

secureexp
Posts: 6
Joined: Mon Aug 26, 2019 2:20 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by secureexp » Sun Sep 08, 2019 11:09 am

I think I broke something. Wanted to watch some movies tonight but mpv wouldn't load, kodi wouldn't load.

mpv says: mpv: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory

kodi says: /usr/local/lib/kodi/kodi.bin: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Sun Sep 08, 2019 2:14 pm

seems like GPU drivers are not working...
try:

Code: Select all

apt-get install --reinstall malit628-odroid
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

secureexp
Posts: 6
Joined: Mon Aug 26, 2019 2:20 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by secureexp » Mon Sep 09, 2019 12:10 am

Thanks for the response meveric. I had tried that but it didn't work. What happened was pkg glx-alternatives got installed somehow. Removing that did the trick. My libEGL output looked like:

Code: Select all

odroiduser@odroidxu4:/$  find /usr/lib -iname libegl*
/usr/lib/chromium/libEGL.so
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libEGL.so.1.1.0
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libEGL.so.1
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libEGL.so
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libEGL.so.1.0.0

aberrio
Posts: 43
Joined: Sat May 12, 2018 3:50 am
languages_spoken: english
ODROIDs: XU4,HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by aberrio » Sat Sep 14, 2019 5:51 am

meveric wrote:
Fri Jan 04, 2019 2:19 am
If rootdelay is the only thing that is required to fix your issue then yes, editing boot.ini should be all that is needed.
I don't think there should be any requirement to format HDD again.
There is always a way to use an older kernel instead, or changing settings or something. If the system booted from HDD successful at one time. There shouldn't be any need to format the HDD again. Every issue should be solvable without reformatting HDD.

Although it might require a different Linux system to access HDD or SD to fix the issue.
Finally I was able to fix this problem for good and at the same time upgrade to buster.

There a two test server working with buster. Do I need the linux-image and the heather odroid for something?

Regards

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Sat Sep 14, 2019 5:54 am

linux-image is the Kernel.. without it the ODROID won't boot.
linux-headers are development headers, they are needed if you want to build Kernel Modules, such as WLAN drivers for example.

I already have a testing image for Buster.... it's already officially supported in my repository.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

aberrio
Posts: 43
Joined: Sat May 12, 2018 3:50 am
languages_spoken: english
ODROIDs: XU4,HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by aberrio » Sat Sep 14, 2019 6:57 am

Hi,

I removed images and headers with -odroid- in the name and both servers are. Booting from HD do far, using buster one using .28 and the other .87.

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Sat Sep 14, 2019 7:08 am

the one with odroid in the name are meta packages and are responsible that you get the latest Kernel/Header updates.
We are at .141 by now not 28 not 87, that is what the ones with the odroid do.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

aberrio
Posts: 43
Joined: Sat May 12, 2018 3:50 am
languages_spoken: english
ODROIDs: XU4,HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by aberrio » Sat Sep 14, 2019 9:40 am

Thus the only way u can transfer to hd on hc2 boards. The meta packages looks not compatible

User avatar
meveric
Posts: 10431
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 126 times
Contact:

Re: [OS] Debian Stretch

Unread post by meveric » Sat Sep 14, 2019 3:03 pm

Most of my ODROIDs run from HDD, it's working perfectly fine. The meta packages are only there to make sure the system downloads the latest version of the Kernel.
It has nothing to do with compatibility.
It's more likely you do not have mounted the boot partition of the SD card correctly and therefore the Kernel update does not work.
Once again there is no such thing as "compatibility" of meta packages. They only download the latest version of the Kernel.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

aberrio
Posts: 43
Joined: Sat May 12, 2018 3:50 am
languages_spoken: english
ODROIDs: XU4,HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Unread post by aberrio » Sun Sep 15, 2019 12:55 am

Hi,

Even using setup-odroid to transfer to hd did not work eith the latest image, works fine with .28+ kernel. I tried to pull the errors with uart but those devices stop working after a while, the ic overheated and stop working, I purchased three of them. I used the different computers all with usb2 ports

The latest imagf does not work with hc2 I have to use .28+ in order to transfer to hd and have the device operational

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest