Page 9 of 11

Re: [OS] Debian Stretch

Posted: Wed May 08, 2019 3:48 pm
by meaz
How do I switch back to kernel 3.10 ? Are there any drawback from doing that?
Also, I saw there: viewtopic.php?f=96&t=17542 that CEC works with your Jessie image. Should I better use it then?

Thanks a lot for your help, I really appreciate it?.

Re: [OS] Debian Stretch

Posted: Wed May 08, 2019 3:57 pm
by meveric
Debian Stretch requires Kernel 3.16 or higher to work properly as it uses syscalls that do no exist in older Kernel versions, so going back to Kernel 3.10 is not recommended.
I can't tell if it has any drawbacks except for tons of errors about missing syscalls in the syslog, but I can't guarantee this.

Debian Jessie should work fine, but it's currently in LTS support, means it's getting old.
I personally don't use CEC so I can't say what's the best approach.

Maybe approaching HardKernel about the issue with CEC in Kernel 4.14 is the better solution.
HardKernel might have a way to fix this in the Kernel.

Re: [OS] Debian Stretch

Posted: Wed May 08, 2019 5:51 pm
by meaz
I just wrote to hardkernel as you suggested. THey asked me to report on the forum... SO here it is: viewtopic.php?f=146&t=34892

In the mean time, I found this: https://wiki.odroid.com/odroid-xu4/soft ... enable_cec
It is written that CEC works "with our Ubuntu Mate/Minimal 18.04.1 on 4.14.87-153 kernel with the latest packages"

SO that should work with Stretch too, no?

Re: [OS] Debian Stretch

Posted: Wed May 08, 2019 9:12 pm
by meveric
The package from HardKernel won't work and the rest of the guide was already done.

The other topic about CEC I'm not entirely sure.

The guide written here: https://wiki.odroid.com/odroid-xu4/soft ... rom_source which was suggested by AreaScout might work.
Although some parts such as installing the https://github.com/Pulse-Eight/platform.git is not really required, as the package already is installed in the system.

I'll see if I can create a new package based on the changes.

Re: [OS] Debian Stretch

Posted: Wed May 08, 2019 10:33 pm
by meveric
Ok, I have a new version of libcec4 (actually needed to backport version from Debian Buster) but I need to test it if it's working.

Re: [OS] Debian Stretch

Posted: Wed May 08, 2019 11:07 pm
by meaz
Perfect! Thanks a lot Meveric! Can't wait to get it and see if it works ;)

Re: [OS] Debian Stretch

Posted: Thu May 09, 2019 4:31 am
by meveric
viewtopic.php?p=255258#p255258

It's working, you probably should add a udev rule though:
/etc/udev/rules.d/20-hkl_cec.rules

Code: Select all

KERNEL=="cec0",SUBSYSTEM=="misc",MODE="0666"

Re: [OS] Debian Stretch

Posted: Sun May 12, 2019 9:48 pm
by meaz
Thanks a lot Meveric! That works!!!!!!

Just for other people to know,

Code: Select all

KERNEL=="cec0",SUBSYSTEM=="misc",MODE="0666"
didn't work.

I had to do this:

Code: Select all

KERNEL=="cec0",SUBSYSTEM=="cec",MODE="0666"

Re: [OS] Debian Stretch

Posted: Mon May 13, 2019 12:52 am
by meaz
For some reason, it doesn't work anymore... It has worked for like 10 minutes. I formatted my sd card, reinstall everything, but it still doesn't work. I have this message on kodi: "Connection to Pulse-Eight CEC... " but it doesn't connect.

Re: [OS] Debian Stretch

Posted: Mon May 13, 2019 2:04 am
by meveric
can you check what version of libcec4 you have installed?
And if you formatted everything have you set boot.ini back to use cec?
Check the usual, if /dev/cec0 exists and if it has the right permissions.

Re: [OS] Debian Stretch

Posted: Mon May 13, 2019 2:55 am
by meaz
Yeah I did all that. I have your version of libcec... (from your repo)

Re: [OS] Debian Stretch

Posted: Mon May 13, 2019 3:33 am
by meveric
Than I don't see why it shouldn't work.
As you said before it was working.
I wouldn't know why it would stop all of a sudden if nothing was changed.
Even if there are some errors after a few minutes, a reboot should always reset this.
Means you should have these minutes again and not suddenly not working at all.

Re: [OS] Debian Stretch

Posted: Wed May 15, 2019 5:05 am
by odro-volti
I got my Odroid XU4 and an eMMC with Ubuntu, which boots just fine. So I burned the stretch image to an SDcard (to keep the functional Ubuntu eMMC), flipped the boot-from switch to µSD and plugged in power, but only the red LED lights, nothing else happenz, no blue LED, no fan

I confirmed the SHA512 checksum on the image.

I unxz the .img.xz file

I burned the image to a new 16GB Sandisk class 10 card (using this type of cards for years in raspis) with

Code: Select all

sudo dd if=Debian-Stretch64-1.0~RC2-20190330-N2.img of=/dev/sdf bs=1M conv=fsync
and afterwards did 3 times the "sync" voodoo.

I used an USB3 card reader with a dedicated slot for µSD, no adapter (although I never had any problems with adapters in the past years of buring raspi images from various sources)

And repeated this 4 times now (2 times downloaded the image). The SDcard has 2 partitions after dd. But apparently nothing boots up...

What am I doing wrong here?

Re: [OS] Debian Stretch

Posted: Wed May 15, 2019 5:32 am
by meveric
Don't use Ubuntu and Debian at the same time. They use the same UUID and therefore the kennel does not find the correct rootfs.. unplug the eMMC if you use Debian from SD card.

Re: [OS] Debian Stretch

Posted: Wed May 15, 2019 2:59 pm
by odro-volti
OK, I removed the eMMC, plugged in power, but same result, red light on, no blue light at all... :-(

(Have attached a monitor, keyboard (USB3), mouse (USB2)and RJ45. The SD-card is inserted correctly oriented afaik and as deep as possible...)

Re: [OS] Debian Stretch

Posted: Wed May 15, 2019 5:39 pm
by odro-volti
I downloaded the ubuntu minimal image, checked md5 on xz and img file, all OK, burned it with dd and sync afterwards (3times). This SD-cards boots for some seconds, I see the usual messages scrolling up the screen, but after some 7-8 seconds the screen turns black, the blue LED gets dark and never comes back (fan stops).

Is that normal?

PS: I pressed the power button and the ubuntu minimal booted within 8 sec to the login... seems fine so far.

But what'S the problem with Debian RC image? :-(

Re: [OS] Debian Stretch

Posted: Wed May 15, 2019 9:47 pm
by odro-volti
OK, the N2 image won't boot on XU4. I will try the right image and guess it will work.... :oops:

Re: [OS] Debian Stretch

Posted: Thu May 16, 2019 3:29 am
by odro-volti
Works! :-D

Is it safe to do a

Code: Select all

apt dist-upgrade
(after "update" and "upgrade") or better not?

Re: [OS] Debian Stretch

Posted: Thu May 16, 2019 3:42 am
by meveric
yes please do the dist-upgrade or else you won't get Kernel updates and other things.

Re: [OS] Debian Stretch

Posted: Thu May 16, 2019 10:32 pm
by odro-volti
Principle question re. the stretch image: I configured the SD-card install now and would like to make an .img (with dd, on another machine). Could I dd this image to another SD-card or even the eMMC module and have a functional image on a second SD-card/eMMC module? (with raspbian that was no problem to clone installs)

Or does stretch use UUIDs in fstab and whereever so that the cloned image won't boot?

Re: [OS] Debian Stretch

Posted: Thu May 16, 2019 10:36 pm
by meveric
Normally this works. I suggest shrinking the rootfs before the image as a 16GB eMMC is smaller than a 16GB SD for example, so the only thing to keep in mind if the size of the target.

Re: [OS] Debian Stretch

Posted: Thu May 16, 2019 10:36 pm
by meveric
Normally this works. I suggest shrinking the rootfs before the image as a 16GB eMMC is smaller than a 16GB SD for example, so the only thing to keep in mind if the size of the target.

Re: [OS] Debian Stretch

Posted: Thu May 16, 2019 11:47 pm
by odro-volti
Many thanks for quick reply!

Is there a preferred way to shrink root? With GParted offline?

Re: [OS] Debian Stretch

Posted: Thu May 16, 2019 11:48 pm
by meveric
Yep, gparted is perfect for this.

Re: [OS] Debian Stretch

Posted: Mon May 20, 2019 1:34 am
by odro-volti
...I shrunk /root to 12 GB, the Sd-card afterwards boots fine, but the dd .img is still 14.8GB, as dd simply copies over the empty chunk "in the end" of the SD-card!?!? So this won't fit on the eMMC anyway?

Re: [OS] Debian Stretch

Posted: Mon May 20, 2019 1:43 am
by meveric
There are two things you can do.. either you can define a smaller image size with dd, or you can just truncate the already created image.
But even if the image is too big and doesn't fit on the eMMC entirely that's no big deal, as long as the partition fits on the eMMC, it's fine... the rest is just "empty information" anyway.

Re: [OS] Debian Stretch

Posted: Mon May 20, 2019 2:32 am
by odro-volti
..so the dd to the eMMC will complete (writing the rest to nowhere) or stop with an error, but the image on eMMC will be functional?

Many thanks, never wrote to smaller media or used the built-in raspi copy function which adapts to target media size

Re: [OS] Debian Stretch

Posted: Mon May 20, 2019 3:47 am
by meveric
odro-volti wrote:
Mon May 20, 2019 2:32 am
..so the dd to the eMMC will complete (writing the rest to nowhere) or stop with an error, but the image on eMMC will be functional?
The last one.. it will show an error, but it will still work as the partition is small enough to fit on the eMMC and the rest is unused data anyway :)
odro-volti wrote:
Mon May 20, 2019 2:32 am
Many thanks, never wrote to smaller media or used the built-in raspi copy function which adapts to target media size
There are many different ways to do backups... There are a couple of tools you can use and with dd you can define the size of the backup as well, and make it the exact same size as the partitions and therefore it will fit perfectly as well.
But it's not needed, if you don't mind there error, although you get the benefit of a smaller .img file if you only backup the size of the partition and not the entire SD card :)

Re: [OS] Debian Stretch - Kodi

Posted: Sun May 26, 2019 10:09 pm
by lele
Hi, for some reason I cannot start Kodi at all! I tried from "setup-odroid", from the Debian9 repo, from Kodi repo but it just refuses to start!

version:

Code: Select all

17.6 Git:094825c86d Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tv
crash:

Code: Select all

~# kodi --standalone --debug
process 2782: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2823.
This is normally a bug in some application using the D-Bus library.
process 2782: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2823.
This is normally a bug in some application using the D-Bus library.
process 2782: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2823.
This is normally a bug in some application using the D-Bus library.
process 2782: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2823.
This is normally a bug in some application using the D-Bus library.
process 2782: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2823.
This is normally a bug in some application using the D-Bus library.
process 2782: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2823.
This is normally a bug in some application using the D-Bus library.
process 2782: arguments to dbus_connection_close() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2936.
This is normally a bug in some application using the D-Bus library.
process 2782: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2823.
This is normally a bug in some application using the D-Bus library.
ERROR: Unable to create GUI. Exiting
*** Error in `/usr/local/lib/kodi/kodi.bin': double free or corruption (out): 0x0251ad88 ***
Aborted
Crash report available at /root/kodi_crashlog-20190526_140431.log
Crash log:
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: Sun May 26 14:04:31 BST 2019
Kodi Options:
Arch: armv7l
Kernel: Linux 4.14.120+ #1 SMP PREEMPT Thu May 23 20:06:09 UTC 2019
Release: Debian GNU/Linux 9 (stretch)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################

14:04:31.323 T:2976038896 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:04:31.323 T:2976038896 NOTICE: -----------------------------------------------------------------------
14:04:31.323 T:2976038896 NOTICE: Starting Kodi (17.6 Git:094825c86d). Platform: Linux ARM (Thumb) 32-bit
14:04:31.323 T:2976038896 NOTICE: Using Release Kodi x32 build
14:04:31.323 T:2976038896 NOTICE: Kodi compiled Apr 13 2018 by GCC 7.3.0 for Linux ARM (Thumb) 32-bit version 4.14.32 (265760)
14:04:31.324 T:2976038896 NOTICE: Running on Debian GNU/Linux 9 (stretch), kernel: Linux ARM 32-bit version 4.14.120+
14:04:31.324 T:2976038896 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
14:04:31.324 T:2976038896 NOTICE: Host CPU: ARMv7 Processor rev 3 (v7l), 8 cores available
14:04:31.324 T:2976038896 NOTICE: ARM Features: Neon enabled
14:04:31.324 T:2976038896 NOTICE: special://xbmc/ is mapped to: /usr/local/share/kodi
14:04:31.324 T:2976038896 NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/kodi
14:04:31.324 T:2976038896 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/local/lib/kodi/addons
14:04:31.324 T:2976038896 NOTICE: special://masterprofile/ is mapped to: /root/.kodi/userdata
14:04:31.324 T:2976038896 NOTICE: special://envhome/ is mapped to: /root
14:04:31.324 T:2976038896 NOTICE: special://home/ is mapped to: /root/.kodi
14:04:31.324 T:2976038896 NOTICE: special://temp/ is mapped to: /root/.kodi/temp
14:04:31.324 T:2976038896 NOTICE: special://logpath/ is mapped to: /root/.kodi/temp
14:04:31.324 T:2976038896 NOTICE: The executable running is: /usr/local/lib/kodi/kodi.bin
14:04:31.324 T:2976038896 NOTICE: Local hostname: HOME
14:04:31.324 T:2976038896 NOTICE: Log File is located: /root/.kodi/temp//kodi.log
14:04:31.324 T:2976038896 NOTICE: -----------------------------------------------------------------------
14:04:31.326 T:2976038896 DEBUG: ConsoleUPowerSyscall: org.freedesktop.DBus.Error.FileNotFound - Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
14:04:31.326 T:2976038896 DEBUG: Previous line repeats 1 times.
14:04:31.326 T:2976038896 INFO: Selected Logind/UPower as PowerSyscall
14:04:31.326 T:2976038896 ERROR: DBus: Error org.freedesktop.DBus.Error.FileNotFound - Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
14:04:31.326 T:2976038896 INFO: LogindUPowerSyscall - UPower not found, battery information will not be available
14:04:31.326 T:2976038896 ERROR: DBus: Error org.freedesktop.DBus.Error.FileNotFound - Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
14:04:31.327 T:2976038896 ERROR: Previous line repeats 4 times.
14:04:31.327 T:2976038896 WARNING: LogindUPowerSyscall - failed to inhibit sleep delay lock
14:04:31.327 T:2976038896 ERROR: LogindUPowerSyscall: Failed to get dbus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
14:04:31.327 T:2976038896 DEBUG: UPowerSyscall: org.freedesktop.DBus.Error.FileNotFound - Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
14:04:31.327 T:2976038896 NOTICE: load settings...
14:04:31.338 T:2976038896 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
14:04:31.349 T:2976038896 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/linux.xml
14:04:31.351 T:2976038896 ERROR: PulseAudio: Failed to connect context
14:04:31.351 T:2976038896 NOTICE: PulseAudio might not be running. Context was not created.
14:04:31.352 T:2899309296 DEBUG: Thread FDEventMonitor start, auto delete: false
14:04:31.400 T:2976038896 NOTICE: Found 1 Lists of Devices
14:04:31.400 T:2976038896 NOTICE: Enumerated ALSA devices:
14:04:31.400 T:2976038896 NOTICE: Device 1
14:04:31.400 T:2976038896 NOTICE: m_deviceName : @
14:04:31.400 T:2976038896 NOTICE: m_displayName : Default (Odroid-XU4 S/PDIF)
14:04:31.400 T:2976038896 NOTICE: m_displayNameExtra:
14:04:31.400 T:2976038896 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
14:04:31.400 T:2976038896 NOTICE: m_channels : FL,FR
14:04:31.400 T:2976038896 NOTICE: m_sampleRates : 32000,44100,48000
14:04:31.400 T:2976038896 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE
14:04:31.400 T:2976038896 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
14:04:31.405 T:2976038896 DEBUG: CSkinSettings: no <skinsettings> tag found
14:04:31.406 T:2976038896 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:04:31.406 T:2976038896 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
14:04:31.406 T:2976038896 NOTICE: Default Video Player: VideoPlayer
14:04:31.406 T:2976038896 NOTICE: Default Audio Player: paplayer
14:04:31.406 T:2976038896 NOTICE: Disabled debug logging due to GUI setting. Level 1.
14:04:31.406 T:2976038896 NOTICE: Log level changed to "LOG_LEVEL_DEBUG"
14:04:31.406 T:2976038896 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:04:31.406 T:2976038896 DEBUG: CPlayerCoreConfig::<ctor>: created player VideoPlayer
14:04:31.406 T:2976038896 DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer
14:04:31.406 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
14:04:31.406 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: mms/udp
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtmp
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: aacp/sdp
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
14:04:31.407 T:2976038896 DEBUG: CPlayerSelectionRule::Initialize: creating rule: radio
14:04:31.407 T:2976038896 NOTICE: Loaded playercorefactory configuration
14:04:31.407 T:2976038896 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:04:31.407 T:2976038896 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:04:31.412 T:2976038896 INFO: creating subdirectories
14:04:31.413 T:2976038896 INFO: userdata folder: special://masterprofile/
14:04:31.413 T:2976038896 INFO: recording folder:
14:04:31.413 T:2976038896 INFO: screenshots folder:
14:04:31.418 T:2976038896 NOTICE: Running database version Addons27
14:04:31.418 T:2976038896 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libcpluff-arm.so)
14:04:31.418 T:2976038896 DEBUG: Loading: /usr/local/lib/kodi/system/libcpluff-arm.so
14:04:31.434 T:2976038896 INFO: ADDON: cpluff: 'Could not read plug-in directory /usr/local/lib/kodi/addons: No such file or directory'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.json has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.common.fanart.tv has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in resource.images.weathericons.default has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.audioencoder has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in kodi.audiodecoder has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in webinterface.default has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in repository.xbmc.org has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in screensaver.xbmc.builtin.black has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in kodi.guilib has been installed.'
14:04:31.434 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in kodi.peripheral has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in audioencoder.xbmc.builtin.wma has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in kodi.adsp has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in game.controller.default has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in screensaver.xbmc.builtin.dim has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in kodi.game has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.themoviedb.org has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.metadata has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in service.xbmc.versioncheck has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in kodi.resource has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in script.module.pil has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.gui has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.core has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in skin.estouchy has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in kodi.inputstream has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.pvr has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in audioencoder.xbmc.builtin.aac has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.album.universal has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in resource.language.en_gb has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.common.allmusic.com has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.tvdb.com has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.common.musicbrainz.org has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.local has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.webinterface has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in resource.uisounds.kodi has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.common.themoviedb.org has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.artists.universal has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.common.theaudiodb.com has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in metadata.common.imdb.com has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.python has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.addon has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in xbmc.codec has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Plug-in skin.estuary has been installed.'
14:04:31.435 T:2976038896 DEBUG: ADDON: cpluff: 'Not all directories were successfully scanned.'
14:04:31.446 T:2888823536 DEBUG: Thread JobWorker start, auto delete: true
14:04:31.451 T:2976038896 NOTICE: ADDONS: Using repository repository.xbmc.org
14:04:31.455 T:2878337776 DEBUG: Thread ActiveAE start, auto delete: false
14:04:31.455 T:2867852016 DEBUG: Thread AESink start, auto delete: false
14:04:31.456 T:2867852016 INFO: CActiveAESink::OpenSink - initialize sink
14:04:31.456 T:2867852016 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:@
14:04:31.456 T:2867852016 INFO: CAESinkALSA::Initialize - Attempting to open device "@"
14:04:31.465 T:2867852016 INFO: CAESinkALSA::Initialize - Opened device "sysdefault"
14:04:31.466 T:2867852016 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
14:04:31.466 T:2867852016 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
14:04:31.467 T:2867852016 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2205, bufferSize 8820
14:04:31.467 T:2867852016 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2205, bufferSize 8820
14:04:31.467 T:2867852016 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 200 ms
14:04:31.468 T:2867852016 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
14:04:31.468 T:2867852016 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
14:04:31.468 T:2867852016 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: FL FR)
14:04:31.468 T:2867852016 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
14:04:31.468 T:2867852016 DEBUG: Output Device : Default (Odroid-XU4 S/PDIF)
14:04:31.468 T:2867852016 DEBUG: Sample Rate : 44100
14:04:31.468 T:2867852016 DEBUG: Sample Format : AE_FMT_S24NE4
14:04:31.468 T:2867852016 DEBUG: Channel Count : 2
14:04:31.468 T:2867852016 DEBUG: Channel Layout: FL,FR
14:04:31.468 T:2867852016 DEBUG: Frames : 2205
14:04:31.468 T:2867852016 DEBUG: Frame Size : 8
14:04:31.472 T:2857366256 DEBUG: Thread RemoteControl start, auto delete: false
14:04:31.472 T:2857366256 INFO: LIRC Process: using: /dev/lircd
14:04:31.472 T:2857366256 INFO: LIRC Connect: connect failed: No such file or directory
14:04:31.472 T:2857366256 INFO: CRemoteControl::Process - failed to connect to LIRC, will keep retrying every 5 seconds
14:04:31.475 T:2976038896 INFO: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
14:04:31.476 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Icelandic QWERTY" successfully loaded
14:04:31.476 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Danish QWERTY" successfully loaded
14:04:31.477 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Romanian QWERTY" successfully loaded
14:04:31.477 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Silesian QWERTY" successfully loaded
14:04:31.478 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Croatian QWERTY" successfully loaded
14:04:31.478 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian ЯВЕРТЪ" successfully loaded
14:04:31.479 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian АБВ" successfully loaded
14:04:31.479 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "German QWERTZ" successfully loaded
14:04:31.479 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "German ABC" successfully loaded
14:04:31.480 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Czech QWERTZ" successfully loaded
14:04:31.480 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Russian ЙЦУКЕН" successfully loaded
14:04:31.481 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Russian АБВ" successfully loaded
14:04:31.481 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Turkish QWERTY" successfully loaded
14:04:31.482 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Hungarian QWERTZ" successfully loaded
14:04:31.482 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Portuguese (Portugal) QWERTY" successfully loaded
14:04:31.483 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew QWERTY" successfully loaded
14:04:31.483 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew ABC" successfully loaded
14:04:31.483 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Swedish QWERTY" successfully loaded
14:04:31.484 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Korean ㄱㄴㄷ" successfully loaded
14:04:31.484 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian AZERTY" successfully loaded
14:04:31.485 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian QWERTY" successfully loaded
14:04:31.485 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "English QWERTY" successfully loaded
14:04:31.485 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "English AZERTY" successfully loaded
14:04:31.486 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "English ABC" successfully loaded
14:04:31.486 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Chinese BasePY" successfully loaded
14:04:31.486 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Chinese BaiduPY" successfully loaded
14:04:31.487 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Norwegian QWERTY" successfully loaded
14:04:31.487 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "French AZERTY" successfully loaded
14:04:31.488 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Polish QWERTY" successfully loaded
14:04:31.488 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Slovak QWERTZ" successfully loaded
14:04:31.489 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Slovak QWERTY" successfully loaded
14:04:31.489 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Slovak ABC" successfully loaded
14:04:31.489 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Arabic QWERTY" successfully loaded
14:04:31.490 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Greek QWERTY" successfully loaded
14:04:31.490 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Italian QWERTY" successfully loaded
14:04:31.491 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Spanish QWERTY" successfully loaded
14:04:31.491 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian ЙЦУКЕН" successfully loaded
14:04:31.492 T:2976038896 DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian АБВ" successfully loaded
14:04:31.492 T:2976038896 DEBUG: UDisks: org.freedesktop.DBus.Error.FileNotFound - Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
14:04:31.492 T:2976038896 DEBUG: DeviceKit.Disks: org.freedesktop.DBus.Error.FileNotFound - Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
14:04:31.495 T:2976038896 DEBUG: Selected UDev as storage provider
14:04:31.495 T:2976038896 ERROR: X11 Error: No Display found
14:04:31.495 T:2976038896 FATAL: CApplication::Create: Unable to init windowing system
14:04:31.496 T:2857366256 DEBUG: Failed to connect to LIRC. Giving up.


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
Any ideas? This is a headless server, I was only planning to use it as a media server, not as a player.

Basically something that is equivalent to Plex Media server (including browser support) but open source.

Any help?

Thanks!

Re: [OS] Debian Stretch - Kodi

Posted: Sun May 26, 2019 11:59 pm
by meveric
lele wrote:
Sun May 26, 2019 10:09 pm

Code: Select all

14:04:31.495 T:2976038896   ERROR: X11 Error: No Display found
14:04:31.495 T:2976038896   FATAL: CApplication::Create: Unable to init windowing system
This shows that it's unable to open an X11 Display.
Are you running Kodi from Desktop or from Console?
Console is not supported and you would have to start it with an XServer something like startx kodi-standalone
But I'd rather suggest installing a Desktop for it.

Re: [OS] Debian Stretch

Posted: Mon May 27, 2019 8:00 pm
by lele
Thanks meveric

Re: [OS] Debian Stretch

Posted: Fri Jun 14, 2019 4:28 am
by odro-volti
Hi again!

Updated 2 h ago after some weeks:

Code: Select all

root@xxxxxxxxxxxxxxx:/home/user# apt update
Ign:1 http://ftp.debian.org/debian stretch InRelease
Get:2 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]              
Get:3 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:4 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]            
Hit:5 http://ftp.debian.org/debian stretch Release                                  
Get:6 http://www.deb-multimedia.org stretch InRelease [33.4 kB]                     
Get:7 http://ftp.debian.org/debian stretch-updates/main armhf Packages.diff/Index [10.6 kB]
Get:8 http://ftp.debian.org/debian stretch-updates/main Translation-en.diff/Index [5,656 B]
Get:9 http://ftp.debian.org/debian stretch-updates/main armhf Packages 2019-05-18-1409.05.pdiff [51 B]
Get:9 http://ftp.debian.org/debian stretch-updates/main armhf Packages 2019-05-18-1409.05.pdiff [51 B]
Get:10 http://ftp.debian.org/debian stretch-updates/main Translation-en 2019-05-18-1409.05.pdiff [49 B]
Get:10 http://ftp.debian.org/debian stretch-updates/main Translation-en 2019-05-18-1409.05.pdiff [49 B]
Get:11 http://ftp.debian.org/debian stretch-backports/main armhf Packages.diff/Index [27.8 kB]
Get:12 http://ftp.debian.org/debian stretch-backports/main Translation-en.diff/Index [27.8 kB]
Get:13 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-19-2011.10.pdiff [1,834 B]
Get:14 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-20-0211.12.pdiff [7,426 B]
Get:15 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-23-1419.33.pdiff [4,923 B]                                                              
Get:16 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-23-2019.49.pdiff [1,572 B]
Get:17 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-24-0219.54.pdiff [4,521 B]
Get:18 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-24-1419.20.pdiff [511 B]
Get:19 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-26-2023.26.pdiff [677 B]
Get:20 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-05-29-0219.37.pdiff [439 B]
Get:21 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-06-03-1419.29.pdiff [15.9 kB]
Get:22 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-06-03-2017.41.pdiff [3,362 B]
Get:23 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-06-04-0819.58.pdiff [3,195 B]
Get:24 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-06-05-1411.55.pdiff [486 B]
Get:25 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-06-09-1418.26.pdiff [486 B]
Get:26 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-06-10-2018.07.pdiff [2,871 B]
Get:27 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-05-20-0211.12.pdiff [1,028 B]
Get:28 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-05-23-1419.33.pdiff [3,120 B]
Get:29 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-05-24-1419.20.pdiff [219 B]
Get:30 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-05-26-2023.26.pdiff [410 B]
Get:31 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-05-27-1420.14.pdiff [635 B]
Get:32 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-05-28-2018.53.pdiff [1,015 B]
Get:26 http://ftp.debian.org/debian stretch-backports/main armhf Packages 2019-06-10-2018.07.pdiff [2,871 B]
Get:33 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-06-03-1419.29.pdiff [354 B]
Get:34 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-06-04-0819.58.pdiff [2,439 B]
Get:34 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-06-04-0819.58.pdiff [2,439 B]
Get:36 http://security.debian.org/debian-security stretch/updates/main armhf Packages [480 kB]
Get:37 http://security.debian.org/debian-security stretch/updates/main Translation-en [221 kB]
Get:38 https://oph.mdrjr.net/meveric all InRelease [16.6 kB]                        
Get:39 https://oph.mdrjr.net/meveric stretch InRelease [4,141 B]                    
Get:40 https://oph.mdrjr.net/meveric all/xu3 armhf Packages [24.5 kB]
Get:41 https://oph.mdrjr.net/meveric all/testing armhf Packages [7,419 B]
Get:42 https://oph.mdrjr.net/meveric stretch/main armhf Packages [56.7 kB]
Get:43 https://oph.mdrjr.net/meveric stretch/backports armhf Packages [30.4 kB]
Fetched 1,281 kB in 3s (357 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
but I get:

Code: Select all

root@xxxxxxxxxxxxxxx:/home/user# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.14.120+ linux-image-4.14.120+
The following packages will be upgraded:
  linux-headers-4.14-armhf-odroid-xu4 linux-image-4.14-armhf-odroid-xu4
  setup-odroid
3 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.5 MB of archives.
After this operation, 133 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://oph.mdrjr.net/meveric all/xu3 armhf linux-headers-4.14.120+ armhf 4.14.120-20190523-xu4 [10.9 MB]
Get:2 https://oph.mdrjr.net/meveric all/xu3 armhf linux-image-4.14.120+ armhf 4.14.120-20190523-xu4 [17.3 MB]
Get:3 https://oph.mdrjr.net/meveric all/xu3 armhf linux-headers-4.14-armhf-odroid-xu4 armhf 4.14.120-1 [952 B]
Get:4 https://oph.mdrjr.net/meveric all/xu3 armhf linux-image-4.14-armhf-odroid-xu4 armhf 4.14.120-1 [1,402 B]
Get:5 https://oph.mdrjr.net/meveric stretch/main armhf setup-odroid all 0.0.1-46 [1,368 kB]
Fetched 29.5 MB in 19s (1,525 kB/s)                                                 
Selecting previously unselected package linux-headers-4.14.120+.
(Reading database ... 66177 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.14.120+_4.14.120-20190523-xu4_armhf.deb ...
Unpacking linux-headers-4.14.120+ (4.14.120-20190523-xu4) ...
Selecting previously unselected package linux-image-4.14.120+.
Preparing to unpack .../linux-image-4.14.120+_4.14.120-20190523-xu4_armhf.deb ...
Unpacking linux-image-4.14.120+ (4.14.120-20190523-xu4) ...
Replacing files in old package linux-image-4.14.111+ (4.14.111-20190418-xu4) ...
Preparing to unpack .../linux-headers-4.14-armhf-odroid-xu4_4.14.120-1_armhf.deb ...
Unpacking linux-headers-4.14-armhf-odroid-xu4 (4.14.120-1) over (4.14.111-1) ...
Preparing to unpack .../linux-image-4.14-armhf-odroid-xu4_4.14.120-1_armhf.deb ...
Unpacking linux-image-4.14-armhf-odroid-xu4 (4.14.120-1) over (4.14.111-1) ...
Preparing to unpack .../setup-odroid_0.0.1-46_all.deb ...
Unpacking setup-odroid (0.0.1-46) over (0.0.1-45) ...
Setting up linux-headers-4.14.120+ (4.14.120-20190523-xu4) ...
Setting up setup-odroid (0.0.1-46) ...
Setting up linux-image-4.14.120+ (4.14.120-20190523-xu4) ...
update-initramfs: Generating /boot/initrd.img-4.14.120+
Image Name:   uInitrd
Created:      Thu Jun 13 18:16:48 2019
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    6364492 Bytes = 6215.32 kB = 6.07 MB
Load Address: 00000000
Entry Point:  00000000
mkimage: Write error on /boot/uInitrd-4.14.120+: Success
run-parts: /etc/kernel/postinst.d/uInitrd exited with return code 1
cp: error writing '/boot/zImage': No space left on device
run-parts: /etc/kernel/postinst.d/zImage exited with return code 1
dpkg: error processing package linux-image-4.14.120+ (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (232-25+deb9u11) ...
Setting up linux-headers-4.14-armhf-odroid-xu4 (4.14.120-1) ...
dpkg: dependency problems prevent configuration of linux-image-4.14-armhf-odroid-xu4:
 linux-image-4.14-armhf-odroid-xu4 depends on linux-image-4.14.120+; however:
  Package linux-image-4.14.120+ is not configured yet.

dpkg: error processing package linux-image-4.14-armhf-odroid-xu4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-4.14.120+
 linux-image-4.14-armhf-odroid-xu4
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is it save to reboot at this stage? Or will the install be wrecked?

PS: With

Code: Select all

df -h
I can see that /dev/mmcblk1p1 is /boot and has 71M and is 100% used...

Re: [OS] Debian Stretch

Posted: Fri Jun 14, 2019 5:56 am
by odro-volti
...found this:

viewtopic.php?f=96&t=30552&sid=76ca37ae ... 00#p251125

Code: Select all

apt autoremove --purge
worked... Subsequently "apt upgrade" installed 1 update. Am I done with updates for now?

Re: [OS] Debian Stretch

Posted: Fri Jun 14, 2019 6:02 am
by meveric
odro-volti wrote:
Fri Jun 14, 2019 4:28 am

Code: Select all

cp: error writing '/boot/zImage': No space left on device
So that's the error which you already found means that boot partition is "full"
You need to clean up some space.
You are currently trying to install Kernel 4.14.120+ so everything that has a different version in /boot can be removed.
odro-volti wrote:
Fri Jun 14, 2019 4:28 am
Is it save to reboot at this stage? Or will the install be wrecked?
restarting without completed Kernel update is no a good idea, as this most likely leave you with a broken Kernel.
But once you fixed the space problem and the you can do the update again and everything should finish normally.
odro-volti wrote:
Fri Jun 14, 2019 5:56 am
...found this:

viewtopic.php?f=96&t=30552&sid=76ca37ae ... 00#p251125

Code: Select all

apt autoremove --purge
worked... Subseqently "apt upgrade" installed 1 update. Am I done with updates for now?
Yes that guide should work, it pretty much explains the same thing, and also how to check if the update was completed correctly.
If after cleaning boot (for example with the autoremove --purge) the upgrade process finished normally it should be save to reboot. :)

You can always compare the sizes, of zImage and vzlinuz-<VERSION> and uImage and uImage-<VERSION> to make sure you're fine.

Re: [OS] Debian Stretch

Posted: Fri Jun 14, 2019 12:19 pm
by goldencoin5
meveric
why am i facing this issue on your latest "setup-odroid all 0.0.1-46" upgrade from ver 0.0.1-45 :roll:

Code: Select all

root@debian-stretch:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  setup-odroid
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,368 kB of archives.
After this operation, 57.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://oph.mdrjr.net/meveric stretch/main armhf setup-odroid all 0.0.1-46 [1,368 kB]
Fetched 1,368 kB in 12s (114 kB/s)
(Reading database ... 98380 files and directories currently installed.)
Preparing to unpack .../setup-odroid_0.0.1-46_all.deb ...
Unpacking setup-odroid (0.0.1-46) over (0.0.1-45) ...
Setting up setup-odroid (0.0.1-46) ...
/var/lib/dpkg/info/setup-odroid.postinst: line 363: syntax error near unexpected token `fi'
/var/lib/dpkg/info/setup-odroid.postinst: line 363: `   fi'
dpkg: error processing package setup-odroid (--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for systemd (232-25+deb9u11) ...
Errors were encountered while processing:
 setup-odroid
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

root@debian-stretch:~# apt-get install --reinstall setup-odroid
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for setup-odroid:armhf

Code: Select all

root@debian-stretch:~# dpkg --configure -a
Setting up setup-odroid (0.0.1-46) ...
/var/lib/dpkg/info/setup-odroid.postinst: line 363: syntax error near unexpected token `fi'
/var/lib/dpkg/info/setup-odroid.postinst: line 363: `   fi'
dpkg: error processing package setup-odroid (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 setup-odroid

Re: [OS] Debian Stretch

Posted: Fri Jun 14, 2019 1:04 pm
by meveric
The first packages I uploaded had an typo but I fixed that. Seems you downloaded the one that was not yet fixed.
Try the following:

Code: Select all

apt update
apt download setup-odroid
dpkg -i setup-odroid_0.0.1-46_all.deb

Re: [OS] Debian Stretch

Posted: Fri Jun 14, 2019 11:55 pm
by odro-volti
Soryy, me again :-)

I installed iperf3 and started successfully a server on the odro. But I can't reach it from within the same network (clients time-out). Is there any kind of firewall active in the debian image? Could not find /etc/iptables/rules though...

PS: Ok, there is apparently an iptables running, but without any rules, according to "iptables -L -n", but how can I reach the samba server on the odroid anyway? I don't get it...

Re: [OS] Debian Stretch

Posted: Sat Jun 15, 2019 12:57 am
by meveric
As you figured out already there is no firewall running.
Make sure Samba is really up and running. The processes are probably called smbd and nmbd if I remember correctly. Samba itself is no longer used as a service.
Check with netstat -npl if ports are bound as well.

Re: [OS] Debian Stretch

Posted: Sat Jun 15, 2019 1:01 am
by odro-volti
Samba is up and running, what I can't reach is iperf3 server on the odroid (which is up and running according to :

Code: Select all

#iperf3 -s -4 -f k
______________________________
Server listening on 5201
______________________________
...but all clients in the SAME network time-out while trying to connect. No problem to reach iperf3 servers on other linux installs in this network.

Re: [OS] Debian Stretch

Posted: Sat Jun 15, 2019 3:07 am
by goldencoin5
meveric wrote:
Fri Jun 14, 2019 1:04 pm
The first packages I uploaded had an typo but I fixed that. Seems you downloaded the one that was not yet fixed.
Try the following:

Code: Select all

apt update
apt download setup-odroid
dpkg -i setup-odroid_0.0.1-46_all.deb
it works, thanks meveric for making typo correction.

Re: [OS] Debian Stretch

Posted: Wed Jun 26, 2019 10:56 am
by lbengston
Nice work on that script to install the desktop, etc. I installed MATE. Things seem OK, but neither Chromium nor Firefox will start. I added the 3D and openGL stuff documented earlier for Chromium, but it didn't solve it. The lightweight Dillo browser works fine, but it's limited, of course. Thanks.

Re: [OS] Debian Stretch

Posted: Wed Jun 26, 2019 2:06 pm
by meveric
There seems to be in bug in later version of Chromium that cause issues, check the versions:

Code: Select all

apt-cache policy chromium
If you install version 63 it will work.

Code: Select all

apt-get install chromium=63.0.3239.84-1~deb9u1
apt-mark hold chromium
Apparently the bug is fixed on Ubuntu, but Debian has not solved this bug.

Re: [OS] Debian Stretch

Posted: Thu Jun 27, 2019 9:30 am
by lbengston
Thanks. Before I saw your reply I decided to try Arch Linux. I may revisit Stretch soon, though, and if I do I'll try version 63. I have not installed a desktop yet in Arch.

Re: [OS] Debian Stretch

Posted: Fri Jul 05, 2019 4:37 am
by meveric
Tester wanted:
with the help of @Steevee28 and his port of Kodi 18.3 to the ODROID U3 (OpenGL ES / X11) I was able to build a package for Debian Stretch for ODROID XU3/XU4.
I've uploaded my packages to:
https://oph.mdrjr.net/meveric/other/tes ... i-18-GLES/

It's currently using ffmpeg for hardware decoding, as there are some issues with the MFC decoder for XU3/XU4 at the moment, but I hope @Oversun can help us out here.
Kodi 18.3 in the link above is made for X11 desktops such as MATE, LXDE, XFCE and alike.
I also put some effort into porting most of the addons for Kodi 18, including some very nice 3D stuff such as:

ProjectM - audio visualization:
Image

Shadertoy - audio visualization:
Image

Screensavers:
Image

There are also PVR plugins, audio plugins, inputstream adaptive and rtmp, and others available

Please let me know what you think, if you encounter issues, or find it stable enough to use.

Re: [OS] Debian Stretch

Posted: Fri Jul 05, 2019 4:30 pm
by AreaScout
    Woho, great that Kodi is back to X11 !! :)

    Now we have enough of newest Kodi builds, for X11 and/or without X11 on GBM -> that's cool, the only thing is missing now is that we have those packages also for Ubuntu and HK uses it on there package servers and my GBM Kodi also

    So you would have the possibility to install package kodi-odroid for X11 OS's and kodi and kodi-bin for non X11 OS's, wouldn't that be cool ?

    RG

    Re: [OS] Debian Stretch

    Posted: Fri Jul 05, 2019 5:07 pm
    by meveric
    Meh.... Ubuntu? Who cares
    Maybe I create another package for GBM as well later on. That way you can either install kodi-odroid or kodi-gbm-odroid or something like that
    I also need to check on AML support under X11 see if I can do something about that.

    Re: [OS] Debian Stretch

    Posted: Thu Jul 11, 2019 9:43 pm
    by dominic
    meveric, do you have any plans to release a debian buster version? I would like to update to get php 7.3 directly from debian instead of a thrid party.

    Re: [OS] Debian Stretch

    Posted: Thu Jul 11, 2019 10:34 pm
    by meveric
    I will release Debian Buster image, but it may take a little while as I have to port different drivers and applications first.
    At least the Desktop and GPU should work before I publish the image.

    If you don't need Desktop or GPU drivers, you should already be able to simply upgrade the image to Buster.
    The Kernel is handled in a different repository therefore it doesn't matter what OS/Version you use, you still get Kernel updates.

    Re: [OS] Debian Stretch

    Posted: Fri Jul 12, 2019 2:20 am
    by dominic
    nice, let's see if I find some free time at the weekend

    Re: [OS] Debian Stretch

    Posted: Sat Jul 20, 2019 4:42 pm
    by Bernini
    meveric wrote:
    Thu Jul 11, 2019 10:34 pm
    If you don't need Desktop or GPU drivers, you should already be able to simply upgrade the image to Buster.
    The Kernel is handled in a different repository therefore it doesn't matter what OS/Version you use, you still get Kernel updates.
    Indeed, I'm running a headless setup and have been running Buster + your 4.14 kernels for quite a while now. Thanks for your hard work.