[OS] Debian Jessie (arm64)

Moderators: mdrjr, odroid

Re: [OS] Debian Jessie (arm64)

Unread postby bloodangel78 » Sat Mar 25, 2017 9:24 pm

Ok I understand for not in the image.
I was not knowing this command for firmwares thanks.
bloodangel78
 
Posts: 9
Joined: Fri Mar 03, 2017 10:02 pm
languages_spoken: english, french

Re: [OS] Debian Jessie (arm64)

Unread postby Phil333 » Thu Mar 30, 2017 6:05 pm

After installing a desktop (for example mate) how do I start it?
There seems to no display manager installed so I wanted to start by
Code: Select all
exec mate-session
but its not working.
Also installing lightdm failed.
Any hints?
A auto display manager start on boot would be nice.
Phil333
 
Posts: 11
Joined: Thu Mar 09, 2017 10:24 pm
languages_spoken: german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Thu Mar 30, 2017 7:45 pm

please use the command "setup-odroid" it has an option to install a desktop and will install all required parts.
including 3D drivers, framebuffer drivers and such.
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: 7859
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 (arm64)

Unread postby Phil333 » Fri Mar 31, 2017 4:33 am

I did so, but the desktop (or display manager) is not starting and I get stuck at the terminal asking for user and password login

EDIT: my mistake... I had to chose replace kernel on desktop setup.
Its working now.
Phil333
 
Posts: 11
Joined: Thu Mar 09, 2017 10:24 pm
languages_spoken: german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby best_odroidfreak » Tue Apr 04, 2017 1:34 am

meveric wrote:.

1) Please explain why there isn't package alsa-lib for Debian arm64?
2) How remove libasound2 package that installs smixers.conf?
best_odroidfreak
 
Posts: 364
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english

VLC Odroid C2

Unread postby marcavatar » Wed Apr 26, 2017 5:47 am

Hi, i have installed Debian 8 jessie, i have installed vlc to see mkv files but when I click on the movie i start vlc but nothing happens. Is it not compatible with this version of Ordroid c2? Is there an alternative reader to view video files?
Thank you.
marcavatar
 
Posts: 54
Joined: Mon Feb 15, 2016 2:24 am
languages_spoken: italian
ODROIDs: Odroid C1+

Re: VLC Odroid C2

Unread postby meveric » Wed Apr 26, 2017 6:01 am

marcavatar wrote:Hi, i have installed Debian 8 jessie, i have installed vlc to see mkv files but when I click on the movie i start vlc but nothing happens. Is it not compatible with this version of Ordroid c2? Is there an alternative reader to view video files?
Thank you.

Generally VLC is not a very good player on ARM devices. It lacks hardware acceleration, or good scaling capabilities..
There's currently only Kodi and c2play that can show videos hardware accelerated on the C2. Since I don't provide c2play you would have to compile it yourself.
But I provide Kodi which can be installed via setup-odroid.
There are a couple of software decoder that work good as well.. ffplay can play videos from command line (part of the ffmpeg package) or you can use mpv which is a simple desktop client for ffmpeg.
Both work rather well, although they are only software decoded.

Best result will be Kodi though.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby marcavatar » Thu Apr 27, 2017 5:03 am

Thanks for the answer, I installed MPV, but the mkv video does not start, it starts the initial schemata and then crashes as the avi files work. Maybe you need to install the appropriate codecs to play Mkv H264 and H265 files?
marcavatar
 
Posts: 54
Joined: Mon Feb 15, 2016 2:24 am
languages_spoken: italian
ODROIDs: Odroid C1+

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Thu Apr 27, 2017 7:26 am

nope it should work fine. It uses ffmpeg and ffmpeg had codecs for H264 and H265 build in.
can you try ffplay with the files? that don't work?
Have you tried Kodi?
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby Nelars » Fri Apr 28, 2017 5:07 pm

Hello @meveric,

First of all, thank you for sharing such a wonderful OS package with the ODROID-C2 community; and second, I would like to ask you for some help with a small issue:

Somehow, apt-get update and apt-get dist-upgrade is not grabbing any update for the openvpn package, which is at rev 2.4.1 at the moment.
After updating libraries and upgrading the openvpn version remains at rev 2.3.4:

root@C2-Debian64:~# openvpn --version
OpenVPN 2.3.4 aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Nov 20 2015
library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.08
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>

Would you be so kind to update the repository to enable updating of the openvpn package?
Or indicate the steps needed to do so?

Your help is highly appreciated.

Thank you!
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Fri Apr 28, 2017 6:51 pm

Code: Select all
apt-get install -t jessie-backports openvpn
should help. It's in the "backports" repository which has a lower priority and is therefore not installed automatically.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby Nelars » Fri Apr 28, 2017 6:54 pm

Does it matter that old version is installed and running as server?
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Fri Apr 28, 2017 7:07 pm

nope it should be replaced, but you probably have to restart it.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby Nelars » Fri Apr 28, 2017 7:21 pm

It worked!

Thank you
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Update to Stretch?

Unread postby genosensor » Wed May 10, 2017 1:47 am

Please forgive the cross-posting. I originally put this on the XU4 thread in error...

Has anyone succeeded in a updating meveric's C2 Jessie image to Debian Stretch?
Is it as simple as:

# apt-get dist-upgrade

after changing all the apt sources appropriately?
It seems like a few people have updated the XU4 to stretch.
If anyone has managed to upgrade the C2, please share details.
Specifically, the apt sources that worked best for you.

Thanks!

P.S. So far, the only complication I'm aware of is that the fbturbo X11 driver must be recompiled to link with the updated X11 server. I'd consider myself very lucky if that's the only gotcha'
genosensor
 
Posts: 17
Joined: Tue May 09, 2017 10:44 am
Location: California
languages_spoken: english, german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Wed May 10, 2017 2:45 am

there is a fun fact about fbturbo and Debian Stretch...
Debian Stretch has OFFICIAL fbturbo packages included. I'm not sure how good they are compared to the ones we use here, but it's worth a shot.
Generally updating from Debian Jessie to Debian Stretch on the C2 should be rather easy, but not all software might run here.
Especially stuff with lots dependencies like Kodi might not work from my repositories, since I don't have Debian Stretch builds of them yet.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby genosensor » Wed May 10, 2017 3:02 am

I'm unsure what to do about the meveric-* repos in /etc/sources.list.d
Would these be superseded by the move to stretch, or are there some, like

deb http://oph.mdrjr.net/meveric all testing

that should continue to be sourced?

I assume that meveric-jessie-backports and meveric-jessie-main would be superseded by the stretch repos.
But, what about deb-multimedia, meveric-all-C2 and meveric-all-main?
genosensor
 
Posts: 17
Joined: Tue May 09, 2017 10:44 am
Location: California
languages_spoken: english, german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Wed May 10, 2017 5:56 am

the all repos are OS independent and run on all OS version (at least they should).
deb-multimedia has stretch repositories, so you can just edit the file and replace jessie with stretch.
the meveric-jesssie repositories can't be replaced, since I don't have started packaging anything for Debian Stretch yet.
Leave them as they are.. if Debian Stretch can fulfill the requirements you can install the packages.. if Debian Stretch does not fulfill the requirements, packages won't be installed.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby genosensor » Wed May 10, 2017 5:55 pm

Is there a problem with the following kernel cmdline to boot an NFS root:
Code: Select all
boot=nfs root=/dev/nfs ip=dhcp nfsroot=192.168.6.191:/extra/odroid/rootfs rw console=ttyS0,115200n8 console=tty0 consoleblank=0 no_console_suspend hdmitx=cecf hdmimode=custombuilt vout=dvi disablehpd=false m_bpp=32 modeline=1920,1200,154000,74038,60,1920,1968,2000,2080,1200,1203,1209,1235,1,0,1 monitor_onoff=true max_freq=1680 maxcpus=4 disableuhs=false mmc_removable=true elevator=noop usbmulticam=false net.ifnames=0

Does this kernel support an NFS root?
Or, is the problem that the initrd image cannot cope with an NFS root?

The last messages I see are:

Code: Select all
cfgload: setenv boot "booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}"
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    4265038 Bytes = 4.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Ramdisk to 73b19000, end 73f2a44e ... OK
   Loading Device Tree to 000000001fff5000, end 000000001ffff367 ... OK

Starting kernel ...

uboot time: 686671433 us
genosensor
 
Posts: 17
Joined: Tue May 09, 2017 10:44 am
Location: California
languages_spoken: english, german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Wed May 10, 2017 9:17 pm

I don't know.. maybe HardKernel can answer the question, I never tried NFS boot.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby odroid » Wed May 10, 2017 10:27 pm

NFS client drivers must be built-in.
http://odroid.com/dokuwiki/doku.php?id=en:c2:nfsboot
User avatar
odroid
Site Admin
 
Posts: 24992
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie (arm64)

Unread postby Nelars » Sat May 13, 2017 10:36 pm

Hi @meveric,

I've got this message today:

@C2-Debian64:~# apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?

If I try to install the apt-transport-https, then I get:

@C2-Debian64:~# apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcurl3-gnutls libldap-2.4-2 libldap-common librtmp1 libsasl2-2 libsasl2-modules-db
Recommended packages:
ca-certificates libsasl2-modules
The following NEW packages will be installed:
apt-transport-https libcurl3-gnutls libldap-2.4-2 libldap-common librtmp1 libsasl2-2 libsasl2-modules-db
0 upgraded, 7 newly installed, 0 to remove and 24 not upgraded.
Need to get 52.6 kB/851 kB of archives.
After this operation, 1,652 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
libldap-common libldap-2.4-2 librtmp1
Install these packages without verification? [y/N] y
Err http://www.deb-multimedia.org/ jessie/main librtmp1 arm64 2:2.4~20150315.gita107cef9b-dmo1 404 Not Found
E: Failed to fetch http://www.deb-multimedia.org/pool/main ... _arm64.deb 404 Not Found

Can you shed some light as to how to fix this?

Thank you!
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

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

you have an unfinished installation open of libldap-common libldap-2.4-2 librtmp1
Which right now is a problem. Normally you would have to do an apt-get update to update the package list the newest information for librtmp1 but since apt-get update is currently not working due to the missing HTTPS that's somewhat of a deadlock at the moment.
The https is now required cause @mdrjr changed his server and now redirects all http requests to https. Sadly he did this without warning, therefore installing https drivers upfront was not possible.
Anyway, try the following:
Code: Select all
apt-get download apt-transport-https
dpkg -i apt-transport-https*
apt-get update
apt-get install -f

Im not sure it will work due to the broken librtmp1 drivers.. could be you have to remove them first, but try anyway and let me know how it goes.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby Nelars » Sun May 14, 2017 3:10 am

So I was able to install apt-transport-https and execute apt-get update; however, these messages appeared:

W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/jess ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/jess ... 4/Packages

Should these be now https://... I tried it and it didn't work :(

W: Failed to fetch https://oph.mdrjr.net/meveric/dists/all ... 4/Packages

Please advise.

Thank you!
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Sun May 14, 2017 3:19 am

since http gets redirect to https it shouldn't matter if you have http or https in the file list.. both should work.
But I don't know why it wouldn't be able to fetch the files.
If you open them in your browser you see they are all there, there should be no reason why this throws an error.
Can you do a apt-get clean and then try apt-get update again?
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby Nelars » Sun May 14, 2017 3:23 am

apt-get clean does not resolves the issue.
I will keep poking around a bit more, let me know if you come up with something else.

Thank you!
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Sun May 14, 2017 3:27 am

Code: Select all
rm `find /var/lib/apt/lists/ -type f`
apt-get update

this deletes all already downloaded lists and then apt-get update starts from a clean state.
Not sure if this helps though.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby Nelars » Sun May 14, 2017 3:37 am

I executed apt-get autoclean, and ping to the url:

@C2-Debian64:~# ping oph.mdrjr.net -c 4
PING main.mdrjr.net (96.47.231.244) 56(84) bytes of data.
64 bytes from mdrjr.net (96.47.231.244): icmp_seq=1 ttl=55 time=37.7 ms
64 bytes from mdrjr.net (96.47.231.244): icmp_seq=2 ttl=55 time=41.7 ms
64 bytes from mdrjr.net (96.47.231.244): icmp_seq=3 ttl=55 time=40.4 ms
64 bytes from mdrjr.net (96.47.231.244): icmp_seq=4 ttl=55 time=41.6 ms

But no dice:

Err http://oph.mdrjr.net all/c2 arm64 Packages

Get:19 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]

Err http://oph.mdrjr.net all/main arm64 Packages

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

Get:20 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [7,408 B]
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:21 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
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
Get:22 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [13.6 kB]
Ign http://oph.mdrjr.net all/testing Translation-en

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

Hit http://ftp.debian.org jessie-updates/non-free Sources

Err http://oph.mdrjr.net jessie/main arm64 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
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
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
Fetched 332 kB in 9s (36.6 kB/s)
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby Nelars » Sun May 14, 2017 3:43 am

I looked through the /var/lib/apt/lists and could not find any entry making reference to oph.mdrjr.net

Should not there be some?

Deleted all content under /var/lib/apt/lists, but the same result after executing apt-get update:

Err http://oph.mdrjr.net all/c2 arm64 Packages
Err http://oph.mdrjr.net all/main arm64 Packages
Err http://oph.mdrjr.net all/testing arm64 Packages
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Ign http://oph.mdrjr.net all/c2 Translation-en
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
Err http://oph.mdrjr.net jessie/backports arm64 Packages
Err http://oph.mdrjr.net jessie/main arm64 Packages

W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/jess ... 4/Packages
W: Failed to fetch http://oph.mdrjr.net/meveric/dists/jess ... 4/Packages
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Sun May 14, 2017 5:29 am

Nelars wrote:I executed apt-get autoclean

autoclean is a useless command, forget about it.
It ONLY removes, downloaded packages, of older versions.
For example the package "vim" is currently available in version 2:7.4.488-7+deb8u3 if you did an apt-get install vim when it was version 2:7.4.488-7+deb8u2 then under /var/cache/apt/archives/ there would be a package laying around with version 2:7.4.488-7+deb8u2. Now the update comes along and you install the update to version 2:7.4.488-7+deb8u3. That file also gets placed in /var/cache/apt/archives/.
So now you have two versions inside that folder 2:7.4.488-7+deb8u2 and 2:7.4.488-7+deb8u3.
apt-get autoclean would remove the 2:7.4.488-7+deb8u2 but keep the 2:7.4.488-7+deb8u3 package.

Once again, I think that command is pretty useless, if you do apt-get clean ALL files are removed. So doing a apt-get autoclean, after you've done a apt-get clean before, does NOTHING at all.


can you do a "wget" on that URL on the ODROID? wget will download the file if wget works it would be even more strange cause apt kinda just does the same.
so just try
Code: Select all
wget http://oph.mdrjr.net/meveric/dists/all/main/binary-arm64/Packages
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby Nelars » Sun May 14, 2017 11:03 pm

Here is the output:

@C2-Debian64:~# wget http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
--2017-05-14 10:02:20-- http://oph.mdrjr.net/meveric/dists/all/ ... 4/Packages
Resolving oph.mdrjr.net (oph.mdrjr.net)... 96.47.231.244
Connecting to oph.mdrjr.net (oph.mdrjr.net)|96.47.231.244|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://oph.mdrjr.net/meveric/dists/all ... 4/Packages [following]
--2017-05-14 10:02:20-- https://oph.mdrjr.net/meveric/dists/all ... 4/Packages
Connecting to oph.mdrjr.net (oph.mdrjr.net)|96.47.231.244|:443... connected.
ERROR: The certificate of ‘oph.mdrjr.net’ is not trusted.
ERROR: The certificate of ‘oph.mdrjr.net’ hasn't got a known issuer.
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby mad_ady » Mon May 15, 2017 12:13 am

Hmm, date looks fine. You're not trusting let's encrypt CA.
User avatar
mad_ady
 
Posts: 2743
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

Re: [OS] Debian Jessie (arm64)

Unread postby Nelars » Mon May 15, 2017 12:32 am

It seems that

Code: Select all
apt-get install ca-certificates


fixed it!
Nelars
 
Posts: 12
Joined: Fri Apr 28, 2017 4:45 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

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

Thanks for the info.. It seems others have the same issues and that seems to be the solution :)
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby kcroot » Wed May 17, 2017 4:22 pm

Hello, jessie on start hangs oabut 7 sec on network service how do i skip this after booting to X ?
kcroot
 
Posts: 21
Joined: Fri Mar 17, 2017 2:17 am
Location: Myślenice, Poland
languages_spoken: english
ODROIDs: XU4, C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Wed May 17, 2017 5:16 pm

Can you be a little bit more detailed about what exactly hangs, where you see it and such?

The default image comes as a server image and uses /etc/network/interfaces to setup a network connection, but once you install a Desktop (at least if you use my setup-odroid) this will be disabled in favor of Network Manager.
If you installed a Desktop manually the /etc/network/interfaces could still be active and interfere with the Network Manager. Maybe you can check on this.
Else I'm not quite sure what you're talking about.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby kcroot » Wed May 17, 2017 6:22 pm

when back to home i share some pics about that.
kcroot
 
Posts: 21
Joined: Fri Mar 17, 2017 2:17 am
Location: Myślenice, Poland
languages_spoken: english
ODROIDs: XU4, C2

Re: [OS] Debian Jessie (arm64)

Unread postby duncanidaho7780 » Thu May 18, 2017 2:50 am

Any ideas on getting the sources fixed? I realize they are not actually broken. I willl have to manually download the https transport thing and install via usb ??

Any ideas I will try and implement via ssh first. Please and thank you. Thx for all your work already.
duncanidaho7780
 
Posts: 5
Joined: Thu May 18, 2017 2:45 am
languages_spoken: english
ODROIDs: c2 xu4

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Thu May 18, 2017 5:39 am

You don't need to download anything manually.

Please use the following commands 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 ca-certificates
sed -i "s/#deb/deb/" *.list
apt-get update
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby duncanidaho7780 » Thu May 18, 2017 12:04 pm

thank you all issues resolved!
duncanidaho7780
 
Posts: 5
Joined: Thu May 18, 2017 2:45 am
languages_spoken: english
ODROIDs: c2 xu4

Re: [OS] Debian Jessie (arm64)

Unread postby best_odroidfreak » Sun May 21, 2017 4:00 pm

meveric wrote:.

How about using new Linux Kernel 4.12?
http://linux-meson.com/doku.php
viewtopic.php?f=135&t=22717&start=300
best_odroidfreak
 
Posts: 364
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Sun May 21, 2017 4:33 pm

not yet available from hardkernel.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby brad » Sun May 21, 2017 8:36 pm

meveric wrote:not yet available from hardkernel.


WIll you not be packaging Debian releases?
brad
 
Posts: 605
Joined: Tue Mar 29, 2016 1:22 pm
Location: Australia
languages_spoken: english
ODROIDs: C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Sun May 21, 2017 10:18 pm

brad wrote:WIll you not be packaging Debian releases?

Not sure what you mean. Debian releases are packaged by Debian, so I'm not sure what you mean.
User avatar
meveric
 
Posts: 7859
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 (arm64)

Unread postby brad » Sun May 21, 2017 10:21 pm

meveric wrote:
brad wrote:WIll you not be packaging Debian releases?

Not sure what you mean. Debian releases are packaged by Debian, so I'm not sure what you mean.


Would you be considering using the Debian releases in the future? Maybe some tools to install to the sdcard / uboot environment.
brad
 
Posts: 605
Joined: Tue Mar 29, 2016 1:22 pm
Location: Australia
languages_spoken: english
ODROIDs: C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Mon May 22, 2017 2:01 am

If they are actually working I guess switching could be done. But up to now I've never seen a fully working Kernel directly from Debian projects when it comes to ARM.
Most of the time the GPU drivers, HDMI, or something else is missing, so that Kernels provided by Debian normally only work for a very reduced use-case.
User avatar
meveric
 
Posts: 7859
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

Stretch over meveric's Jessie

Unread postby genosensor » Mon May 22, 2017 4:15 am

Just a quick confirmation that Upgrading meveric's Jessie for the C2 to stretch works!

I followed this guide:
https://linuxconfig.org/how-to-upgrade- ... -9-stretch

Because, at some point in the process X11 will break,
it's best to run the upgrade from terminal on another machine.

To get moderately accelerated X, you need to recompile the small fbturbo driver from git:

Code: Select all
git clone https://github.com/ssvb/xf86-video-fbturbo.git
cd xf86-video-fbturbo
configure  --prefix=/usr
make
sudo make install


The only problems were with packages having bogus dependencies and conflicts.
Worst offender is chromium v58. Its control file indicates that it conflicts with libnettle and libsecret, which causes it to be held back. If you try to install it explicitly, apt will remove other browsers and a host of other useful tools. Not acceptable.

Fortunately, the conflicts appear to be bogus. I created an version with an altered control file omitting them. That's works great.

I use Hangouts for telephony. Chromium v53 would not work (no audio out). Chromium v58 works great.

I haven't tried Kodi. Its probably are not compatible with stretch.
genosensor
 
Posts: 17
Joined: Tue May 09, 2017 10:44 am
Location: California
languages_spoken: english, german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby brad » Mon May 22, 2017 8:45 am

meveric wrote:If they are actually working I guess switching could be done. But up to now I've never seen a fully working Kernel directly from Debian projects when it comes to ARM.
Most of the time the GPU drivers, HDMI, or something else is missing, so that Kernels provided by Debian normally only work for a very reduced use-case.


Fair enough, there are some experimental versions of 4.11 available so will probably be some time before any stable version of 4.12 would be available but I will do some testing when they are.
brad
 
Posts: 605
Joined: Tue Mar 29, 2016 1:22 pm
Location: Australia
languages_spoken: english
ODROIDs: C2

Missing Kernel syscall 279 ?

Unread postby genosensor » Mon May 22, 2017 10:34 am

Since upgrading to stretch, the stock 3.14 kernel is outputting panics like these:

Code: Select all
[67036.453814] gradio[9357]: syscall 279
[67036.453864] Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
[67036.458401] CPU: 1 PID: 9357 Comm: gradio Not tainted 3.14.79odroidC2+ #18
[67036.464714] task: ffffffc03914f000 ti: ffffffc034684000 task.ti: ffffffc034684000
[67036.472255] PC is at 0x7f843ae5b4
[67036.475408] LR is at 0x7f7ab20484
[67036.478992] pc : [<0000007f843ae5b4>] lr : [<0000007f7ab20484>] pstate: 60000000
[67036.486118] sp : 0000007fd96c1a30
[67036.489342] x29: 0000007fd96c1a40 x28: 0000007f84989598
[67036.494546] x27: 0000007f60141a00 x26: 0000007fd96c2d18
[67036.499807] x25: 0000000000000002 x24: 0000000000001000
[67036.505071] x23: 00000000000001c0 x22: 0000000000000001
[67036.510331] x21: 0000007f7ab55000 x20: 000000558e39c828
[67036.515591] x19: 0000000004000000 x18: 0000000000000000
[67036.520853] x17: 0000007f843ae590 x16: 0000007f7ab55348
[67036.526115] x15: ffffffffffffffff x14: 0000000000000008
[67036.531374] x13: 6236333637653766 x12: 3464326230653733
[67036.536636] x11: 0101010101010101 x10: 0000007fd96c1920
[67036.541897] x9 : 0000000000000001 x8 : 0000000000000117
[67036.547159] x7 : 0000000000000000 x6 : 0000000000000000
[67036.552419] x5 : 0000007fd96c194c x4 : 0000007f811c6108
[67036.557682] x3 : 0000007f811c6000 x2 : 0000000000000002
[67036.562941] x1 : 0000000000000002 x0 : 0000007f7ab32730


They occur infrequently. The system is otherwise running well.
I'm thinking that there's a new syscall #279 being called by glibc, but not implemented in the 3.14 kernel?

Am I interpreting this correctly?
Does anyone know what syscall 279 actually does?
Is there anything to be done aside from wait for the 4.xx kernel to stabilize?

Thanks!
genosensor
 
Posts: 17
Joined: Tue May 09, 2017 10:44 am
Location: California
languages_spoken: english, german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie (arm64)

Unread postby meveric » Mon May 22, 2017 2:42 pm

Seems this topic was already discussed by some people:

https://archlinuxarm.org/forum/viewtopi ... 65&t=10940
User avatar
meveric
 
Posts: 7859
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

PreviousNext

Return to Other OS

Who is online

Users browsing this forum: No registered users and 1 guest