[OS] Debian Jessie

Moderators: mdrjr, odroid

Re: [OS] Debian Jessie

Unread postby meveric » Sat Dec 10, 2016 7:31 pm

I'll check into it and report back.. I have a couple ODROIDs where I can configure NFS and then try to access it via a different ODROID and Kodi

Edit:
I just did a quick test between two XU3/XU4 and it was working right away.
I only needed to install libnfs4 nothing else and Kodi found the NFS share and I could access the files and watch movies.

I haven't tried on the U3 yet, but I expect it to be the same here.

If everything fails but you still can mount in on command line, the worst you have to do is to create a folder somewhere and mount it in that folder and then tell Kodi to load files from that folder.
You can do that at boot in /etc/rc.local or you can even use /etc/fstab for this. But currently I can't see why it wouldn't work. (unless your permissions on the NFS share are wrong).

I'll try on the U3 as well and report back.
Edit 2:
Interesting, you're right, on the U2/U3 this is not working.
I'll look further into it, but it probably takes a while. Mounting it locally and then point Kodi to that folder is probably your best shot for now.

Edit 3:
Ok found the issue:
Code: Select all
apt-get install libnfs8

Kodi is compiled against a different version of libnfs under armhf.. libnfs4 was only used in my arm64 build it seems.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby jkl555 » Sat Dec 10, 2016 9:25 pm

Thanks a lot. Now it works beautifully.
jkl555
 
Posts: 18
Joined: Wed Sep 03, 2014 3:28 am
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby tweak » Thu Dec 29, 2016 12:40 am

Hello,
i tried your image and it the installation and everything else work great. But i figured out that this image is much slower in browsing, youtube, etc than other images.
So especually you can tell me why? Is that problem based on lxde?

Thanks
tweak
 
Posts: 11
Joined: Thu Dec 29, 2016 12:35 am
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Thu Dec 29, 2016 1:00 am

What browser are you using for browsing? Chromium? If so, have you followed the info on the first post to create a config file for accelerated browsing?
LXDE shouldn't be an issue. It should work fine on any desktop environment.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tweak » Thu Dec 29, 2016 1:36 am

Didn't know what you mean?
I just followed the steps and installed chromium and flash. Thats all. Or there is something missing?
tweak
 
Posts: 11
Joined: Thu Dec 29, 2016 12:35 am
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Thu Dec 29, 2016 6:44 am

tweak wrote:Didn't know what you mean?
I just followed the steps and installed chromium and flash. Thats all. Or there is something missing?


It seems I missed a section on the first post, that I already have on descriptions for other boards. Sorry about that :oops:

I added the following info to the first post:

Hardware Acceleration for Chromium:
Make sure you add these in your Chromium configuration under /etc/chromium.d/ or /etc/chromium-browser/default
Code: Select all
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=4 --audio-buffer-size=4096"
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tweak » Thu Dec 29, 2016 7:23 am

Thanks, I will try this tomorrow!
Otherwise there are no differents between your Image and the Stock one?
Expect kernel.
tweak
 
Posts: 11
Joined: Thu Dec 29, 2016 12:35 am
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Thu Dec 29, 2016 7:52 am

What do you mean by "the stock one"? The one from HardKernel?
If so, then HardKernel uses Ubuntu, I use Debian which is the biggest difference. Also I have a large library of available software for ODROIDs.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tweak » Fri Dec 30, 2016 1:16 am

So,
i tried to add the string you postet and now it's much better! But still not the same as on the ubuntu build :(
Currently running debian with mate, will try again with lxde and look for.

glmark2 Score: 2
glmark2-es2 Score: 153

edit: my mistake, i used the wrong glmark so i give a try with the glmark2-es2.

Another question in mate-monitor it only shows 2x CPU. Yesterday i tried the new ubuntu 16.04 and there i can see 4 ? Just an optical mistake or it might be possible that these cores are disabled?

Code: Select all
grep -c prozessor /proc/cpuinfo

also shows only two.

Thanks
tweak
 
Posts: 11
Joined: Thu Dec 29, 2016 12:35 am
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Fri Dec 30, 2016 3:53 am

make sure you run on performance governor. Other governors may disable CPU cores if the load is low. This might also cause slow downs on browsing.

Code: Select all
echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tweak » Fri Dec 30, 2016 6:28 am

So,
i have now changed from mate to lxde and that's a real performance improve. Also i had modified your Chromium Flags, i got troubles with the sound on youtube.

Code: Select all
CHROMIUM_FLAGS=" --use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=2"


This works now perfekt.

With Mate the cpu-usage from Xorg grows on top about 100% if i stream with kodi, this is also solved by using lxde. Doesn't know whats the matter.

Thanks for your help!
tweak
 
Posts: 11
Joined: Thu Dec 29, 2016 12:35 am
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Fri Dec 30, 2016 7:32 am

I guess the reason why MATE is so slow is cause you have window compositing activated.
You should check System -> Control Center -> Windows
Make sure software compositing is disabled.

Mate shouldn't be slower than LXDE, I actually prefer MATE over LXDE and I'm using it on ODROIDs for years now. I switched from LXDE to Mate to be exactly, even back on Debian Wheezy.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tweak » Sat Dec 31, 2016 7:58 pm

Hey,
i already had composing disabled. But now it's working fine!
Removing the Audio-Buffer and set down the threads to 2 fixed the youtube problems! Works now great! Also the load is different as before.
And about kodi, i tried 16.x from your sources an thats now working included streaming from vu without troubles.

Thanks! Now I can confirm Jessie is working fine on U3 :D
tweak
 
Posts: 11
Joined: Thu Dec 29, 2016 12:35 am
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby Xorg » Thu Jan 12, 2017 8:00 pm

I've recently experienced a lot of crashes with Chromium (Aw, snap!) on complex websites like Inbox by Gmail or YouTube. I've switched to Trinity Desktop, so is there a bug in Chromium or could it be because of TDE?
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Jan 12, 2017 10:00 pm

Currently a bug in Chromium, I haven't had the time to further investigate this yet, since compiling of Chromium takes between 12 and 24hrs so "testing" is rather time consuming.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby trooperstone » Sat May 13, 2017 1:40 pm

I'm getting this error when trying to update:

Code: Select all
root@odroid-jessie:~# apt-get update && apt-get upgrade && apt-get dist-upgrade
Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.debian.org jessie InRelease
Get:1 http://www.deb-multimedia.org jessie InRelease [38.2 kB]
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?


This hasn't happened before :S

Fresh install btw (sd card, used etcher)
trooperstone
 
Posts: 4
Joined: Sat May 13, 2017 1:35 pm
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Sun May 14, 2017 2:45 am

yes, mdrjr changed his server to redirect http to https sadly without any warning.
Not you need to install apt-transport-https in order to be able to do an apt-get update.
This could be tricky on a "fresh" image.
Please try the following code as root:
Code: Select all
cd /etc/apt/sources.list.d/
sed -i "s/^deb/#deb/" *.list
apt-get update
apt-get install apt-transport-https
sed -i "s/#deb/deb/" *.list
apt-get update

hopefully everything works normal after that. :)
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby trooperstone » Sun May 14, 2017 3:52 pm

meveric wrote:yes, mdrjr changed his server to redirect http to https sadly without any warning.
Not you need to install apt-transport-https in order to be able to do an apt-get update.
This could be tricky on a "fresh" image.


Thanks for the reply!

Tried doing exactly that now. After installing the https package and using sed again this is what happened when doing and apt-get update:
Code: Select all
Err http://oph.mdrjr.net all/main armhf Packages

Err http://oph.mdrjr.net all/testing armhf Packages

Err http://oph.mdrjr.net all/u armhf Packages

Ign http://oph.mdrjr.net all/main Translation-en_US
Ign http://oph.mdrjr.net all/main Translation-en
Ign http://oph.mdrjr.net all/testing Translation-en_US
Ign http://oph.mdrjr.net all/testing Translation-en
Ign http://oph.mdrjr.net all/u Translation-en_US
Ign http://oph.mdrjr.net all/u Translation-en
Err http://oph.mdrjr.net jessie/main armhf Packages

Err http://oph.mdrjr.net jessie/backports armhf Packages

Ign http://oph.mdrjr.net jessie/backports Translation-en_US
Ign http://oph.mdrjr.net jessie/backports Translation-en
Ign http://oph.mdrjr.net jessie/main Translation-en_US
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 198 kB in 25s (7,691 B/s)
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/main/binary-armhf/Packages

W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/testing/binary-armhf/Packages                                                                                         

W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/u/binary-armhf/Packages

W: Failed to fetch http://oph.mdrjr.net/meveric/dists/jessie/main/binary-armhf/Packages                                                                                         

W: Failed to fetch http://oph.mdrjr.net/meveric/dists/jessie/backports/binary-armhf/Pack                                                                                         ages

E: Some index files failed to download. They have been ignored, or old ones used instead   
trooperstone
 
Posts: 4
Joined: Sat May 13, 2017 1:35 pm
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Sun May 14, 2017 7:34 pm

see and that's something that I don't understand... if you open these links:
http://oph.mdrjr.net/meveric/dists/all/ ... f/Packages
they are all there and available so I don't know why the ODROID can't fetch them -.-
I'll try with a new image and see if I can figure out what causes this...
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby meveric » Mon May 15, 2017 1:16 am

ok, it seems the issue is missing ca-certificates, so you need to install the package ca-certificates as well.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby trooperstone » Mon May 15, 2017 7:54 pm

meveric wrote:ok, it seems the issue is missing ca-certificates, so you need to install the package ca-certificates as well.

Thank you. Installing this made it update normally. I'm a happy camper now. I wonder if the original image should be modified to include this for any future clean installs for this device.
trooperstone
 
Posts: 4
Joined: Sat May 13, 2017 1:35 pm
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Mon May 15, 2017 8:00 pm

Already working on this :)
Gonna do an update of all images slowly.
It's gonna take a while though.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 16, 2017 8:24 am

Update:
  • I've updated the base image and included drivers so apt via HTTPS works out of the box.
  • I also pre-installed setup-odroid which allows you to install Kodi or Desktop easily.
  • I was also asked to include Wifi tools to setup wifi from command line, these are pre-installed now was well.
  • SSH was changed to allow root login via password
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby trooperstone » Tue May 16, 2017 9:24 pm

meveric wrote:Update:


Great work mate. People on the older image don't need to do anything other than apt update/upgrade, correct?
trooperstone
 
Posts: 4
Joined: Sat May 13, 2017 1:35 pm
languages_spoken: english
ODROIDs: U3

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 16, 2017 9:27 pm

trooperstone wrote:Great work mate. People on the older image don't need to do anything other than apt update/upgrade, correct?

Nope, sadly that won't work.
The reason why I did this, was cause the apt-get update/upgrade was no longer working, so I can't fix the apt-get update with an apt-get update. That does not work.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rstrn » Wed May 17, 2017 3:47 am

Is there a howto to mount a sd card as mass storage. I inserted the micro sd-card (sandisk class 10 formated ext4) but cant see it.
I use debian Jessie minimal server on u3 with emmc boot.
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby meveric » Wed May 17, 2017 3:51 am

I think the SD card port is not hotplug capable, just put it in on boot already.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rstrn » Wed May 17, 2017 3:54 am

The sd card is plugged in at boot time.
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby rstrn » Wed May 17, 2017 4:05 am

without sd card all works fine - with sd card plugged in i get:

ssh: connect to host odro port 22: Connection refused
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby meveric » Wed May 17, 2017 4:13 am

is the a newly formated SD card or was there anything else on the SD card before?
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rstrn » Wed May 17, 2017 4:30 am

Its newly formated. it was fresh shopped and I changed only from fat to ext4 with ubuntu (gnome-disk-utility 3.18.3.1 UDisks 2.1.7 (gebaut gegen 2.1.6))

today i have only the ssh connection. maybe tomorrow i can connect to a monitor and check other information. It seems to boot (blue light blinking).
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby meveric » Wed May 17, 2017 4:35 am

It's very odd... normally it should work.
I'm not sure IF sd card is hot plug capable.. have you tried putting in the SD card AFTER it's booted and you can connect via SSH?
check for /dev/mmcblk1 if that's available after you plugin the SD card, that's your SD card. If only /dev/mmcblk0 is available that's your eMMC.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rstrn » Wed May 17, 2017 4:45 am

i just tried that. I can ssh in my U3 but it does'nt see the sd card. Probably because not hot plug capable. Then with sd card plugged in after shudown -r no ssh like before.
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby rstrn » Wed May 17, 2017 4:56 am

Maybe i should also consider a hardware failure at sd card slot. I never used it before since i bought the u3, because I use the emmc for booting. Now I wanted to use the sd card to store additional data.
But at first i thought its a os porblem, because of the minimal server image. That's why i asked and by the way thank you (Danke!) for answering immediately.
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby useo6 » Sat Jun 03, 2017 5:45 am

Hi everyone,
I'm having some trouble using this Debian Jessie port on my Odroid U3. I'm having a Wifi USB Dongle with a Ralink RT5370 inside.
So, I've installed the ralink-firmware:
Code: Select all
apt-get install firmware-ralink


For the Wifi connection, I've installed wicd:
Code: Select all
apt-get install wicd-curses


After that I've configured my Wifi stick in wicd-curses and the dongle becomes active (a blue led inside the dongle is flickering at the beginning and after a few seconds the blue led doesn't flicker anymore).
Typically, the stick would continue to flicker if the connection was established successfully.
Furthermore, my router doesn't recognize my Odroid.

Looking inside /var/log/wicd/wicd.log shows me a line like this:
using dhcpcd or another supported client may work better


After installing dhcpd5:
Code: Select all
apt-get install dhcpd5

The line is gone but wicd still fails:

2000/01/01 01:00:49 :: No wired connection present, attempting to autoconnect to wireless network
2000/01/01 01:00:51 :: trying to automatically connect to...EasyBox-E9E852
2000/01/01 01:00:51 :: Connecting to wireless network EasyBox-E9E852
2000/01/01 01:00:51 :: Putting interface down
2000/01/01 01:00:52 :: Releasing DHCP leases...
2000/01/01 01:00:52 :: Setting false IP...
2000/01/01 01:00:52 :: Stopping wpa_supplicant
2000/01/01 01:00:52 :: Flushing the routing table...
2000/01/01 01:00:52 :: Putting interface up...
2000/01/01 01:00:54 :: Attempting to authenticate...
2000/01/01 01:01:42 :: wpa_supplicant authentication may have failed.
2000/01/01 01:01:42 :: connect result is failed
2000/01/01 01:01:42 :: exiting connection thread
2000/01/01 01:01:42 :: Sending connection attempt result bad_pass
2000/01/01 01:01:42 :: Autoconnecting...
2000/01/01 01:01:45 :: Attempting to autoconnect with wired interface...
2000/01/01 01:01:45 :: Putting interface down
2000/01/01 01:01:45 :: Releasing DHCP leases...
2000/01/01 01:01:45 :: Setting false IP...
2000/01/01 01:01:45 :: Stopping wpa_supplicant
2000/01/01 01:01:45 :: Flushing the routing table...
2000/01/01 01:01:45 :: Putting interface up...
2000/01/01 01:01:47 :: Running DHCP with hostname odroid-jessie


Anyone having an idea what's going wrong here?

It says:
wpa_supplicant authentication may have failed.

But... the key is definitely correct (I've check the key multiple times and other devices are connected using the same key).
useo6
 
Posts: 4
Joined: Mon May 01, 2017 11:36 pm
languages_spoken: english
ODROIDs: 6xU3

Re: [OS] Debian Jessie

Unread postby Xorg » Wed Jun 07, 2017 7:33 pm

Is there a usable browser for this image right now?

chromium from your repository crashes / SEGFAULTs on a regular basis (e.g. always when trying to play YouTube), Firefox ESR works okay-ish but sound is just garbage, Midori and Qupzilla work quite well but don't play any sound (video works, but no sound), Otter Browser does not play any video but runs smooth otherwise, Konqueror (from Trinity Desktop / KDE3) is outdated.

Is there an older/newer/different version of chromium that works fine (because it ran totally fine some months ago)? Or another browser? Or is all that because I'm using an "unsupported" desktop environment (Trinity Desktop Environment)?

Thanks, xorg
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

Re: [OS] Debian Jessie

Unread postby Xorg » Wed Jun 07, 2017 7:36 pm

rstrn wrote:Maybe i should also consider a hardware failure at sd card slot. I never used it before since i bought the u3, because I use the emmc for booting. Now I wanted to use the sd card to store additional data.
But at first i thought its a os porblem, because of the minimal server image. That's why i asked and by the way thank you (Danke!) for answering immediately.

I think it's because your odroid tries to boot from it (I'm guessing it's formatted as FAT32?) - try formatting it as EXT4 and modifying your /etc/fstab (look for entries that start with /dev/mmcblk, but be careful, you risk damaging your OS with potential data loss). It definetly works because I'm using eMMC for system + SD card for data storage on my U3.
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Jun 07, 2017 8:33 pm

Xorg wrote:Is there a usable browser for this image right now?

chromium from your repository crashes / SEGFAULTs on a regular basis (e.g. always when trying to play YouTube), Firefox ESR works okay-ish but sound is just garbage, Midori and Qupzilla work quite well but don't play any sound (video works, but no sound), Otter Browser does not play any video but runs smooth otherwise, Konqueror (from Trinity Desktop / KDE3) is outdated.

Is there an older/newer/different version of chromium that works fine (because it ran totally fine some months ago)? Or another browser? Or is all that because I'm using an "unsupported" desktop environment (Trinity Desktop Environment)?

Thanks, xorg

Yes I have issues with the browsers as well, to be honest I currently use Chromium 52 again, since it was working better than Chromium 53.
Sadly Debian Jessie for ARM is not very good with Chromium support. Debian Stretch does have full Chromium support, but that's a little bit away.
I could upload Chromium 52 somewhere so you could try installing it manually if you want, but for youtube I would always prefer Kodi since it's working much better.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Xorg » Wed Jun 07, 2017 10:17 pm

meveric wrote:
Xorg wrote:Is there a usable browser for this image right now?

chromium from your repository crashes / SEGFAULTs on a regular basis (e.g. always when trying to play YouTube), Firefox ESR works okay-ish but sound is just garbage, Midori and Qupzilla work quite well but don't play any sound (video works, but no sound), Otter Browser does not play any video but runs smooth otherwise, Konqueror (from Trinity Desktop / KDE3) is outdated.

Is there an older/newer/different version of chromium that works fine (because it ran totally fine some months ago)? Or another browser? Or is all that because I'm using an "unsupported" desktop environment (Trinity Desktop Environment)?

Thanks, xorg

Yes I have issues with the browsers as well, to be honest I currently use Chromium 52 again, since it was working better than Chromium 53.
Sadly Debian Jessie for ARM is not very good with Chromium support. Debian Stretch does have full Chromium support, but that's a little bit away.
I could upload Chromium 52 somewhere so you could try installing it manually if you want, but for youtube I would always prefer Kodi since it's working much better.

That'd be really nice if you upload it somewhere
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Jun 08, 2017 12:47 am

seems I already did that in the past: https://oph.mdrjr.net/meveric/other/chromium
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Xorg » Thu Jun 08, 2017 4:56 am

meveric wrote:seems I already did that in the past: https://oph.mdrjr.net/meveric/other/chromium

Thanks, Chromium 52 works like a charm :D
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

Re: [OS] Debian Jessie

Unread postby rstrn » Thu Jun 15, 2017 5:56 pm

I have follow up informations to my sd card problem from mid may. I connected a monitor via hdmi and checked the boot process. It seems the odroid doesnt use or sees the emmc card at boot time with inserted sd card and tries to boot from empty sd card.

FAT-fs (mmcblk0p1): bogus number of reserved sectors
FAT-fs (mmcblk0p1): Can't find valid FAT filesystem
s5p_mfc_alloc_and_load_firmware:44: Firmware is not present in the /lib/firmware directory nor compiled in kernel

Is there a way to force the odroid to boot from emmc with inserted sd card?

Maybe it have todo with the content of the boot.scr:

'^E^YVct^ R}-o^@^@^A^ ^@^@^@^@^@^@^@^@b ^E^B^F^@boot.scr for X with HDMI auto-pr^@^@^Az^@^@^@^@setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"
setenv drm_video_mode "HDMI-A-1:1280x720M@60"
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
setenv bootargs "console=tty1 console=ttySAC1,115200n8 video=${drm_video_mode} root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro mem=2047M"
boot
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby Xorg » Thu Jun 15, 2017 7:27 pm

rstrn wrote:I have follow up informations to my sd card problem from mid may. I connected a monitor via hdmi and checked the boot process. It seems the odroid doesnt use or sees the emmc card at boot time with inserted sd card and tries to boot from empty sd card.

FAT-fs (mmcblk0p1): bogus number of reserved sectors
FAT-fs (mmcblk0p1): Can't find valid FAT filesystem
s5p_mfc_alloc_and_load_firmware:44: Firmware is not present in the /lib/firmware directory nor compiled in kernel

Is there a way to force the odroid to boot from emmc with inserted sd card?

Maybe it have todo with the content of the boot.scr:

'^E^YVct^ R}-o^@^@^A^ ^@^@^@^@^@^@^@^@b ^E^B^F^@boot.scr for X with HDMI auto-pr^@^@^Az^@^@^@^@setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"
setenv drm_video_mode "HDMI-A-1:1280x720M@60"
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
setenv bootargs "console=tty1 console=ttySAC1,115200n8 video=${drm_video_mode} root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro mem=2047M"
boot

If you can see stuff like this on the screen your Odroid has already booted from the eMMC and the Linux kernel runs fine. Could you post your /etc/fstab (either by inserting your eMMC into a Linux PC or by removing the sd card from the u3)
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

Re: [OS] Debian Jessie

Unread postby rstrn » Thu Jun 15, 2017 8:10 pm

I removed the sd card. Here is the content of my /etc/fstab:

UUID=e139ce78-9841-40fe-8823-96a304a09859 / ext4 errors=remount-r$
/dev/mmcblk0p1 /boot vfat noatime $

/swapfile none swap sw 0 0
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby Xorg » Thu Jun 15, 2017 8:15 pm

rstrn wrote:I removed the sd card. Here is the content of my /etc/fstab:

UUID=e139ce78-9841-40fe-8823-96a304a09859 / ext4 errors=remount-r$
/dev/mmcblk0p1 /boot vfat noatime $

/swapfile none swap sw 0 0

Comment out the line starting with /dev/mmcblk0p1 (put a # in front of it) and/or change it to /dev/mmcblk1p1 (which should be the fat partition on the eMMC if you also have a micro SD inserted) Then try booting with both storages attached

If you leave it commented out, you might break future kernel updates because then the boot partition is no longer mounted on boot.
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Jun 15, 2017 8:36 pm

rstrn wrote:I have follow up informations to my sd card problem from mid may. I connected a monitor via hdmi and checked the boot process. It seems the odroid doesnt use or sees the emmc card at boot time with inserted sd card and tries to boot from empty sd card.

That's actually quite odd, since the eMMC should have a higher priority. The U3 does not have a boot selector, therefore it "should" try to boot eMMC first and if that fails it should boot from SD card.
eMMC should be mmcblk0 while SD card should be mmcblk1.
If booted from SD card only the device should also be found as mmcblk0 as it is the "first" (and only) device.

rstrn wrote:Is there a way to force the odroid to boot from emmc with inserted sd card?

No, as I said, the eMMC should have highest priority, since there is no boot selector.

rstrn wrote:Maybe it have todo with the content of the boot.scr:

'^E^YVct^ R}-o^@^@^A^ ^@^@^@^@^@^@^@^@b ^E^B^F^@boot.scr for X with HDMI auto-pr^@^@^Az^@^@^@^@setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"
setenv drm_video_mode "HDMI-A-1:1280x720M@60"
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000"
setenv bootargs "console=tty1 console=ttySAC1,115200n8 video=${drm_video_mode} root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro mem=2047M"
boot

The bootscreen tells the system to load the rootfs from UUID=e139ce78-9841-40fe-8823-96a304a09859 this is the root partition of the image. Unless you have a empty SD card that has the same UUID, the system should boot from the eMMC since that is where the partition with this UUID is located.

Xorg wrote:
rstrn wrote:I removed the sd card. Here is the content of my /etc/fstab:

UUID=e139ce78-9841-40fe-8823-96a304a09859 / ext4 errors=remount-r$
/dev/mmcblk0p1 /boot vfat noatime $

/swapfile none swap sw 0 0

Comment out the line starting with /dev/mmcblk0p1 (put a # in front of it) and/or change it to /dev/mmcblk1p1 (which should be the fat partition on the eMMC if you also have a micro SD inserted) Then try booting with both storages attached

If you leave it commented out, you might break future kernel updates because then the boot partition is no longer mounted on boot.


The /etc/fstab looks correct. /dev/mmcblk0p1 is the correct boot device for the U3. /dev/mmcblk1p1 should never be used, even if you have eMMC and SD card connected.
It's unlikely that eMMC should be found as mmcblk1 I've never heard of this.
In fact currently that's an issue with the Kernel 4.9 for the ODROID XU3/XU4. Here the SD card is ALWAYS found as mmcblk1 while previously with no eMMC connected it was found as mmcblk0 as well.

Anyway, I'll try to recreate the same on my U3 to see as what eMMC and SD cards are found.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rstrn » Thu Jun 15, 2017 9:52 pm

The tip of Xorg was succesfull. I changed the /etc/fstab to /dev/mmcblk1p1 and the boot with sd card insterted was succesfull, but sd card was not recognised.

How can I find the sd card? Do I need additional mount in fstab ?
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby meveric » Thu Jun 15, 2017 10:01 pm

Probably yes.
You can check with "mount" if it's already mounted or not and can try to mount it in /mnt probably with mount /dev/mmcblk0p1 /mnt
Still I find it very confusing that the SD card should be mounted as mmcblk0 I probably gonna talk to HardKernel about this. I don't think that's expected behavior.
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.
User avatar
meveric
 
Posts: 7679
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rstrn » Thu Jun 15, 2017 10:13 pm

This works fine for me, seems to me to be the solution. I will make it permanently and reboot.
rstrn
 
Posts: 11
Joined: Tue Dec 17, 2013 8:36 pm
languages_spoken: english
ODROIDs: odroid u2

Re: [OS] Debian Jessie

Unread postby Xorg » Fri Jun 16, 2017 4:29 pm

meveric wrote:Probably yes.
You can check with "mount" if it's already mounted or not and can try to mount it in /mnt probably with mount /dev/mmcblk0p1 /mnt
Still I find it very confusing that the SD card should be mounted as mmcblk0 I probably gonna talk to HardKernel about this. I don't think that's expected behavior.

Also thought that back then but it's what I experienced. :D
Xorg
 
Posts: 59
Joined: Mon Mar 02, 2015 12:37 am
languages_spoken: german, english
ODROIDs: ODROID-U3, ODROID-XU4

PreviousNext

Return to Other OS

Who is online

Users browsing this forum: No registered users and 1 guest