RealTechTalk (RTT) - Linux/Server Administration/Related

We have years of knowledge with technology, especially in the IT (Information Technology) industry. 

realtechtalk.com will always have fresh and useful information on a variety of subjects from Graphic Design, Server Administration, Web  Hosting Industry and much more.

This site will specialize in unique topics and problems faced by web hosts, Unix/Linux administrators, web developers, computer technicians, hardware, networking, scripting, web design and much more. The aim of this site is to explain common problems and solutions in a simple way. Forums are ineffective because they have a lot of talk, but it's hard to find the answer you're looking for, and as we know, the answer is usually not there. No one has time to scour the net for forums and read pages of irrelevant information on different forums/threads. RTT just gives you what you're looking for.

  • Centos 6.6/6.9 KVM VM Kernel Panic On Boot - Kernel panic - not syncing: Attempted to kill init!


    I am not sure why this is happening neither the hostnode or VM changed.  All I did was reboot the hostnode and startup the Centos VM again, also note it happened with the original kernel on the VM and also the latest 6.9 kernel as of this writing as shown below.

    Host Node: Centos 6.9

    Kernel: 2.6.32-696.6.3.el6.x86_64 

    Kernel: 2.6.32-042stab123.9

    Same result in any kernel above

    =========

    VM Node: Centos 6.6 originally (this is where the error started but chrooting and upgrading did not fix it).

    Kernels: 2.6.32-504.el6.x86_64,  2.6.32-696.6.3.el6.x86_64

    I have tried different kernels on the host node and in the VM it made no difference.

    I restored the same VM image and so far it boots fine but I have not made any changes to see if it boots again.  As mentioned even chrooting into the VM and upgrading the kernel and rebuilding initramfs has not fixed it.

     

     

    Kernel panic - not syncing: Attempted to kill init!

    Pid: 1, comm: init Not tained 2.32-696.6.3.el6.x86_64 #1

    Call Trace:

    [] ? panic+0xa7x0x179

    [] ? perf_event_exit_task<+0xc0/0x340

    [] ? do_group_exit+0x0/0xd0

    [] ? fput+0x25/0x30

    [] ? do_group_exit+0x58/0xd0

    [] ? sys_exit_group+0x17/0x20

    [] ? system_call_fastpath+0x16/0x1b


  • Cannot allocate TUN/TAP dev dynamically - FreeBSD/OpenBSD OpenVPN Client error Solution


    I have never had this error on Linux and this is running FreeBSD as root:


    Wed Aug  9 04:29:34 2017 us=329050 Cannot allocate TUN/TAP dev dynamically
    Wed Aug  9 04:29:34 2017 us=329832 Exiting due to fatal error


    The Solution

    You need a kernel module that is for some reason not automatically loaded like Linux:

    kldload if_tap


  • Linux Mint/Ubuntu/Debian apt how to downgrade a package


    First of all check to see which version if any you have available for a downgrade:

    apt-cache showpkg packagename

    Downgrade/Install old package:

    apt-get install package=version

    Example

    apt-cache showpkg caja
    Package: caja
    Versions:
    1.10.3-1+rafaela (/var/lib/apt/lists/packages.linuxmint.com_dists_rafaela_import_binary-amd64_Packages) (/var/lib/dpkg/status)
     Description Language:
                     File: /var/lib/apt/lists/packages.linuxmint.com_dists_rafaela_import_binary-amd64_Packages
                      MD5: 2d27e6d6f085ec92e7532bd116bd9d0a


    apt-get install caja=1.10.3-1+rafaela


  • Ubuntu Linux Mint How To Exclude Stop Package from being Upgraded or Installed


    In Debian/Ubuntu this is called "holding".

    To hold/exclude a package from being installed or upgraded:

    sudo apt-mark hold packagename

    To allow the upgrade/installation unhold:

    sudo apt-mark unhold packagename


  • Intel NUC Lower Power Green Computing Boxes Review/Comparison of J3160 and J3455 Models


    Intel NUC J3455 vs Vorke V1 J3160

    Both are excellent units but the J3160 is nicer if you require even lower power usage (6W vs the Intel 10W).  The price is attractive on the Vorke V1 as well.  It's been said that the Intel J3455 NUC has a buggy BIOS and some other issues that require attention.

    The Intel J3455 is still nice because it has 2 RAM slots but it does get hotter due to lack of fan.

    The Vorke V1 runs cooler, uses less power and seems to run well out of the box.

    The only consideration that should be given is really power, cost and the biggest feature the Vorke V1 loses out on is the single RAM slot which makes this a tossup and close tie.

    Both are excellent units, if the single RAM slot on Vorke V1 is not an issue then go for it as the Vorke V1 does the rest better with less power and heat to boot.

     

     

     

     

     

    Amazon Affiliate links where we've purchased these boxes from:

    The more expensive one comes with RAM and HDD already.


  • How to backup entire computer Linux Mint Ubuntu with tar


     sudo tar --ignore-failed-read  -czvf mycomputer-backup.tar.gz --exclude=/home/otheruser/* --exclude=/proc/* --exclude=/sys/* /

    Note the --exclude clauses and modify/add according to your needs


  • tar how to ignore failed reads and not exit


    This is an important feature a failed read can genuinely occur if a temporary file has been removed or if you try backing up a sysetm file in /proc /sys (which you shouldn't really anyway).

    The way to fix this is the following switch:

    --ignore-failed-read
     

    Example:

    sudo tar --ignore-failed-read  -czvf mycomputer-backup.tar.gz --exclude=/home/otheruser/* --exclude=/proc/* --exclude=/sys/* /


  • kdenlive titles/text renders as white screen when using .sh script


    When using the .sh script the rendering doesn't work after an upgrade of related packages to kdenlive.

     

    kdenlive (kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1)) with affine or composite transitions was fine but is now broken during the time of transition it is just a white screen.


    The previous version was fine:

    kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1

    But now I can't find it or install it:

    kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1

    sudo apt-get install kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    E: Unable to locate package kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1
    E: Couldn't find any package by glob 'kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1'
    E: Couldn't find any package by regex 'kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1'


    https://code.launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-testing/+recipebuild/1376479
    https://code.launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-testing/+build/12622720


    #found old version here
    https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+sourcepub/7824259/+listing-archive-extra

    #remove new version
    sudo apt-get remove kdenlive kdenlive-data

    #download old version
    wget https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+files/kdenlive-data_17.04.1+git201705191233~ubuntu16.04.1_all.deb
    wget https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+files/kdenlive-dbg_17.04.1+git201705191233~ubuntu16.04.1_amd64.deb
    wget https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+files/kdenlive_17.04.1+git201705191233~ubuntu16.04.1_amd64.deb

    sudo dpkg -i kdenlive-data_17.04.1+git201705191233~ubuntu16.04.1_all.deb
    sudo dpkg -i kdenlive_17.04.1+git201705191233~ubuntu16.04.1_amd64.deb

    #downgraded kdenlive same white screen problem but only with the .sh script and not "render to file"
    original melt
    melt:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1)
    melt:amd64 (6.0.0-2, automatic)

     libmlt++3:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1), libmlt6:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1)
    Remove: libavcodec-ffmpeg56:amd64 (7:2.8.11-0ubuntu0.16.04.1), libavcodec-ffmpeg56:i386 (7:2.8.11-0ubuntu0.16.04.1)
     libmlt++3:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1), libmlt6:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1)

    #in general here is what was installed and things went wrong with the white screen after these were installed:
    =============================

    Start-Date: 2017-07-31  10:50:51
    Requested-By: user (1000)
    Upgrade: libgssapi3-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libfwup0:amd64 (0.5-2ubuntu4, 0.5-2ubuntu5), libwind0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16
    .04.1), update-manager-core:amd64 (1:16.04.6, 1:16.04.7), libdrm-nouveau2:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-nouveau2:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), whoopsie:amd64 (0.2.52.3, 0.2.52.5),
    python-samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), linux-libc-dev:amd64 (4.4.0-83.106, 4.4.0-87.110), xserver-common:amd64 (2:1.18.4-0ubuntu0.2, 2:1.18.4-0ubuntu0.3), libwacom-common:amd64 (0.18-1, 0.22-1
    ~ubuntu16.04.1), libapt-inst2.0:amd64 (1.2.20, 1.2.24), openjdk-8-jre:amd64 (8u131-b11-0ubuntu1.16.04.2, 8u131-b11-2ubuntu1.16.04.2), ruby2.3:amd64 (2.3.1-2~16.04, 2.3.1-2~16.04.2), xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.2, 2:1.18.4-0
    ubuntu0.3), imagemagick:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), libsystemd0:amd64 (229-4ubuntu17, 229-4ubuntu19), libsystemd0:i386 (229-4ubun
    tu17, 229-4ubuntu19), grub-common:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), apt:amd64 (1.2.20, 1.2.24), kpartx:amd64 (0.5.0+git1.656f8865-5ubuntu2.4, 0.5.0+git1.656f8865-5ubuntu2.5), libheimntlm0-heimdal:amd64 (1.7~git2015
    0920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libkmod2:amd64 (22-1ubuntu4, 22-1ubuntu5), samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), binutils:amd64 (2.26.1-1ubuntu1~16.04.3, 2.26.1-1ubuntu1~
    16.04.4), libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libwhoopsie0:amd64 (0.2.52.3, 0.2.52.5), sudo:amd64 (1.8.16-0ubuntu1.4, 1.8.16-0ubuntu1.5), libheimbase1-heimdal:amd64 (1.7~git201
    50920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), xfonts-utils:amd64 (1:7.7+3, 1:7.7+3ubuntu0.16.04.2), gdb:amd64 (7.11.1-0ubuntu1~16.04, 7.11.1-0ubuntu1~16.5), grub2-common:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), udev:amd64 (229-4ubuntu17, 229-4ubuntu19), libepoxy0:amd64 (1.3.1-1ubuntu0.16.04.1, 1.3.1-1ubuntu0.16.04.2), libapt-pkg5.0:amd64 (1.2.20, 1.2.24), grub-pc:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), apache2-data:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), fwupdate:amd64 (0.5-2ubuntu4, 0.5-2ubuntu5), kpartx-boot:amd64 (0.5.0+git1.656f8865-5ubuntu2.4, 0.5.0+git1.656f8865-5ubuntu2.5), libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2, 2.1.0-7ubuntu0.16.04.3), libexpat1:i386 (2.1.0-7ubuntu0.16.04.2, 2.1.0-7ubuntu0.16.04.3), kmod:amd64 (22-1ubuntu4, 22-1ubuntu5), libudev1:amd64 (229-4ubuntu17, 229-4ubuntu19), libudev1:i386 (229-4ubuntu17, 229-4ubuntu19), libwayland-client0:amd64 (1.9.0-1, 1.12.0-1~ubuntu16.04.1), kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1, 4:17.04.3+git201707101839~ubuntu16.04.1), ntp:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5, 1:4.2.8p4+dfsg-3ubuntu5.6), samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), grub-pc-bin:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), ntpdate:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5, 1:4.2.8p4+dfsg-3ubuntu5.6), libappstream-glib8:amd64 (0.5.13-1ubuntu4, 0.5.13-1ubuntu5), x11proto-core-dev:amd64 (7.0.28-2ubuntu1, 7.0.31-1~ubuntu16.04.1), libdrm-amdgpu1:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-amdgpu1:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), kdenlive-data:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1, 4:17.04.3+git201707101839~ubuntu16.04.1), python3-distupgrade:amd64 (1:16.04.21, 1:16.04.22), python3-update-manager:amd64 (1:16.04.6, 1:16.04.7), libruby2.3:amd64 (2.3.1-2~16.04, 2.3.1-2~16.04.2), ubuntu-release-upgrader-core:amd64 (1:16.04.21, 1:16.04.22), module-init-tools:amd64 (22-1ubuntu4, 22-1ubuntu5), samba-common:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), systemd-sysv:amd64 (229-4ubuntu17, 229-4ubuntu19), libhcrypto4-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libpam-systemd:amd64 (229-4ubuntu17, 229-4ubuntu19), libxfont1:amd64 (1:1.5.1-1, 1:1.5.1-1ubuntu0.16.04.1), libdrm2:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm2:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), systemd:amd64 (229-4ubuntu17, 229-4ubuntu19), apt-utils:amd64 (1.2.20, 1.2.24), libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), smbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), samba-common-bin:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), openjdk-8-jre-headless:amd64 (8u131-b11-0ubuntu1.16.04.2, 8u131-b11-2ubuntu1.16.04.2), libdrm-intel1:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-intel1:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libwacom2:amd64 (0.18-1, 0.22-1~ubuntu16.04.1), libroken18-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), apache2-bin:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libasn1-8-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libmagick++-6.q16-5v5:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libkrb5-26-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), apt-transport-https:amd64 (1.2.20, 1.2.24), libdrm-radeon1:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-radeon1:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), apache2:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), apache2-utils:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), libhx509-5-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), archdetect-deb:amd64 (1.117ubuntu2.1, 1.117ubuntu2.2), libwayland-server0:amd64 (1.9.0-1, 1.12.0-1~ubuntu16.04.1), libwayland-cursor0:amd64 (1.9.0-1, 1.12.0-1~ubuntu16.04.1)
    End-Date: 2017-07-31  10:53:53
    ~



     libfwup0:amd64 (0.5-2ubuntu4
     libwind0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     update-manager-core:amd64 (1:16.04.6
     libdrm-nouveau2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-nouveau2:i386 (2.4.70-1~ubuntu16.04.1
     whoopsie:amd64 (0.2.52.3
     linux-libc-dev:amd64 (4.4.0-83.106
     xserver-common:amd64 (2:1.18.4-0ubuntu0.2
     libwacom-common:amd64 (0.18-1
     libapt-inst2.0:amd64 (1.2.20
     openjdk-8-jre:amd64 (8u131-b11-0ubuntu1.16.04.2
     ruby2.3:amd64 (2.3.1-2~16.04
     xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.2
     imagemagick:amd64 (8:6.8.9.9-7ubuntu5.7
     libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libsystemd0:amd64 (229-4ubuntu17
     libsystemd0:i386 (229-4ubun
     grub-common:amd64 (2.02~beta2-36ubuntu3.11
     apt:amd64 (1.2.20
     kpartx:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     libheimntlm0-heimdal:amd64 (1.7~git2015
     libkmod2:amd64 (22-1ubuntu4
     samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     binutils:amd64 (2.26.1-1ubuntu1~16.04.3
     libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     libwhoopsie0:amd64 (0.2.52.3
     sudo:amd64 (1.8.16-0ubuntu1.4
     libheimbase1-heimdal:amd64 (1.7~git201
     xfonts-utils:amd64 (1:7.7+3
     gdb:amd64 (7.11.1-0ubuntu1~16.04
     grub2-common:amd64 (2.02~beta2-36ubuntu3.11
     udev:amd64 (229-4ubuntu17
     libepoxy0:amd64 (1.3.1-1ubuntu0.16.04.1
     libapt-pkg5.0:amd64 (1.2.20
     grub-pc:amd64 (2.02~beta2-36ubuntu3.11
     apache2-data:amd64 (2.4.18-2ubuntu3.3
     fwupdate:amd64 (0.5-2ubuntu4
     kpartx-boot:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2
     libexpat1:i386 (2.1.0-7ubuntu0.16.04.2
     kmod:amd64 (22-1ubuntu4
     libudev1:amd64 (229-4ubuntu17
     libudev1:i386 (229-4ubuntu17
     libwayland-client0:amd64 (1.9.0-1
     kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     ntp:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     grub-pc-bin:amd64 (2.02~beta2-36ubuntu3.11
     ntpdate:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     libappstream-glib8:amd64 (0.5.13-1ubuntu4
     x11proto-core-dev:amd64 (7.0.28-2ubuntu1
     libdrm-amdgpu1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-amdgpu1:i386 (2.4.70-1~ubuntu16.04.1
     imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.7
     kdenlive-data:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     python3-distupgrade:amd64 (1:16.04.21
     python3-update-manager:amd64 (1:16.04.6
     libruby2.3:amd64 (2.3.1-2~16.04
     ubuntu-release-upgrader-core:amd64 (1:16.04.21
     module-init-tools:amd64 (22-1ubuntu4
     samba-common:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     systemd-sysv:amd64 (229-4ubuntu17
     libhcrypto4-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libpam-systemd:amd64 (229-4ubuntu17
     libxfont1:amd64 (1:1.5.1-1
     libdrm2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm2:i386 (2.4.70-1~ubuntu16.04.1
     systemd:amd64 (229-4ubuntu17
     apt-utils:amd64 (1.2.20
     libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     smbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-common-bin:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     openjdk-8-jre-headless:amd64 (8u131-b11-0ubuntu1.16.04.2
     libdrm-intel1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-intel1:i386 (2.4.70-1~ubuntu16.04.1
     libwacom2:amd64 (0.18-1
     libroken18-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     apache2-bin:amd64 (2.4.18-2ubuntu3.3
     imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.7
     libasn1-8-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libmagick++-6.q16-5v5:amd64 (8:6.8.9.9-7ubuntu5.7
     libkrb5-26-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     apt-transport-https:amd64 (1.2.20
     libdrm-radeon1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-radeon1:i386 (2.4.70-1~ubuntu16.04.1
     apache2:amd64 (2.4.18-2ubuntu3.3
     apache2-utils:amd64 (2.4.18-2ubuntu3.3
     libhx509-5-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     archdetect-deb:amd64 (1.117ubuntu2.1
     libwayland-server0:amd64 (1.9.0-1
     libwayland-cursor0:amd64 (1.9.0-1

    ===
    sorted
    ===

     apache2:amd64 (2.4.18-2ubuntu3.3
     apache2-bin:amd64 (2.4.18-2ubuntu3.3
     apache2-data:amd64 (2.4.18-2ubuntu3.3
     apache2-utils:amd64 (2.4.18-2ubuntu3.3
     apt:amd64 (1.2.20
     apt-transport-https:amd64 (1.2.20
     apt-utils:amd64 (1.2.20
     archdetect-deb:amd64 (1.117ubuntu2.1
     binutils:amd64 (2.26.1-1ubuntu1~16.04.3
     fwupdate:amd64 (0.5-2ubuntu4
     gdb:amd64 (7.11.1-0ubuntu1~16.04
     grub2-common:amd64 (2.02~beta2-36ubuntu3.11
     grub-common:amd64 (2.02~beta2-36ubuntu3.11
     grub-pc:amd64 (2.02~beta2-36ubuntu3.11
     grub-pc-bin:amd64 (2.02~beta2-36ubuntu3.11
     imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.7
     imagemagick:amd64 (8:6.8.9.9-7ubuntu5.7
     imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.7
     kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     kdenlive-data:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     kmod:amd64 (22-1ubuntu4
     kpartx:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     kpartx-boot:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     libappstream-glib8:amd64 (0.5.13-1ubuntu4
     libapt-inst2.0:amd64 (1.2.20
     libapt-pkg5.0:amd64 (1.2.20
     libasn1-8-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libdrm2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm2:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-amdgpu1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-amdgpu1:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-intel1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-intel1:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-nouveau2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-nouveau2:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-radeon1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-radeon1:i386 (2.4.70-1~ubuntu16.04.1
     libepoxy0:amd64 (1.3.1-1ubuntu0.16.04.1
     libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2
     libexpat1:i386 (2.1.0-7ubuntu0.16.04.2
     libfwup0:amd64 (0.5-2ubuntu4
     libhcrypto4-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libheimbase1-heimdal:amd64 (1.7~git201
     libheimntlm0-heimdal:amd64 (1.7~git2015
     libhx509-5-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libkmod2:amd64 (22-1ubuntu4
     libkrb5-26-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libmagick++-6.q16-5v5:amd64 (8:6.8.9.9-7ubuntu5.7
     libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     libpam-systemd:amd64 (229-4ubuntu17
     libroken18-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libruby2.3:amd64 (2.3.1-2~16.04
     libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libsystemd0:amd64 (229-4ubuntu17
     libsystemd0:i386 (229-4ubun
     libudev1:amd64 (229-4ubuntu17
     libudev1:i386 (229-4ubuntu17
     libwacom2:amd64 (0.18-1
     libwacom-common:amd64 (0.18-1
     libwayland-client0:amd64 (1.9.0-1
     libwayland-cursor0:amd64 (1.9.0-1
     libwayland-server0:amd64 (1.9.0-1
     libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libwhoopsie0:amd64 (0.2.52.3
     libwind0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libxfont1:amd64 (1:1.5.1-1
     linux-libc-dev:amd64 (4.4.0-83.106
     module-init-tools:amd64 (22-1ubuntu4
     ntp:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     ntpdate:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     openjdk-8-jre:amd64 (8u131-b11-0ubuntu1.16.04.2
     openjdk-8-jre-headless:amd64 (8u131-b11-0ubuntu1.16.04.2
     python3-distupgrade:amd64 (1:16.04.21
     python3-update-manager:amd64 (1:16.04.6
     ruby2.3:amd64 (2.3.1-2~16.04
     samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-common:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-common-bin:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     smbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     sudo:amd64 (1.8.16-0ubuntu1.4
     systemd:amd64 (229-4ubuntu17
     systemd-sysv:amd64 (229-4ubuntu17
     ubuntu-release-upgrader-core:amd64 (1:16.04.21
     udev:amd64 (229-4ubuntu17
     update-manager-core:amd64 (1:16.04.6
     whoopsie:amd64 (0.2.52.3
     x11proto-core-dev:amd64 (7.0.28-2ubuntu1
     xfonts-utils:amd64 (1:7.7+3
     xserver-common:amd64 (2:1.18.4-0ubuntu0.2
     xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.2


    #downgrade melt
    sudo apt-get install melt=6.0.0-2


  • [1035724.274610] [drm:intel_pipe_update_end [i915_bpo]] *ERROR* Atomic update failure on pipe A (start=62076478 end=62076479) time 102 us, min 894, max 899, scanline start 893, end 900 W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin


    [1035724.274610] [drm:intel_pipe_update_end [i915_bpo]] *ERROR* Atomic update failure on pipe A (start=62076478 end=62076479) time 102 us, min 894, max 899, scanline start 893, end 900

    W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin for module i915_bpo

     

    I've been getting those errors on a J3455 NUC box with the latest kernel on Linux Mint 18.2.  When updating the initramfs I also got the error about the firmware included.

    In general it looks like there is a lack of Linux support or a bug in the driver and this seems to cause the screen to go blank/black and lockup after a few days.  The system itself is running and available by SSH.

    As a temp fix you can run this:

    sudo service mdm restart but be warned this will result in all of your programs closing that were running so unsaved changes would be lost.  The above command will restart mdm and allow you to login and work as normal again.


  • ffmpeg how to watermark and concatenate in one command


    If you were in my boat you were frustrated that you had to double encode, eg. one separate encode for watermark and a separate from concat and it's not easy to figure out this with ffmpeg on your own.  However it is a nice way to save time!

    ffmpeg -i file1.mp4 -i file2.mp4 -i file3.mp4 -i watermark.png -filter_complex "[0:v]setpts=PTS-STARTPTS[v0]; [1:v]setpts=PTS-STARTPTS[v1]; [2:v]setpts=PTS-STARTPTS[v2]; [v0][0:a][v1][1:a][v2][2:a]concat=n=3:v=1:a=1[v][aout]; [v][3:v]overlay=W-w-10:10[vout]" -map "[vout]" -map "[aout]" -crf 20 output.mp4

    Of course file1.mp4 file2.mp4 file3.mp4 are your source videos you are concatenating (in that order) and the watermark.png is your watermark.   The overaly W-w-10:10 sets your mark on the top right.

    To overlay on the bottom right: W-w-25:H-h-25

    I also added "-crf 20" as the default is 23.  In general the higher the number the faster the encode but lower the quality.  I found 20 is a good medium.  A good test is that if your output video is smaller than your input you have lost quality.  Try to experiment with crf until you get a size the same or slightly larger than your original input.

     


  • /usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag


    cagecoin linux compile:


    sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev
            libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev
            libssl-dev libdb++-dev libminiupnpc-dev

    Solution:

     sed -i s/"BOOST_LIB_SUFFIX=-mt-s"/"#BOOST_LIB_SUFFIX=-mt-s"/ cagecoin-qt.pro
     



    qmake
    make

     -L/home/ubuntu/build/openssl-1.0.1g -lssl -lcrypto -ldb_cxx -lboost_system-mt-s -lboost_filesystem-mt-s -lboost_program_options-mt-s -lboost_thread-mt-s -lQtGui -lQtCore -lpthread
    /usr/bin/ld: cannot find -lboost_system-mt-s
    /usr/bin/ld: cannot find -lboost_filesystem-mt-s
    /usr/bin/ld: cannot find -lboost_program_options-mt-s
    /usr/bin/ld: cannot find -lboost_thread-mt-s
    collect2: error: ld returned 1 exit status
    make: *** [cagecoin-qt] Error 1

    #troubleshoot
     ld -lboost_system-mt-s --verbose



    libboost-filesystem-dev
    libboost-system-dev
    libboost-program-options-dev
    libboost-thread-dev
    attempt to open /usr/x86_64-linux-gnu/lib64/libboost_system-mt-s.so failed
    attempt to open /usr/x86_64-linux-gnu/lib64/libboost_system-mt-s.a failed
    attempt to open //usr/local/lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
    attempt to open //usr/local/lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
    attempt to open //usr/local/lib64/libboost_system-mt-s.so failed
    attempt to open //usr/local/lib64/libboost_system-mt-s.a failed
    attempt to open //lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
    attempt to open //lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
    attempt to open //lib64/libboost_system-mt-s.so failed
    attempt to open //lib64/libboost_system-mt-s.a failed
    attempt to open //usr/lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
    attempt to open //usr/lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
    attempt to open //usr/lib64/libboost_system-mt-s.so failed
    attempt to open //usr/lib64/libboost_system-mt-s.a failed
    attempt to open //usr/local/lib/libboost_system-mt-s.so failed
    attempt to open //usr/local/lib/libboost_system-mt-s.a failed
    attempt to open //lib/libboost_system-mt-s.so failed
    attempt to open //lib/libboost_system-mt-s.a failed
    attempt to open //usr/lib/libboost_system-mt-s.so failed
    attempt to open //usr/lib/libboost_system-mt-s.a failed
    ld: cannot find -lboost_system-mt-s



    sudo apt-get install qt4-default qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libdb++-dev libssl-dev libminiupnpc-dev libminiupnpc8
     


  • Wine uninstalled broken on Linux Mint


    Solution:

    Aptitude is very smart and fixed the issues it was because of nvidia cuda and opencl and nothing else suggested or hinted this using apt


    sudo aptitude install wine
    The following NEW packages will be installed:
      ocl-icd-libopencl1{ab} ocl-icd-libopencl1:i386{ab} wine wine1.6
      wine1.6-amd64{a} wine1.6-i386:i386{a}
    The following packages will be REMOVED:
      kdenlive-data{u}
    The following packages are RECOMMENDED but will NOT be installed:
      fonts-horai-umefont fonts-unfonts-core libcapi20-3 libgif4:i386
      libosmesa6 libosmesa6:i386 libp11-kit-gnome-keyring:i386
      p11-kit-modules:i386 unixodbc unixodbc:i386 winbind wine-gecko2.21
      wine-gecko2.21:i386 wine-mono0.0.8 winetricks
    0 packages upgraded, 6 newly installed, 1 to remove and 56 not upgraded.
    Need to get 32.5 MB of archives. After unpacking 235 MB will be used.
    The following packages have unmet dependencies:
     ocl-icd-libopencl1 : Conflicts: libopencl1 which is a virtual package.
     ocl-icd-libopencl1:i386 : Conflicts: libopencl1 which is a virtual package.
     nvidia-libopencl1-340 : Conflicts: libopencl1 which is a virtual package.
                             Conflicts: libopencl1:i386 which is a virtual package.
    The following actions will resolve these dependencies:

         Remove the following packages:
    1)     nvidia-cuda-toolkit        
    2)     nvidia-libopencl1-331      
    3)     nvidia-libopencl1-340      
    4)     nvidia-opencl-dev          



    Accept this solution? [Y/n/q/?]

     

     

    Work:

    ============

    Somehow my wine install became uninstalled and cannot be reinstalled:

     

    sudo apt-get install wine
    [sudo] password for one:
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine : Depends: wine1.6 but it is not going to be installed or
                     wine1.8 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ dpkg -l|grep wine
    ii  libkwineffects1abi4                                         4:4.11.11-0ubuntu0.2                                amd64        library used by effects for the KDE window manager
    rc  wine1.6                                                     1:1.6.2-0ubuntu4                                    amd64        Microsoft Windows Compatibility Layer (Binary Emulator and Library)
    rc  wine1.6-amd64                                               1:1.6.2-0ubuntu4                                    amd64        Microsoft Windows Compatibility Layer (64-bit support)
    rc  wine1.6-i386                                                1:1.6.2-0ubuntu4                                    i386         Microsoft Windows Compatibility Layer (32-bit support)
    user@box:~/Downloads$ sudo apt-get reinstall wine1.6
    E: Invalid operation reinstall
    user@box:~/Downloads$ sudo apt-get --reinstall install wine1.6
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine1.6 : Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4)
               Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ sudo apt-get remove wine1.6

    user@box:~/Downloads$ sudo apt-get remove wine1.6
    [sudo] password for one:
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Package 'wine1.6' is not installed, so not removed
    The following packages were automatically installed and are no longer required:
      libasn1-8-heimdal:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386
      libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386
      libkrb5-26-heimdal:i386 libkutils4 liblcms2-2:i386 libldap-2.4-2:i386
      libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
      libwind0-heimdal:i386
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
    user@box:~/Downloads$ sudo apt-get remove wine
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Package 'wine' is not installed, so not removed
    The following packages were automatically installed and are no longer required:
      libasn1-8-heimdal:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386
      libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386
      libkrb5-26-heimdal:i386 libkutils4 liblcms2-2:i386 libldap-2.4-2:i386
      libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
      libwind0-heimdal:i386
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
    user@box:~/Downloads$ sudo apt-get install wine
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine : Depends: wine1.6 but it is not going to be installed or
                     wine1.8 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ sudo apt-get install wine1.8
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine1.8 : Depends: wine1.8-amd64 (= 1:1.8.0-0ubuntu1) but it is not going to be installed
               Depends: wine1.8-i386 (= 1:1.8.0-0ubuntu1)
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ sudo apt-get install wine1.8-amd64
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine1.8-amd64 : Depends: libopencl-1.1-1
                     Depends: wine1.8:any (= 1:1.8.0-0ubuntu1)
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ cd ~^C
     


  • ffmpeg trouble concatenating similar but different files


    When things go wrong your video is basically unplayable or the first video plays fine and then freezes when moving on to the next.  Generally if both videos weren't produced with the exact 100% same settings you will have issues.  You can try the basic concat but it often won't work right.

    Solution for me:

    My example uses 3 videos in total so "n=3"  and a=1 to include audio.

    ffmpeg -threads 12  -i file1.mp4 -i file2.mp4 -i file3.mp4 -filter_complex concat=n=3:v=1:a=1 $outputfile-final.mp4

    =======

    ffmpeg -i $intro -i $outputfile -i $outtro
    -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]"
    -map "[v]" -map "[a]" $outputfile-branded-final.mp4

    ffmpeg -i $intro -i uservideoRendered.mp4-branded.mp4 -i $outtro
    > -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]"
    > -map "[v]" -map "[a]" $outputfile-branded-final.mp4^C

    fmpeg -safe 0 -f concat -i files.txt -c copy video_draft.avi
    ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
      configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
      libavutil      55. 58.100 / 55. 58.100
      libavcodec     57. 89.100 / 57. 89.100
      libavformat    57. 71.100 / 57. 71.100
      libavdevice    57.  6.100 / 57.  6.100
      libavfilter     6. 82.100 /  6. 82.100
      libavresample   3.  5.  0 /  3.  5.  0
      libswscale      4.  6.100 /  4.  6.100
      libswresample   2.  7.100 /  2.  7.100
      libpostproc    54.  5.100 / 54.  5.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3f22100] Auto-inserting h264_mp4toannexb bitstream filter
    Input #0, concat, from 'files.txt':
      Duration: N/A, start: 0.000000, bitrate: 2284 kb/s
        Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 1967 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
          encoder         : AVC Coding
        Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
    Output #0, avi, to 'video_draft.avi':
      Metadata:
        ISFT            : Lavf57.71.100
        Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, q=2-31, 1967 kb/s, 30 fps, 30 tbr, 60 tbn, 60 tbc
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
          encoder         : AVC Coding
        Stream #0:1(eng): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 317 kb/s
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fe3be0] Auto-inserting h264_mp4toannexb bitstream filter
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fe3be0] Auto-inserting h264_mp4toannexb bitstream filtered=61.6x   
    frame=16287 fps=1824 q=-1.0 Lsize=  385206kB time=00:09:03.50 bitrate=5806.0kbits/s speed=60.9x   
    video:372728kB audio:11086kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.362498%


    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2af7da0] Found duplicated MOOV Atom. Skipped it

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33639c0] Auto-inserting h264_mp4toannexb bitstream filter
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33639c0] Auto-inserting h264_mp4toannexb bitstream filtered= 153x   
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107362, current: 6437563; changing to 16107363. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107363, current: 6437963; changing to 16107364. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107364, current: 6438363; changing to 16107365. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107365, current: 6438763; changing to 16107366. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107366, current: 6439163; changing to 16107367. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107367, current: 6439563; changing to 16107368. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107368, current: 6439963; changing to 16107369. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107369, current: 6440363; changing to 16107370. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107370, current: 6440763; changing to 16107371. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107371, current: 6441163; changing to 16107372. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107372, current: 6441563; changing to 16107373. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107373, current: 6441963; changing to 16107374. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107374, current: 6442363; changing to 16107375. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107375, current: 6442763; changing to 16107376. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107376, current: 6443163; changing to 16107377. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107377, current: 6443563; changing to 16107378. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107378, current: 6443963; changing to 16107379. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107379, current: 6444363; changing to 16107380. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107380, current: 6444763; changing to 16107381. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107381, current: 6445163; changing to 16107382. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107382, current: 6445563; changing to 16107383. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107383, current: 6445963; changing to 16107384. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107384, current: 6446363; changing to 16107385. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107385, current: 6446763; changing to 16107386. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107386, current: 6447163; changing to 16107387. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107387, current: 6447563; changing to 16107388. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107388, current: 6447963; changing to 16107389. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107389, current: 6448363; changing to 16107390. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107390, current: 6448763; changing to 16107391. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107391, current: 6449163; changing to 16107392. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107392, current: 6449563; changing to 16107393. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107393, current: 6449963; changing to 16107394. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107394, current: 6450363; changing to 16107395. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107395, current: 6450763; changing to 16107396. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107396, current: 6451163; changing to 16107397. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107397, current: 6451563; changing to 16107398. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107398, current: 6451963; changing to 16107399. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107399, current: 6452363; changing to 16107400. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107400, current: 6452763; changing to 16107401. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107401, current: 6453163; changing to 16107402. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107402, current: 6453563; changing to 16107403. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107403, current: 6453963; changing to 16107404. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107404, current: 6454363; changing to 16107405. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107405, current: 6454763; changing to 16107406. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107406, current: 6455163; changing to 16107407. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107407, current: 6455563; changing to 16107408. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107408, current: 6455963; changing to 16107409. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107409, current: 6456363; changing to 16107410. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107410, current: 6456763; changing to 16107411. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107411, current: 6457163; changing to 16107412. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107412, current: 6457563; changing to 16107413. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107413, current: 6457963; changing to 16107414. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107414, current: 6458363; changing to 16107415. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107415, current: 6458763; changing to 16107416. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107416, current: 6459163; changing to 16107417. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107417, current: 6459563; changing to 16107418. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107418, current: 6459963; changing to 16107419. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107419, current: 6460363; changing to 16107420. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107420, current: 6460763; changing to 16107421. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107421, current: 6461163; changing to 16107422. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107422, current: 6461563; changing to 16107423. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107423, current: 6461963; changing to 16107424. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107424, current: 6462363; changing to 16107425. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107425, current: 6462763; changing to 16107426. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107426, current: 6463163; changing to 16107427. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107427, current: 6463563; changing to 16107428. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107428, current: 6463963; changing to 16107429. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107429, current: 6464363; changing to 16107430. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107430, current: 6464763; changing to 16107431. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107431, current: 6465163; changing to 16107432. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107432, current: 6465563; changing to 16107433. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107433, current: 6465963; changing to 16107434. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107434, current: 6466363; changing to 16107435. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107435, current: 6466763; changing to 16107436. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107436, current: 6467163; changing to 16107437. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107437, current: 6467563; changing to 16107438. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107438, current: 6467963; changing to 16107439. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107439, current: 6468363; changing to 16107440. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107440, current: 6468763; changing to 16107441. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107441, current: 6469163; changing to 16107442. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107442, current: 6469563; changing to 16107443. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107443, current: 6469963; changing to 16107444. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107444, current: 6470363; changing to 16107445. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107445, current: 6470763; changing to 16107446. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107446, current: 6471163; changing to 16107447. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107447, current: 6471563; changing to 16107448. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107448, current: 6471963; changing to 16107449. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107449, current: 6472363; changing to 16107450. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107450, current: 6472763; changing to 16107451. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107451, current: 6473163; changing to 16107452. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107452, current: 6473563; changing to 16107453. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107453, current: 6473963; changing to 16107454. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107454, current: 6474363; changing to 16107455. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107455, current: 6474763; changing to 16107456. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107456, current: 6475163; changing to 16107457. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107457, current: 6475563; changing to 16107458. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107458, current: 6475963; changing to 16107459. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107459, current: 6476363; changing to 16107460. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107460, current: 6476763; changing to 16107461. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107461, current: 6477163; changing to 16107462. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107462, current: 6477563; changing to 16107463. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107463, current: 6477963; changing to 16107464. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107464, current: 6478363; changing to 16107465. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107465, current: 6478763; changing to 16107466. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107466, current: 6479163; changing to 16107467. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107467, current: 6479563; changing to 16107468. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107468, current: 6479963; changing to 16107469. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107469, current: 6480363; changing to 16107470. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107470, current: 6480763; changing to 16107471. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107471, current: 6481163; changing to 16107472. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107472, current: 6481563; changing to 16107473. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107473, current: 6481963; changing to 16107474. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107474, current: 6482363; changing to 16107475. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107475, current: 6482763; changing to 16107476. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107476, current: 6483163; changing to 16107477. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107477, current: 6483563; changing to 16107478. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107478, current: 6483963; changing to 16107479. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107479, current: 6484363; changing to 16107480. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107480, current: 6484763; changing to 16107481. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107481, current: 6485163; changing to 16107482. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107482, current: 6485563; changing to 16107483. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107483, current: 6485963; changing to 16107484. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107484, current: 6486363; changing to 16107485. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107485, current: 6486763; changing to 16107486. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107486, current: 6487163; changing to 16107487. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107487, current: 6487563; changing to 16107488. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107488, current: 6487963; changing to 16107489. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107489, current: 6488363; changing to 16107490. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107490, current: 6488763; changing to 16107491. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107491, current: 6489163; changing to 16107492. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107492, current: 6489563; changing to 16107493. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107493, current: 6489963; changing to 16107494. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107494, current: 6490363; changing to 16107495. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107495, current: 6490763; changing to 16107496. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107496, current: 6491163; changing to 16107497. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107497, current: 6491563; changing to 16107498. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107498, current: 6491963; changing to 16107499. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107499, current: 6492363; changing to 16107500. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107500, current: 6492763; changing to 16107501. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107501, current: 6493163; changing to 16107502. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107502, current: 6493563; changing to 16107503. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107503, current: 6493963; changing to 16107504. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107504, current: 6494363; changing to 16107505. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107505, current: 6494763; changing to 16107506. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107506, current: 6495163; changing to 16107507. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107507, current: 6495563; changing to 16107508. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107508, current: 6495963; changing to 16107509. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107509, current: 6496363; changing to 16107510. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107510, current: 6496763; changing to 16107511. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107511, current: 6497163; changing to 16107512. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107512, current: 6497563; changing to 16107513. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107513, current: 6497963; changing to 16107514. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107514, current: 6498363; changing to 16107515. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107515, current: 6498763; changing to 16107516. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107516, current: 6499163; changing to 16107517. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107517, current: 6499563; changing to 16107518. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107518, current: 6499963; changing to 16107519. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107519, current: 6500363; changing to 16107520. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107520, current: 6500763; changing to 16107521. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107521, current: 6501163; changing to 16107522. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107522, current: 6501563; changing to 16107523. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107523, current: 6501963; changing to 16107524. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107524, current: 6502363; changing to 16107525. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107525, current: 6502763; changing to 16107526. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107526, current: 6503163; changing to 16107527. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107527, current: 6503563; changing to 16107528. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107528, current: 6503963; changing to 16107529. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107529, current: 6504363; changing to 16107530. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107530, current: 6504763; changing to 16107531. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107531, current: 6505163; changing to 16107532. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107532, current: 6505563; changing to 16107533. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107533, current: 6505963; changing to 16107534. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107534, current: 6506363; changing to 16107535. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107535, current: 6506763; changing to 16107536. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107536, current: 6507163; changing to 16107537. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107537, current: 6507563; changing to 16107538. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107538, current: 6507963; changing to 16107539. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107539, current: 6508363; changing to 16107540. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107540, current: 6508763; changing to 16107541. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107541, current: 6509163; changing to 16107542. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107542, current: 6509563; changing to 16107543. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107543, current: 6509963; changing to 16107544. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107544, current: 6510363; changing to 16107545. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107545, current: 6510763; changing to 16107546. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107546, current: 6511163; changing to 16107547. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107547, current: 6511563; changing to 16107548. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107548, current: 6511963; changing to 16107549. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107549, current: 6512363; changing to 16107550. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107550, current: 6512763; changing to 16107551. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107551, current: 6513163; changing to 16107552. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107552, current: 6513563; changing to 16107553. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107553, current: 6513963; changing to 16107554. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107554, current: 6514363; changing to 16107555. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107555, current: 6514763; changing to 16107556. This may result in incorrect timestamps in the output file.
    frame=16287 fps=1824 q=-1.0 Lsize=  381293kB time=00:22:23.64 bitrate=2324.7kbits/s speed= 150x   
    video:369967kB audio:10784kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.142437%

    This makes the video about 22 minutes even though it should be about 9!
    This is because the main video is CBR audio and the other ones being joined at variable.  To fix they must be constant CBR of 163kbps to match

    maybe it's also framerate mode one of them is variable and needs to be constant for the video.
    use the -crf flag instead of -r

    Frame rate mode                          : Variable


    Change FPS to 29.97 or change the "-r 29.97" to whatever frame rate you want
    ffmpeg -i 02.mp4 -r 29.97 02-30fps.mp4

    #changes to 29.97 fps and sets aac audio to 163kbit constant
    ffmpeg -i 02.mp4 -vcodec copy -acodec libfdk_aac -ab 163k -r 29.97 02-30fps.mp4



    ffmpeg -i 02.mp4 -vcodec copy  -acodec libfdk_aac -ab 163k -crf 29.97 02-30fps.mp4

    ffmpeg -i 02.mp4 -vcodec copy  -acodec libfdk_aac -ab 163k -crf 29.97 -r 29.97 02-30fps.mp4

    ffmpeg -i 02.mp4 -vcodec h264  -acodec libfdk_aac -ab 163k -vf "fps=29.97" 02-30fps.mp4


    ffmpeg -i initial.mp4 -i initial.mp4 -i initial.mp4 -i ending.mp4 -filter_complex concat=n=4:v=1:a=0 -f MOV output.mp4 -y

    ffmpeg -threads 12  -i 02.mp4 -i uservideoRendered.mp4 -i 02.mp4 -filter_complex concat=n=3:v=1:a=0 -acodec copy -f h264 output.mp4 -y
    #above works but video is unplayable and time is all wrong and no audio

    change concat=n=3:v=1:a=0 to concat=n=3:v=1:a=1

    ffmpeg -threads 12  -i 02.mp4 -i uservideoRendered.mp4 -i 02.mp4 -filter_complex concat=n=3:v=1:a=1 output.mp4


  • ffmpeg Unable to Use Hardware Encoding with Nvidia 3.40 Driver and GT210 card


    I believe from what I've read that this card's driver doesn't support the features after trying all known troubleshooting methods.

    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile main -preset slow -rc vbr_hq -c:a copy uservideoRendered.mp4-test

    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile:v main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4

    Could not initialize the CUDA driver API
    [AVFilterGraph @ 0x39d9500] Error initializing filter 'hwupload_cuda'
    Error reinitializing filters!
    Failed to inject frame into filter network: Unknown error occurred
    Error while processing the decoded data for stream #0:0

    sudo apt-get install nvidia-cuda-toolkit

    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4
    [AVFilterGraph @ 0x31465e0] No such filter: 'scale_npp'
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0
    Conversion failed!


    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1316:h=1080:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4
    [AVFilterGraph @ 0x32d7860] No such filter: 'scale_npp'
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0


    /home/one/ffmpeg-3.3.2/ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1316:h=1080:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4

    =========

    ffmpeg -i uservideoRendered.mp4 -i "/pathlogo-creation/2017-good-final/ORDER150f1.png" -filter_complex overlay=x=w-tw-10:y=h-th-10 uservideoRendered.mp4-branded.mp4

    [nvenc_hevc @ 0x2659760] This encoder is deprecated, use 'hevc_nvenc' instead
    Cannot load NvEncodeAPIGetMaxSupportedVersion
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    ffmpeg -i uservideoRendered.mp4 -i "/pathlogo-creation/2017-good-final/ORDER150f1.png" -filter_complex overlay=x=w-tw-10:y=h-th-10 uservideoRendered.mp4-branded.mp4

    Cannot load NvEncodeAPIGetMaxSupportedVersion
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


    ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy  -c:v h264_nvenc -profile high444p -pixel_format yuv444p -preset default -filter_complex overlay=W-w-25:H-h-25 $outputfile

    Please use -profile:a or -profile:v, -profile is ambiguous



    ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy  -c:v hevc_nvenc -profile:a main -preset slow -filter_complex overlay=W-w-25:H-h-25 $outputfile
    [NULL @ 0x31b5a60] [Eval @ 0x7ffd44eff2d0] Undefined constant or missing '(' in 'main'
    [NULL @ 0x31b5a60] Unable to parse option value "main"
    [NULL @ 0x31b5a60] Error setting option profile to value main.
    Error setting up codec context options.

    ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy -c:v hevc_nvenc -profile:v main10 -preset slow -filter_complex overlay=W-w-25:H-h-25 $outputfile
    Cannot load NvEncodeAPIGetMaxSupportedVersion
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


  • Linux Mint USB Kernel Tainted and Locked Port/Dev File


    Essentially a program I was running for mining did not terminate properly with Ctrl+C it is listed as defunct and cannot be killed, kernel is tainted and normal tricks to disable the port are impossible the dev and sys entries for the device cannot be browsed or interacted with in any form without a lockup of the request.  The only solution is to reboot due to the kernel taint as far as I can find so far.

     

    [1130246.811056] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130246.811066]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130246.811068] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130246.811072] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130246.811079]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130246.811082]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130246.811085]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130246.811089] Call Trace:
    [1130246.811103]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130246.811108]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130246.811116]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130246.811126]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130246.811132]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130246.811136]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130246.811140]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130246.811143]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130246.811149]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130246.811152]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130246.811158]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130246.811163]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130246.811166]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130246.811169]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130246.811174]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130246.811178]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130246.811181]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130246.811184]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130246.811187]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130246.811191]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130246.811196]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130246.811199]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130366.807538] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130366.807550]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130366.807553] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130366.807557] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130366.807566]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130366.807570]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130366.807574]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130366.807578] Call Trace:
    [1130366.807594]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130366.807601]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130366.807609]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130366.807621]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130366.807628]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130366.807632]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130366.807637]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130366.807641]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130366.807648]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130366.807652]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130366.807658]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130366.807664]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130366.807668]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130366.807672]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130366.807678]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130366.807682]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130366.807686]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130366.807689]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130366.807694]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130366.807698]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130366.807704]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130366.807708]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130486.803970] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130486.803981]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130486.803983] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130486.803986] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130486.803994]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130486.803998]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130486.804001]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130486.804004] Call Trace:
    [1130486.804017]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130486.804023]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130486.804031]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130486.804041]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130486.804047]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130486.804051]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130486.804054]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130486.804058]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130486.804064]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130486.804067]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130486.804072]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130486.804077]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130486.804080]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130486.804083]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130486.804088]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130486.804092]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130486.804095]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130486.804097]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130486.804101]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130486.804105]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130486.804110]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130486.804113]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130606.800437] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130606.800447]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130606.800449] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130606.800453] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130606.800460]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130606.800464]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130606.800467]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130606.800470] Call Trace:
    [1130606.800483]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130606.800489]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130606.800497]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130606.800506]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130606.800512]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130606.800516]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130606.800520]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130606.800523]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130606.800529]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130606.800532]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130606.800538]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130606.800543]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130606.800546]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130606.800549]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130606.800554]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130606.800557]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130606.800561]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130606.800563]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130606.800567]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130606.800571]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130606.800575]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130606.800579]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130726.797019] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130726.797035]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130726.797040] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130726.797046] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130726.797060]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130726.797068]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130726.797074]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130726.797082] Call Trace:
    [1130726.797101]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130726.797111]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130726.797124]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130726.797142]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130726.797151]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130726.797158]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130726.797167]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130726.797174]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130726.797184]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130726.797191]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130726.797201]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130726.797210]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130726.797216]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130726.797223]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130726.797233]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130726.797240]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130726.797247]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130726.797253]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130726.797260]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130726.797267]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130726.797275]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130726.797282]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130846.793476] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130846.793494]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130846.793498] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130846.793504] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130846.793517]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130846.793525]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130846.793531]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130846.793538] Call Trace:
    [1130846.793559]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130846.793569]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130846.793587]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130846.793604]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130846.793615]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130846.793622]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130846.793631]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130846.793637]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130846.793647]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130846.793654]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130846.793663]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130846.793672]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130846.793679]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130846.793685]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130846.793695]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130846.793702]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130846.793708]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130846.793714]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130846.793721]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130846.793728]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130846.793736]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130846.793743]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130966.789951] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130966.789967]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130966.789972] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130966.789978] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130966.789991]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130966.789999]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130966.790006]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130966.790012] Call Trace:
    [1130966.790032]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130966.790042]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130966.790054]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130966.790071]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130966.790082]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130966.790089]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130966.790098]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130966.790104]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130966.790114]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130966.790121]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130966.790130]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130966.790139]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130966.790146]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130966.790152]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130966.790161]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130966.790168]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130966.790175]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130966.790180]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130966.790187]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130966.790194]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130966.790202]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130966.790209]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1131086.786307] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1131086.786318]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1131086.786320] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1131086.786323] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1131086.786330]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1131086.786334]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1131086.786337]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1131086.786341] Call Trace:
    [1131086.786354]  [<ffffffff81804585>] schedule+0x35/0x80
    [1131086.786359]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1131086.786367]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1131086.786377]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1131086.786383]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1131086.786386]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1131086.786390]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1131086.786393]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1131086.786399]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1131086.786402]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1131086.786408]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1131086.786413]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1131086.786416]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1131086.786418]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1131086.786424]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1131086.786427]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1131086.786430]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1131086.786436]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1131086.786439]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1131086.786443]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1131086.786448]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1131086.786452]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1131206.782895] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1131206.782912]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1131206.782917] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1131206.782923] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1131206.782936]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1131206.782943]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1131206.782950]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1131206.782957] Call Trace:
    [1131206.782977]  [<ffffffff81804585>] schedule+0x35/0x80
    [1131206.782987]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1131206.782999]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1131206.783017]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1131206.783027]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1131206.783034]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1131206.783043]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1131206.783050]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1131206.783060]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1131206.783067]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1131206.783076]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1131206.783085]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1131206.783092]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1131206.783098]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1131206.783110]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1131206.783117]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1131206.783124]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1131206.783130]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1131206.783137]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1131206.783144]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1131206.783157]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1131206.783164]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1131326.779349] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1131326.779366]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1131326.779371] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1131326.779376] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1131326.779389]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1131326.779397]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1131326.779404]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1131326.779410] Call Trace:
    [1131326.779430]  [<ffffffff81804585>] schedule+0x35/0x80
    [1131326.779440]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1131326.779453]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1131326.779469]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1131326.779479]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1131326.779486]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1131326.779495]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1131326.779501]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1131326.779511]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1131326.779518]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1131326.779528]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1131326.779537]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1131326.779543]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1131326.779550]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1131326.779559]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1131326.779566]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1131326.779573]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1131326.779578]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1131326.779585]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1131326.779592]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1131326.779600]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1131326.779607]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f

    ps aux|grep minerd
    root     21855  0.0  0.0      0     0 ?        Zl   13:03   0:00 [minerd] <defunct>
    root     22322  0.0  0.0 103840  5920 ?        D    13:28   0:00 /home/one/MyFiles/Bank/mining/cpuminer-gridseed-syklon-support/cpuminer-gc3355-master/minerd --gc3355-detect -o stratum+tcp://stratum.aikapool.com:7919 -u coinguy.zworker -p qbumr4YoPk25dYRxja2y
    root     24899  0.0  0.0  11764  2076 pts/4    S+   16:17   0:00 grep --colour=auto minerd
    box user # kill -kill 21855
    box user # ps aux|grep minerd
    root     21855  0.0  0.0      0     0 ?        Zl   13:03   0:00 [minerd] <defunct>
    root     22322  0.0  0.0 103840  5920 ?        D    13:28   0:00 /home/one/MyFiles/Bank/mining/cpuminer-gridseed-syklon-support/cpuminer-gc3355-master/minerd --gc3355-detect -o stratum+tcp://stratum.aikapool.com:7919 -u coinguy.zworker -p qbumr4YoPk25dYRxja2y
    root     24901  0.0  0.0  11764  2248 pts/4    S+   16:17   0:00 grep --colour=auto minerd


    [1131435.736796] usb 2-4: USB disconnect, device number 17
    [1131437.743307] usb 2-1: USB disconnect, device number 15

    cd /sys/bus/usb/devices
     ls
    1-0:1.0  2-10      2-9      3-0:1.0  3-1:1.0    4-1      4-1.1:1.0  usb3
    2-0:1.0  2-10:1.0  2-9:1.0  3-1      3-1.1:1.0  4-1.1    usb1       usb4
    2-1      2-1:1.1   2-9:1.1  3-1.1    4-0:1.0    4-1:1.0  usb2

    lsusb and even manual reset hang:

    lsusb


    ^C^C^C^C

    echo 0 > 2-1/authorized


    cat /dev/bus/usb/002/001
    ^C^C

    ^C^C^C^C^C^C^C^C^C^C^C^C^C


     


  • ffmpeg Linux Mint download, compile and install howto


    #if you have nvidia make sure you install the nvidia-cuda-toolkit so hardware acceleration can be used

    wget http://ffmpeg.org/releases/ffmpeg-3.3.2.tar.bz2
    tar -jxvf ffmpeg-3.3.2.tar.bz2
    cd  ffmpeg-3.3.2/


    ./configure --disable-yasm

    install prefix            /usr/local
    source path               .
    C compiler                gcc
    C library                 glibc
    ARCH                      x86 (generic)
    big-endian                no
    runtime cpu detection     yes
    yasm                      no
    MMX enabled               yes
    MMXEXT enabled            yes
    3DNow! enabled            yes
    3DNow! extended enabled   yes
    SSE enabled               yes
    SSSE3 enabled             yes
    AESNI enabled             yes
    AVX enabled               yes
    XOP enabled               yes
    FMA3 enabled              yes
    FMA4 enabled              yes
    i686 features enabled     yes
    CMOV is fast              yes
    EBX available             yes
    EBP available             yes
    debug symbols             yes
    strip symbols             yes
    optimize for size         no
    optimizations             yes
    static                    yes
    shared                    no
    postprocessing support    no
    network support           yes
    threading support         pthreads
    safe bitstream reader     yes
    texi2html enabled         no
    perl enabled              yes
    pod2man enabled           yes
    makeinfo enabled          no
    makeinfo supports HTML    no

    External libraries:
    iconv              libxcb            libxcb_shm              xlib            zlib

    External libraries providing hardware acceleration:
    cuda              cuvid                nvenc

    Libraries:
    avcodec              avdevice            avfilter              avformat            avutil              swresample            swscale

    Programs:
    ffmpeg              ffprobe            ffserver

    Enabled decoders:
    aac              aic                cook              fmvc            mdec              opus                ppm                  srt            vp3
    aac_fixed          alac                cpia              fourxm            metasound          paf_audio            prores              ssa            vp5
    aac_latm          alias_pix            cscd              fraps            microdvd          paf_video            prores_lgpl              stl            vp6
    aasc              als                cyuv              frwu            mimic              pam                psd                  subrip            vp6a
    ac3              amrnb                dca                  g2m            mjpeg              pbm                ptx                  subviewer            vp6f
    ac3_fixed          amrwb                dds                  g723_1            mjpeg_cuvid          pcm_alaw            qcelp              subviewer1        vp7
    adpcm_4xm          amv                dfa                  g729            mjpegb              pcm_bluray            qdm2              sunrast            vp8
    adpcm_adx          anm                dirac              gif            mlp              pcm_dvd            qdmc              svq1            vp8_cuvid
    adpcm_afc          ansi                dnxhd              gsm            mmvideo              pcm_f16le            qdraw              svq3            vp9
    adpcm_aica          ape                dpx                  gsm_ms            motionpixels          pcm_f24le            qpeg              tak            vp9_cuvid
    adpcm_ct          apng                dsd_lsbf              h261            movtext              pcm_f32be            qtrle              targa            vplayer
    adpcm_dtk          ass                dsd_lsbf_planar          h263            mp1              pcm_f32le            r10k              targa_y216        vqa
    adpcm_ea          asv1                dsd_msbf              h263i            mp1float          pcm_f64be            r210              tdsc            wavpack
    adpcm_ea_maxis_xa      asv2                dsd_msbf_planar          h263p            mp2              pcm_f64le            ra_144              text            webp
    adpcm_ea_r1          atrac1            dsicinaudio              h264            mp2float          pcm_lxf            ra_288              theora            webvtt
    adpcm_ea_r2          atrac3            dsicinvideo              h264_cuvid        mp3              pcm_mulaw            ralf              thp            wmalossless
    adpcm_ea_r3          atrac3al            dss_sp              hap            mp3adu              pcm_s16be            rawvideo              tiertexseqvideo        wmapro
    adpcm_ea_xas          atrac3p            dst                  hevc            mp3adufloat          pcm_s16be_planar        realtext              tiff            wmav1
    adpcm_g722          atrac3pal            dvaudio              hevc_cuvid        mp3float          pcm_s16le            rl2                  tmv            wmav2
    adpcm_g726          aura                dvbsub              hnm4_video        mp3on4              pcm_s16le_planar        roq                  truehd            wmavoice
    adpcm_g726le          aura2                dvdsub              hq_hqa            mp3on4float          pcm_s24be            roq_dpcm              truemotion1        wmv1
    adpcm_ima_amv          avrn                dvvideo              hqx            mpc7              pcm_s24daud            rpza              truemotion2        wmv2
    adpcm_ima_apc          avrp                dxa                  huffyuv            mpc8              pcm_s24le            rscc              truemotion2rt        wmv3
    adpcm_ima_dat4          avs                dxtory              iac            mpeg1_cuvid          pcm_s24le_planar        rv10              truespeech        wmv3image
    adpcm_ima_dk3          avui                dxv                  idcin            mpeg1video          pcm_s32be            rv20              tscc            wnv1
    adpcm_ima_dk4          ayuv                eac3              idf            mpeg2_cuvid          pcm_s32le            rv30              tscc2            ws_snd1
    adpcm_ima_ea_eacs      bethsoftvid            eacmv              iff_ilbm            mpeg2video          pcm_s32le_planar        rv40              tta            xan_dpcm
    adpcm_ima_ea_sead      bfi                eamad              imc            mpeg4              pcm_s64be            s302m              twinvq            xan_wc3
    adpcm_ima_iss          bink                eatgq              indeo2            mpeg4_cuvid          pcm_s64le            sami              txd            xan_wc4
    adpcm_ima_oki          binkaudio_dct            eatgv              indeo3            mpegvideo          pcm_s8            sanm              ulti            xbin
    adpcm_ima_qt          binkaudio_rdft        eatqi              indeo4            mpl2              pcm_s8_planar            scpr              utvideo            xbm
    adpcm_ima_rad          bintext            eightbps              indeo5            msa1              pcm_u16be            screenpresso          v210            xface
    adpcm_ima_smjpeg      bmp                eightsvx_exp          interplay_acm        msmpeg4v1          pcm_u16le            sdx2_dpcm              v210x            xl
    adpcm_ima_wav          bmv_audio            eightsvx_fib          interplay_dpcm        msmpeg4v2          pcm_u24be            sgi                  v308            xma1
    adpcm_ima_ws          bmv_video            escape124              interplay_video        msmpeg4v3          pcm_u24le            sgirle              v408            xma2
    adpcm_ms          brender_pix            escape130              jacosub            msrle              pcm_u32be            sheervideo              v410            xpm
    adpcm_mtaf          c93                evrc              jpeg2000            mss1              pcm_u32le            shorten              vb            xsub
    adpcm_psx          cavs                exr                  jpegls            mss2              pcm_u8            sipr              vble            xwd
    adpcm_sbpro_2          ccaption            ffv1              jv            msvideo1          pcm_zork            smackaud              vc1            y41p
    adpcm_sbpro_3          cdgraphics            ffvhuff              kgv1            mszh              pcx                smacker              vc1_cuvid            ylc
    adpcm_sbpro_4          cdxl                ffwavesynth              kmvc            mts2              pgm                smc                  vc1image            yop
    adpcm_swf          cfhd                fic                  lagarith            mvc1              pgmyuv            smvjpeg              vcr1            yuv4
    adpcm_thp          cinepak            flac              loco            mvc2              pgssub            snow              vmdaudio            zero12v
    adpcm_thp_le          clearvideo            flashsv              m101            mxpeg              pictor            sol_dpcm              vmdvideo            zerocodec
    adpcm_vima          cljr                flashsv2              mace3            nellymoser          pixlet            sonic              vmnc            zlib
    adpcm_xa          cllc                flic              mace6            nuv              pjs                sp5x              vorbis            zmbv
    adpcm_yamaha          comfortnoise            flv                  magicyuv            on2avc              png                speedhq

    Enabled encoders:
    a64multi          ass                ffv1              mjpeg            pbm              pcm_s32le_planar        prores              srt            vorbis
    a64multi5          asv1                ffvhuff              mlp            pcm_alaw          pcm_s64be            prores_aw              ssa            wavpack
    aac              asv2                flac              movtext            pcm_f32be          pcm_s64le            prores_ks              subrip            webvtt
    ac3              avrp                flashsv              mp2            pcm_f32le          pcm_s8            qtrle              sunrast            wmav1
    ac3_fixed          avui                flashsv2              mp2fixed            pcm_f64be          pcm_s8_planar            r10k              svq1            wmav2
    adpcm_adx          ayuv                flv                  mpeg1video        pcm_f64le          pcm_u16be            r210              targa            wmv1
    adpcm_g722          bmp                g723_1              mpeg2video        pcm_mulaw          pcm_u16le            ra_144              text            wmv2
    adpcm_g726          cinepak            gif                  mpeg4            pcm_s16be          pcm_u24be            rawvideo              tiff            wrapped_avframe
    adpcm_ima_qt          cljr                h261              msmpeg4v2            pcm_s16be_planar      pcm_u24le            roq                  truehd            xbm
    adpcm_ima_wav          comfortnoise            h263              msmpeg4v3            pcm_s16le          pcm_u32be            roq_dpcm              tta            xface
    adpcm_ms          dca                h263p              msvideo1            pcm_s16le_planar      pcm_u32le            rv10              utvideo            xsub
    adpcm_swf          dnxhd                h264_nvenc              nellymoser        pcm_s24be          pcm_u8            rv20              v210            xwd
    adpcm_yamaha          dpx                hevc_nvenc              nvenc            pcm_s24daud          pcx                s302m              v308            y41p
    alac              dvbsub            huffyuv              nvenc_h264        pcm_s24le          pgm                sgi                  v408            yuv4
    alias_pix          dvdsub            jpeg2000              nvenc_hevc        pcm_s24le_planar      pgmyuv            snow              v410            zlib
    amv              dvvideo            jpegls              opus            pcm_s32be          png                sonic              vc2            zmbv
    apng              eac3                ljpeg              pam            pcm_s32le          ppm                sonic_ls

    Enabled hwaccels:
    h264_cuvid          hevc_cuvid            mjpeg_cuvid              mpeg1_cuvid        mpeg2_cuvid          mpeg4_cuvid            vc1_cuvid              vp8_cuvid            vp9_cuvid

    Enabled parsers:
    aac              cavsvideo            dpx                  flac            h264              mpeg4video            png                  sipr            vp3
    aac_latm          cook                dvaudio              g729            hevc              mpegaudio            pnm                  tak            vp8
    ac3              dca                dvbsub              gsm            mjpeg              mpegvideo            rv30              vc1            vp9
    adx              dirac                dvd_nav              h261            mlp              opus                rv40              vorbis            xma
    bmp              dnxhd                dvdsub              h263

    Enabled demuxers:
    aa              bintext            epaf              image2_brender_pix    ivr              msf                pcm_u16be              sds            v210
    aac              bit                ffm                  image2pipe        jacosub              msnwc_tcp            pcm_u16le              sdx            v210x
    ac3              bmv                ffmetadata              image_bmp_pipe        jv              mtaf                pcm_u24be              segafilm            vag
    acm              boa                filmstrip              image_dds_pipe        live_flv          mtv                pcm_u24le              shorten            vc1
    act              brstm                flac              image_dpx_pipe        lmlm4              musx                pcm_u32be              siff            vc1t
    adf              c93                flic              image_exr_pipe        loas              mv                pcm_u32le              sln            vivo
    adp              caf                flv                  image_j2k_pipe        lrc              mvi                pcm_u8              smacker            vmd
    ads              cavsvideo            fourxm              image_jpeg_pipe        lvf              mxf                pjs                  smjpeg            vobsub
    adx              cdg                frm                  image_jpegls_pipe        lxf              mxg                pmp                  smush            voc
    aea              cdxl                fsb                  image_pam_pipe        m4v              nc                pva                  sol            vpk
    afc              cine                g722              image_pbm_pipe        matroska          nistsphere            pvf                  sox            vplayer
    aiff              concat            g723_1              image_pcx_pipe        mgsts              nsv                qcp                  spdif            vqf
    aix              data                g729              image_pgm_pipe        microdvd          nut                r3d                  srt            w64
    amr              daud                genh              image_pgmyuv_pipe        mjpeg              nuv                rawvideo              stl            wav
    anm              dcstr                gif                  image_pictor_pipe        mjpeg_2000          ogg                realtext              str            wc3
    apc              dfa                gsm                  image_png_pipe        mlp              oma                redspark              subviewer            webm_dash_manifest
    ape              dirac                gxf                  image_ppm_pipe        mlv              paf                rl2                  subviewer1        webvtt
    apng              dnxhd                h261              image_psd_pipe        mm              pcm_alaw            rm                  sup            wsaud
    aqtitle              dsf                h263              image_qdraw_pipe        mmf              pcm_f32be            roq                  svag            wsd
    asf              dsicin            h264              image_sgi_pipe        mov              pcm_f32le            rpl                  swf            wsvqa
    asf_o              dss                hevc              image_sunrast_pipe    mp3              pcm_f64be            rsd                  tak            wtv
    ass              dts                hls                  image_tiff_pipe        mpc              pcm_f64le            rso                  tedcaptions        wv
    ast              dtshd                hnm                  image_webp_pipe        mpc8              pcm_mulaw            rtp                  thp            wve
    au              dv                ico                  image_xpm_pipe        mpegps              pcm_s16be            rtsp              threedostr        xa
    avi              dvbsub            idcin              ingenient            mpegts              pcm_s16le            sami              tiertexseq        xbin
    avr              dvbtxt            idf                  ipmovie            mpegtsraw          pcm_s24be            sap                  tmv            xmv
    avs              dxa                iff                  ircam            mpegvideo          pcm_s24le            sbg                  truehd            xvag
    bethsoftvid          ea                ilbc              iss            mpjpeg              pcm_s32be            scc                  tta            xwma
    bfi              ea_cdata            image2              iv8            mpl2              pcm_s32le            sdp                  tty            yop
    bfstm              eac3                image2_alias_pix          ivf            mpsub              pcm_s8            sdr2              txd            yuv4mpegpipe
    bink

    Enabled muxers:
    a64              crc                framehash              image2pipe        mov              nut                pcm_s32le              rtsp            truehd
    ac3              dash                framemd5              ipod            mp2              oga                pcm_s8              sap            tta
    adts              data                g722              ircam            mp3              ogg                pcm_u16be              scc            uncodedframecrc
    adx              daud                g723_1              ismv            mp4              ogv                pcm_u16le              segment            vc1
    aiff              dirac                gif                  ivf            mpeg1system          oma                pcm_u24be              singlejpeg        vc1t
    amr              dnxhd                gsm                  jacosub            mpeg1vcd          opus                pcm_u24le              smjpeg            voc
    apng              dts                gxf                  latm            mpeg1video          pcm_alaw            pcm_u32be              smoothstreaming        w64
    asf              dv                h261              lrc            mpeg2dvd          pcm_f32be            pcm_u32le              sox            wav
    asf_stream          eac3                h263              m4v            mpeg2svcd          pcm_f32le            pcm_u8              spdif            webm
    ass              f4v                h264              matroska            mpeg2video          pcm_f64be            psp                  spx            webm_chunk
    ast              ffm                hash              matroska_audio        mpeg2vob          pcm_f64le            rawvideo              srt            webm_dash_manifest
    au              ffmetadata            hds                  md5            mpegts              pcm_mulaw            rm                  stream_segment        webp
    avi              fifo                hevc              microdvd            mpjpeg              pcm_s16be            roq                  swf            webvtt
    avm2              filmstrip            hls                  mjpeg            mxf              pcm_s16le            rso                  tee            wtv
    bit              flac                ico                  mkvtimestamp_v2        mxf_d10              pcm_s24be            rtp                  tg2            wv
    caf              flv                ilbc              mlp            mxf_opatom          pcm_s24le            rtp_mpegts              tgp            yuv4mpegpipe
    cavsvideo          framecrc            image2              mmf            null              pcm_s32be

    Enabled protocols:
    async              data                ftp                  http            md5              pipe                rtmpt              subfile            udp
    cache              ffrtmphttp            gopher              httpproxy            mmsh              prompeg            rtp                  tcp            udplite
    concat              file                hls                  icecast            mmst              rtmp                srtp              tee            unix
    crypto

    Enabled filters:
    abench              anoisesrc            bandreject              curves            fieldorder          lenscorrection        paletteuse              settb            swaprect
    abitscope          anull                bass              datascope            firequalizer          life                pan                  showcqt            swapuv
    acompressor          anullsink            bbox              dcshift            flanger              loop                perms              showfreqs            tblend
    acrossfade          anullsrc            bench              dctdnoiz            format              loudnorm            pixdesctest              showinfo            telecine
    acrusher          apad                biquad              deband            fps              lowpass            premultiply              showpalette        testsrc
    adelay              aperms            bitplanenoise          decimate            framepack          lut                prewitt              showspectrum        testsrc2
    adrawgraph          aphasemeter            blackdetect              deflate            framerate          lut2                psnr              showspectrumpic        threshold
    aecho              aphaser            blend              dejudder            framestep          lut3d                qp                  showvolume        thumbnail
    aemphasis          apulsator            bwdif              deshake            gblur              lutrgb            random              showwaves            tile
    aeval              arealtime            cellauto              detelecine        gradfun              lutyuv            readeia608              showwavespic        transpose
    aevalsrc          aresample            channelmap              dilation            haldclut          mandelbrot            readvitc              shuffleframes        treble
    afade              areverse            channelsplit          displace            haldclutsrc          maskedclamp            realtime              shuffleplanes        tremolo
    afftfilt          aselect            chorus              drawbox            hdcd              maskedmerge            remap              sidechaincompress        trim
    aformat              asendcmd            chromakey              drawgraph            hflip              mergeplanes            removegrain              sidechaingate        unsharp
    agate              asetnsamples            ciescope              drawgrid            highpass          mestimate            removelogo              sidedata            vectorscope
    ahistogram          asetpts            codecview              dynaudnorm        histogram          metadata            replaygain              signalstats        vflip
    ainterleave          asetrate            color              earwax            hqx              midequalizer            reverse              silencedetect        vibrato
    alimiter          asettb            colorbalance          ebur128            hstack              minterpolate            rgbtestsrc              silenceremove        vignette
    allpass              ashowinfo            colorchannelmixer          edgedetect        hue              movie                rotate              sine            volume
    allrgb              asidedata            colorkey              elbg            hwdownload          negate            scale              smptebars            volumedetect
    allyuv              asplit            colorlevels              equalizer            hwmap              nlmeans            scale2ref              smptehdbars        vstack
    aloop              astats            colorspace              erosion            hwupload          noformat            select              sobel            w3fdif
    alphaextract          astreamselect            compand              extractplanes        hwupload_cuda          noise                selectivecolor          spectrumsynth        waveform
    alphamerge          atadenoise            compensationdelay          extrastereo        hysteresis          null                sendcmd              split            weave
    amerge              atempo            concat              fade            idet              nullsink            separatefields          ssim            xbr
    ametadata          atrim                convolution              fftfilt            il              nullsrc            setdar              stereotools        yadif
    amix              avectorscope            copy              field            inflate              overlay            setfield              stereowiden        yuvtestsrc
    amovie              avgblur            crop              fieldhint            interleave          pad                setpts              streamselect        zoompan
    anequalizer          bandpass            crystalizer              fieldmatch        join              palettegen            setsar

    Enabled bsfs:
    aac_adtstoasc          dca_core            extract_extradata          hevc_mp4toannexb        mjpeg2jpeg          mov2textsub            mpeg4_unpack_bframes      remove_extradata        vp9_superframe
    chomp              dump_extradata        h264_mp4toannexb          imx_dump_header        mjpega_dump_header      mp3_header_decompress        noise              text2movsub

    Enabled indevs:
    dv1394              fbdev                lavfi              oss            v4l2              xcbgrab

    Enabled outdevs:
    fbdev              oss                v4l2

    License: LGPL version 2.1 or later
    Creating configuration files ...
    config.h is unchanged
    libavutil/avconfig.h is unchanged
    libavcodec/bsf_list.c is unchanged
    libavformat/protocol_list.c is unchanged


    make
    make install


  • OpenVZ error : Container start failed (try to check kernel messages, e.g. "dmesg | tail") Locked by: pid 166638, cmdline vzctl start 888171


    This container won't start after exhausting its memory.  There are no relevant or helpful messages in dmesg or vzctl.log as well.  Standard troubleshooting such as disabling PPP etc has not helped.

     

    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Locked by: pid 166029, cmdline vzctl start 888171
    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Container already locked
    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Container was stopped
    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Container is unmounted
    2017-07-06T23:33:39-0400 vzctl : CT 888171 : Starting container...
    2017-07-06T23:33:39-0400 vzctl : CT 888171 : Container is mounted
    2017-07-06T23:33:39-0400 vzctl : CT 888171 : Adding IP address(es): 103.25.61.245
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Setting CPU units: 1000
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Setting devices
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Container start failed (try to check kernel messages, e.g. "dmesg | tail")
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Killing container ...
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Locked by: pid 166638, cmdline vzctl start 888171
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Container already locked
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Container was stopped
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Container is unmounted

     

     


  • How to extract view contents of initramfs image gzip'd


    Very simple browse to your /boot directory

    It does make more sense to extract the image in its own directory eg "initramfs-blabla-dir" as it will literally extract directly to the pwd.

    cp initramfs.img someotherdir

    cd someotherdir


    zcat initramfs-3.10.0-514.el7.x86_64.img | cpio -idmv


  • Linux how to copy GPT partition table with dd


    The old MBR 512 bytes partition table is no longer valid if you are using GPT. 

    To copy a GPT table with dd to another disk do it like so:

    Below sda is the source disk and destination disk is sdb (change to meet your needs).

    dd if=/dev/sda of=/dev/sdb bs=1536 count=1

    You can also use dd to backup your partition table like normal but with the bs of 1536

    dd if=/dev/sda of=/root/sda-gpt-table-backup.img bs=1536 count=1


  • Centos 7 How To Change Hostname


    Some guides still use the old Centos 6 style (do not use /etc/sysconfig/network).

    In Centos 7 the file is /etc/hostname

    echo "HOSTNAME=yourhostname.com" > /etc/hostname


  • Debian/Mint/Ubuntu Font Packs/Recommended To Install


    This will give you a lot more nice fonts to work with.  Usually you must restart the program you are using to see the new fonts.

    ttf-mscorefonts-installer fonts-larabie-* ttf-xfree86-* ubuntustudio-fonts ttf-* fonts-*


  • Migrate Centos 7 from Single HDD to mdadm RAID 10 array:


    Done on Centos 7.3 very important as clearly based on older guides it was a lot easier and more simpler!  Hint do not use grub2-install!

    One huge caveat if you are an oldschool user or sysadmin who has avoided UEFI booting

    The normal way will not work here if your Centos was using UEFI.  Newer systems use it by default.

    The easiest way to check is to do an fdisk -l if your system disk and check for an EFI partition.

    If using EFI you need a EFI partition usually about 200M.

    Instead of the typical partition 1 being normal boot this will now be EFI.

    • Partion 1 = EFI Boot 200M
    • Partition 2 = Boot 800M
    • Partition 3 = SWAP
    • Partition 4 = /
       

    To match you will now have of course 4 mdadm arrays instead of 3 because of EFI.

    Centos boot issue

    #1 you MUST have an EFI partiton and you MUST be booted as UEFI!
    a.)
    So to make it more complicated with UEFI here is how a standard or at least Centos 7 typically works.

    /boot partion mounted as /boot
    /efi partition mounted as /boot/efi
    b.) EFI partition can be mdadm RAID but must be level 1 and --metadata=1.0 and vfat filesystem
    grub2-install --target=x86_64-efi /dev/sda
    grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

    If you don't tell grub2-mkconfig to update the EFI grub.cfg you will be greeted to a blank grub boot screen with no menu entries.  No clue why grub2-mkconfig does not seem to update the correct EFI grub.cfg on its own.

    #after booting getting another issue
    dracut-initqueue: Warning: dracut-initqueue timeout -starting timeout scripts
    Started dracut initqueue hook
    Reached target Remote File Systems (Pre).
    Reached target Remote File Systems.
    A start job is running for dev-disk-byx2uuid-8f411f86x2d....device (7min 58s / no limit)

     

    3 arrays:

    md0  = /boot ext4

    *(note md0 this must be --level 1 and --metadata=0.90 or it will not boot/work)

    md1 = swap

    md2 = / ext4

     

    all mounted in /mnt/

     

     

    #install grub2-tools so we can install it

    yum -y install grub2-tools grub2-efi-modules

    lack of efi modules gives the following error (if you didn't install the above): grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.


    mkswap /dev/md1
    Setting up swapspace version 1, size = 31440892 KiB
    no label, UUID=a30ab8dd-f462-4dab-940d-6658bcae4395

    get the UUIDs of each array:

    blkid /dev/md0
    blkid /dev/md1
    blkid /dev/md2

    /dev/md0: UUID="5b51dbfb-f361-48c3-bfdf-5da171e4577c" TYPE="ext4"
    /dev/md1: UUID="a30ab8dd-f462-4dab-940d-6658bcae4395" TYPE="swap"
    /dev/md2: UUID="8f411f86-3816-409b-b291-ebe1a7a170ef" TYPE="ext4"

    mount /dev/md2 /target

    rsync -Pha --exclude="/boot/*" --exclude="/sys/*" --exclude=/proc/* --exclude=/mnt/* / /target

    mount /dev/md0 /target/boot

    #if you have an EFI partition /dev/md3 or whatever you've used it for

    mount /dev/md3 /target/boot/efi

    #rsync the rest

    rsync -Pha /boot/ /target/boot/

    #if you have an EFI partition

    rsync -Pha /boot/efi /target/boot/efi

    Change /mnt/md2 to your mounted root /

     

    mount=/target
    for bind in dev sys proc; do
    mount -o bind /$bind /$mount/$bind
    done

     chroot /mnt/md2

    #run the swapon command on your swap partition othewrise it soudns weird but mdadm WILL not activate the array even if it's in mdadm.conf. 

    swapon /dev/md1

    mdadm --detail --scan > /etc/mdadm.conf
     Update initramfs
    
    #you must specify the exact initramfs image and exact kernel name (matching it) or it will not work/be unbootable - much more finicky than Centos 6
    dracut /boot/initramfs-3.10.0-514.21.2.el7.x86_64.img 3.10.0-514.21.2.el7.x86_64 --force
    
    #if you get a message like this you specified the wrong kernel details in the second parameter
    Kernel version 3.10.0-514.21.2.el7 has no module directory /lib/modules/3.10.0-514.21.2.el7
    #in the above case I forgot the .x86_64 at the end
    
    
    dracut --mdadmconf --fstab --add="mdraid" --filesystems "vfat xfs ext4 ext3 tmpfs devpts sysfs proc" --add-drivers="raid1 raid10" --force 
    #this dracut step is critical because by default it will not have mdadm raid support so it will keep looking for devcies that don't get created
    #also MAKE sure to use the latest or current initramfs (may not be obvious ifyou are booting from a recovery disc).
    dracut --mdadmconf --fstab --add="mdraid" --filesystems "xfs ext4 ext3 tmpfs devpts sysfs proc" --add-drivers="raid1 raid10" /boot/initramfs-3.10.0-514.21.2.el7.x86_64.img --force
    

    Update grub2-config

    #to avoid problems remove any old grub.cfg

    echo y| rm /boot/efi/EFI/centos/grub.cfg

    echo y| rm /boot/grub2/grub.cfg

    grub2-mkconfig

    #something went wrong as it doesn't boot

    The above happens if you are running EFI and didn't specify output to your EFI partition for grub.cfg

    If you have EFI

    grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

    #not sure why but the above still results in a blank grub screen with no menu entries.  Maybe grub2 needs to be reinstalled as a package or something else first.  I suspect it doesn't contain the right modules to read the boot or efi partition.

     

    Install grub2:

    #NO NO NO - DO NOT USE GRUB2-INSTALL

    This Fedora warning explains it all:

    Stop (medium size).png

    grub2-install shouldn't be used on EFI systems. The grub2-efi package installs a prebaked grubx64.efi on the EFI System partition, which looks for grub.cfg on the ESP in /EFI/fedora/ whereas the grub2-install command creates a custom grubx64.efi, deletes the original installed one, and looks for grub.cfg in /boot/grub2/.

    Solution just do a "yum reinstall grub2-efi"

    One other solution is if you really want grub2-install is to make /boot/grub2/grub.cfg a symlnk to /boot/efi/EFI/centos/grub.cfg

    ln -s /boot/efi/EFI/centos/grub.cfg /boot/grub2/grub.cfg this doesn't work I am certain grub cannot make use of that symlink

    #if you get an error of "grub2-install: error /boot/efi doesn't look like an EFI partition"

    It means you haven't mounted your EFI partition OR you haven't set the partition as EFI (in gdisk this is type ef00).   You'll have to stop the mdadm array for EFI and then do a mkfs.vfat on it and try again (partition must be VFAT and no other fs such as ext4/xfs etc.. it won't work unless it's VFAT).


  • How to change reserved blocks in Linux partition


    user@box:~$ sudo tune2fs -l /dev/md99
    [sudo] password for user:
    tune2fs 1.42.9 (4-Feb-2014)
    Filesystem volume name:   <nuser>
    Last mounted on:          /mnt/md50
    Filesystem UUID:          976a8655-2619-4587-878c-dab07f7b7652
    Filesystem magic number:  0xEF53
    Filesystem revision #:    1 (dynamic)
    Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
    Filesystem flags:         signed_directory_hash
    Default mount options:    user_xattr acl
    Filesystem state:         clean
    Errors behavior:          Continue
    Filesystem OS type:       Linux
    Inode count:              244187136
    Block count:              1953473536
    Reserved block count:     97673676
    Free blocks:              665750586
    Free inodes:              213815139
    First block:              0
    Block size:               4096
    Fragment size:            4096
    Reserved GDT blocks:      558
    Blocks per group:         32768
    Fragments per group:      32768
    Inodes per group:         4096
    Inode blocks per group:   256
    RAID stride:              128
    RAID stripe width:        1048320
    Flex block group size:    16
    Filesystem created:       Wed Dec 28 16:17:14 2016
    Last mount time:          Fri Jun 23 12:48:18 2017
    Last write time:          Fri Jun 23 12:48:18 2017
    Mount count:              22
    Maximum mount count:      -1
    Last checked:             Wed Dec 28 16:17:14 2016
    Check interval:           0 (<nuser>)
    Lifetime writes:          1565 GB
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)
    First inode:              11
    Inode size:              256
    Required extra isize:     28
    Desired extra isize:      28
    Journal inode:            8
    Default directory hash:   half_md4
    Directory Hash Seed:      2474f801-44c2-4fe1-8809-34759b56a2fb
    Journal backup:           inode blocks

    user@box:~$ sudo tune2fs -l /dev/md99|grep -i reserved
    Reserved block count:     97673676
    Reserved GDT blocks:      558
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)

    Solution change to 2% reserved blocks instead of 5%

    The -m2 means 2% change that to the percentage you want.

    sudo tune2fs -m2 /dev/md99
    tune2fs 1.42.9 (4-Feb-2014)
    Setting reserved blocks percentage to 2% (39069470 blocks)


     


  • Reading package lists... Done W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D46F45428842CE5E


    Still looking for the solution

    Working Solution 2017/07

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D46F45428842CE5E

    Solution

    gpg --keyserver hkp://subkeys.pgp.net --recv-keys D46F45428842CE5E


    gpg: requesting key 8842CE5E from hkp server subkeys.pgp.net

    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
     


  • Centos 7 A start job is running for dev-mapper-clx2droot.device (8min 44s / no limit)


    This error is usually because of some sort of encryption in this case a Seagate enclosure with encryption (even though not enabled) did not allow this hard drive to boot.


  • USB 3.0 External HDD Enclosure Seagate UAS problems - [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00


     

    This is a 8TB Seagate external USB 3.0 device apparently newer kernels use a module called "UAS" instead of "USB Storage" which causes issues as a lot of devices are not properly supported in UAS mode by the kernel driver.  The solution some say is to disable UAS specifically for your USB device but I'd rather just disable UAS altogether.

     
    Solution blacklist UAS: *do not do this it does not work and just causes your USB 3.0 device to stop working!

    sudo vi /etc/modprobe.d/blacklist.conf

    blacklist uas

     Then reboot

    Real Solution:

    lsusb

    Bus 004 Device 003: ID 0bc2:ab38 Seagate RSS LLC
    Bus 004 Device 002: ID 0bc2:ab45 Seagate RSS LLC

    echo options usb-storage quirks=0bc2:ab38:u | sudo tee /etc/modprobe.d/blacklist_uas00.conf
    echo options usb-storage quirks=0bc2:ab45:u | sudo tee /etc/modprobe.d/blacklist_uas01.conf

    sudo update-initramfs -u

    Error example:

    [107277.010389] INFO: task jbd2/md99-8:5142 blocked for more than 120 seconds.
    [107277.010406]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [107277.010411] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [107277.010417] jbd2/md99-8     D ffff880f594b3ae8     0  5142      2 0x00000000
    [107277.010429]  ffff880f594b3ae8 ffff8810084a3300 ffff881008655940 ffff880f594b4000
    [107277.010437]  0000000000000000 7fffffffffffffff ffff88102fff0c68 ffffffff81804cc0
    [107277.010444]  ffff880f594b3b00 ffffffff81804585 ffff88102fc96e00 ffff880f594b3ba8
    [107277.010451] Call Trace:
    [107277.010471]  [] ? bit_wait+0x50/0x50
    [107277.010480]  [] schedule+0x35/0x80
    [107277.010489]  [] schedule_timeout+0x237/0x2d0
    [107277.010497]  [] ? md_make_request+0xec/0x240
    [107277.010508]  [] ? ktime_get+0x3c/0xb0
    [107277.010514]  [] ? bit_wait+0x50/0x50
    [107277.010521]  [] io_schedule_timeout+0xa6/0x110
    [107277.010528]  [] bit_wait_io+0x1b/0x60
    [107277.010535]  [] __wait_on_bit+0x60/0x90
    [107277.010541]  [] ? bit_wait+0x50/0x50
    [107277.010548]  [] out_of_line_wait_on_bit+0x72/0x80
    [107277.010558]  [] ? autoremove_wake_function+0x40/0x40
    [107277.010568]  [] __wait_on_buffer+0x32/0x40
    [107277.010577]  [] jbd2_journal_commit_transaction+0x1702/0x1970
    [107277.010586]  [] kjournald2+0xbb/0x230
    [107277.010593]  [] ? prepare_to_wait_event+0xf0/0xf0
    [107277.010599]  [] ? commit_timeout+0x10/0x10
    [107277.010607]  [] kthread+0xc9/0xe0
    [107277.010613]  [] ? kthread_park+0x60/0x60
    [107277.010620]  [] ret_from_fork+0x3f/0x70
    [107277.010626]  [] ? kthread_park+0x60/0x60
    [107996.987561] INFO: task jbd2/md99-8:5142 blocked for more than 120 seconds.
    [107996.987575]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [107996.987579] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [107996.987584] jbd2/md99-8     D ffff880f594b3ae8     0  5142      2 0x00000000
    [107996.987594]  ffff880f594b3ae8 ffff88100989cc80 ffff881008655940 ffff880f594b4000
    [107996.987601]  0000000000000000 7fffffffffffffff ffff88102ffef4e0 ffffffff81804cc0
    [107996.987606]  ffff880f594b3b00 ffffffff81804585 ffff88102fc16e00 ffff880f594b3ba8
    [107996.987611] Call Trace:
    [107996.987629]  [] ? bit_wait+0x50/0x50
    [107996.987636]  [] schedule+0x35/0x80
    [107996.987644]  [] schedule_timeout+0x237/0x2d0
    [107996.987651]  [] ? md_make_request+0xec/0x240
    [107996.987660]  [] ? ktime_get+0x3c/0xb0
    [107996.987665]  [] ? bit_wait+0x50/0x50
    [107996.987670]  [] io_schedule_timeout+0xa6/0x110
    [107996.987676]  [] bit_wait_io+0x1b/0x60
    [107996.987681]  [] __wait_on_bit+0x60/0x90
    [107996.987686]  [] ? bit_wait+0x50/0x50
    [107996.987692]  [] out_of_line_wait_on_bit+0x72/0x80
    [107996.987700]  [] ? autoremove_wake_function+0x40/0x40
    [107996.987709]  [] __wait_on_buffer+0x32/0x40
    [107996.987716]  [] jbd2_journal_commit_transaction+0x1702/0x1970
    [107996.987724]  [] kjournald2+0xbb/0x230
    [107996.987730]  [] ? prepare_to_wait_event+0xf0/0xf0
    [107996.987734]  [] ? commit_timeout+0x10/0x10
    [107996.987741]  [] kthread+0xc9/0xe0
    [107996.987746]  [] ? kthread_park+0x60/0x60
    [107996.987752]  [] ret_from_fork+0x3f/0x70
    [107996.987756]  [] ? kthread_park+0x60/0x60
    [121425.085756] sd 11:0:0:0: [sdd] tag#27 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD OUT
    [121425.085774] sd 11:0:0:0: [sdd] tag#27 CDB: Write(16) 8a 00 00 00 00 03 41 02 9d 88 00 00 00 18 00 00
    [121425.086060] sd 11:0:0:0: [sdd] tag#20 uas_eh_abort_handler 0 uas-tag 21 inflight: CMD OUT
    [121425.086069] sd 11:0:0:0: [sdd] tag#20 CDB: Write(16) 8a 00 00 00 00 03 40 c2 9c 00 00 00 00 08 00 00
    [121425.086336] sd 11:0:0:0: [sdd] tag#19 uas_eh_abort_handler 0 uas-tag 20 inflight: CMD OUT
    [121425.086343] sd 11:0:0:0: [sdd] tag#19 CDB: Write(16) 8a 00 00 00 00 03 40 a2 9c 10 00 00 00 10 00 00
    [121436.561626] INFO: task kworker/u33:3:32394 blocked for more than 120 seconds.
    [121436.561641]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [121436.561645] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [121436.561650] kworker/u33:3   D ffff8806fbd677c8     0 32394      2 0x00000000
    [121436.561669] Workqueue: writeback wb_workfn (flush-9:99)
    [121436.561675]  ffff8806fbd677c8 ffffffff81e13500 ffff880586b62640 ffff8806fbd68000
    [121436.561681]  ffff88080820f8ec ffff880586b62640 00000000ffffffff ffff88080820f8f0
    [121436.561686]  ffff8806fbd677e0 ffffffff81804585 ffff88080820f8e8 ffff8806fbd677f0
    [121436.561692] Call Trace:
    [121436.561706]  [] schedule+0x35/0x80
    [121436.561714]  [] schedule_preempt_disabled+0xe/0x10
    [121436.561721]  [] __mutex_lock_slowpath+0x95/0x110
    [121436.561734]  [] ? __make_request+0x92b/0xcc0 [raid10]
    [121436.561740]  [] mutex_lock+0x1f/0x2f
    [121436.561747]  [] __jbd2_log_wait_for_space+0xc3/0x1e0
    [121436.561753]  [] add_transaction_credits+0x282/0x2a0
    [121436.561760]  [] ? make_request+0x7e/0x110 [raid10]
    [121436.561765]  [] start_this_handle+0x17b/0x3e0
    [121436.561772]  [] ? kmem_cache_alloc+0x1e2/0x200
    [121436.561776]  [] ? jbd2__journal_start+0x87/0x1f0
    [121436.561781]  [] jbd2__journal_start+0xe9/0x1f0
    [121436.561787]  [] ? ext4_writepages+0x41d/0xcd0
    [121436.561794]  [] __ext4_journal_start_sb+0x6d/0xf0
    [121436.561798]  [] ext4_writepages+0x41d/0xcd0
    [121436.561807]  [] do_writepages+0x1e/0x30
    [121436.561811]  [] __writeback_single_inode+0x45/0x340
    [121436.561817]  [] writeback_sb_inodes+0x26b/0x5c0
    [121436.561822]  [] __writeback_inodes_wb+0x86/0xc0
    [121436.561827]  [] wb_writeback+0x252/0x2e0
    [121436.561832]  [] wb_workfn+0x238/0x3d0
    [121436.561841]  [] process_one_work+0x150/0x3f0
    [121436.561847]  [] worker_thread+0x11a/0x470
    [121436.561853]  [] ? rescuer_thread+0x310/0x310
    [121436.561859]  [] kthread+0xc9/0xe0
    [121436.561864]  [] ? kthread_park+0x60/0x60
    [121436.561869]  [] ret_from_fork+0x3f/0x70
    [121436.561874]  [] ? kthread_park+0x60/0x60
    [121455.076853] sd 11:0:0:0: [sdd] tag#21 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT
    [121455.076870] sd 11:0:0:0: [sdd] tag#21 CDB: Write(16) 8a 00 00 00 00 03 41 a2 9e 50 00 00 00 08 00 00
    [121455.077158] scsi host11: uas_eh_bus_reset_handler start
    [121455.093345] sd 11:0:0:0: [sdd] tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD
    [121455.093357] sd 11:0:0:0: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 03 44 62 9d 98 00 00 00 08 00 00
    [121455.093368] sd 11:0:0:0: [sdd] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD
    [121455.093375] sd 11:0:0:0: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 03 44 c2 9e 28 00 00 00 10 00 00
    [121455.093384] sd 11:0:0:0: [sdd] tag#2 uas_zap_pending 0 uas-tag 3 inflight: CMD
    [121455.093391] sd 11:0:0:0: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 03 54 a2 98 80 00 00 00 18 00 00
    [121455.093399] sd 11:0:0:0: [sdd] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
    [121455.093406] sd 11:0:0:0: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 03 54 a3 96 48 00 00 00 60 00 00
    [121455.093414] sd 11:0:0:0: [sdd] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD
    [121455.093421] sd 11:0:0:0: [sdd] tag#4 CDB: Write(16) 8a 00 00 00 00 00 00 04 0f 58 00 00 00 48 00 00
    [121455.093430] sd 11:0:0:0: [sdd] tag#5 uas_zap_pending 0 uas-tag 6 inflight: CMD
    [121455.093436] sd 11:0:0:0: [sdd] tag#5 CDB: Write(16) 8a 00 00 00 00 01 6e 24 08 08 00 00 00 08 00 00
    [121455.093445] sd 11:0:0:0: [sdd] tag#6 uas_zap_pending 0 uas-tag 7 inflight: CMD
    [121455.093451] sd 11:0:0:0: [sdd] tag#6 CDB: Write(16) 8a 00 00 00 00 01 6e 44 08 08 00 00 00 08 00 00
    [121455.093460] sd 11:0:0:0: [sdd] tag#7 uas_zap_pending 0 uas-tag 8 inflight: CMD
    [121455.093466] sd 11:0:0:0: [sdd] tag#7 CDB: Write(16) 8a 00 00 00 00 01 6e 64 08 08 00 00 00 08 00 00
    [121455.093475] sd 11:0:0:0: [sdd] tag#8 uas_zap_pending 0 uas-tag 9 inflight: CMD
    [121455.093481] sd 11:0:0:0: [sdd] tag#8 CDB: Write(16) 8a 00 00 00 00 01 6e 84 08 10 00 00 00 08 00 00
    [121455.093490] sd 11:0:0:0: [sdd] tag#9 uas_zap_pending 0 uas-tag 10 inflight: CMD
    [121455.093497] sd 11:0:0:0: [sdd] tag#9 CDB: Write(16) 8a 00 00 00 00 01 6e a4 08 08 00 00 00 08 00 00
    [121455.093506] sd 11:0:0:0: [sdd] tag#10 uas_zap_pending 0 uas-tag 11 inflight: CMD
    [121455.093513] sd 11:0:0:0: [sdd] tag#10 CDB: Write(16) 8a 00 00 00 00 01 6e e4 08 08 00 00 00 08 00 00
    [121455.093521] sd 11:0:0:0: [sdd] tag#26 uas_zap_pending 0 uas-tag 12 inflight: CMD
    [121455.093528] sd 11:0:0:0: [sdd] tag#26 CDB: Write(16) 8a 00 00 00 00 03 44 42 a8 e8 00 00 00 18 00 00
    [121455.093537] sd 11:0:0:0: [sdd] tag#11 uas_zap_pending 0 uas-tag 13 inflight: CMD
    [121455.093544] sd 11:0:0:0: [sdd] tag#11 CDB: Write(16) 8a 00 00 00 00 01 6f 04 08 08 00 00 00 08 00 00
    [121455.093552] sd 11:0:0:0: [sdd] tag#13 uas_zap_pending 0 uas-tag 14 inflight: CMD
    [121455.093559] sd 11:0:0:0: [sdd] tag#13 CDB: Write(16) 8a 00 00 00 00 01 6f 84 08 20 00 00 00 08 00 00
    [121455.093568] sd 11:0:0:0: [sdd] tag#14 uas_zap_pending 0 uas-tag 15 inflight: CMD
    [121455.093575] sd 11:0:0:0: [sdd] tag#14 CDB: Write(16) 8a 00 00 00 00 03 43 62 a8 50 00 00 00 08 00 00
    [121455.093583] sd 11:0:0:0: [sdd] tag#15 uas_zap_pending 0 uas-tag 16 inflight: CMD
    [121455.093590] sd 11:0:0:0: [sdd] tag#15 CDB: Write(16) 8a 00 00 00 00 01 6f 84 15 68 00 00 00 18 00 00
    [121455.093598] sd 11:0:0:0: [sdd] tag#16 uas_zap_pending 0 uas-tag 17 inflight: CMD
    [121455.093605] sd 11:0:0:0: [sdd] tag#16 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 38 00 00 00 08 00 00
    [121455.093613] sd 11:0:0:0: [sdd] tag#17 uas_zap_pending 0 uas-tag 18 inflight: CMD
    [121455.093620] sd 11:0:0:0: [sdd] tag#17 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 58 00 00 00 08 00 00
    [121455.093628] sd 11:0:0:0: [sdd] tag#18 uas_zap_pending 0 uas-tag 19 inflight: CMD
    [121455.093635] sd 11:0:0:0: [sdd] tag#18 CDB: Write(16) 8a 00 00 00 00 01 6f c4 11 c0 00 00 00 10 00 00
    [121455.093643] sd 11:0:0:0: [sdd] tag#22 uas_zap_pending 0 uas-tag 23 inflight: CMD
    [121455.093650] sd 11:0:0:0: [sdd] tag#22 CDB: Write(16) 8a 00 00 00 00 03 43 82 ad b8 00 00 00 10 00 00
    [121455.093659] sd 11:0:0:0: [sdd] tag#23 uas_zap_pending 0 uas-tag 24 inflight: CMD
    [121455.093665] sd 11:0:0:0: [sdd] tag#23 CDB: Write(16) 8a 00 00 00 00 03 43 a2 a2 30 00 00 00 08 00 00
    [121455.093674] sd 11:0:0:0: [sdd] tag#24 uas_zap_pending 0 uas-tag 25 inflight: CMD
    [121455.093681] sd 11:0:0:0: [sdd] tag#24 CDB: Write(16) 8a 00 00 00 00 03 44 02 9e 68 00 00 00 08 00 00
    [121455.093689] sd 11:0:0:0: [sdd] tag#25 uas_zap_pending 0 uas-tag 26 inflight: CMD
    [121455.093696] sd 11:0:0:0: [sdd] tag#25 CDB: Write(16) 8a 00 00 00 00 03 44 22 9e c8 00 00 00 08 00 00
    [121455.093704] sd 11:0:0:0: [sdd] tag#12 uas_zap_pending 0 uas-tag 27 inflight: CMD
    [121455.093711] sd 11:0:0:0: [sdd] tag#12 CDB: Write(16) 8a 00 00 00 00 01 6f 44 08 08 00 00 00 08 00 00
    [121455.093720] sd 11:0:0:0: [sdd] tag#28 uas_zap_pending 0 uas-tag 29 inflight: CMD
    [121455.093727] sd 11:0:0:0: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 03 43 42 9f d8 00 00 00 08 00 00
    [121455.165513] usb 4-1.1: reset SuperSpeed USB device number 3 using xhci_hcd
    [121455.183329] scsi host11: uas_eh_bus_reset_handler success
    [121486.107814] sd 11:0:0:0: [sdd] tag#28 uas_eh_abort_handler 0 uas-tag 29 inflight: CMD OUT
    [121486.107832] sd 11:0:0:0: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 01 6f c4 11 c0 00 00 00 10 00 00
    [121486.108119] sd 11:0:0:0: [sdd] tag#27 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD OUT
    [121486.108128] sd 11:0:0:0: [sdd] tag#27 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 58 00 00 00 08 00 00
    [121486.108387] sd 11:0:0:0: [sdd] tag#26 uas_eh_abort_handler 0 uas-tag 27 inflight: CMD OUT
    [121486.108395] sd 11:0:0:0: [sdd] tag#26 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 38 00 00 00 08 00 00
    [121486.108672] sd 11:0:0:0: [sdd] tag#25 uas_eh_abort_handler 0 uas-tag 26 inflight: CMD OUT
    [121486.108679] sd 11:0:0:0: [sdd] tag#25 CDB: Write(16) 8a 00 00 00 00 01 6f 84 15 68 00 00 00 18 00 00
    [121486.108949] sd 11:0:0:0: [sdd] tag#24 uas_eh_abort_handler 0 uas-tag 25 inflight: CMD OUT
    [121486.108956] sd 11:0:0:0: [sdd] tag#24 CDB: Write(16) 8a 00 00 00 00 01 6f 84 08 20 00 00 00 08 00 00
    [121486.109220] sd 11:0:0:0: [sdd] tag#23 uas_eh_abort_handler 0 uas-tag 24 inflight: CMD OUT
    [121486.109227] sd 11:0:0:0: [sdd] tag#23 CDB: Write(16) 8a 00 00 00 00 01 6f 44 08 08 00 00 00 08 00 00
    [121486.109493] sd 11:0:0:0: [sdd] tag#22 uas_eh_abort_handler 0 uas-tag 23 inflight: CMD OUT
    [121486.109500] sd 11:0:0:0: [sdd] tag#22 CDB: Write(16) 8a 00 00 00 00 01 6f 04 08 08 00 00 00 08 00 00
    [121486.109770] sd 11:0:0:0: [sdd] tag#21 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT
    [121486.109777] sd 11:0:0:0: [sdd] tag#21 CDB: Write(16) 8a 00 00 00 00 01 6e e4 08 08 00 00 00 08 00 00
    [121512.083064] sd 11:0:0:0: [sdd] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    [121512.083083] sd 11:0:0:0: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 01 6f e4 08 18 00 00 00 08 00 00
    [121512.083361] scsi host11: uas_eh_bus_reset_handler start
    [121512.096423] sd 11:0:0:0: [sdd] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD
    [121512.096433] sd 11:0:0:0: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00
    [121512.096441] sd 11:0:0:0: [sdd] tag#2 uas_zap_pending 0 uas-tag 3 inflight: CMD
    [121512.096447] sd 11:0:0:0: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 01 a3 a4 0e d8 00 00 00 08 00 00
    [121512.096454] sd 11:0:0:0: [sdd] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
    [121512.096460] sd 11:0:0:0: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 01 a4 e4 0f 50 00 00 00 20 00 00
    [121512.096466] sd 11:0:0:0: [sdd] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD
    [121512.096472] sd 11:0:0:0: [sdd] tag#4 CDB: Write(16) 8a 00 00 00 00 01 a5 a4 0f d0 00 00 00 10 00 00
    [121512.096479] sd 11:0:0:0: [sdd] tag#5 uas_zap_pending 0 uas-tag 6 inflight: CMD
    [121512.096484] sd 11:0:0:0: [sdd] tag#5 CDB: Write(16) 8a 00 00 00 00 03 44 e2 a5 68 00 00 00 10 00 00
    [121512.096491] sd 11:0:0:0: [sdd] tag#6 uas_zap_pending 0 uas-tag 7 inflight: CMD
    [121512.096496] sd 11:0:0:0: [sdd] tag#6 CDB: Write(16) 8a 00 00 00 00 03 45 02 9d e8 00 00 00 10 00 00
    [121512.096503] sd 11:0:0:0: [sdd] tag#7 uas_zap_pending 0 uas-tag 8 inflight: CMD
    [121512.096509] sd 11:0:0:0: [sdd] tag#7 CDB: Write(16) 8a 00 00 00 00 03 45 22 9f 70 00 00 00 08 00 00
    [121512.096515] sd 11:0:0:0: [sdd] tag#8 uas_zap_pending 0 uas-tag 9 inflight: CMD
    [121512.096521] sd 11:0:0:0: [sdd] tag#8 CDB: Write(16) 8a 00 00 00 00 01 70 04 14 a8 00 00 00 20 00 00
    [121512.096527] sd 11:0:0:0: [sdd] tag#9 uas_zap_pending 0 uas-tag 10 inflight: CMD
    [121512.096533] sd 11:0:0:0: [sdd] tag#9 CDB: Write(16) 8a 00 00 00 00 01 70 24 08 00 00 00 00 08 00 00
    [121512.096540] sd 11:0:0:0: [sdd] tag#10 uas_zap_pending 0 uas-tag 11 inflight: CMD
    [121512.096545] sd 11:0:0:0: [sdd] tag#10 CDB: Write(16) 8a 00 00 00 00 01 71 44 0f 08 00 00 00 08 00 00
    [121512.096552] sd 11:0:0:0: [sdd] tag#11 uas_zap_pending 0 uas-tag 12 inflight: CMD
    [121512.096558] sd 11:0:0:0: [sdd] tag#11 CDB: Write(16) 8a 00 00 00 00 01 71 64 08 00 00 00 00 08 00 00
    [121512.096565] sd 11:0:0:0: [sdd] tag#12 uas_zap_pending 0 uas-tag 13 inflight: CMD
    [121512.096570] sd 11:0:0:0: [sdd] tag#12 CDB: Write(16) 8a 00 00 00 00 01 71 64 08 48 00 00 00 08 00 00
    [121512.096577] sd 11:0:0:0: [sdd] tag#13 uas_zap_pending 0 uas-tag 14 inflight: CMD
    [121512.096582] sd 11:0:0:0: [sdd] tag#13 CDB: Write(16) 8a 00 00 00 00 01 71 64 0e e8 00 00 00 08 00 00
    [121512.096589] sd 11:0:0:0: [sdd] tag#14 uas_zap_pending 0 uas-tag 15 inflight: CMD
    [121512.096595] sd 11:0:0:0: [sdd] tag#14 CDB: Write(16) 8a 00 00 00 00 01 71 84 08 10 00 00 00 08 00 00
    [121512.096602] sd 11:0:0:0: [sdd] tag#15 uas_zap_pending 0 uas-tag 16 inflight: CMD
    [121512.096608] sd 11:0:0:0: [sdd] tag#15 CDB: Write(16) 8a 00 00 00 00 01 71 a4 08 08 00 00 00 08 00 00
    [121512.096614] sd 11:0:0:0: [sdd] tag#16 uas_zap_pending 0 uas-tag 17 inflight: CMD
    [121512.096620] sd 11:0:0:0: [sdd] tag#16 CDB: Write(16) 8a 00 00 00 00 01 71 c4 08 10 00 00 00 08 00 00
    [121512.096626] sd 11:0:0:0: [sdd] tag#17 uas_zap_pending 0 uas-tag 18 inflight: CMD
    [121512.096632] sd 11:0:0:0: [sdd] tag#17 CDB: Write(16) 8a 00 00 00 00 01 71 e4 08 08 00 00 00 08 00 00
    [121512.096638] sd 11:0:0:0: [sdd] tag#18 uas_zap_pending 0 uas-tag 19 inflight: CMD
    [121512.096644] sd 11:0:0:0: [sdd] tag#18 CDB: Write(16) 8a 00 00 00 00 01 72 24 08 08 00 00 00 08 00 00
    [121512.096650] sd 11:0:0:0: [sdd] tag#19 uas_zap_pending 0 uas-tag 20 inflight: CMD
    [121512.096656] sd 11:0:0:0: [sdd] tag#19 CDB: Write(16) 8a 00 00 00 00 01 72 24 0e b0 00 00 00 08 00 00
    [121512.096662] sd 11:0:0:0: [sdd] tag#20 uas_zap_pending 0 uas-tag 21 inflight: CMD
    [121512.096668] sd 11:0:0:0: [sdd] tag#20 CDB: Write(16) 8a 00 00 00 00 01 72 44 08 10 00 00 00 08 00 00
    [121512.167694] usb 4-1.1: reset SuperSpeed USB device number 3 using xhci_hcd
    [121512.185477] scsi host11: uas_eh_bus_reset_handler success
    [132065.991699] Chrome_ChildThr[4808]: segfault at 0 ip 00007f398c01dcb5 sp 00007f3989ff1b90 error 6 in libxul.so (deleted)[7f398b3ab000+3ee7000]
    [151980.070549] systemd-hostnamed[7174]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
     


  • Centos 7 Cudaminer Nvidia setup guide


    I am using a GTX 1060 but replace the download for the driver with the correct/current version for your particular card by visiting: http://www.nvidia.com/Download/index.aspx?lang=en-us

     

    yum install automake curl openssl-devel libcurl-devel gcc gcc-c++


    yum -y install kernel-devel-`uname -r`

    yum -y install unzip
    #the uname -r command is important it installs the kernel-devel source for your exact running kernel
    #otherwise usually you will be running an older kernel and kernel-devel alone would install a newer kernel-devel which the driver cannot use (you need matching running kernel and kernel-devel for it to work)
    wget http://us.download.nvidia.com/XFree86/Linux-x86_64/375.66/NVIDIA-Linux-x86_64-375.66.run
    bash NVIDIA-Linux-x86_64-375.66.run

     
      ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, 
             be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.      

                                                                                                                          OK 

    #get nvidia opencl
    #cuda tools

    #visit
    https://developer.nvidia.com/cuda-downloads

    wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run

    bash cuda_8.0.61_375.26_linux-run

    -------------------------------------------------------------
     Do you accept the previously read EULA?
    accept/decline/quit: accept

    Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26?
    (y)es/(n)o/(q)uit: yes

    Do you want to install the OpenGL libraries?
    (y)es/(n)o/(q)uit [ default is yes ]: yes

    Do you want to run nvidia-xconfig?
    This will update the system X configuration file so that the NVIDIA X driver
    is used. The pre-existing X configuration file will be backed up.
    This option should not be used on systems that require a custom
    X configuration, such as systems with multiple GPU vendors.
    (y)es/(n)o/(q)uit [ default is no ]: yes

    Install the CUDA 8.0 Toolkit?
    (y)es/(n)o/(q)uit: yes

    Enter Toolkit Location
     [ default is /usr/local/cuda-8.0 ]: yes

    Toolkit location must be an absolute path.
    Enter Toolkit Location
     [ default is /usr/local/cuda-8.0 ]:

    Do you want to install a symbolic link at /usr/local/cuda?
    (y)es/(n)o/(q)uit: yes

    Install the CUDA 8.0 Samples?
    (y)es/(n)o/(q)uit: yes

    Enter CUDA Samples Location
     [ default is /root ]: /usr/local/cuda/samples

    Installing the NVIDIA display driver...

    Installing the CUDA Toolkit in /usr/local/cuda-8.0 ...
    Missing recommended library: libGLU.so
    Missing recommended library: libXi.so
    Missing recommended library: libXmu.so


    Installing the CUDA Samples in /usr/local/cuda/samples ...
    Copying samples to /usr/local/cuda/samples/NVIDIA_CUDA-8.0_Samples now...
    cp: cannot copy a directory, ‘/usr/local/cuda-8.0/bin/../samples/NVIDIA_CUDA-8.0_Samples’, into itself, ‘/usr/local/cuda/samples/NVIDIA_CUDA-8.0_Samples/NVIDIA_CUDA-8.0_Samples’
    Finished copying samples.

    ===========
    = Summary =
    ===========

    Driver:   Installed
    Toolkit:  Installed in /usr/local/cuda-8.0
    Samples:  Installed in /usr/local/cuda/samples, but missing recommended libraries

    Please make sure that
     -   PATH includes /usr/local/cuda-8.0/bin
     -   LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64, or, add /usr/local/cuda-8.0/lib64 to /etc/ld.so.conf and run ldconfig as root

    To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-8.0/bin
    To uninstall the NVIDIA Driver, run nvidia-uninstall

    Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-8.0/doc/pdf for detailed information on setting up CUDA.

    Logfile is /tmp/cuda_install_6358.log



    #get cudaminer
    #https://github.com/cbuchner1/CudaMiner/wiki/Howto-Compile-cudaminer

    wget https://github.com/cbuchner1/CudaMiner/archive/master.zip -O cudaminer.zip

    unzip cudaminer.zip

    cd CudaMiner-master

    ./autogen.sh

    configure.ac:103: error: possibly undefined macro: AC_MSG_ERROR
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
     

    ./configure: line 6211: syntax error near unexpected token `,'
    ./configure: line 6211: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
     

    cd /usr/lib64

    ln -s libcurl.so libcurl-gnutls.so
    ln -s libcurl.so.4 libcurl-gntuls.so.4

    cd /root/CudaMiner

    ./autogen.sh

    ./configure

    make

    ons=-v -I./compat/jansson -o wrapnvml.o -c wrapnvml.cu
    /bin/sh: nvcc: command not found
    make[2]: *** [wrapnvml.o] Error 127
    make[2]: Leaving directory `/root/CudaMiner-master'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/CudaMiner-master'
    make: *** [all] Error 2
     

    export PATH=$PATH:/usr/local/cuda/bin  make  nvcc -g -O2 -Xptxas "-abi=no -v" -arch=compute_10 --maxrregcount=64 --ptxas-options=-v -I./compat/jansson -o wrapnvml.o -c wrapnvml.cu
    nvcc fatal : Value 'compute_10' is not defined for option 'gpu-architecture'
    make[2]: *** [wrapnvml.o] Error 1
    make[2]: Leaving directory `/root/CudaMiner-master'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/CudaMiner-master'
    make: *** [all] Error 2

    sed -i s/arch=compute_10/arch=sm_30/g Makefile

    make

     

    cudaminer

     

    /root/CudaMiner-master/cudaminer: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory
     

    ln -s /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/lib64/

     

    #now it works


  • USB 3.0 PCI x1 Card Review VIA VL805 on Linux Review and Experience


     

     

     

     

     

    This is a VIA made VL805 USB 3.0 Chipset with 4-ports and MOLEX powered.  First of all this unit was cheap at about only 9 USD with fast shipping.  My biggest concern was if this was a quality unit and would it really give you full USB 3.0 speeds (some people reported with similar cards that for some weird reason they were only getting 50MB/s perhaps they were not using a fast enough device).

    lspci from Linux output:

    0000:05:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)

    In my case I was using a Seagate 8TB USB 3.0 drive, the maximum speed is about 184-185 MB/s and I was able to achieve this speed over this USB 3.0 card just fine.  This is a nice upgrade considering with USB 2.0 I was only getting 39MB/s before!
     

    Performance


    sudo dd if=/dev/sdd of=/dev/null bs=1M count=5000 skip=15000
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 27.6761 s, 189 MB/s

     

    *Update here is a test on an ADATA 256GB SSD (normally it is around 500MB/s when plugged in as SATA).

    197MB/s is fairly disappointing but I am not sure if the USB to SATA adapter enclosure is the issue or not.  However this system is running PCI 1.1 which may be part of the issue.  I believe this is a X1 card and that would limit the speed to 200MB/s I believe (which is basically the result we see).

     

    sudo dd if=/dev/sde of=/dev/null bs=1M count=5000
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 26.6155 s, 197 MB/s

    I actually confirmed it that this X1 card is limited to 200MB/s.  The way I tested was to take both USB 3.0 drives connected to it and do a dd (we know the speed results alone are 189MB/s and 197MB/s separately).

    However when doing both drives at once they both get about 100MB/s each proving the available bandwidth is just 200MB/s total.

    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 49.4117 s, 106 MB/s
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 51.2366 s, 102 MB/s

    [1]-  Done                    sudo dd if=/dev/sde of=/dev/null bs=1M count=5000 skip=10000
    [2]+  Done                    sudo dd if=/dev/sdd of=/dev/null bs=1M count=5000


    I haven't done anything more extensive but I am sure it is up to the full 5gbit per second spec of USB 3.0

    Value

    Excellent value for just $9 USD shipped you get an instant 4-port upgrade with USB 3.0 ports.

    I just realized this but you can pay about $13 to order a USB 3.1 (10gbit) card from China vs the $9 USD within North America option.  The USB 3.1 card from China also has SATA power and an internal USB port which is nice.

    Honestly if I could wait I would have done this but is it a big deal?  Not really because devices I have do not exceed the 5gbit bandwidth.

     

    Pros/Cons

    Others have complained about this, I was very nervous I would break the MOLEX connector off the board.  Molex connectors usually don't go in easily, I was very careful to try an hold the connector on the board in place while shoving in the molex power connector but even then I was worried I would break it off.  Some have complained of this issue.  I am not sure if the power is needed but would assume definitely for powered devices like HDDs it will help.

    I wish this were a x4 Card as this would have given 800MB/s of bandwidth instead.

    Conclusion

    This is a solid and reilable buy with a VIA chipset and a quick, cheap and easy way to get USB 3.0 ports especially if you have none or just need more!


  • rsync run as root sudo without password


    This is a common issue, what if a issue shouldn't have root but you want to use that user to make a full backup of a system?  They of course need root access.

    You can actually just give them passwordless sudo access to rsync in /etc/sudoers:

    sudo vi /etc/sudoers

    yourusername ALL = NOPASSWD: /usr/bin/rsync
     

    Here is how you would execute rsync:

    The key thing for the remote host is to use:

    --rsync-path="sudo rsync"

    This (above) executes rsync on the remote host as root.

    To run rsync locally with root privileges you also need to start it with "sudo rsync" as shown below.

    sudo rsync -e 'ssh -i /home/yourlocalusername/.ssh/id_rsa' --rsync-path="sudo rsync" -Phaz remoteuser@remotehost.com /remote/path /local/path

    It is also important to use the -e swtich as above if you are depending on a key to login (which most will be):

    'ssh -i /home/yourlocalusername/.ssh/id_rsa'

    You are basically specifying your keyfile location so that root doesn't use its own since you are likely not using root's ssh public key (and shouldn't be!)


  • Why won't my Linux Mint boot after I manually installed a new kernel?


    Why won't my Linux Mint boot after I manually installed a new kernel?
    eg.
    apt-get install linux-image-newerone

    Do this

     


    dpkg -l|grep linux-image|grep extra
    ii  linux-image-extra-3.16.0-38-generic                         3.16.0-38.52~14.04.1                                amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP

    If you get a result you need the extra kernel because during install Linux detected some drivers to make your system run were in the "extra" kernel package (I stronlgy disagree with this separation as it is easy to break your system now!).

    Here's how to fix it.
     

     

    1.) For the exact kernel version eg. 3.19.0-80.88~14.04.1 (you can remove anything after the third dot .)

     

    kernlversion=3.19.0-80
     

    2.) Set the variable like above and run the following command:

     

    sudo apt-get install linux-image-headers-$kernelversion linux-image-extra-$kernelversion
     


  • cudaminer freezes Linux Mint taints kernel


    When running cudaminer once it tries to initialize the card the entire screen freezes.  The computer itself is still running but the Xorg is done for, you cannot even switch to another console window and must reboot (even an mdm or Xorg restart does not help).

    At first cudaminer will give you these errors:

    stratrum_recv_line failed

    ...retry after 15 seconds

    GPU #0: Geforce 210 with compute capability 1.2

    GPU #0: interactive: 1, text-cache:0 single-alloc:0

    GPU #0: 32 hash / 4.0 MB per warp.

    Once GPU#0 shows up the screen freezes and you can check the kern log and see the following driver tainting issues


    Jun 15 00:23:52 localhost kernel: [47044.332646] BUG: unable to handle kernel NULL pointer dereference at 0000000000000058
    Jun 15 00:23:52 localhost kernel: [47044.332656] IP: [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.332878] PGD 461ad6067 PUD 7d98b4067 PMD 0
    Jun 15 00:23:52 localhost kernel: [47044.332883] Oops: 0000 [#1] SMP
    Jun 15 00:23:52 localhost kernel: [47044.332888] Modules linked in: nvidia_uvm(POE) i2c_dev forcedeth pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep rfcomm bluetooth 6lowpan_iphc binfmt_misc dm_crypt snd_hda_codec_rea
    ltek snd_hda_codec_generic snd_hda_codec_hdmi hp_wmi sparse_keymap snd_hda_intel snd_hda_controller snd_hda_codec nvidia(POE) dm_multipath snd_hwdep snd_pcm scsi_dh snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_ti
    mer kvm_amd kvm parport_pc drm snd ppdev serio_raw soundcore wmi amd64_edac_mod shpchp i2c_nforce2 edac_core edac_mce_amd k10temp mac_hid lp parport raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid0 mul
    tipath linear dm_mirror dm_region_hash dm_log raid10 raid1 hid_generic usbhid hid uas usb_storage mptsas mpt2sas mptscsih psmouse mptbase raid_class firewire_ohci scsi_transport_sas firewire_core pata_acpi crc_itu_t sata_nv pata_amd [last
     unloaded: forcedeth]
    Jun 15 00:23:52 localhost kernel: [47044.332952] CPU: 5 PID: 24838 Comm: cudaminer Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    Jun 15 00:23:52 localhost kernel: [47044.332957] Hardware name: Hewlett-Packard HP xw9400 Workstation/0A1Ch, BIOS 786D6 v04.03 12/10/2009
    Jun 15 00:23:52 localhost kernel: [47044.332960] task: ffff8808001065e0 ti: ffff8806550dc000 task.ti: ffff8806550dc000
    Jun 15 00:23:52 localhost kernel: [47044.332962] RIP: 0010:[<ffffffffc0b21dad>]  [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333101] RSP: 0018:ffff8806550dfb30  EFLAGS: 00010286
    Jun 15 00:23:52 localhost kernel: [47044.333103] RAX: ffff881002756608 RBX: 0000000000000000 RCX: ffff8807f9854008
    Jun 15 00:23:52 localhost kernel: [47044.333105] RDX: 0000000000000000 RSI: 00000000ffff50f1 RDI: 0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333107] RBP: ffff880801ed5bb0 R08: 0000000000000000 R09: 000000ff32340000
    Jun 15 00:23:52 localhost kernel: [47044.333109] R10: 0000000000000000 R11: ffffffffc0cd2d00 R12: 0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333111] R13: 0000000000010000 R14: ffff8808026b0008 R15: 0000000000001274
    Jun 15 00:23:52 localhost kernel: [47044.333114] FS:  00007f1059ac2700(0000) GS:ffff88102fc80000(0000) knlGS:0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333116] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Jun 15 00:23:52 localhost kernel: [47044.333118] CR2: 0000000000000058 CR3: 000000045b4bf000 CR4: 00000000000007e0
    Jun 15 00:23:52 localhost kernel: [47044.333120] Stack:
    Jun 15 00:23:52 localhost kernel: [47044.333122]  00000000000007f9 00000000000007f9 ffff8807f9854090 ffffffffc0b21cb9
    Jun 15 00:23:52 localhost kernel: [47044.333126]  00000000000007f9 ffffffffc099b1f8 ffff880801ed5d48 ffff880496026408
    Jun 15 00:23:52 localhost kernel: [47044.333129]  0000000000000000 0000000000010000 ffff8808026b0008 ffffffffc0997110
    Jun 15 00:23:52 localhost kernel: [47044.333132] Call Trace:
    Jun 15 00:23:52 localhost kernel: [47044.333272]  [<ffffffffc0b21cb9>] ? _nv012259rm+0x9/0x20 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333399]  [<ffffffffc099b1f8>] ? _nv005327rm+0x4b8/0x570 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333526]  [<ffffffffc0997110>] ? _nv005146rm+0x520/0xb40 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333652]  [<ffffffffc099706c>] ? _nv005146rm+0x47c/0xb40 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333777]  [<ffffffffc0993619>] ? _nv005144rm+0xf9/0x220 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333902]  [<ffffffffc09935a2>] ? _nv005144rm+0x82/0x220 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333992]  [<ffffffffc0c9f81c>] ? _nv000889rm+0x1a1c/0x1cf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334081]  [<ffffffffc0c9f05c>] ? _nv000889rm+0x125c/0x1cf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334171]  [<ffffffffc0c9fc04>] ? _nv000793rm+0x114/0x1b0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334261]  [<ffffffffc0ca5c9a>] ? _nv000700rm+0xda/0xf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334341]  [<ffffffffc0cfd5c9>] ? _nv000789rm+0x1f9/0x8b0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334419]  [<ffffffffc0d07d03>] ? rm_ioctl+0x73/0x100 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334497]  [<ffffffffc0d164ce>] ? nvidia_ioctl+0x13e/0x460 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334576]  [<ffffffffc0d225af>] ? nvidia_frontend_ioctl+0x2f/0x70 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334652]  [<ffffffffc0d2260d>] ? nvidia_frontend_unlocked_ioctl+0x1d/0x30 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334660]  [<ffffffff811e7360>] ? do_vfs_ioctl+0x2e0/0x4c0
    Jun 15 00:23:52 localhost kernel: [47044.334663]  [<ffffffff811e75c1>] ? SyS_ioctl+0x81/0xa0
    Jun 15 00:23:52 localhost kernel: [47044.334670]  [<ffffffff8176da4d>] ? system_call_fastpath+0x1a/0x1f
    Jun 15 00:23:52 localhost kernel: [47044.334672] Code: 09 d0 83 e0 01 c3 0f 1f 84 00 00 00 00 00 8b 76 24 e9 08 00 00 00 0f 1f 84 00 00 00 00 00 41 54 45 31 e4 53 48 89 fb 48 83 ec 08 <83> 7f 58 04 74 5e 81 fe f1 e3 00 00 74 48 77 36 81 fe a0 50 00
    Jun 15 00:23:52 localhost kernel: [47044.334702] RIP  [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334837]  RSP <ffff8806550dfb30>
    Jun 15 00:23:52 localhost kernel: [47044.334839] CR2: 0000000000000058
    Jun 15 00:23:52 localhost kernel: [47044.334843] ---[ end trace f255d62811b2b79b ]---


  • Linux Mint Intel Screen Tearing Horizontal Line Solution Fix


    sudo mkdir -p /etc/X11/xorg.conf.d/

    sudo vi /etc/X11/xorg.conf.d/20-intel.conf
     

    Type "i" and enter the following:

    Section "Device"
      Identifier      "Intel Graphics"
      Driver          "intel"
      Option          "TearFree"          "true"
    EndSection

    Be sure to use this guide with the correct quotes " (if they have a nice curve to them they are wrong and will cause your graphics/Xorg to not work).

    You don't even need to restart your whole computer but you could just hit "Control + Alt + Backspace"

    If you have an error when restarting you probably have the wrong curved quotes from somewhere else.

     

    [1010978.161] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [1010978.161] Parse error on line 1 of section InputClass in file /etc/X11/xorg.conf.d/20-intel.conf
        The Section keyword requires a quoted string to follow it.

    [1010978.161] (EE) Problem parsing the config file
    [1010978.161] (EE) Error parsing the config file
    [1010978.161] (EE)
    Fatal server error:
    [1010978.162] (EE) no screens found(EE)
    [1010978.162] (EE)

    The above is happening once again due to wrong quotes coming from some bulletin boards and Wordpress blogs.  Make sure your quotes are straight like this " and not curved.  If they are just delete manually and requote and restart.

    sudo service mdm restart


  • process_usershare_file: stat of /var/lib/samba/usershares/dump failed. Permission denied - samba error solution


    [2017/06/12 21:14:04.991169,  0] ../source3/param/loadparm.c:3259(process_usershare_file)
      process_usershare_file: stat of /var/lib/samba/usershares/dump failed. Permission denied


    Issue was the parent directory needed chmod 755


  • imagemagick pdf convert error solution - **** Warning: can't process font stream, loading font by the name. Can't find CMap Identity-UTF16-H building a CIDDecoding resource. Warning: falling back to Identity ordering **** Error reading a conte



       **** Warning: can't process font stream, loading font by the name.
    Can't find CMap Identity-UTF16-H building a CIDDecoding resource.
    Warning: falling back to Identity ordering
       **** Error reading a content stream. The page may be incomplete.
       **** File did not complete the page properly and may be damaged.

       **** This file had errors that were repaired or ignored.
       **** The file was produced by:
       **** >>>> Microsoft: Print To PDF <<<<
       **** Please notify the author of the software that produced this
       **** file that it does not conform to Adobe's published PDF
       **** specification.

    Can't find CMap Identity-UTF16-H building a CIDDecoding resource.



    Solution

    Basically the Microsoft PDF system is non-standard and ImageMagick can't support it.  The simple solution is to just open with another program and then go "File -> Print" and choose to print to a .pdf.  That .pdf can then be converted with ImageMagick to .jpg.


  • php read file into variable


    php read file into variable

    $content = file_get_contents(home.html);


    Otherwise if you want to get the source code of the PHP file, it's the same as a .txt file:


    $content = file_get_contents('/path/to/phpfile.php');

    You can also get from URLs:

    $content = file_get_contents('http://someurl.com/file.txt');


  • USB Device/MP3 Player not working properly and can't browse the device filesystem? Check the cable twice and again!


    Here is a simple MP3 player and now there's a reason to understand why the supplied cable has some kind of capacitor and is very short.  These devices can be VERY finicky and any voltage fluctuation or difference is enough to cause issues.

     

    Take for example the error messages from Linux Mint:

    [804829.895414] usb 1-1: USB disconnect, device number 11
    [806961.109030] usb 1-1: new high-speed USB device number 12 using xhci_hcd
    [806961.237468] usb 1-1: New USB device found, idVendor=0781, idProduct=74f0
    [806961.237481] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [806961.237488] usb 1-1: Product: Clip Jam
    [806961.237494] usb 1-1: Manufacturer: SanDisk
    [806961.237500] usb 1-1: SerialNumber:
    [806961.239253] usb-storage 1-1:1.0: USB Mass Storage device detected
    [806961.239844] scsi host9: usb-storage 1-1:1.0
    [806962.237543] scsi 9:0:0:0: Direct-Access     SanDisk  Clip Jam              PQ: 0 ANSI: 0 CCS
    [806962.237901] scsi 9:0:0:1: Direct-Access     SanDisk  Clip Jam              PQ: 0 ANSI: 0 CCS
    [806962.238743] sd 9:0:0:0: Attached scsi generic sg1 type 0
    [806962.239280] sd 9:0:0:1: Attached scsi generic sg2 type 0
    [806962.241345] sd 9:0:0:0: [sdb] 8179712 1024-byte logical blocks: (8.38 GB/7.80 GiB)
    [806962.241711] sd 9:0:0:0: [sdb] Write Protect is off
    [806962.241721] sd 9:0:0:0: [sdb] Mode Sense: 00 c0 00 00
    [806962.241896] sd 9:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
    [806962.245053] sd 9:0:0:1: [sdc] Attached SCSI removable disk
    [806962.248674]  sdb:
    [806962.250838] sd 9:0:0:0: [sdb] Attached SCSI removable disk
    [806962.544147] FAT-fs (sdb): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [807005.992800] usb 1-1: USB disconnect, device number 12
    [807005.996567] sd 9:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
    [807005.996575] sd 9:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 0b ad 38 00 00 78 00 00 00
    [807005.996578] blk_update_request: I/O error, dev sdb, sector 1530480
    [807005.997266] sd 9:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
    [807005.997274] sd 9:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 0b ad b0 00 00 78 00
    [807005.997277] blk_update_request: I/O error, dev sdb, sector 1530720

    What was wrong?

    It may look like a problem with your device, your OS config or even the USB port but more often than not it was the cable!  I had two three-foot Tronsmart cables, 1 of them worked fine and the other didn't with this device.  The way I found this out was by swapping the cables for fun and also by trying the device on other units.

    When a device receives power by a pluggable USB cable you should always stick to the factory cable or use one that is the same length or shorter and of very high quality (even though these thick 18AWG gauge Tronsmart cables have worked fine for other uses!)


  • Centos/Linux Bash Script Warning when exiting/logging out of bash/shell/terminal for scripts running in the background


    This is mainly the case on Centos but applies to other distros and situations.  If you are running programs in the background with the &, at least in Centos it is usually not honored and if you quit or are disconnected the backgrounded programs will be sent sighup and be shut down. 

    The simplest way around this instead of using & is to start any programs or commands with "nohup"

    Eg.

    nohup yourscript.sh


  • Wifi Antenna Extension Cable is called RP-SMA


    This sounds silly but if you don't know you don't know and the cable name is "RP-SMA" and allows you to extend your wifi antenna as long as the cable goes.


  • Nvidia Linux Mint/Ubuntu screentearing horizontal line solution


    Finally after ages I found the solution which is on many pages on the net but not obvious and should have been standard or more common info!

    Instant Solution:

    Type this into the terminal (unfortunately the driver config menu doesn't have the option as itis hidden):

    nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"

    Make permanent

     

    Click "Save to X configuration File", choose your name and you can then edit your xorg.conf file.

     

    Edit vi /etx/X11/xorg.conf

    Change the metamodes option like so:


        Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"


        Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
     

     

     

    Sources:

    https://forums.linuxmint.com/viewtopic.php?f=56&t=174237#p906436

    https://www.reddit.com/r/linuxmint/comments/4rnwdl/screen_tearing_on_linux_mint_18/

    http://www.thelinuxrain.com/articles/got-tearing-with-proprietary-nvidia-try-this


  • Openshot 2.2 is very unstable always crashing in Linux Mint 18.1!


    Jun  1 15:45:42 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:45:42 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02949.MP4
    Jun  1 15:45:57 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:45:57 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(199, 0, 700, 394)
    Jun  1 15:46:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02947.MP4
    Jun  1 15:46:03 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:03 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02945.MP4
    Jun  1 15:46:15 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:15 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02944.MP4
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO auto_save_project
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Auto save project file: /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Saved project /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:48:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02943.MP4
    Jun  1 15:48:28 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:28 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02942.MP4
    Jun  1 15:48:32 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:32 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02941.MP4
    Jun  1 15:49:37 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:49:37 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02940.MP4
    Jun  1 15:49:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO auto_save_project
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02931.MP4
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO 2.3.3
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO 0.1.6
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Loaded project /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item:
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(57, 0, 700, 394)
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO currentChanged
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO updateSelection
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:49:58 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:50:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:50:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(199, 0, 700, 394)
    Jun  1 15:50:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:50:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(57, 0, 700, 394)
    Jun  1 15:50:09 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:50:09 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02931.MP4
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '591308176', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127938, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02931.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '59AOWGIS67', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117281, 'width': 1440, 'video_length': '11700', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 390.378662109375, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02940.MP4
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '56977067', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128015, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02940.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'V2DXYCQM42', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12142964, 'width': 1440, 'video_length': '1125', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 37.525333404541016, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02941.MP4
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '44797255', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127576, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02941.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'WV8HPZ1PBI', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12136271, 'width': 1440, 'video_length': '885', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 29.525333404541016, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02942.MP4
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '111530097', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127880, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02942.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'E2UN7I8V6L', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12127203, 'width': 1440, 'video_length': '2205', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 73.55733489990234, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02943.MP4
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '636059856', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127976, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02943.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '0K85PPMU6U', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117748, 'width': 1440, 'video_length': '12585', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 419.90399169921875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02944.MP4
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '148728621', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128002, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02944.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'IY1BL5N7VI', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12128982, 'width': 1440, 'video_length': '2940', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 98.09066772460938, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02945.MP4
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '263124685', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127936, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02945.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'PH9UX5J6B6', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12120429, 'width': 1440, 'video_length': '5205', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 173.65333557128906, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02947.MP4
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '50935248', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128055, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02947.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'JVBM7W41SK', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12151489, 'width': 1440, 'video_length': '1005', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 33.51466751098633, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02949.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '86582811', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127994, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02949.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'NX17O22YSH', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12139833, 'width': 1440, 'video_length': '1710', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 57.04533386230469, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02950.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '19158616', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127915, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02950.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'HUXWXMTL9F', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12249264, 'width': 1440, 'video_length': '375', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 12.501333236694336, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02951.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '838458848', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127965, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02951.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'OCEITZNUTP', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117486, 'width': 1440, 'video_length': '16590', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 553.5360107421875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02952.MP4
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '185838518', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127995, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02952.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'IFM6JXX05R', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12124268, 'width': 1440, 'video_length': '3675', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 122.60266876220703, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02953.MP4
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '576987037', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127972, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02953.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '6355G6GXN7', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12119014, 'width': 1440, 'video_length': '11415', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 380.864013671875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02955.MP4
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '233657236', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127931, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02955.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'T40SO3RLKV', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12125912, 'width': 1440, 'video_length': '4620', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 154.13333129882812, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02972.MP4
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '134169762', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128003, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02972.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'JPEYVKY2GR', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12116223, 'width': 1440, 'video_length': '2655', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 88.57599639892578, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02991.MP4
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '191235053', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127965, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02991.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '91ICF38EH3', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12129778, 'width': 1440, 'video_length': '3780', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 126.12266540527344, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x37aafa0] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x37aafa0] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips'] values: {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 4, 'id': 'YULMPWLLGA', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 11.04, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpola
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: tion': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}} add: True partial: False remove: False
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 4, 'id': 'YULMPWLLGA', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 11.04, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpolation': 2, 'co': {'X': 1,
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}}
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: , item_type: effect, clear_existing: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: YULMPWLLGA, item_type: clip, clear_existing: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO dragLeaveEvent - Undo drop
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO actionRemoveClip_trigger
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips', {'id': 'YULMPWLLGA'}] values: None add: False partial: False remove: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item:
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x3828680] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x3828680] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips'] values: {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 2, 'id': '30QJH7GOVN', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 13.28, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpola
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: tion': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}} add: True partial: False remove: False
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 2, 'id': '30QJH7GOVN', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 13.28, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpolation': 2, 'co': {'X': 1,
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}}
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: , item_type: effect, clear_existing: True
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: 30QJH7GOVN, item_type: clip, clear_existing: True
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item: clip
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 13.279999732971191, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': Fa
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: lse, 'type': 'float', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []})
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: , ('layer', {'interpolation': 2, 'name': 'Track', 'memo': '', 'value': 2, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO Dropping item on timeline - item_id: 30QJH7GOVN, item_type: clip
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips', {'id': '30QJH7GOVN'}] values: {'layer': 4, 'position': 0, 'end': 176.61387634277344, 'id': '30QJH7GOVN', 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'start': 0} add: False partial: False remove: False
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'layer': 4, 'position': 0, 'end': 176.61387634277344, 'id': '30QJH7GOVN', 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'start': 0}
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x7fb418005de0] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x7fb418005de0] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO currentChanged
    Jun  1 15:52:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO updateSelection
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: Caught signal 11 (SIGSEGV)
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: ---- Unhandled Exception: Stack Trace ----
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::Close()           + 0x53c )  [0x7fb4a10f4f2c]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::Seek(long)        + 0x678 )  [0x7fb4a10f6698]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::GetFrame(long)    + 0xa6f )  [0x7fb4a10fd71f]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FrameMapper::GetOrCreateFrame(long)  + 0x2ea )  [0x7fb4a111904a]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 (                                           + 0x9be26)  [0x7fb4a111be26]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libgomp.so.1 (                                           + 0xf43e)  [0x7fb49dcba43e]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /lib/x86_64-linux-gnu/libpthread.so.0 (                                           + 0x76ba)  [0x7fb4b7b8f6ba]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /lib/x86_64-linux-gnu/libc.so.6 ( clone                                     + 0x6d  )  [0x7fb4b78c582d]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: ---- End of Stack Trace ----
    Jun  1 15:55:55 videoeditor-desktop systemd[1]: Started Session 7 of user videoeditor.
    Jun  1 15:55:55 videoeditor-desktop console-kit-daemon[1735]: (process:11183): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
    Jun  1 15:55:55 videoeditor-desktop console-kit-daemon[1735]: missing action
     


  • Apache SSL very slow response with Firefox Freezes/Loads Very slow when checking self-signed SSL certificate


    I was sure this was a Centos bug with OpenSSL, Apache, MySQL or even PHP.  I tried everything but nothing helped.  One clue is that if you check the Apache logs you will see nothing in the access logs until minutes later (this means Firefox has not even passed your request to the remote Apache/htttpd server).

    When even accepting the invalid certificate message that would show up minutes later when trying to "View the Certificate" Firefox would freeze.  This bug is present in even the latest Firefox 53.

    Eventually I realized it was just with Firefox and I suspected it was related to the self-signed SSL certificate even though I've had no problems before.

    This is the key there is a weird Firefox bug where it cannot handle multiples of the exact same certificate so for example if you are generating completely standard OpenSSL certificates by hitting "Enter" all the way through this will be an issue.  There are also some embeded devices and appliances which do this.

    What is the solution:

    This is certainly a Firefox bug but it's also bad and poor practice to generate generic/default OpenSSL certificates.  The solution was to remake the self-signed SSL certificate by entering proper information.  Probably even entering a different CName or organization etc to make the cert unique would be all it would take.

    Here is a discussion on the bug in Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1056341


  • Track 01: 34 of 1726 MB written (fifo 100%) [buf 99%] 3.6x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 1.897 (40) s CDB: 2A 00 00 00 44 A9 00 00 1F 00 resid: 6144 cmd finished after 1.897s timeout 40s write track da


    These errors believe it or not are simply because of not being the root user or running with sudo! However if you didn't know to try as root you'd think there was a problem with your burner or disc  Essentially it looks like without root you cannot send the required scsi commands to continue writing.  I think cdrecord should have built-in tests or safeguards to see if it has the permissions to run the required commands.

    I guess for more advanced users the idea is similar that you cannot do a dd from a device without being root usually.

    cdrecord -v linuxmint-18.1-cinnamon-64bit.iso
    wodim: No write mode specified.
    wodim: Assuming -tao mode.
    wodim: Future versions of wodim may have different drive dependent defaults.
    TOC Type: 1 = CD-ROM
    wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
    Device was not specified. Trying to find an appropriate drive...
    Looking for a DVD-R drive to store 1726.31 MiB...
    Detected DVD-R drive: /dev/sr0
    Using /dev/cdrom of unknown capabilities
    scsidev: '/dev/cdrom'
    devname: '/dev/cdrom'
    scsibus: -2 target: -2 lun: -2
    Linux sg driver version: 3.5.27
    Wodim version: 1.1.11
    Driveropts: 'burnfree'
    SCSI buffer size: 64512
    Device type    : Removable CD-ROM
    Version        : 0
    Response Format: 2
    Capabilities   :
    Vendor_info    : 'HL-DT-ST'
    Identification : 'BD-RE WP50NB40  '
    Revision       : '1.00'
    Device seems to be: Generic mmc2 DVD-R/DVD-RW.
    Current: 0x0011 (DVD-R sequential recording)
    Profile: 0x0043 (BD-RE)
    Profile: 0x0042 (BD-R random recording)
    Profile: 0x0041 (BD-R sequential recording)
    Profile: 0x0040 (BD-ROM)
    Profile: 0x002B (DVD+R/DL)
    Profile: 0x001B (DVD+R)
    Profile: 0x001A (DVD+RW)
    Profile: 0x0016 (DVD-R/DL layer jump recording)
    Profile: 0x0015 (DVD-R/DL sequential recording)
    Profile: 0x0014 (DVD-RW sequential recording)
    Profile: 0x0013 (DVD-RW restricted overwrite)
    Profile: 0x0012 (DVD-RAM)
    Profile: 0x0011 (DVD-R sequential recording) (current)
    Profile: 0x0010 (DVD-ROM)
    Profile: 0x000A (CD-RW)
    Profile: 0x0009 (CD-R)
    Profile: 0x0008 (CD-ROM)
    Profile: 0x0002 (Removable disk)
    Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
    Driver flags   : SWABAUDIO BURNFREE
    Supported modes: PACKET SAO
    Drive buf size : 2293760 = 2240 KB
    Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
    communication breaks or freezes immediately after that.
    FIFO size      : 12582912 = 12288 KB
    Track 01: data  1726 MB       
    Total size:     1982 MB (196:24.96) = 883872 sectors
    Lout start:     1982 MB (196:26/72) = 883872 sectors
    Current Secsize: 2048
    HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
    Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1414624
    Speed set to 11080 KB/s
    Starting to write CD/DVD at speed   8.0 in real unknown mode for single session.
    Last chance to quit, starting real write in    0 seconds. Operation starts.
    Waiting for reader process to fill input buffer ... input buffer ready.
    Performing OPC...
    Starting new track at sector: 0
    Track 01:   34 of 1726 MB written (fifo 100%) [buf  99%]   3.6x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 1.897 (40) s
    CDB:  2A 00 00 00 44 A9 00 00 1F 00
    resid: 6144
    cmd finished after 1.897s timeout 40s
    
    write track data: error after 35997696 bytes
    wodim: A write error occured.
    wodim: Please properly read the error message above.
    Errno: 12 (Cannot allocate memory), test unit ready scsi sendcmd: no error
    CDB:  00 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 40s
    Writing  time:   54.507s
    Average write speed  28.3x.
    Min drive buffer fill was 99%
    Fixating...
    Errno: 12 (Cannot allocate memory), flush cache scsi sendcmd: no error
    CDB:  35 00 00 00 00 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 120s
    Trouble flushing the cache
    wodim: Cannot fixate disk.
    Fixating time:    0.000s
    Errno: 12 (Cannot allocate memory), prevent/allow medium removal scsi sendcmd: no error
    CDB:  1E 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 40s
    wodim: fifo had 758 puts and 568 gets.
    wodim: fifo was 0 times empty and 336 times full, min fill was 97%.
    
    

    Solution

    Simply run cdrecord again as root or with sudo:

    cdrecord -v linuxmint-18.1-cinnamon-64bit.iso


  • Transaction Check Error: file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86_64 and php-common-5.3.3-49.el6.x86_64 solution


    Transaction Check Error:
      file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86_64 and php-common-5.3.3-49.el6.x86_64

    solution you can't install php-pecl-fileinfo it seems to be incompatble with the php5.3 being installed:

    yum --exclude=php-pecl-fileinfo --skip-broken --disablerepo=epel install php-*


  • Intel NUC J3455 Linux Support Ubuntu/Linux Mint Issues


    I get the following error "Installer Crashed" on 18.1 MATE 64-bit when installing by NFS/PXE.  Yet it was able to at least detect and use my NIC (perhaps the driver was only activated because of PXE/NFS being used)?

    When using 18.1 Cinnamon on CD the NIC does not work but the installer did succeed.  However it doesn't work right, I can't login graphically and get some Cinnamon OOM error but how can this be with 8GB of RAM straight from login?


  • Linux Mint Install Netboot PXE Guide Howto


    *Update so this doesn't work it must be something to do with the path of nfs or something else but the installer fails with "Installer crashed" at the end whereas with the CD/USB it works.

    This assumes you've already installed and configured a separate PXE/DHCP server somewhere else and your /tftpboot directory is setup.

    This is for Linux Mint 18.1 but generally applies to most versions although you may have tro change things like "casper" according to the code name of the current release in the directory specifications below.

    This work occurs on the source tftp/pxe/dhcp server of course.

    Assumptions/things to change

    Check the IP 192.168.1.43 (change to your tftp/nfs server).

    Step 1 - Setup Working Paths in /tftpboot

    mkdir -p /tftpboot/images/linuxmintmount
    mkdir -p /tftpboot/images/linuxmint18

    cd /tftpboot/images/
    wget http://download-url.com/linuxmint-18.1-mate-64bit.iso

     

    Step 2 - Mount and copy appropriate files from .iso into /tftpboot


    mount -o loop -t iso9660 linuxmint-18.1-mate-64bit.iso linuxmintmount/
    cp -rp linuxmintmount/* linuxmint18

    Step 3 - Setup your boot menu

    vi /tftpboot/pxelinux.cfg/default

    default menu.c32
    prompt 0
    timeout 300
    ONTIMEOUT local

    MENU TITLE PXE Menu
    menu separator
    LABEL LinuxMint 18
    KERNEL images/linuxmint18/casper/vmlinuz
    APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.1.43:/tftpboot/images/linuxmint18 initrd=images/linuxmint18/casper/initrd.lz nosplash --

    Step 4 - Setup NFS

    yum -y install nfs-utils

    Specify the network range you want to access to the tftpboot over nfs or it will fail.

    ln -s /tfpboot /srv/

    vi /etc/exports

    /srv/tftpboot    192.168.1.0/24(rw,root_squash,sync,no_subtree_check)

    Setup your exports properly or you'll get this log error:

    uxmint18): unmatched host
    May 30 19:36:46 localhost rpc.mountd[3480]: refused mount request from 192.168.1.51 for /tftpboot/images/linuxmint18 (/tftpboot/images/linuxmint18): unmatched host

     

    Things to double check

    Make sure your firewall is off on the pxe server.


  • xdebug easiest howto get going


    Just make sure you have php-xdebug installed and edit your php.ini:

    [xdebug]
    xdebug.profiler_enable = 0
    xdebug.profiler_enable_trigger = 1

    xdebug.profiler_output_dir = "/tmp/xdebug/"
    xdebug.output_name = "cachegrind.out.%t-%s"

    Also make and set permissions on /tmp/xdebug:

    mkdir /tmp/xdebug

    chmod 777 /tmp/xdebug

    After that simply load the output files into "kcachegrind" on your Desktop.

     


  • [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) - Apache Error Solution


    Does this mean? [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

    Basically it means you created your SSL Certificate as a CA the wrong way, usually with this command:

    openssl req -new -x509 -nodes -days 1530 -out server.crt -keyout server.key
     

    How can you fix it and do it properly?

    Step 1.) Make a new Private KeyCreate server pass key:

    openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
    Create private key
    openssl rsa -passin pass:x -in server.pass.key -out server.key
    remove server.pass.key (not needed after you have your private key)
    rm server.pass.key
    
    Step 2.) Generate your CSR
    
    Use the newly created server.key (Private Key) to generate your CSR).
    
    openssl req -new -key server.key -out server.csr

    Step 3.) Create .CRT using your CSR

    openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
    
    

     


  • Windows 2012 Essentials r2 error - "system_thread_exception_not_handled (srv.sys)"


    I'm getting this error randomly but suspect it is an update or application conflict.  It also takes ages for this "collection" to happen.

     

    "system_thread_exception_not_handled (srv.sys)"


  • Coolermaster CM Storm Enable LED Backlight in Fedora/Ubuntu/Mint Linux Howto - MB24 Keyboard and MS2K Mouse


    Just type the following in the bash/terminal shell to enable the blue LED light on the Coolermaster CM Storm keyboard:

    xset led 3

    To make it automatic and permanent execute the following as root:

    echo "xset led 3" >> /etc/rc.local
     

    This is a fairly nice gaming keyboard which I bought because I type very quickly and the cheap standard keyboards simply can't keep up!

     


  • wget how to resume download!


    It's very simple you just use the "-c" switch and wget will resume the file (make sure you are in the same directory) or specify -O /path/to/partialdownload.zip

    wget -c http://someurl/file.zip


  • strange vi errors in Linux Mint/Ubuntu line 58: E488: Trailing characters: t_Sbet line 63: E171: Missing :endif


    This happens on any file an even just typing "vi" whereas it never happened before.  I suspect an update or environment variable is causing this issue

    When entering vi I get this weird stuff

    line   58:
    E488: Trailing characters: t_Sbet
    line   63:
    E171: Missing :endif

    When exiting vi I get this weird stuff

      t_Sb=^[[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m


  • MySQL Add multiple IPs for remote user including root howto


    To grant the IP 192.168.2.4 to user mysqlguy

    GRANT ALL ON *.* TO 'mysqlguy'@'192.168.2.4';

    To allow any IP for mysqlguy just use the wildcard % character


    GRANT ALL ON *.* TO 'mysqlguy'@'%';

    Also note it is normal and fine to have multiple entries in the mysql table.


  • cPanel error Access denied for user 'root'@'localhost' when adding remote MySQL IP address solution


    Error while connecting to MYSQL: (XID 4ea7s9) Access denied for user 'root'@'localhost' (using password: YES) at /usr/local/cpanel/Cpanel/Mysql.pm line 181
    

    Solution

    This error occurs because the /root/.my.cnf has the wrong/outdated password for MySQL root user.  Simply edit /root/.my.cnf with the correct user. This normally happens if you update outside of cPanel.

     

     


  • Text Editors - Top Linux Ubuntu/Debian/Mint Options


    1.) gedit/pluma

    both very good the only thing I wish is that there was an autosave for unsaved documents!  The only other competitor which is similar but I prefer less is kwrite (although I think kwrite may have proper autosave)

    pluma seems to be a renamed gedit yet gedit is still installable on Linux Mint)
     

    2.) kwrite/kate

    very similar to gedit/pluma but doesn't seem as nice and smooth

     

    3.) leafpad

    very basic like Microsoft Notepad Text Editor

    4.) Scribes

    again more for coding seems heavy duty/slow to load and weird

    5.) Cream

    seems ancient and a basic code editor


  • Linux shows my drive as being dead is it really? Buffer I/O error on device sdb, logical block 0 sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00


    Normally the below would indicate a failing or failed drive.  In this case the SATA port was unplugged and sometimes the Linux kernel/motherboard even with AHCI just don't play nice and can't handle it.

    What happened is I plugged in a new drive after removing another one.  However the log shows that after the old drive was plugged in the Linux kernel kept complaining thinking the drive was there but not responding properly.  This continued even with reseating the new drive.
    So if you've removed an old drive/dead drive and the port doesn't work on the new one, don't assume your new drive is DOA.  Instead reboot or try a new SATA port to be sure.

    May 23 15:01:03 box2 kernel: __ratelimit: 1401 callbacks suppressed
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:03 box2 kernel: __ratelimit: 1402 callbacks suppressed
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: __ratelimit: 1471 callbacks suppressed
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 1
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 2
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 3
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 122096645
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 122096645
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 1
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    

    As we can see the same drive comes up fine on another port.

    However the drive was working fine and kept throwing errors like above so a reboot was required. This is the first time I've seen an issue like this.  It seems like the other port's issue affected the entire bus from working with any new device.

     

     


  • use ffmpeg to watermark videos if mencoder/bmovl fail


    If you have this problem: http://realtechtalk.com/mencoder_bmovl_error_vf_bmovl_Unknown_command_Ignoring_-1860-articles

    Then ffmpeg is for you.  Go here if you are using Linux Mint and cannot find or install it to use an external PPA.

    Easy solution and how to use ffmpeg to watermark:

    ffmpeg -i  yourvideo.mp4 -i yourwatermark.jpg -filter_complex "overlay=10:10" outputfile.mp4

    Source: another great ffmpeg watermark tutorial


  • mencoder bmovl error vf_bmovl: Unknown command: ''. Ignoring.


    Based on this tutorial: http://www.linuxjournal.com/content/overlay-images-video-using-mplayer-and-mencoder

    mencoder -oac pcm -ovc raw -vf bmovl=0:0:tfifo -o $output $file


    vf_bmovl: Unknown command: ''. Ignoring.  

    If you get this error use ffmpeg instead and follow this quick/easy tutorial

    Full script as follows does not work on mencoder on Linux Mint 17:

    MEncoder 1.1-4.8 (C) 2000-2012 MPlayer Team
     

     

    #!/bin/bash
    #does work error
    #vf_bmovl: Unknown command: ''. Ignoring.

    watermark=$1
    watermark="FINAL.jpg"
    watermark_height=600
    watermark_width=500
    file=$2
    output=$file-watermark.mp4
    if [ -z "$watermark" ] || [ -z "$file" ]; then
       echo "Usage $0 watermarkfile.jpg file.mp4"
       exit 1
    fi
    #convert watermark to rgba
    convert $watermark tlogo.rgba
    #Copy logo to fifo
    rm -f tfifo
    mkfifo tfifo

    (echo "RGBA32 500 600 0 0 0 1" ; cat tlogo.rgba ) >tfifo &
    mencoder -oac pcm -ovc raw -vfm bmovl=0:0:$watermark -o $output $file


    rm -f tfifo
    rm -f tlogo.rgba

     


  • Linux Mint/Ubuntu/Debian Nvidia driver becomes slow graphics performance issue


    I've had this issue since Ubuntu 9 and now even on Linux Mint 17 no matter what latest version of the Nvidia proprietary driver that I use.  It just becomes slower and slower and only gets better after rebooting or restarting Xorg.

    Someone here has it as well

    https://askubuntu.com/questions/822449/graphics-becomes-slow-after-a-while/917886

    It's very frustrating that this issue has been recurring with all OS's, drivers and different Nvidia cards I've had with no resolution.  I am almost considering going ATI if that driver doesn't have the slowdown issue

     

     

     

     


  • Linux Mint missing ffmpeg solution to install from Ubuntu PPA


    This is very annoying that ffmpeg is missing from Linux Mint!  They have ffmpeg2theora which is a totally different codec and does not work as ffmpeg does at all (it is basically totally different).

    However on Linux Mint 17 I was able to use a Ubuntu PPA and sucessfully install ffmpeg!

    https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media

    Adding this PPA to your system

    You can update your system with unsupported packages from this untrusted PPA by adding ppa:mc3man/trusty-media to your system's Software Sources. (Read about installing)

    sudo add-apt-repository ppa:mc3man/trusty-media
    sudo apt-get update

    Solution Now Install ffmpeg!
          

    sudo apt-get install ffmpeg


  • phpBB3 slow and internal dummy connection


    Using Apache 2.2 and PHP 5.6 PHPBB3 is very slow to respond.  Actually for some reason it takes so long to even register a log entry in access_log as in several seconds or a few minutes later it shows up in Apache.  All other vhosts and Apache access stops working and freezes until the request to access PHPBB3 slowly completes.

    It seems to randomly be slow if you stop using it whether for posting or reading the forums.  I've migrated to different machines including SSD and the problem has not changed at all.  Some have posted that the internal dummy connection means Apache is killing off dead workers.

    I've never had an issue like this with any PHP app except PHPBB3


    80.38.44.5 - whichuser [19/May/2017:03:23:37 -0400] "GET /forums/cron.php?cron_type=cron.task.core.tidy_warnings HTTP/1.1" 200 43 "https://192.168.5.8/forums/posting.php?f=4&mode=edit&p=25&t=24&sid=71000a75c63243f82054d4717c6316bf" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    127.0.0.1 - - [19/May/2017:03:23:42 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"


    127.0.0.1 - - [19/May/2017:03:26:23 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"

     

    this issue is accompanied by a delay in any logging activity of a few minutes and then suddenly it loads the destination page and a cron script:

    192.168.1.29 - whichuser [25/May/2017:01:50:15 -0400] "POST /phpBB3/ucp.php?mode=login&sid=b5a1c0e5f9bb2a9474e8ceaee3f21c8e HTTP/1.1" 302 - "https://192.168.1.144/phpBB3/viewtopic.php?f=4&t=31&sid=f9b1b31d209b729fda25227ccc27d2e7" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    192.168.1.29 - whichuser [25/May/2017:01:50:15 -0400] "GET /phpBB3/viewtopic.php?f=4&t=31&sid=713b30d33575fcedca22f04c9d3d7739 HTTP/1.1" 200 27900 "https://192.168.1.144/phpBB3/viewtopic.php?f=4&t=31&sid=f9b1b31d209b729fda25227ccc27d2e7" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    192.168.1.29 - whichuser [25/May/2017:01:50:16 -0400] "GET /phpBB3/cron.php?cron_type=cron.task.core.tidy_cache HTTP/1.1" 200 43 "https://192.168.1.144/phpBB3/viewtopic.php?f=4&t=31&sid=713b30d33575fcedca22f04c9d3d7739" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    127.0.0.1 - - [25/May/2017:01:50:22 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"


  • check if Apache uses worker MPM or prefork MPM




    apachectl -l
    Compiled in modules:
      core.c
      prefork.c
      http_core.c
      mod_so.c



    It is "prefork.c" so in httpd.conf these settings are what you would use (if you use worker.c it won't have any impact):

    <IfModule prefork.c>
    StartServers      2
    MinSpareServers   5
    MaxSpareServers   20
    ServerLimit      300
    MaxClients       300
    #MaxRequestsPerChild  0
    MaxRequestsPerChild 100
    </IfModule>


  • text to speech for Linux


    espeak - is horrible and sounds very old and robotic
    echo "hello there"|espeak

    #don't know how to use
    mbrola and plugins
    cicero

    jovie just seems to be a graphical interface to espeak

    There is also sbreader/sapi

    Google's Text To Speech Works Quite Well

    #!/bin/bash
    say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=$*&tl=en"; }
    say $*

    How to use the script:

    ./script.sh "hello there my name is John"

    The above produces an error by plays just fine:

    mplayer: could not connect to socket
    mplayer: No such file or directory


  • How to convert xlsx/xls Excel file into csv


    A lot of times these files seem to lag and be incredibly slow even if just a few dozens rows of data.

    Here is how you can convert it with "gnumeric":

    ssconvert file.xlsx file.csv
     

    You may get lots of weird errors like this but the conversion seems to work fine:

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'


  • Linux bash script how to generate a random password using /dev/urandom


    This command will generate a random password using all letters and numbers that is 20 characters wrong based on /dev/urandom (for the most truly random output).

    echo `< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-20};echo;`


  • ssh forward multiple ports in the same connection and command even works with NAT!


    You can actually just pass multiple "-L" statements to achieve this.

    An example is as below:

    ssl -L 80:192.168.10.5:80 -L 443:192.168.10.5:443 -L 2068:192.168.10.5:2068 -L 8192:192.168.10.5:8192  user@remotehost.com
     

    The above essentially is saying forward ports 80,443,2068,8192 to the remote IP of 192.168.10.5 (even though it is behind NAT).  Essentially SSH will do the NAT part even if there is no NAT translation/ masquerade on the target.

    Remember the port number on the left is the local port number you will access by and the number on the right is the destination IP's port


  • How to create openssl md5 password hash to use in /etc/shadow using bash


    Very useful in embedded and other non-standard deployments.  The above makes a random salt of 14 random characters from /dev/urandom (you can change the -14 to whatever number of characters you want for your salt).

    openssl passwd -1 -salt `< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-14};echo;` YourPassword

    Output:

    $1$eW-ScuyL$f/iKMJ5mbJ..7bSzvX6EO0
     

     


  • Avocent DSR8020 KVM/IP - Network Connect Error - Solution


    This error is commonly due to Java security or TLS settings but there is a second issue with forwarded ports that also causes it.

     

    1. Java Security/TLS Settings issue:

    This article has the solution to change them all in Linux automatically

    2. Port Forwarding Issue if your Avocent DSR is behind NAT/private IP

    One would assume if you can get to the interface successfully via port 80/443 that all would be well but it's not enough.

    Actually a port scan shows the following ports are open on the DSR:

    PORT     STATE SERVICE
    80/tcp   open  http
    443/tcp  open  https
    2068/tcp open  advocentkvm
    3211/tcp open  avsecuremgmt
    3871/tcp open  avocent-adsap
    8192/tcp open  sophos
    

    You could forward all above ports but for normal functionality they are not required unless you are using the Avocent software I believe.

    Forward these ports to your private IP of the Avocent DSR:

    80,443,2068,8192

    An example in iptables of how to forward the ports:

    -s 192.168.5.4/32 #this is the only public IP that can access it (you can do away with this line if you want any remote IP to have access but for security this is recommended.  I find the unit itself tends to crash from attacks/hacking attempts when left wide open to the public.

    iptables -A PREROUTING -t nat -s 192.16.5.4/32 -d 103.2.5.2/32 -p tcp -m multiport --dports 80,443,2068,8192,3871,3211 -j DNAT --to 192.168.10.5

    The same portforwarding can also be achieved with OpenSSH like this:

    *Replace 192.168.10.5 with the NAT IP of your Avocent DSR unit

    ssl -L 80:192.168.10.5:80 -L 443:192.168.10.5:443 -L 2068:192.168.10.5:2068 -L 8192:192.168.10.5:8192  user@remotehost.com
     

    Other related Avocent DSR issues

    http://realtechtalk.com/Avocent_Unable_to_load_resource_avctVideojar-1646-articles

    http://realtechtalk.com/Avocent_8020_KVM_Java_Icedtea_Viewer_-1702-articles


  • PHP Parse error: syntax error, unexpected '[' in phpBB3/vendor/react/promise/src/functions.php on line 15


    The solution is simple this happens if you don't meet the requirements.  In my case PHP 5.4 was required but I had PHP 5.3 installed.  Once I installed a newer version the install of PHPBB was successful.


  • tar extraction changes ownership of /root directory


    I have a tar and when extracting it changes /root to a uid and gid of the source server which is bad especially for /root!

    You can get around this by extracting as follows:

    Add the -o switch which means "--no-same-owner"

    tar -o -zxvf sometar.tar.gz


  • Centos 7 Migration Guide from Centos 6


    Centos 7 is no cakewalk, there are many fundamental features and basic utilities that are missing or even completely renamed or different!

    Another shocking thing is to check your NIC it is set by default to not turn on when booting!

    And by the way there is no more standard eth0 the NIC convention is now "enp0s3"

    vi /etc/sysconfig/network-scripts/ifcfg-enp0s3

    Set

    onboot=yes

     

    List of utilities and how to get them:

     

    ifconfig

    yum -y install net-tools

    killall

    yum -y install psmisc

     

     


  • ubuntu Linux colour dropper picker


    gpick is a great and simple tool now that I now how to use it

    sudo apt-get install gpick

    The trick is to find "the swatch"

    I was in a rush and was frustrated that it wouldn't work how I expected and I had to memorize the hex code of the color my mouse was over.

    There is something it tells you to do which is "Click on the swatch area" (click onthe honeycomb graphic area that is the swatch) and then whenever you hit the "spacebar" the code will be recorded on the right side for you to copy and refer to later. 


  • zip warning: name not matched: in Linux Solution


    There are usually two reasons for this.

    #1 The most common is that you need to enable the -r (recursive) flag with zip to make it recurse into directories.

    So the solution is to use -r

    zip -r somefile.zip yourfiles

    #2 If you are using bash scripting based on ls without the full path or for some other reason the full path is missing, zip looks for the files in the current directory so this will always fail.

    filelist=`ls -1 thedirectory`

    The problem is that ls just lists the files off as if it were in the current directory and this is why zip is complaining (essentially the files do not exist to zip because it is being told to look in the wrong/current directory).

    If this is your issue you can correct it like so:

     

    filelist=`ls -1d thedirectory/*`

    You add the "-d" switch and also /* at the end of the directory.

     


  • ls in Linux with full directory path with files howto


    Normally an ls will just produce the actual contents of the current or target directory eg.

    ls mydir

    myfile1

    myfile2

    myfile3

    But what if you need to find the full or relative path to another program that cares whether that be zip or etc.?

    You need the "-d" switch and the asterisk inside the actual directory.

    ls -d mydir/*

    mydir/myfile1

    mydir/myfile2

    mydir/myfile3

     


  • bash how to check if a symlink exists as a file or directory


    To check if a file/directory is a symlink in bash:

    if [ -L /some/path/file ]; then

    echo "OK we're a symlink"

    fi

     

    That's all there is to it.


  • css .ul and .li how to remove the identation padding/margin from list items?


    A common mistake is people think you should tell the li padding to be 0px but this is wrong.

    All you need is the following code in line:

    <ul style="margin:0px">

    <li>your item</li>

    <li>your item</li>

    </ul>

    In a css class:

    .yourclass {

    ul.margin: 0px;

    }


  • how to extract .xz file in Linux Centos/Debian/Ubuntu


    tar -xvJf somefile.tar.xz

    It is very annoying that so many are now using the .xz archive format as standard instead of .tar.gz but nevertheless above is how you would extract it with the "J" flag (not lower case j as that is for bz).


  • Linux how to whois query other gTLDs such as .club solution


    whois in Linux is incredibly out of date and does not seem to recognize most new TLDs domains, but there is a quick and easy tip/hack/tweak for this.

    An example of new TLD's site as .review .site .club

    whois somesite.club

    No whois server is known for this kind of object.
     

    bash to the rescue

    Now I did try to apply this in .bashrc but DO NOT!  I think the * wildcard or something else in the code causes a recursive infinite loop that will slow or cash your computer. (I am not kidding I had a load of 1000!).

    1.) The bash script (finds the whois server for the .tld and queries it):

    #!/bin/bash
    server=$1
    whois -h `whois "$1" -h whois.iana.org| grep whois:| sed -e s/whois:\s*//` "$1"

    2.) Save it to a file in your home ~/whoisserver.sh

    3.) Edit ~/.bashrc

    Add the following:

    function whois() { /home/yourdir/whoisserver.sh $1; }

    To apply instantly in your current shell/bash:

    source .bashrc

    The reason I used a function is because it supports variables whereas a bash "alias" does not.


  • How to verify SSL SHA-1 Certificate Fingerprnit Signature of your mail/web server to avoid hijacking/man-in-the-middle attacks


    This is especially helpful if you run your own servers.  If you are presented with an error message or warning that the signature has changed or does not match the IP/domain you are connecting to you always want to verify manually.

    So your e-mail/web client will show you an SHA-1 fingerprint like this:

    "Could not verify this certificate because the issuer is unkown" or other reasons such as a mismatch in IP/domain.

    It will also show you the "SHA1 fingerprint".   Copy this and compare below with the results of your actual server certificate.

    How to verify it against the actual certificate on your server?:

    openssl x509 -fingerprint -in /pathto/your-certificate.crt -noout

    SHA1 Fingerprint=CD:32:57:8A:66:18:71:87:81:B8:A5:F6:2E:52:3D:15:C5:A9:41:06

    How to manually fetch the SHA1 certificate straight from the server to compare?

    openssl s_client -showcerts -connect yourdomain.com:port 2>/dev/null|openssl x509 -fingerprint -noout

    Conclusion

    This is an important and good way to verify that you are actually talking to who you think you are and that there is no direct interception or Middleman attack.


  • Linux Ubuntu Mint how to view RAW image files .arw?


    I just use "ufraw" and it does the trick perfectly. Now I wish I could figure out how to batch convert them into .jpg with ImageMagick (it seems support for .raw is not guaranteed or it has to be compiled in).

    apt-get install ufraw


  • ecryptfs errors


    ecryptfs-mount-private
    Enter your login passphrase:
    Inserted auth tok with sig [ee16d84] "into the user session keyring
    mount: No such file or directory"


    [  156.118113] ecryptfs_mount: kern_path() failed
    [  156.118431] Reading sb failed; rc = [-2]
    [  164.233055] traps: mate-notificati[3472] trap int3 ip:7f43d7002c13 sp:7fff162c6600 error:0
    [  166.017061] ecryptfs_mount: kern_path() failed
    [  166.017323] Reading sb failed; rc = [-2]

    The reason for this is that you don't have the .Private directory for your user symlinked from /home/.ecryptfs/user/.Private to your home directory or .Private does not exist (common mistake when migrating ecryptfs data to another system).

    Solution:

    rsync -Phaz /home/.ecryptfs/yourusername/.Private ~


  • What happens when you unplug 1 or more devices from an mdadm RAID array to simulate a failure in Linux Ubuntu/Centos/Debian?



    In short the two drives in the array were /dev/sdd and /dev/sde.  The kernel sees they were unplugged and have gone down as you can see below.
    mdadm caught the first one being unplugged /dev/sde and disabled the missing drive.  However when the final drive that was part of the array is unplugged it didn't notice at all.  Instead it complains about an IO error later for drives that the kernel knows do not exist anymore.

    [45817.162728] ata4: exception Emask 0x10 SAct 0x0 SErr 0x1810000 action 0xe frozen
    [45817.162744] ata4: SError: { PHYRdyChg LinkSeq TrStaTrns }
    [45817.162757] ata4: hard resetting link
    [45817.162763] ata4: nv: skipping hardreset on occupied port
    [45817.875776] ata4: SATA link down (SStatus 0 SControl 300)
    [45822.876730] ata4: hard resetting link
    [45822.876743] ata4: nv: skipping hardreset on occupied port
    [45823.188801] ata4: SATA link down (SStatus 0 SControl 300)
    [45823.188825] ata4: limiting SATA link speed to 1.5 Gbps
    [45828.189782] ata4: hard resetting link
    [45828.189796] ata4: nv: skipping hardreset on occupied port
    [45828.501840] ata4: SATA link down (SStatus 0 SControl 300)
    [45828.501862] ata4.00: disabled
    [45828.501889] ata4: EH complete
    [45828.501917] ata4.00: detaching (SCSI 4:0:0:0)
    [45828.507327] sd 4:0:0:0: [sde] Synchronizing SCSI cache
    [45828.507413] sd 4:0:0:0: [sde]
    [45828.507419] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    [45828.507425] sd 4:0:0:0: [sde] Stopping disk
    [45828.507443] sd 4:0:0:0: [sde] START_STOP FAILED
    [45828.507448] sd 4:0:0:0: [sde]
    [45828.507451] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    [45828.513870] md/raid10:md2: Disk failure on sde3, disabling device.
    [45828.513870] md/raid10:md2: Operation continuing on 1 devices.
    [45828.515601] md/raid1:md0: Disk failure on sde1, disabling device.
    [45828.515601] md/raid1:md0: Operation continuing on 1 devices.
    [45828.515699] md/raid1:md1: Disk failure on sde2, disabling device.
    [45828.515699] md/raid1:md1: Operation continuing on 1 devices.
    [45828.550897] RAID1 conf printout:
    [45828.550907]  --- wd:1 rd:2
    [45828.550914]  disk 0, wo:1, o:0, dev:sde1
    [45828.550919]  disk 1, wo:0, o:1, dev:sdd1
    [45828.550922] RAID1 conf printout:
    [45828.550926]  --- wd:1 rd:2
    [45828.550929]  disk 0, wo:1, o:0, dev:sde2
    [45828.550933]  disk 1, wo:0, o:1, dev:sdd2
    [45828.557889] RAID1 conf printout:
    [45828.557891] RAID1 conf printout:
    [45828.557898]  --- wd:1 rd:2
    [45828.557901]  disk 1, wo:0, o:1, dev:sdd2
    [45828.557908]  --- wd:1 rd:2
    [45828.557913]  disk 1, wo:0, o:1, dev:sdd1
    [45828.564720] RAID10 conf printout:
    [45828.564742]  --- wd:1 rd:2
    [45828.564749]  disk 0, wo:1, o:0, dev:sde3
    [45828.564751]  disk 1, wo:0, o:1, dev:sdd3
    [45828.569892] RAID10 conf printout:
    [45828.569895]  --- wd:1 rd:2
    [45828.569898]  disk 1, wo:0, o:1, dev:sdd3
    [45828.584569] md: unbind

    [45828.584599] md: unbind

    [45828.601887] md: export_rdev(sde2)
    [45828.606689] md: unbind

    [45828.609925] md: export_rdev(sde1)
    [45828.625934] md: export_rdev(sde3)
    [45853.787165] ata3: exception Emask 0x10 SAct 0x0 SErr 0x1910000 action 0xe frozen
    [45853.787181] ata3: SError: { PHYRdyChg Dispar LinkSeq TrStaTrns }
    [45853.787194] ata3: hard resetting link
    [45853.787199] ata3: nv: skipping hardreset on occupied port
    [45854.502904] ata3: SATA link down (SStatus 0 SControl 300)
    [45859.503897] ata3: hard resetting link
    [45859.503910] ata3: nv: skipping hardreset on occupied port
    [45859.815936] ata3: SATA link down (SStatus 0 SControl 300)
    [45859.815959] ata3: limiting SATA link speed to 1.5 Gbps
    [45864.816953] ata3: hard resetting link
    [45864.816970] ata3: nv: skipping hardreset on occupied port
    [45865.128991] ata3: SATA link down (SStatus 0 SControl 300)
    [45865.129016] ata3.00: disabled
    [45865.129049] ata3: EH complete
    [45865.129082] ata3.00: detaching (SCSI 3:0:0:0)
    [45865.134492] sd 3:0:0:0: [sdd] Synchronizing SCSI cache
    [45865.134606] sd 3:0:0:0: [sdd]
    [45865.134612] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    [45865.134618] sd 3:0:0:0: [sdd] Stopping disk
    [45865.134638] sd 3:0:0:0: [sdd] START_STOP FAILED
    [45865.134643] sd 3:0:0:0: [sdd]
    [45865.134647] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK


    [46361.713303] Buffer I/O error on device md2, logical block 0
    [46361.713321] Buffer I/O error on device md2, logical block 1
    [46361.713333] Buffer I/O error on device md2, logical block 2
    [46361.713343] Buffer I/O error on device md2, logical block 3
    [46361.713352] Buffer I/O error on device md2, logical block 0
    [46361.713374] Buffer I/O error on device md2, logical block 177343231
    [46361.713383] Buffer I/O error on device md2, logical block 177343231
    [46361.713479] Buffer I/O error on device md2, logical block 0
    [46361.713491] Buffer I/O error on device md2, logical block 1
    [46361.713500] Buffer I/O error on device md2, logical block 2


    See below it believes the last drive (sdd) to be unplugged is still plugged in!


    Personalities : [raid10] [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4]
    md0 : active raid1 sdd1[2]
          20955008 blocks super 1.2 [2/1] [_U]
       
    md1 : active raid1 sdd2[1]
          2097088 blocks [2/1] [_U]
       
    md2 : active raid10 sdd3[2]
          709372928 blocks super 1.2 512K chunks 2 far-copies [2/1] [_U]
          bitmap: 0/6 pages [0KB], 65536KB chunk

     


  • Migrating from Linux Mint 17.2 mdadm RAID array to a new one (because I upgraded to larger drives).



    1.) Replicate the number of partitions in your new drives.
    gdisk /dev/sda
    gdisk /dev/sdb

    I created 3 partitions of the same same size.
    partition #1: +1G (/boot)
    partition #2: +60G (swap)
    partition #3: rest of it (/)

    #note if you are using GPT/gdisk you need to create separate a partition at least 1MB in size (in my case I would a 4th partition and mark it type ef02).

    Note again do not make my mistake.  You cannot just mark your grub /boot partition as ef02, it will not boot (despite grub2 not complaining during install).


    gdisk /dev/sdc
    GPT fdisk (gdisk) version 0.8.8

    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present

    Found valid GPT with protective MBR; using GPT.

    Command (? for help): t
    Partition number (1-3): 1
    Current type is 'Linux filesystem'
    Hex code or GUID (L to show codes, Enter = 8300): ef02
    Changed type of partition to 'BIOS boot partition'

    Command (? for help): wq

    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!




    2.) Create 3 new mdadm arrays that are suitable:


    Note the first mdadm array is my boot so I use RAID 1 and metadata=0.90 (or it will not be able to read/boot)


    mdadm --create /dev/md51 --metadata=0.90 --level 1 --raid-devices 2 /dev/sdb1 /dev/sdc1
    mdadm --create /dev/md52 --level 10 --layout f2 --raid-devices 2 /dev/sdb2 /dev/sdc2
    mdadm --create /dev/md53 --level 10 --layout f2 --raid-devices 2 /dev/sdb3 /dev/sdc3


    Note md51=/boot
         md52=swap
         md53=/
    3.) Create appropraite filesystems:

    mkfs.ext4 /dev/md51
    mkswap /dev/md52
    mkfs.ext4 /dev/md53

    Note md51=/boot
         md52=swap
         md53=/

    4.) Mount them and prepare to migrate

    I am going to use /mnt/newinstall as the staging ground.

    #make staging dir
    mkdir -p /mnt/newinstall
    #make boot and / inside stage:


    #mount them
    mount /dev/md53 /mnt/newinstall/
    mkdir -p /mnt/newinstall/boot
    mount /dev/md51 /mnt/newinstall/boot


    5.) Migrate with rsync

    I am going to omit /media/* and /mnt/* to avoid copying other mounted devices

    *If you have ecryptfs you will want to exclude /home/user if mounted so you don't copy both encrypted and decrypted files (doubling your storage usage and also exposing an unencrypted copy of your data).


    rsync -Pha --exclude=/proc/* --exclude=/sys/* --exclude=/home/user/* --exclude=/media/* --exclude=/mnt/* / /mnt/newinstall/
    #rsync the .ecryptfs info to your user or you will lose access be unable to auto-mount it

    rsync -Phaz /home/user/.ecryptfs /mnt/newinstall/home/user

    rsync -Phaz /home/user/.Private /mnt/newinstall/home/user

    6.) chroot and prepare environment.
    mount=/mnt/newinstall
    for bind in dev sys proc; do
    mount -o bind /$bind /$mount/$bind
    done

    chroot /mnt/newinstall
    grub-install /dev/sda
    grub-install /dev/sdb
    update-grub



    #update mdadm
    #backup
    cp /etc/mdadm/mdadm.conf /etc/mdadm/mdadm.conf-`date +%Y-%m-%d-%s`
    mdadm --detail --brief --scan > /etc/mdadm/mdadm.conf



    #update /etc/fstab /boot, /, and swap, with the right blkid
    vi /etc/fstab

    UUID=1119d26-da8e-4317-a5cb-834402b90501 /               ext4    errors=remount-ro 0       1
    UUID=22296bff-79c5-4d19-b343-e21d10c5fe9b TYPE=ext4 /boot           ext4    defaults        0       2
    UUID=44423ded-5e6b-4f16-9ca9-b8ef69ce00ed none            swap    sw              0       0


    blkid /dev/md51
    blkid /dev/md52
    blkid /dev/md53

    Note md51=/boot
         md52=swap
         md53=/

    #update initramfs

    update-initramfs -u


  • Linux how to reformat html file code solution


    The solution is simply "tidy"/Tidy-HTML.  It will take your poorly formatted HTML code (and I mean files that span just a few lines that are unreadable) and fix it up.

    Note the command below does everything in place.  *Make sure you take a backup of all .html files*

    It also seems to break html5 code/templates so beware.

    tidy -im yourfile.html

    An automated way in bash:

    cd /your/website/directory

    for html in `find .|grep ".html$"`; do

    tidy -im $html

    done


  • ENOM how to do a 301 redirect to another domain/site


    Just manage your domain in Enom and choose "Host Records"

    Choose "URL Redirect" as the record type.

    As shown below choose the URL and add "?redir_mode=301" to the end of it.

    To test the 301 and make sure it is a 301 (unlike Godaddy which really did a 302 when I chose 301!).

     


  • ENOM TRANSFER passwords do not match - solution


    The "passwords do not match" implies or makes it appear that your auth code is wrong but actually you have to click "View additional settings" and then see there are 2 password fields to manage the domain once it is transferred (the password is typed twice for confirmation).  Simply fill out a password twice or remove the first password fields contents and all will be well.

     

    The Solution:

    Fix the issue with the "Access Password".  Either remove the first password field's contents or type your password in both fields.


  • Linux how to check http headers using bash/curl for SEO


    What code is being returned or where is a URL/domain redirecting you to?  Curl makes this easy and simple:

    curl -I yourdomain.com


  • mdadm: CREATE group disk not found Incrementally started RAID arrays. Incrementally starting RAID arrays...


    mdadm won't boot in Ubuntu/Mint/Debian anymore.

    You just get the following in a loop:

    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...
    
    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...
    
    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...
    
    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...

    Solution

    In Linux Mint 17.2 which is based on Ubuntu/Debian the issue was I am using the 3.0 Kernel, but I upgraded the kernel to a 4.4.

    Simply "hold shift" before the grub boot screen and boot your old 3.0 kernel and remove the 4.4 to boot again.

    There is definitely some bug or incompatibility that was introduced, it may be in the initramfs etc.. but this is a quick fix in case you can't boot.


  • Linux SAMBA does not work with symlinks


    At first I thought it's just not possible but there is actually an option that can be enabled to make symlinks work with Samba.

    Then I put this under the [global] section
    Note: It's "wide links" and not "wide symlinks" (some other sites have incorrect info which was a frustrating waste of time :))
     

    Add this to your smb.conf

    follow symlinks = yes
    wide links = yes
    unix extensions = no


     


  • How to Execute PHP in .html files with Apache in Linux Centos/Debian/Ubuntu etc


    Add this to the .htaccess file

    #right/working:

    AddType application/x-httpd-php .html .htm
     

    #wrong (won't work in many cases):
    AddHandler application/x-httpd-php5 .html .htm


  • mdadm how to recover from failed drive


    Remove the failed partition /dev/sde1

     mdadm --manage /dev/md99 -r /dev/sde1
    mdadm: hot removed /dev/sde1 from /dev/md99

     

    Now add another drive back to replace it:


     # mdadm --manage /dev/md99 -a /dev/sdf1
    mdadm: added /dev/sdf1

     

    A "cat /proc/mdstat" should show it resyncing if all is well.


  • yum Packages skipped because of dependency problems:


    Solution:

    yum -y install --skip-broken package-you-want-to-install

    Packages skipped because of dependency problems:
        php56w-mysql-5.6.30-1.w6.x86_64 from webtatic
    Error:  Multilib version problems found. This often means that the root
           cause is something else and multilib version checking is just
           pointing out that there is a problem. Eg.:
          
             1. You have an upgrade for apr which is missing some
                dependency that another package requires. Yum is trying to
                solve this by installing an older version of apr of the
                different architecture. If you exclude the bad architecture
                yum will tell you what the root cause is (which package
                requires what). You can try redoing the upgrade with
                --exclude apr.otherarch ... this should give you an error
                message showing the root cause of the problem.
          
             2. You have multiple architectures of apr installed, but
                yum can only see an upgrade for one of those arcitectures.
                If you don't want/need both architectures anymore then you
                can remove the one with the missing update and everything
                will work.
          
             3. You have duplicate versions of apr installed already.
                You can use "yum check" to get yum show these errors.
          
           ...you can also use --setopt=protected_multilib=false to remove
           this checking, however this is almost never the correct thing to
           do as something else is very likely to go wrong (often causing
           much more problems).
          
           Protected multilib versions: apr-1.3.9-5.el6_2.i686 != apr-1.5.2-2.x86_64
    Error: Protected multilib versions: apr-util-1.3.9-3.el6_0.1.i686 != apr-util-1.5.4-2.x86_64


  • Using a proxy with yum in Centos 6


    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
    Error: Cannot find a valid baseurl for repo: base



    You would think this should be fine and simple like using a proxy with most other software?
    However you would be severely mistaken to think like I did!

    First of all yum CANNOT even use a SOCKS server, it only supports http://!
    Fine, so we will set one in yum.conf like so: proxy=http://somehost:8080

    Another way is to set an all_proxy or http_proxy environment variable (this saves you from adding the proxy to yum itself but beware it means all operations are proxied):

    export all_proxy="http://someurl:8080"
    #or
    export http_proxy="http://someurl:8080"


    Let's do a yum update:

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
    Error: Cannot find a valid baseurl for repo: base


    The problem is that due to Squid's caching nature you will never get a proper result so the mirror list operation will always fail.

    How can you fix it?
    It's a pain, you have to go to your repos and comment out all the "mirrorlist" lines and uncomment "baseurl" lines (be sure to backup the .conf/repo before you do this).

    It is really too bad there is no "seamless" way of proxying yum.


  • How Do you Open/Extract .WARC Internet Archive Files on Linux Ubuntu/Mint/Centos?


    Get the python "warc extractor" from here.  WARC just seems to be such an unnecessary and complicated format.  Why not use tar, rar, zip etc...?

     

    ./warc-extractor.py -dump content !http:content-type:pdf yourfile.warc

  • How To Disable htaccess inheritance or exclude a directory


    The only real way us to do the following in the root of your site's .htaccess

    RewriteRule ^somedirectory-not-to-inherit/.*$ - [L]


  • root/home directory has ownership changed to the wrong user/owner mysteriously


    I figured out what caused this but don't have the solution just yet.  I would deploy a certain script from a .tar.gz to some servers and found that /root was always owned by user and group "1000.1000".  This corresonded to the user who made the .tar.gz.

    For some reason when extract normally with "tar -zxvf file.tar.gz" it impacts the parent directories ownership.  There must be some recursion going on or possibly the .tar.gz but I haven't found the solution.

    The solution is here.


  • mdadm and lvm how to completely disable and remove vg/pv/lv


    In short the solution is just to use vgremove for the actual /dev/mapper device:

    vgremove /dev/mapper/backups-backuplv


     

    box mnt # mdadm --manage /dev/md8 --stop
    mdadm: Cannot get exclusive access to /dev/md8:Perhaps a running process, mounted filesystem or active volume group?
    box mnt # lv
    lvchange     lvconvert    lvcreate     lvdisplay    lvextend     lvm          lvmchange    lvmconf      lvmdiskscan  lvmdump      lvmsadc      lvmsar       lvreduce     lvremove     lvrename     lvresize     lvs          lvscan
    box mnt # pvdisplay
      --- Physical volume ---
      PV Name               /dev/md8
      VG Name               backups
      PV Size               7.28 TiB / not usable 4.00 MiB
      Allocatable           yes
      PE Size               4.00 MiB
      Total PE              1907688
      Free PE               20251
      Allocated PE          1887437
      PV UUID               IDnmlM-2r3q-McwV-y2at-djxK-DvPM-sFqlTo
      
    box mnt # pvchange --help
      pvchange: Change attributes of physical volume(s)

    pvchange
        [-a|--all]
        [-A|--autobackup y|n]
        [-d|--debug]
        [-f|--force]
        [-h|--help]
        [-t|--test]
        [-u|--uuid]
        [-x|--allocatable y|n]
        [--metadataignore y|n]
        [-v|--verbose]
        [--addtag Tag]
        [--deltag Tag]
        [--version]
        [PhysicalVolumePath...]

    box mnt # pvchange --help^C
    box mnt # pvremove /dev/md8
      PV /dev/md8 belongs to Volume Group backups so please use vgreduce first.
      (If you are certain you need pvremove, then confirm by using --force twice.)
    box mnt # vgdisplay
      --- Volume group ---
      VG Name               backups
      System ID            
      Format                lvm2
      Metadata Areas        1
      Metadata Sequence No  2
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                1
      Open LV               0
      Max PV                0
      Cur PV                1
      Act PV                1
      VG Size               7.28 TiB
      PE Size               4.00 MiB
      Total PE              1907688
      Alloc PE / Size       1887437 / 7.20 TiB
      Free  PE / Size       20251 / 79.11 GiB
      VG UUID               DwxSxL-UmcV-TyjM-TUa1-ef4w-lrK5-cipxiI
      
    box mnt # vgremove /dev/^C
    box mnt # ls /dev/m
    mapper/  mcelog   md/      md0      md0p1    md1      md1p1    md2      md20     md2p1    md8      md99     mem      mpt2ctl 
    box mnt # ls /dev/m
    mapper/  mcelog   md/      md0      md0p1    md1      md1p1    md2      md20     md2p1    md8      md99     mem      mpt2ctl 
    box mnt # ls /dev/mapper/
    backups-backuplv  control          
    box mnt # vgremove /dev/mapper/backups-backuplv
      Invalid volume group name: backups/backuplv
      Run `vgremove --help' for more information.
    box mnt # vgremove /dev/mapper/backups
    Do you really want to remove volume group "backups" containing 1 logical volumes? [y/n]: y
    Do you really want to remove and DISCARD active logical volume backuplv? [y/n]: y
      Logical volume "backuplv" successfully removed
      Volume group "backups" successfully removed
    box mnt #
     


  • sshd[10470]: Authentication refused: bad ownership or modes for directory /root


    This can be a case of bad permissions or modes as the error says.  Normally one would assume permissions but often a script may change ownership of /root to something else.

    This was the case half the time I've encountered this.

    So in short make sure ownership is correct

    chown -R root.root /root


  • LG Phoenix 2 Escape Disable AT&T Phonebook/Contacts Error Message


    A friend has this issue where you try to go to contacts and you get a message saying you need to enable data (basically if you are not really on the AT&T network).

    The Solution - You can disable this by the following code in the dialer:

    *#*#2666#*#*


  • mdadm frozen and doesn't realize array is dead/missing failed due to unplugged drives


    This was a surprising bug but I unplugged all drives for an array md127.  At first it was just 1 drive and mdadm seemed to notice this.  I unplugged the second drive taking the array offline but mdadm did not realize it was offline and still showed a non-existent disk as being part of it.  This created problems trying to unmount it or even to stop this array with mdadm freezing. 

    As for how to fix it I can only think of making sure you are not in a mounted path of the array, unmount it and then manually stop the array but this didn't seem to work until the hung task kicked in.

    mdadm --manage /dev/md127 --stop

     

    The resulting kernel messages are what followed:

     

    8586.047108] EXT4-fs error (device md127): __ext4_get_inode_loc:3932: inode #12058625: block 48234528: comm pool: unable to read itable block
    [48586.047119] EXT4-fs (md127): previous I/O error to superblock detected
    [48586.047207] Buffer I/O error on device md127, logical block 0
    [48586.047216] lost page write due to I/O error on md127
    [48586.248009] md: super_written gets error=-19, uptodate=0
    [48594.634065] md: super_written gets error=-19, uptodate=0
    [48594.634173] Buffer I/O error on device md127, logical block 91258880
    [48594.634186] lost page write due to I/O error on md127
    [48594.634221] JBD2: Error -5 detected when updating journal superblock for md127-8.
    [48594.634286] Buffer I/O error on device md127, logical block 91258880
    [48594.634299] lost page write due to I/O error on md127
    [48594.634329] JBD2: Error -5 detected when updating journal superblock for md127-8.
    [48594.635892] EXT4-fs (md127): previous I/O error to superblock detected
    [48594.635974] Buffer I/O error on device md127, logical block 0
    [48594.635984] lost page write due to I/O error on md127
    [48594.837653] md: super_written gets error=-19, uptodate=0
    [48851.459776] init: smbd main process (1204) killed by TERM signal
    [48966.998219] Buffer I/O error on device md127, logical block 0
    [48966.998241] Buffer I/O error on device md127, logical block 0
    [48966.998267] Buffer I/O error on device md127, logical block 183110512
    [48966.998277] Buffer I/O error on device md127, logical block 183110512
    [48966.998295] Buffer I/O error on device md127, logical block 183110526
    [48966.998304] Buffer I/O error on device md127, logical block 183110526
    [48966.998315] Buffer I/O error on device md127, logical block 0
    [48966.998329] Buffer I/O error on device md127, logical block 1
    [48966.998337] Buffer I/O error on device md127, logical block 1
    [48966.998357] Buffer I/O error on device md127, logical block 183110527
    [49172.119413] md: md20 stopped.
    [49172.193601] md: bind<sdf1>
    [49184.251750] quiet_error: 124 callbacks suppressed
    [49184.251764] Buffer I/O error on device md127, logical block 183110512
    [49184.251778] Buffer I/O error on device md127, logical block 183110512
    [49184.251799] Buffer I/O error on device md127, logical block 183110526
    [49184.251808] Buffer I/O error on device md127, logical block 183110526
    [49184.251823] Buffer I/O error on device md127, logical block 0
    [49184.251831] Buffer I/O error on device md127, logical block 0
    [49184.251846] Buffer I/O error on device md127, logical block 1
    [49184.251854] Buffer I/O error on device md127, logical block 1
    [49184.251869] Buffer I/O error on device md127, logical block 183110527
    [49184.251877] Buffer I/O error on device md127, logical block 183110527
    [49210.081588] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49210.081605]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49210.081610] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49210.081616] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49210.081627]  ffff88005539fc70 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49210.081635]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fd98
    [49210.081642]  ffff88005539fda0 7fffffffffffffff ffff880804045180 0000000000000000
    [49210.081649] Call Trace:
    [49210.081668]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49210.081677]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49210.081687]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49210.081694]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49210.081701]  [<ffffffff81088509>] ? try_to_grab_pending+0xa9/0x160
    [49210.081709]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49210.081718]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49210.081728]  [<ffffffff811fc97f>] writeback_inodes_sb_nr+0x7f/0xb0
    [49210.081735]  [<ffffffff811fc9d5>] writeback_inodes_sb+0x25/0x30
    [49210.081745]  [<ffffffff812039cd>] sync_filesystem+0x2d/0xa0
    [49210.081753]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49210.081764]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49210.081772]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49210.081779]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49210.081788]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49210.081795]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49210.081804]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49210.866657] quiet_error: 260 callbacks suppressed
    [49210.866670] Buffer I/O error on device md127, logical block 183110512
    [49210.866685] Buffer I/O error on device md127, logical block 183110512
    [49210.866705] Buffer I/O error on device md127, logical block 183110526
    [49210.866715] Buffer I/O error on device md127, logical block 183110526
    [49210.866729] Buffer I/O error on device md127, logical block 0
    [49210.866738] Buffer I/O error on device md127, logical block 0
    [49210.866753] Buffer I/O error on device md127, logical block 1
    [49210.866762] Buffer I/O error on device md127, logical block 1
    [49210.866777] Buffer I/O error on device md127, logical block 183110527
    [49210.866786] Buffer I/O error on device md127, logical block 183110527
    [49218.834738] md127: detected capacity change from 750020722688 to 0
    [49218.834759] md: md127 stopped.
    [49218.834776] md: unbind<sdc1>
    [49218.839214] md: export_rdev(sdc1)
    [49275.360612] init: smbd main process (16150) killed by TERM signal
    [49330.104883] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49330.104892]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49330.104895] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49330.104898] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49330.104904]  ffff88005539fc70 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49330.104908]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fd98
    [49330.104911]  ffff88005539fda0 7fffffffffffffff ffff880804045180 0000000000000000
    [49330.104916] Call Trace:
    [49330.104929]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49330.104933]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49330.104939]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49330.104942]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49330.104946]  [<ffffffff81088509>] ? try_to_grab_pending+0xa9/0x160
    [49330.104949]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49330.104955]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49330.104960]  [<ffffffff811fc97f>] writeback_inodes_sb_nr+0x7f/0xb0
    [49330.104963]  [<ffffffff811fc9d5>] writeback_inodes_sb+0x25/0x30
    [49330.104969]  [<ffffffff812039cd>] sync_filesystem+0x2d/0xa0
    [49330.104973]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49330.104979]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49330.104983]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49330.104987]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49330.104992]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49330.104995]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49330.104999]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49488.994434] md/raid10:md20: active with 1 out of 2 devices
    [49488.994492] md20: detected capacity change from 0 to 750020722688
    [49489.014456]  md20: unknown partition table
    [49505.301904] EXT4-fs (md20): recovery complete
    [49505.319010] EXT4-fs (md20): mounted filesystem with ordered data mode. Opts: (null)
    [49524.680801] systemd-hostnamed[16729]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
    [49570.151706] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49570.151723]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49570.151728] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49570.151734] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49570.151745]  ffff88005539fc80 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49570.151753]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fda8
    [49570.151761]  ffff88005539fdb0 7fffffffffffffff ffff880804045180 0000000000000000
    [49570.151768] Call Trace:
    [49570.151787]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49570.151796]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49570.151806]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49570.151813]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49570.151820]  [<ffffffff8108857d>] ? try_to_grab_pending+0x11d/0x160
    [49570.151828]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49570.151837]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49570.151846]  [<ffffffff811fca85>] sync_inodes_sb+0xa5/0x1c0
    [49570.151857]  [<ffffffff812039fb>] sync_filesystem+0x5b/0xa0
    [49570.151865]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49570.151876]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49570.151883]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49570.151891]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49570.151899]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49570.151906]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49570.151915]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49690.175082] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49690.175099]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49690.175104] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49690.175110] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49690.175121]  ffff88005539fc80 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49690.175129]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fda8
    [49690.175136]  ffff88005539fdb0 7fffffffffffffff ffff880804045180 0000000000000000
    [49690.175144] Call Trace:
    [49690.175164]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49690.175172]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49690.175182]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49690.175190]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49690.175197]  [<ffffffff8108857d>] ? try_to_grab_pending+0x11d/0x160
    [49690.175205]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49690.175214]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49690.175224]  [<ffffffff811fca85>] sync_inodes_sb+0xa5/0x1c0
    [49690.175234]  [<ffffffff812039fb>] sync_filesystem+0x5b/0xa0
    [49690.175242]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49690.175253]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49690.175261]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49690.175268]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49690.175277]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49690.175284]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49690.175293]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49810.198423] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49810.198438]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49810.198443] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49810.198449] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49810.198461]  ffff88005539fc80 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49810.198469]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fda8
    [49810.198476]  ffff88005539fdb0 7fffffffffffffff ffff880804045180 0000000000000000
    [49810.198483] Call Trace:
    [49810.198503]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49810.198512]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49810.198522]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49810.198530]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49810.198537]  [<ffffffff8108857d>] ? try_to_grab_pending+0x11d/0x160
    [49810.198545]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49810.198554]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49810.198563]  [<ffffffff811fca85>] sync_inodes_sb+0xa5/0x1c0
    [49810.198574]  [<ffffffff812039fb>] sync_filesystem+0x5b/0xa0
    [49810.198582]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49810.198593]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49810.198601]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49810.198608]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49810.198617]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49810.198624]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49810.198638]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
     


  • Unable to mount location Failed to retrieve share list from server: No such file or directory solution


    Cannot even "Browse Network" when clicking on "Windows Network"

    Unable to mount location
    Failed to retrieve share list from server: No such file or directory

    logs:

    [2017/02/14 00:16:44.271314,  0] ../source3/nmbd/nmbd.c:58(terminate)
      Got SIGTERM: going down...
    [2017/02/13 17:35:41.797944,  0] ../lib/util/become_daemon.c:124(daemon_ready)
      STATUS=daemon 'nmbd' finished starting up and ready to serve connections
    [2017/02/14 01:36:51.984161,  0] ../source3/libsmb/nmblib.c:873(send_udp)
      Packet send failed to 192.168.1.255(138) ERRNO=Invalid argument
    [2017/02/14 01:36:51.984314,  0] ../source3/libsmb/nmblib.c:873(send_udp)
      Packet send failed to 192.168.1.255(137) ERRNO=Invalid argument
    [2017/02/14 01:36:51.984353,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
      send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
    [2017/02/14 01:36:51.984390,  0] ../source3/nmbd/nmbd_nameregister.c:582(register_name)
      register_name: Failed to send packet trying to register name __MSBROWSE__<01>

     

    Solution

    • problem was a missing share (share mount point was not active or mounted due to drives being dead/disconnected) in /etc/samba/smb.conf
    • had to fix it and restart nmbd and smbd manually (restarting samba itself for some reason did nothing).

    sudo service nmbd restart
    sudo service smbd restart