[OS] Debian Stretch

User avatar
AreaScout
Posts: 1034
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 13 times
Been thanked: 42 times
Contact:

Re: [OS] Debian Stretch

Unread post by AreaScout » Wed Dec 19, 2018 5:59 am

    @Zeppelin500

    As for the python error, you can try this:

    /usr/lib/python3.5/weakref.py

    [b]line 109:[/b] def remove(wr, selfref=ref(self)): [b]replace with:[/b] def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):

    [b]line 117:[/b] _remove_dead_weakref(d, wr.key) [b]replace with:[/b] _atomic_removal(d, wr.key)

    RG

    Zeppelin500
    Posts: 15
    Joined: Mon Dec 04, 2017 5:22 am
    languages_spoken: english, german
    ODROIDs: HC1, C2
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Zeppelin500 » Wed Dec 19, 2018 6:32 am

    Hi Maveric,

    thank you.
    the weakref issue is known at omv. The fix is:

    Code: Select all

    mcedit /usr/lib/python3.5/weakref.py
    
    Zeile 109 von:
    def remove(wr, selfref=ref(self)):
    nach:
    def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):
    
    und Zeile 117 von:
    _remove_dead_weakref(d, wr.key)
    nach:
    _atomic_removal(d, wr.key)
    I have cleaned the boot directory and now 33MiB from 70MiB free.

    Now without a failure. Your Stretch with OMV 4.1 and tvhaedend.

    Thank you again!

    EDIT: @AreaScout: Thank you, i found the same

    ricain
    Posts: 5
    Joined: Fri Dec 21, 2018 6:48 am
    languages_spoken: english
    ODROIDs: xu4
    Has thanked: 1 time
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by ricain » Fri Dec 21, 2018 6:51 am

    Hi,

    First thank you for you work.

    I've try do raid1 but i've this error kernel:

    Code: Select all

    root@debian-stretch:~# mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb1
    mdadm: /dev/sdb1 appears to be part of a raid array:
           level=raid0 devices=0 ctime=Thu Jan  1 00:00:00 1970
    mdadm: partition table exists on /dev/sdb1 but will be lost or
           meaningless after creating array
    mdadm: Note: this array has metadata at the start and
        may not be suitable as a boot device.  If you plan to
        store '/boot' on this device please ensure that
        your boot-loader understands md/v1.x metadata, or use
        --metadata=0.90
    Continue creating array? yes
    mdadm: unexpected failure opening /dev/md0
    
    root@debian-stretch:~# modprobe raid1
    modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.14.81+/modules.dep.bin'
    modprobe: FATAL: Module raid1 not found in directory /lib/modules/4.14.81+
    
    How resolve this?

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Fri Dec 21, 2018 7:08 am

    good question, works on my side.
    Can you try updating to the latest Kernel 4.14.87+ and see if that changes anything?
    I tested it on Kernel 4.14.73+ and 4.14.87+ in both cases modprobe raid1 works perfectly fine.

    Code: Select all

    root@hel:~# lsmod
    Module                  Size  Used by
    sg                     32768  0
    evdev                  24576  0
    w1_gpio                16384  0
    wire                   24576  1 w1_gpio
    gpio_keys              20480  0
    uio_pdrv_genirq        16384  0
    exynos_gpiomem         16384  0
    uio                    16384  1 uio_pdrv_genirq
    fb_ili9340             16384  1
    fbtft_device           40960  0
    fbtft                  36864  2 fbtft_device,fb_ili9340
    spidev                 20480  0
    spi_s3c64xx            20480  0
    ip_tables              24576  0
    ipv6                  376832  32
    sd_mod                 45056  2
    uas                    20480  0
    usb_storage            49152  2 uas
    scsi_mod              135168  4 sd_mod,usb_storage,uas,sg
    extcon_usb_gpio        16384  0
    
    root@hel:~# modinfo raid1
    filename:       /lib/modules/4.14.87+/kernel/drivers/md/raid1.ko
    alias:          md-level-1
    alias:          md-raid1
    alias:          md-personality-3
    description:    RAID1 (mirroring) personality for MD
    license:        GPL
    depends:        md-mod
    intree:         Y
    name:           raid1
    vermagic:       4.14.87+ SMP preempt mod_unload ARMv7 p2v8 
    parm:           max_queued_requests:int
    
    root@hel:~# modprobe raid1
    root@hel:~# lsmod
    Module                  Size  Used by
    raid1                  40960  0
    md_mod                122880  1 raid1
    sg                     32768  0
    evdev                  24576  0
    w1_gpio                16384  0
    wire                   24576  1 w1_gpio
    gpio_keys              20480  0
    uio_pdrv_genirq        16384  0
    exynos_gpiomem         16384  0
    uio                    16384  1 uio_pdrv_genirq
    fb_ili9340             16384  1
    fbtft_device           40960  0
    fbtft                  36864  2 fbtft_device,fb_ili9340
    spidev                 20480  0
    spi_s3c64xx            20480  0
    ip_tables              24576  0
    ipv6                  376832  32
    sd_mod                 45056  2
    uas                    20480  0
    usb_storage            49152  2 uas
    scsi_mod              135168  4 sd_mod,usb_storage,uas,sg
    extcon_usb_gpio        16384  0
    
    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.

    ricain
    Posts: 5
    Joined: Fri Dec 21, 2018 6:48 am
    languages_spoken: english
    ODROIDs: xu4
    Has thanked: 1 time
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by ricain » Fri Dec 21, 2018 8:29 am

    how upgrade to this kernel?

    Thank you for help.

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Fri Dec 21, 2018 3:03 pm

    just do standard os update with apt, as described on first post.
    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.

    ricain
    Posts: 5
    Joined: Fri Dec 21, 2018 6:48 am
    languages_spoken: english
    ODROIDs: xu4
    Has thanked: 1 time
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by ricain » Fri Dec 21, 2018 8:14 pm

    Nice works now ;)

    Thank you and merry christmas :)

    Zeppelin500
    Posts: 15
    Joined: Mon Dec 04, 2017 5:22 am
    languages_spoken: english, german
    ODROIDs: HC1, C2
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Zeppelin500 » Sat Dec 22, 2018 5:44 am

    Hi Maveric,

    I do the upgrade and now:

    Code: Select all

    root@nas:~# apt --fix-broken install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
      linux-image-4.14.87+
    The following NEW packages will be installed:
      linux-image-4.14.87+
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/17.3 MB of archives.
    After this operation, 56.8 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 62758 files and directories currently installed.)
    Preparing to unpack .../linux-image-4.14.87+_4.14.87-20181220-xu4_armhf.deb ...
    Unpacking linux-image-4.14.87+ (4.14.87-20181220-xu4) ...
    Replacing files in old package linux-image-4.14.81+ (4.14.81-20181116-xu4) ...
    dpkg: error processing archive /var/cache/apt/archives/linux-image-4.14.87+_4.14.87-20181220-xu4_armhf.deb (--unpack):
     unable to make backup link of './boot/exynos5422-odroidhc1.dtb' before installing new version: Operation not permitted
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/linux-image-4.14.87+_4.14.87-20181220-xu4_armhf.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
    may be I delete to much at /boot ?

    I try to delete the content of /var/cache/apt/archives/ but without success.

    Thank you

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Sat Dec 22, 2018 7:16 am

    Zeppelin500 wrote:
    Sat Dec 22, 2018 5:44 am

    Code: Select all

     unable to make backup link of './boot/exynos5422-odroidhc1.dtb' before installing new version: Operation not permitted
    
    may be I delete to much at /boot ?
    Nope, it has some issues with the file /boot/exynos5422-odroidhc1.dtb, but that's no big deal, just delete it and when you update the Kernel it will be recreated.
    In fact, everything inside /boot/ except for the boot.ini can be deleted, if need be, and will be re-created when updating the Kernel :)

    exynos5422-odroidhc1.dtb and exynos5422-odroidxu4-kvm.dtb were missing in my "cleanup scripts" so these two have to be removed manually.
    The next update will fix this, but this will happen once again but after that it won't happen again (scripts are executed BEFORE the update is installed, so the next update will fix it for the update "after that"... kinda complicated to explain)
    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.

    Dombo71
    Posts: 23
    Joined: Wed Jun 14, 2017 3:34 am
    languages_spoken: english / duttch
    ODROIDs: Xu4 :-)
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Dombo71 » Mon Dec 31, 2018 9:38 am

    Dear All

    Thanks developer...!!

    is this the X64 version?
    Or is there perhaps a other version X64?

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Mon Dec 31, 2018 9:43 am

    the ODROID XU4, is a armhf device and not an X64, there is no X64 images for the XU4.
    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
    rooted
    Posts: 6585
    Joined: Fri Dec 19, 2014 9:12 am
    languages_spoken: english
    Location: Gulf of Mexico, US
    Has thanked: 88 times
    Been thanked: 17 times
    Contact:

    Re: [OS] Debian Stretch

    Unread post by rooted » Mon Dec 31, 2018 9:44 am

    Dombo71 wrote:Dear All

    Thanks developer...!!

    is this the X64 version?
    Or is there perhaps a other version X64?
    X64 is PC, this is ARM.

    If you are asking if this is ARM64 it is not, the Exynos 5422 is 32bit only.

    Dombo71
    Posts: 23
    Joined: Wed Jun 14, 2017 3:34 am
    languages_spoken: english / duttch
    ODROIDs: Xu4 :-)
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Dombo71 » Mon Dec 31, 2018 6:32 pm

    rooted wrote:
    Mon Dec 31, 2018 9:44 am
    Dombo71 wrote:Dear All

    Thanks developer...!!

    is this the X64 version?
    Or is there perhaps a other version X64?
    X64 is PC, this is ARM.

    If you are asking if this is ARM64 it is not, the Exynos 5422 is 32bit only.
    .

    Thanks i think am running in my Xu4 Much Thanks for all the work.. :D


    Some questions
    When i do this what's going to happend?
    ScreenShot159.jpg
    ScreenShot159.jpg (39.33 KiB) Viewed 3600 times
    Is this better for the OS? And can u i use the sd then for a kind of Hdd?
    How should i doe this?

    Other thing?
    I did @ a user.. giv it root rights...
    Only when i try to install or i give a command
    Evry time i get a error no right etc..
    And i give the new user root rights
    ScreenShot160.jpg
    ScreenShot160.jpg (43.32 KiB) Viewed 3600 times
    Some other thing my lan IP is changing every time...
    And i give the Xu4 a fixed ip in my Asus router?

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Mon Dec 31, 2018 7:21 pm

    Dombo71 wrote:
    Mon Dec 31, 2018 6:32 pm
    Some questions
    When i do this what's going to happend?
    It will format a HDD/SDD and prepares it for the use with LVM and copies the rootfs on the HDD/SDD.
    Dombo71 wrote:
    Mon Dec 31, 2018 6:32 pm
    Is this better for the OS?
    SD cards are often very limited both in size but also in lifetime the more you use an SD the slower it gets.
    This may take months or even years, but if you use an SD card very extremely it can already after some weeks.
    eMMCs do have this "wearing" as well, but it's not as bad as it is on SD cards.
    HDDs don't have this issue. You can easily connect a 1TB HDD and use it for many years under a lot of stress.
    Dombo71 wrote:
    Mon Dec 31, 2018 6:32 pm
    And can u i use the sd then for a kind of Hdd?
    You still need the SD card to boot (bootfs with boot.ini and such is still required to start the system) But the rest of the SD card (the former rootfs) can be used for other things if you want this.
    Dombo71 wrote:
    Mon Dec 31, 2018 6:32 pm
    How should i doe this?
    How should you do what exactly? Use the SD card for other things, or how should you put the rootfs on HDD?
    Dombo71 wrote:
    Mon Dec 31, 2018 6:32 pm
    Other thing?
    I did @ a user.. giv it root rights...
    Only when i try to install or i give a command
    Evry time i get a error no right etc..
    And i give the new user root rights
    This means the user is allowed to use the "sudo" command to run commands that require root privileges.
    It doesn't mean he is root all the time.
    For example:

    Code: Select all

    apt install clementine
    will fail as the user has no root permissions, but you can run:

    Code: Select all

    sudo apt install clementine
    as the user has the right to use the sudo command.
    Dombo71 wrote:
    Mon Dec 31, 2018 6:32 pm
    Some other thing my lan IP is changing every time...
    And i give the Xu4 a fixed ip in my Asus router?
    There are different ways to set an IP fixed.
    If you use command line only you can alter /etc/network/interfaces and set a static IP for your ODROID (please search on google how to do so search for /etc/network/interfaces and you should find plenty of guides)
    If you're using a Desktop like MATE you have the network manager installed, and can configure your network by right clicking the network symbol and configure your network this way.
    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.

    Dombo71
    Posts: 23
    Joined: Wed Jun 14, 2017 3:34 am
    languages_spoken: english / duttch
    ODROIDs: Xu4 :-)
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Dombo71 » Tue Jan 01, 2019 2:47 am

    Dear meveric

    Thanks for the support.
    First nice 2019!!!

    I will not install a desktop because i do not need, to save memory.
    i do everything with CLi.


    What can i run on the memory on the board?
    When i move to the os Xu4 menory..
    What do i have left? CAn i run there a lot of other stuff?
    Or is the memory not so much?

    I did @ a pi user, because fr my homeautomation is use a lot of scripts with pi..
    And i use now a pi 3 that is working bad.. not fast for all my stuff.

    Only when i try :

    Code: Select all

    pi@Domoticz-stretch:~$ apt install clementine
    E: Kon het vergrendelingsbestand /var/lib/dpkg/lock niet openen - open (13: Toeg                                                              ang geweigerd)
    E: Kan de beheersmap (/var/lib/dpkg/) niet vergrendelen. Heeft u beheerdersrecht                                                              en?
    pi@Domoticz-stretch:~$
    I get a error that i do have any rights..

    When i use sudo:

    Code: Select all

    i@Domoticz-stretch:~$ sudo apt install clementine
    -bash: sudo: opdracht niet gevonden
    pi@Domoticz-stretch:~$
    
    He cannot find the command..?

    And as root:

    Code: Select all

    apt install clementine
    Pakketlijsten worden ingelezen... Klaar
    Boom van vereisten wordt opgebouwd
    De statusinformatie wordt gelezen... Klaar
    De volgende extra pakketten zullen ge▒nstalleerd worden:
      dconf-gsettings-backend dconf-service fontconfig fontconfig-config
      fonts-dejavu-core glib-networking glib-networking-common
      glib-networking-services gsettings-desktop-schemas gstreamer1.0-plugins-base
      gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly iso-codes liba52-0.7.4
      libaa1 libasyncns0 libaudio2 libavc1394-0 libavcodec57 libavutil55 libcaca0
      libcairo-gobject2 libcairo2 libcap2-bin libcdio13 libcdparanoia0
      libchromaprint1 libcrypto++6 libdconf1 libdrm2 libdv4 libdvdread4
      libfftw3-double3 libflac8 libfontconfig1 libfreetype6 libftgl2
      libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-glx libglapi-mesa
      libglew2.0 libglu1-mesa libgomp1 libgpod4 libgsm1
      libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libice6
      libiec61883-0 libimobiledevice6 libjack-jackd2-0 libjbig0 libjpeg62-turbo
      liblastfm1 liblcms2-2 libmad0 libmng1 libmp3lame0 libmpeg2-4 libmpg123-0
      libmtp-common libmtp9 libmygpo-qt1 libogg0 libopencore-amrnb0
      libopencore-amrwb0 libopenjp2-7 libopus0 liborc-0.4-0 libpixman-1-0
      libplist3 libpng16-16 libprojectm2v5 libprotobuf10 libproxy1v5 libpulse0
      libqjson0 libqt4-dbus libqt4-network libqt4-opengl libqt4-sql
      libqt4-sql-sqlite libqt4-xml libqtcore4 libqtdbus4 libqtgui4 libqxt-core0
      libqxt-gui0 libraw1394-11 libsamplerate0 libshine3 libshout3 libsidplay1v5
      libsm6 libsnappy1v5 libsndfile1 libsoup2.4-1 libsoxr0 libspeex1
      libswresample2 libtag1v5 libtag1v5-vanilla libtheora0 libtiff5 libtwolame0
      libusb-1.0-0 libusbmuxd4 libv4l-0 libv4lconvert0 libva-drm1 libva-x11-1
      libva1 libvdpau1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvpx4
      libwavpack1 libwebp6 libwebpmux2 libx11-6 libx11-data libx11-xcb1
      libx264-148 libx265-95 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
      libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb1 libxdamage1
      libxdmcp6 libxext6 libxfixes3 libxi6 libxml2 libxrender1 libxshmfence1
      libxt6 libxtst6 libxvidcore4 libxxf86vm1 libzvbi-common libzvbi0
      projectm-data qdbus qtchooser qtcore4-l10n shared-mime-info x11-common
    Voorgestelde pakketten:
      gstreamer1.0-plugins-bad gvfs isoquery nas libdv-bin oss-compat libdvdcss2
      libfftw3-bin libfftw3-dev glew-utils libvisual-0.4-plugins
      gstreamer1.0-tools libusbmuxd-tools jackd2 liblcms2-utils opus-tools
      pulseaudio libqt4-dev libthai0 qt4-qtconfig libraw1394-doc sidplay-base
      speex
    Aanbevolen pakketten:
      gstreamer1.0-alsa | gstreamer1.0-pulseaudio gstreamer1.0-x libpam-cap
      libdvdnav4 libgl1-mesa-dri libgpod-common usbmuxd libmtp-runtime libcups2
      qt-at-spi va-driver-all | va-driver vdpau-driver-all | vdpau-driver xml-core
    De volgende NIEUWE pakketten zullen ge▒nstalleerd worden:
      clementine dconf-gsettings-backend dconf-service fontconfig
      fontconfig-config fonts-dejavu-core glib-networking glib-networking-common
      glib-networking-services gsettings-desktop-schemas gstreamer1.0-plugins-base
      gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly iso-codes liba52-0.7.4
      libaa1 libasyncns0 libaudio2 libavc1394-0 libavcodec57 libavutil55 libcaca0
      libcairo-gobject2 libcairo2 libcap2-bin libcdio13 libcdparanoia0
      libchromaprint1 libcrypto++6 libdconf1 libdrm2 libdv4 libdvdread4
      libfftw3-double3 libflac8 libfontconfig1 libfreetype6 libftgl2
      libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-glx libglapi-mesa
      libglew2.0 libglu1-mesa libgomp1 libgpod4 libgsm1
      libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libice6
      libiec61883-0 libimobiledevice6 libjack-jackd2-0 libjbig0 libjpeg62-turbo
      liblastfm1 liblcms2-2 libmad0 libmng1 libmp3lame0 libmpeg2-4 libmpg123-0
      libmtp-common libmtp9 libmygpo-qt1 libogg0 libopencore-amrnb0
      libopencore-amrwb0 libopenjp2-7 libopus0 liborc-0.4-0 libpixman-1-0
      libplist3 libpng16-16 libprojectm2v5 libprotobuf10 libproxy1v5 libpulse0
      libqjson0 libqt4-dbus libqt4-network libqt4-opengl libqt4-sql
      libqt4-sql-sqlite libqt4-xml libqtcore4 libqtdbus4 libqtgui4 libqxt-core0
      libqxt-gui0 libraw1394-11 libsamplerate0 libshine3 libshout3 libsidplay1v5
      libsm6 libsnappy1v5 libsndfile1 libsoup2.4-1 libsoxr0 libspeex1
      libswresample2 libtag1v5 libtag1v5-vanilla libtheora0 libtiff5 libtwolame0
      libusb-1.0-0 libusbmuxd4 libv4l-0 libv4lconvert0 libva-drm1 libva-x11-1
      libva1 libvdpau1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvpx4
      libwavpack1 libwebp6 libwebpmux2 libx11-6 libx11-data libx11-xcb1
      libx264-148 libx265-95 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
      libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb1 libxdamage1
      libxdmcp6 libxext6 libxfixes3 libxi6 libxml2 libxrender1 libxshmfence1
      libxt6 libxtst6 libxvidcore4 libxxf86vm1 libzvbi-common libzvbi0
      projectm-data qdbus qtchooser qtcore4-l10n shared-mime-info x11-common
    0 opgewaardeerd, 157 nieuw ge▒nstalleerd, 0 te verwijderen en 0 niet opgewaardee                                              rd.
    Er moeten 48,6 MB aan archieven opgehaald worden.
    Na deze bewerking zal er 140 MB extra schijfruimte gebruikt worden.
    Wilt u doorgaan? [J/n]
    
    So i hope..

    Thanks

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Tue Jan 01, 2019 8:17 pm

    Dombo71 wrote:
    Tue Jan 01, 2019 2:47 am
    Dear meveric

    Thanks for the support.
    First nice 2019!!!
    Thanks and the same to you :)
    Dombo71 wrote:
    Tue Jan 01, 2019 2:47 am
    What can i run on the memory on the board?
    When i move to the os Xu4 menory..
    What do i have left? CAn i run there a lot of other stuff?
    Or is the memory not so much?
    Not sure if I understand you correctly, it sounds like you want to move the OS to the RAM instead of running it from SD/eMMC.
    The system has about 2GB of RAM (a little less after Kernel is loaded).
    if you move the entire OS into RAM, you probably have about 1.5GB RAM left.
    Depending on what programs you install probably even less than that.
    I'm not a fan of running the OS in RAM but that's your decision, but I don't even know how you would do this.
    Not sure what you consider "a lot of other stuff", but 1.5GB (or less) RAM is not much.
    When you start with things like apache or mysql server, then that's gone before you even stared to run anything big.
    Dombo71 wrote:
    Tue Jan 01, 2019 2:47 am
    I did @ a pi user, because fr my homeautomation is use a lot of scripts with pi..
    And i use now a pi 3 that is working bad.. not fast for all my stuff.

    Only when i try :

    Code: Select all

    pi@Domoticz-stretch:~$ apt install clementine
    E: Kon het vergrendelingsbestand /var/lib/dpkg/lock niet openen - open (13: Toeg                                                              ang geweigerd)
    E: Kan de beheersmap (/var/lib/dpkg/) niet vergrendelen. Heeft u beheerdersrecht                                                              en?
    pi@Domoticz-stretch:~$
    I get a error that i do have any rights..

    When i use sudo:

    Code: Select all

    i@Domoticz-stretch:~$ sudo apt install clementine
    -bash: sudo: opdracht niet gevonden
    pi@Domoticz-stretch:~$
    
    He cannot find the command..?
    Yes, that probably means that "sudo" is not installed yet, it is automatically installed if you install a Desktop, but you can simply install it and the command should work with your user as well.
    Let me know if not.
    Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
    Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
    If you want to add my repository to your image read my HOWTO integrate my repo into your image.

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

    Re: [OS] Debian Stretch

    Unread post by aberrio » Thu Jan 03, 2019 10:44 pm

    Hi,

    I am reviving this issues now that I have 6 server down after a full upgrade. I managed to have those server running without a problem. Employee did a full upgrade and they are not booting any more.

    Does the new image has problems with Western Digital HDD? I posted the same issue before without a solution from you and decide to keep old image on the servers.

    I can say with confidence that the image has problem. Here new update on this. After the servers went down I try to fix my cloudserver because is the only with HDMI port the other I am not able to remote login.

    I transfer the system manually a few times with the same result stop at random: crg ...... I do not remember how many times. I decide to use setup-odroid even I not much familiar with LVM, thinking that I was the problem, but guess the process also failed at the same location unable to load sda1.

    I was able to have the cloudserver up and running with the old image.

    Any Ideas> also, How to fix other server I need the data on the HDD.

    Kind regards,


    Al

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

    Re: [OS] Debian Stretch

    Unread post by aberrio » Fri Jan 04, 2019 1:39 am

    Hi,

    I think I found a solution for this. I added rootdelay to boot.ini. I am able to upgrade and reboot. I will add tho the other server latter today. The cloudshell is operational.

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Fri Jan 04, 2019 1:46 am

    aberrio wrote:
    Thu Jan 03, 2019 10:44 pm
    Hi,

    I am reviving this issues now that I have 6 server down after a full upgrade. I managed to have those server running without a problem. Employee did a full upgrade and they are not booting any more.
    There was recently an update of the Kernel, which caused some issue during update which needs some manual fixing.
    Two .dtb files were not removed automatically and for this the Kernel update failed.
    Once these files are removed manually the Kernel updated succeeded. If your users restarted the system, with a failed Kernel update, then yes, this could result in a system that doesn't boot anymore.
    But this also would mean that the users ignored the warnings that the update failed.
    aberrio wrote:
    Thu Jan 03, 2019 10:44 pm
    Does the new image has problems with Western Digital HDD? I posted the same issue before without a solution from you and decide to keep old image on the servers.
    I'm not aware of any issues with Western Digital HDDs, and it's unlikely the Kernel has issues with a specific vendor.
    aberrio wrote:
    Thu Jan 03, 2019 10:44 pm
    I transfer the system manually a few times with the same result stop at random: crg ...... I do not remember how many times.
    The problem with the output on the screen is that it doesn't show the actual issue with the system.
    The output "random: crg" doesn't give any hint of what the real issue is, it's just the last step that was output on the screen, but not necessarily the last step that was performed, not the step that caused the issue.
    The only reliable information about what could be the issue is the output of UART via serial console, this is the only output that caches all the steps that the system performs, including the errors that might pop up in the background.
    Most of the time when a system doesn't do anything anymore, on the UART you can see that the system booted into recovery initramfs and waits for user input.
    aberrio wrote:
    Thu Jan 03, 2019 10:44 pm
    Any Ideas> also, How to fix other server I need the data on the HDD.
    It is really hard to figure out what could be the issue.
    I understand that this is frustrating, but the information I have are inconclusive to create a diagnosis.
    I'm using several images running on Debian which have HDD connected, in fact most of my ODROIDs run off HDDs as I can't store all the data I need on SDs or eMMCs.
    I run Owncloud as a cloud service off my ODROIDs for several years now, I run a backup server that backups several ODROIDs with a 4 TB HDD connected.
    I have a Cloudshell 2 running, with 2x 3TB HDDs. So generally this is working.

    Why exactly your setup is currently having issue is something that I have a hard time figuring out.
    I would need more logs and access to boot.ini, Kernel files etc. to see what could be the issue.

    You can start by showing me the content of your bootfs and your boot.ini again.
    Having access to the syslog would be good, even better would be access to the output of UART as this is most likely the only conclusive information what could go wrong.
    aberrio wrote:
    Fri Jan 04, 2019 1:39 am
    Hi,

    I think I found a solution for this. I added rootdelay to boot.ini. I am able to upgrade and reboot. I will add tho the other server latter today. The cloudshell is operational.
    This could indicate, that the HDD actually have issue to boot up fast enough. Which is strange, as the OS normally waits for several seconds for the HDD to start up.
    I see this on my systems as well, but never had to add rootdelay.
    Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
    Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
    If you want to add my repository to your image read my HOWTO integrate my repo into your image.

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

    Re: [OS] Debian Stretch

    Unread post by aberrio » Fri Jan 04, 2019 2:11 am

    Hi,

    The old image on the system works fine no problem booting from HDD but as long I upgrade the image cause the problem, looks that the upgraded image did not wait until HDD is ready but adding the rootdelay fix the problem.

    One more question , editing boot.ini in another system should work fine? or I need to update the UUI and boot from sd and do the process again without formatting HDD to preserve data on it?

    Thx for you reply

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Fri Jan 04, 2019 2:19 am

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

    Although it might require a different Linux system to access HDD or SD to fix the issue.
    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.

    kappahd
    Posts: 36
    Joined: Tue Jun 19, 2018 6:51 am
    languages_spoken: english
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by kappahd » Wed Jan 16, 2019 3:10 am

    Will apt-get update && apt-get upgrade && apt-get dist-upgrade upgrade the kernel too?

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Wed Jan 16, 2019 3:33 am

    kappahd wrote:
    Wed Jan 16, 2019 3:10 am
    Will apt-get update && apt-get upgrade && apt-get dist-upgrade upgrade the kernel too?
    yes
    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.

    Agrartec
    Posts: 3
    Joined: Thu Jan 24, 2019 9:11 pm
    languages_spoken: english, german
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Agrartec » Thu Jan 24, 2019 9:24 pm

    I have a Problem with this image.
    I install The LXDE Desktop.
    When i try to Open Firefox esr (up-to-date via alt-get) it crash instantly.
    Same with chromium and iceweasel.
    At Firefox and iceweasel i get the Crash-report instantly.
    At chromium the spinnig Wheel turn some seconds than nothing.

    Has anyone an idea?

    I like to use the xu4 for resilio as a always on device.

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Thu Jan 24, 2019 9:29 pm

    1. How did you install LXDE Desktop?
    2. Have you tried any other Desktop aside of LXDE (MATE for example)?
    3. Chromium is known to have issues at the moment, but you can try this: viewtopic.php?p=235086#p235086
    Not sure about FireFox though, normally I don't use it since Chromium performs 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.

    Agrartec
    Posts: 3
    Joined: Thu Jan 24, 2019 9:11 pm
    languages_spoken: english, german
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Agrartec » Fri Jan 25, 2019 12:18 am

    Hey I did the install with the setup-odroid tool, which is part of the download.
    I didn't try an other desktop, I could install the other desktop but I have no idea how I can switch between the desktops.
    I will try the link this evening

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Fri Jan 25, 2019 12:26 am

    I remember people reporting issues with LXDE, but I'm not sure if that was on the C2 only or also on the XU4.
    I normally use MATE as it has to be proven very stable and uses low resources.

    As I said, the Chromium issue should be know, and I provided packages with working Chromium version 63 that should be relatively easy to install.
    Let me know the result of installing MATE desktop. It should be default once you installed it.
    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.

    Agrartec
    Posts: 3
    Joined: Thu Jan 24, 2019 9:11 pm
    languages_spoken: english, german
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by Agrartec » Fri Jan 25, 2019 5:22 am

    i had installed both desktops at the same time,
    i crashed the hole system, because of autologin.
    i had to reinstall everything.
    I'm now online with mate in Chromium
    Firefox crash instantly, again.
    Chromium is at Version 63.xxx

    Thanks for the help

    nn_m
    Posts: 15
    Joined: Thu Aug 02, 2018 3:07 am
    languages_spoken: english
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by nn_m » Fri Feb 01, 2019 8:58 am

    Hi @meveric,

    My ssh isn't working with your new version.

    I had another version working fine on my Ordoid Xu4

    The working version was :

    Code: Select all

    root@debian-stretch:~# uname -a
    Linux debian-stretch 4.14.28+ #1 SMP PREEMPT Thu Mar 22 10:05:39 UTC 2018 armv7l GNU/Linux
    
    But that other version seems to be missing a lot of tools in its archive that I'm used to using, i.e. lsb_release (for one).

    ------------------------------------------
    How I set this up:

    On a separate Linux 18.04 Mate machine,

    I downloaded your package :Debian-Stretch-1.0~RC2-20180403-XU3-XU4.img.xz

    After confirming that /dev/sdb had my 16GB uSD card installed, I ran

    Code: Select all

    sudo unxz Debian-Stretch-1.0~RC2-20180403-XU3-XU4.img.xz 
    sudo dd bs=1M status='progress' if=Debian-Stretch-1.0~RC2-20180403-XU3-XU4.img of=/dev/sdb
    
    After this, I could view files on the uSD chip, and it looked like a typical Linux installation, with all the usual directories. (I didn't look at actual files).

    I've installed the chip to my Odroid XU4, and waited 1/2 hour for your "usual setup: means on first boot it's resizing the rootfs partition and configures SSH.".

    When I try to ssh from my windows PC (which works for many other systems on my local network AND used to work with the other version of Linux 1804 as above), I get

    Code: Select all

    ssh root@192.168.1.110
    ssh: connect to host 192.168.1.110 port 22: Connection timed out
    
    (After posting, I decided to check and ping doesn't work either, I thought it worked on my previous attempt at installing).

    Do I need to add an /etc/ssh "un-lock" file, or something else?

    Now that I have another Linux box working, it will be relatively easy to move the uSD card back, and look at log files or other.

    Attaching the Odroid to a monitor will require tearing apart a lot of my desk setup, and all the work I've done previously on this (hours and hours) are to avoid having to deal with that, but if you say that's best way, then I'll do it.

    (Trying to get this work with just Windows 7 / etcher, the conflicting disk formats, and etc was more than I could deal with, arg! ;-) ).

    (And, because strict host checking is set in the ssh config, I know I will get a msg like "remote host has changed, ... man-in-the-middle ...", so I'm ready for that when it happens).
    <End of Whining ;->

    Any ideas on what to check or is there other information you need about my setup?

    Thanks for any help.

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Fri Feb 01, 2019 4:12 pm

    ssh is not restricted by anything, neither is ping, both should work without issues.
    Having a monitor connected to do some work (especially at the first setup) can be beneficial, but is not required.
    Are you sure the IP is 192.168.1.110? Have you tried using a port scanner to find the correct IP of the board?
    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.

    nn_m
    Posts: 15
    Joined: Thu Aug 02, 2018 3:07 am
    languages_spoken: english
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by nn_m » Fri Feb 01, 2019 11:57 pm

    Thanks for your quick reply.

    And ... doah,yes the IP address had changed (I can't recall that ever happening before) but ...

    Code: Select all

    ssh root@192.168.1.109
    Connection closed by 192.168.1.109
    At least pinging is working now

    Code: Select all

    Pinging 192.168.1.109 with 32 bytes of data:
    Reply from 192.168.1.109: bytes=32 time=1ms TTL=64
    Does your "usual setup: means on first boot it's resizing the rootfs partition and configures SSH." require access to the network to run to completion? I have just made rebooted the Odroid again, maybe I need to wait a little while?

    Edit ----
    1/2 hour later (or more), and still no connection via ssh.

    Seeing that I missed a super basic point in reporting the setup, I'll go back to the hardware level and tell you that when I look at the Odroid, I see a red light in steady state (on), a blue light that blinks 2x, pauses and then repeats AND the Ethernet port, the cable is plugged in, and I see a yellow(ish) light blinking (an uneven pattern, as is common for ethernet ports).
    ------- End Edit

    Thanks for your help!
    Last edited by nn_m on Sat Feb 02, 2019 12:37 am, edited 1 time in total.

    tedrogers
    Posts: 63
    Joined: Fri Nov 23, 2018 6:18 pm
    languages_spoken: English
    ODROIDs: Odroid XU4Q
    Location: The Divided Kingdom of Great Britain
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by tedrogers » Sat Feb 02, 2019 12:06 am

    Just to add here. SSH running and working fine for me. I update everytime.

    Sent from my Lenovo P2a42 using Tapatalk


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

    Re: [OS] Debian Stretch

    Unread post by meveric » Sat Feb 02, 2019 3:25 am

    nn_m wrote:
    Fri Feb 01, 2019 11:57 pm
    Does your "usual setup: means on first boot it's resizing the rootfs partition and configures SSH." require access to the network to run to completion?
    It resized the root partition and regenerates new SSH keys. But none of this will require network access.
    After it's done it will reboot automatically which is an indicator that it's done.. Just watch the blinking LED until it goes off, then starts back up first solid and starts blinking again, which means it did a reboot.
    nn_m wrote:
    Fri Feb 01, 2019 11:57 pm
    I have just made rebooted the Odroid again, maybe I need to wait a little while?
    It should only take a few seconds until it reboots and the initial setup is complete.
    It's only a server image with very little applications installed.
    nn_m wrote:
    Fri Feb 01, 2019 11:57 pm
    Edit ----
    1/2 hour later (or more), and still no connection via ssh.
    As said above this is normally a rather quick process.
    It shouldn't take more than 1 minute or so. There is the issue that the IP address might change due to the fact that SSH key and network is "resetted" on first boot, but aside from that you should have no issues accessing the system.
    SSH is activated by default with no restrictions so it's easy for users to start with.
    I find it rather strange that you have these kind if issues, as this part should work without any issues.
    nn_m wrote:
    Fri Feb 01, 2019 11:57 pm
    Seeing that I missed a super basic point in reporting the setup, I'll go back to the hardware level and tell you that when I look at the Odroid, I see a red light in steady state (on), a blue light that blinks 2x, pauses and then repeats AND the Ethernet port, the cable is plugged in, and I see a yellow(ish) light blinking (an uneven pattern, as is common for ethernet ports).
    ------- End Edit

    Thanks for your help!
    The above description is fine, the systems seems normal. Blinking LED means that the Kernel is up and running, which normally means the system is also running fine.
    Also if ping is working, then network is working and so should SSH.
    Amber LED for Network means it's connected with Gigabit LAN (else it would be green for 100MBit).
    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.

    nn_m
    Posts: 15
    Joined: Thu Aug 02, 2018 3:07 am
    languages_spoken: english
    ODROIDs: XU4
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by nn_m » Sat Feb 02, 2019 6:14 am

    @meveric,

    Ok, thanks for help. It's not working yet, so next week I'll have some time to hook up to an HDMI screen and see what is going on.

    (I did try all manor of rebooting, disconnecting power and ethernet, confirming IP address via Fing, but to no avail).

    I'm also going to check my original download file, to confirm that it's SHA matches.

    I'll let you know what happens,

    Thanks very much for your help!

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

    Re: [OS] Debian Stretch

    Unread post by jemail » Sun Feb 17, 2019 5:05 am

    I was wondering if you could add the following program to your repository?

    Gerbera Media Server
    https://gerbera.io

    Many thanks,
    jemail

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Sun Feb 17, 2019 7:22 am

    I'll look into it.
    These users thanked the author meveric for the post:
    jemail (Sat Apr 20, 2019 5:15 am)
    Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
    Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
    If you want to add my repository to your image read my HOWTO integrate my repo into your image.

    User avatar
    rooted
    Posts: 6585
    Joined: Fri Dec 19, 2014 9:12 am
    languages_spoken: english
    Location: Gulf of Mexico, US
    Has thanked: 88 times
    Been thanked: 17 times
    Contact:

    Re: [OS] Debian Stretch

    Unread post by rooted » Sun Feb 17, 2019 8:49 am

    It looks cool, I'm going to try and build it tonight to check it out.

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Sun Feb 17, 2019 7:29 pm

    jemail wrote:
    Sun Feb 17, 2019 5:05 am
    I was wondering if you could add the following program to your repository?

    Gerbera Media Server
    https://gerbera.io

    Many thanks,
    jemail
    I was able to package and run the Gerbera: viewtopic.php?p=246348#p246348

    But there are currently many manual steps involved, such as creating folder and config files, as well as users.
    The systemd service file does not run cause of this out of the box....
    I probably gonna tackle the issue with the user, folders and config files later on and make an update, if you want to try it yourself go ahead, it still can be started manually if you create the config files and folders required.
    (But not today as I have other matters to attend to)
    These users thanked the author meveric for the post:
    jemail (Sat Apr 20, 2019 5:16 am)
    Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
    Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
    If you want to add my repository to your image read my HOWTO integrate my repo into your image.

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

    Re: [OS] Debian Stretch

    Unread post by jemail » Sun Feb 17, 2019 11:23 pm

    meveric wrote:
    Sun Feb 17, 2019 7:29 pm
    I was able to package and run the Gerbera: viewtopic.php?p=246348#p246348

    But there are currently many manual steps involved, such as creating folder and config files, as well as users.
    The systemd service file does not run cause of this out of the box....
    I probably gonna tackle the issue with the user, folders and config files later on and make an update, if you want to try it yourself go ahead, it still can be started manually if you create the config files and folders required.
    (But not today as I have other matters to attend to)
    Many thanks for adding this to your repo. Real Life must come first and there just are not enough hours in the day :D .
    I will have a go at installing and configuring using the current package but a self contained package would be cool too.
    I use Supervisor to start and monitor processes so I'll post a Supervisor config for Gerbera here if I get things configured.

    Edit: Here's the Supervisor code snippet to add to /etc/supervisor/supervisor.conf

    Code: Select all

    [program:gerbera]
    command = /usr/local/bin/gerbera -c /path/to/gerbera/config.xml
    process_name=gerbera
    user = username
    autorestart = True
    
    Regards,
    jemail
    Last edited by jemail on Mon Feb 18, 2019 2:05 am, edited 3 times in total.

    User avatar
    rooted
    Posts: 6585
    Joined: Fri Dec 19, 2014 9:12 am
    languages_spoken: english
    Location: Gulf of Mexico, US
    Has thanked: 88 times
    Been thanked: 17 times
    Contact:

    Re: [OS] Debian Stretch

    Unread post by rooted » Sun Feb 17, 2019 11:31 pm

    Very nice meveric, I failed at building due to duktape and libupnp. It was more than I wanted to get into just to test it out, now I don't have to so thanks once again. Good work.

    dstair
    Posts: 41
    Joined: Sun Oct 22, 2017 1:21 am
    languages_spoken: english
    ODROIDs: XU4, HC1, HC2, MC1
    Location: United States, Indiana
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by dstair » Mon Feb 18, 2019 2:30 am

    2 things,
    1.) I did an update yesterday and was then going to move the file system to a hard drive and when I typed in "sudo setup-odroid" to do so it says "command cannot be found" How can I reinstall the odroid-setup?

    2.) I have an Odroid USB wifi dongle, but noticed it is not enabled. I haven't looked too much into this and I didn't remember if there was an issue on this or not. If not, is there a specific package I need to install that will enable it?
    Lastly, general question out of curiosity. is there a swap file configuration? I saw it is not recommended to setup a swap partition for sd cards, but Im curious.

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Mon Feb 18, 2019 2:48 am

    dstair wrote:
    Mon Feb 18, 2019 2:30 am
    2 things,
    1.) I did an update yesterday and was then going to move the file system to a hard drive and when I typed in "sudo setup-odroid" to do so it says "command cannot be found"
    Which command sudo or setup-odroid? As sudo shouldn't be installed by default.
    dstair wrote:
    Mon Feb 18, 2019 2:30 am
    How can I reinstall the odroid-setup?
    If you accidently delete the tool you can install it with:

    Code: Select all

    apt-get install --reinstall setup-odroid
    dstair wrote:
    Mon Feb 18, 2019 2:30 am
    2.) I have an Odroid USB wifi dongle, but noticed it is not enabled. I haven't looked too much into this and I didn't remember if there was an issue on this or not. If not, is there a specific package I need to install that will enable it?
    That depends on what adapter you're using.. The ones from HardKernel should work out of the box.. for others you might have to install dkms modules that support your wifi module.
    Are you using Desktop or command line only?
    dstair wrote:
    Mon Feb 18, 2019 2:30 am
    Lastly, general question out of curiosity. is there a swap file configuration? I saw it is not recommended to setup a swap partition for sd cards, but Im curious.
    It's not activated by default, but there are several ways to create one.
    But I'd rather suggest installing zram-odroid and using this as an alternative to swap as it will run completely in memory instead which is way faster.
    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.

    dstair
    Posts: 41
    Joined: Sun Oct 22, 2017 1:21 am
    languages_spoken: english
    ODROIDs: XU4, HC1, HC2, MC1
    Location: United States, Indiana
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by dstair » Mon Feb 18, 2019 6:44 am

    meveric wrote:
    Mon Feb 18, 2019 2:48 am
    dstair wrote:
    Mon Feb 18, 2019 2:30 am
    2 things,
    1.) I did an update yesterday and was then going to move the file system to a hard drive and when I typed in "sudo setup-odroid" to do so it says "command cannot be found"
    Which command sudo or setup-odroid? As sudo shouldn't be installed by default.
    dstair wrote:
    Mon Feb 18, 2019 2:30 am
    How can I reinstall the odroid-setup?
    If you accidently delete the tool you can install it with:

    Code: Select all

    apt-get install --reinstall setup-odroid
    dstair wrote:
    Mon Feb 18, 2019 2:30 am
    2.) I have an Odroid USB wifi dongle, but noticed it is not enabled. I haven't looked too much into this and I didn't remember if there was an issue on this or not. If not, is there a specific package I need to install that will enable it?
    That depends on what adapter you're using.. The ones from HardKernel should work out of the box.. for others you might have to install dkms modules that support your wifi module.
    Are you using Desktop or command line only?
    I am using the WiFi dongle from HardKernal. Looks like an old school USB flash dongle. Says ODROID on it, https://www.hardkernel.com/shop/wifi-module-4/
    I am using the Desktop


    On another note, I have still been trying to get Netflix to work lol. Have you successfully been able to do so? I remembered I had a license to ExaGear so I installed that and installed Chrome. THen enabled Flash and Widevine and got the Netflix to play, but stupid slow and not really watchable. If you have been able to get it to work correctly on Chromium, can you post a quick tutorial on how to do so? That would be so awesome lol.
    THanks for your help :)

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Mon Feb 18, 2019 7:13 am

    dstair wrote:
    Mon Feb 18, 2019 6:44 am
    I am using the WiFi dongle from HardKernal. Looks like an old school USB flash dongle. Says ODROID on it, https://www.hardkernel.com/shop/wifi-module-4/
    I am using the Desktop
    Hm I think I had some issues with that as well. If you check setup-odroid I think there are "alternative" WLAN drivers for WiFi Module 4, they should work better I think.
    Also I noticed that 5GHz networks are working much better than the 2.4 GHz.
    dstair wrote:
    Mon Feb 18, 2019 6:44 am
    On another note, I have still been trying to get Netflix to work lol. Have you successfully been able to do so? I remembered I had a license to ExaGear so I installed that and installed Chrome. THen enabled Flash and Widevine and got the Netflix to play, but stupid slow and not really watchable. If you have been able to get it to work correctly on Chromium, can you post a quick tutorial on how to do so? That would be so awesome lol.
    THanks for your help :)
    Sadly I don't have netflix and for that never tried to run it. I noticed though that Widevine is part of the Chromium sources and should be able to be compiled for any OS and architecture. That way you should be able to run it natively rather than using ExaGear.
    I've seen people using NetFlix with Kodi 18, but I haven't checked into that yet.
    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.

    dstair
    Posts: 41
    Joined: Sun Oct 22, 2017 1:21 am
    languages_spoken: english
    ODROIDs: XU4, HC1, HC2, MC1
    Location: United States, Indiana
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: [OS] Debian Stretch

    Unread post by dstair » Mon Feb 18, 2019 8:03 am

    meveric wrote:
    Mon Feb 18, 2019 7:13 am
    dstair wrote:
    Mon Feb 18, 2019 6:44 am
    I am using the WiFi dongle from HardKernal. Looks like an old school USB flash dongle. Says ODROID on it, https://www.hardkernel.com/shop/wifi-module-4/
    I am using the Desktop
    Hm I think I had some issues with that as well. If you check setup-odroid I think there are "alternative" WLAN drivers for WiFi Module 4, they should work better I think.
    Also I noticed that 5GHz networks are working much better than the 2.4 GHz.
    I saw that after reinstalling the odroid setup. I tried selecting that option, it did something then needed to restart, but did not work. Any suggestions on how I can fix so I can move this back to the TV and access via 5GHz WiFi?
    dstair wrote:
    Mon Feb 18, 2019 6:44 am
    On another note, I have still been trying to get Netflix to work lol. Have you successfully been able to do so? I remembered I had a license to ExaGear so I installed that and installed Chrome. THen enabled Flash and Widevine and got the Netflix to play, but stupid slow and not really watchable. If you have been able to get it to work correctly on Chromium, can you post a quick tutorial on how to do so? That would be so awesome lol.
    Thanks for your help :)
    Sadly I don't have netflix and for that never tried to run it. I noticed though that Widevine is part of the Chromium sources and should be able to be compiled for any OS and architecture. That way you should be able to run it natively rather than using ExaGear.
    I've seen people using NetFlix with Kodi 18, but I haven't checked into that yet.
    [/quote]

    Do you have a tutorial that you can point me to that explains how to compile the Chromium source for the Debian Stretch Odroid XU4 OS? I have tried the Kodi 18, but cannot find the current Netflix addin that will work. I found an old one for 17, but it will not let me enter my netflix credentials and therefore fails to work :(

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Mon Feb 18, 2019 3:38 pm

    dstair wrote:
    Mon Feb 18, 2019 8:03 am
    I saw that after reinstalling the odroid setup. I tried selecting that option, it did something then needed to restart, but did not work. Any suggestions on how I can fix so I can move this back to the TV and access via 5GHz WiFi?
    Does the device show up at all?
    When you do ip a is the wlan0 or ra0 listed?
    Have you checked if firmware is present? dmesg | grep -i firmware
    dstair wrote:
    Mon Feb 18, 2019 8:03 am
    Do you have a tutorial that you can point me to that explains how to compile the Chromium source for the Debian Stretch Odroid XU4 OS? I have tried the Kodi 18, but cannot find the current Netflix addin that will work. I found an old one for 17, but it will not let me enter my netflix credentials and therefore fails to work :(
    Sadly I can't help you with that. I compile Chromium from the sources provided by Debian or Ubuntu apt source chromium-browser but I don't know if widevine is still part of it. I found it when I compiled version 63, where it was part of the sources.
    About NetFlix, maybe someone else on the forum can help you.. I've seen video of it working:
    viewtopic.php?p=246227#p246227
    Maybe they can explain how they got NetFlix working.
    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
    rooted
    Posts: 6585
    Joined: Fri Dec 19, 2014 9:12 am
    languages_spoken: english
    Location: Gulf of Mexico, US
    Has thanked: 88 times
    Been thanked: 17 times
    Contact:

    Re: [OS] Debian Stretch

    Unread post by rooted » Mon Feb 18, 2019 3:57 pm

    Depending on platform the Kodi Netflix plug-in will download a Chromebook ROM and extract and install the necessary libwidevine.so.

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

    Re: [OS] Debian Stretch

    Unread post by jemail » Mon Feb 18, 2019 11:56 pm

    I was wondering if you could also add the following program to your repository?

    WireGuard (an extremely simple yet fast and modern VPN)
    https://www.wireguard.com/

    Many thanks,
    jemail

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

    Re: [OS] Debian Stretch

    Unread post by meveric » Tue Feb 19, 2019 12:42 am

    jemail wrote:
    Mon Feb 18, 2019 11:56 pm
    I was wondering if you could also add the following program to your repository?

    WireGuard (an extremely simple yet fast and modern VPN)
    https://www.wireguard.com/

    Many thanks,
    jemail
    done
    viewtopic.php?p=246501#p246501
    These users thanked the author meveric for the post:
    jemail (Sat Apr 20, 2019 5:18 am)
    Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
    Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
    If you want to add my repository to your image read my HOWTO integrate my repo into your image.

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

    Re: [OS] Debian Stretch

    Unread post by jemail » Tue Feb 19, 2019 1:09 am

    meveric wrote:
    Tue Feb 19, 2019 12:42 am
    done
    viewtopic.php?p=246501#p246501
    Have a coffee on me.
    Many thanks,
    jemail

    Post Reply

    Return to “Other OS”

    Who is online

    Users browsing this forum: No registered users and 1 guest