From OpenSCADAWiki
Jump to: navigation, search

Other languages:
Name Founded Status Members Icon
Automation Linux distributive of the project OpenSCADA Mar 2012 Implemented in these repositories of the Automation Linux distributive and these Live Builds are provided now for the branch Work and LTS: Roman Savochenko AutoDistr-ico.png
Description
The Automation Linux distributive of the project OpenSCADA representing and building different ready solutions about the automation from Automated Working Places (AWP), operator panels, servers, Developer Working Places and up to PLC and some other embedded solutions, also as the result Live/Install/Service Disks of the ACS TP projects. Currently based on the Debian Linux.
  • Debian 11, 10, 9, 8, 7:
PROPERTIES:
  • Architectures: x86_64, x86_32
  • Booting to: Live OpenSCADA; Live OpenSCADA (filesafe); Live OpenSCADA for other languages "Ukrainian", "German", "mRussian"; Start installer; Start installer with speech synthesis; Advanced installer mode (Install, Expert install, Automated install, Rescue mode) for the Graphical installer, Text installer, Graphical installer with dark theme, Text installer with dark theme and Installer with speech synthesis; Utilities Hardware Detection Tool (HDT) and Memory Diagnostic Tool (memtest86+).
  • User data storing into the EXT-partition "persistence".
  • Live Disk properties: OpenSCADA; TDE; All Linux kernel firmwares also non-free for most drivers "from the Box"; GParted and other partition management tools.
TESTED ON: Virtual Box, Intel Core i7-5600U, AMD A8-6500 APU, Intel Core i3 CPU U 380, Intel Atom N270, P3, K6-2 (only for 7)
KNOWN ISSUES:
FIX => The problem is a disadvantage of the memory allocation arenas linked to threads, which causes to such sort inter-arenas memory fragmentation on high dynamic using, what recreates the threads. As a workaround there is globally used the environment variable MALLOC_ARENA_MAX=1 to set the arenas number to 1!
  • [10] PulseAudio is missing in KMix
FIX => KMix was made dynamic by the patch "kmix-UpdMixersForChangeAndChMaster.patch".
  • [11,10,9] Plymouth — the console starting splash images, locks the first screen of the console and does not stop with "systemd", so /var/boot.log grows indefinitely.
FIX[9] => TDM switched in the SDDM mode then plymouth stops now after TDM start.
FIX[11,10] => Officially fixed in TDE.
FIX => We need to append in the file /etc/NetworkManager/NetworkManager.conf for these lines:
[device]
wifi.scan-rand-mac-address=no
FIX[9] => Resolved as a regression or the security level rising in wpasupplicant of the version 2.4 (or OpenSSL 1.1). Workaround by the downgrading to version 2.3.
FIX => Resolved as a bug of the video driver Radeon in enabling DPM by default. Workaround by the Linux kernel argument "radeon.dpm=0".
FIX => Officially fixed in Linux kernels version 5.
  • Impossible to switch the keyboard language layout from the keyboard.
FIX => Wrong boot argument "keyboard-options" value.
  • ALTLinux 6:
PROPERTIES:
TESTED ON: Virtual Box, Intel Core i7-5600U, AMD A8-6500 APU, Intel Core i3 CPU U 380, AMD Turion L625, Intel Atom N270
- creation own branding of the automation kind for: the Grub loader screen, the default wallpaper of the Desktop, the boot splash, ...

Of while for the project OpenSCADA was needed to create specialized builds of Linux environments kind of PLC-firmwares, Live/Install/Service Disks for Automated Work Places (AWP), Developer Working Place and rapid familiarization of the OpenSCADA program. In begin it was enough to use standard Linux package repositories, firstly it was ALTLinux and currently it is Debian. But, in a reason of the need of fixing, updating and rebuilding for some packages of the Linux distributive, there was created own repository of this packages together with the OpenSCADA packages.

1 Debian

Actuality: 2014...NOW, main package base of the project distributive for now
Repositories:

Distributives-solutions:

The Debian Linux distributive in using of the author Roman Savochenko and for the Automation Linux distributive started from version 7 (Wheezy) into year 2014 as replacing of the previous packages base on ALTLinux.

The Automation Linux distributive as the package repositories is represented by Live/Install/Service Disks which are built by the Debian Live project. The procedure of creating the firmware from the Live-configuration is the following:

# Cleaning up of the previous building data
lb clean --purge
# Building of the image
lb build

Information about other packages of the repositories of the Automation Linux distributive on Debian collected in the next table:

Package Package author Description Debian 11 (Bullseye) Debian 10 (Buster) Debian 9 (Stretch) Debian 8 (Jessie) Debian 7 (Wheezy)
live-config-tde [all] Roman Savochenko Additional Configuration Scripts for Debian Live for Trinity DE configuring into the Live Disk environment. + + + + +
task-tde-desktop [all] Roman Savochenko This task package is used to install the Debian desktop with the package dependencies and featuring the TDE desktop environment and other packages that Debian users expect to have available on the desktop. + + + + +
tdebase-trinity [amd64,i386,armhf] Slávek Banko Base applications from the official TDE release. Patched by Roman Savochenko for: tdm_ServiceAsSDM.patch. - - + - -
tdemultimedia-trinity [amd64,i386,armhf] Slávek Banko Multimedia applications from the official TDE release. Patched by Roman Savochenko for: kmix-PulseAudio-MasterDCOP.patch, kmix-UpdMixersForChangeAndChMaster.patch. + + + 14.0.11 14.0.10 [i386,amd64]
tdenetwork-trinity [amd64,i386,armhf] Slávek Banko Network applications from the official TDE release. Patched by Roman Savochenko for: krfb-crash_at_disconnect.patch, krfb-new_symbols_appending.patch, kopete-crash_at_disconnect.patch. + + + 14.0.11 14.0.10 [i386,amd64]
tdeutils-trinity [amd64,i386,armhf] Slávek Banko Collection of general purpose utilities from the official TDE release. Patched by Roman Savochenko for: kmilo-GenericMixerExt-GenericBrightnessAdd-GenericSearchFix.patch. + + + 14.0.11 14.0.10 [i386,amd64]
tdepim-trinity [amd64,i386,armhf] Slávek Banko Personal Information Management apps from the official Trinity release. Patched by Roman Savochenko for: tdepim_holiday_ua.patch, karm_IdleDetect.patch, karm_ResetTaskTimes.patch. + + + 14.0.11 -
digikam-trinity [amd64,i386,armhf] Slávek Banko Digital photo management application for TDE [Trinity]. Patched by Roman Savochenko for: digikam_MainTr.patch, digikam_fileDlgs.patch, showfoto_BuildFixFilters.patch. + + + 14.0.11 -
kdiff3-trinity [amd64,i386,armhf] Slávek Banko KDiff3 compares two or three input files and shows the differences line by line and character by character. Patched by Roman Savochenko for: kdiff3_UTF8ClipBoardPaste.patch. + + + 14.0.11 -
ms-sys [amd64,i386] Gürkan Sengün Write a Microsoft compatible boot record. Built to allow writing to FAT from the Live-disks. + + + + +
ru-tts [all] Roman Savochenko mRussian text-to-speech tool. + + + + +
gkrellm-radio [amd64] Sjoerd Simons A Gkrellm plugin to control radio tuners on Linux. Patched by Roman Savochenko for V4L2. + + + [amd64,i386] -
tvtime [amd64] Debian QA Group Application for watching TV. Patched by Roman Savochenko for ALSAMixer support. - - + [amd64,i386] -
libnatspec [i386,amd64] Andrew O. Shadoura This library provides useful functions for dealing with locales and charsets. Built for natspec.patch of the package "unzip". - - - + +
unzip [i386,amd64] Santiago Vila Files *.zip unpacker. Patched for file names in Cyrillic correct represent by "alt-natspec.patch". - - - + +
fusesmb [amd64] Samuel Mimram SMB to file-system reflection by FUSE. Some patches from Roman Savochenko for it working fix. - - - - +
mc [i386,amd64,armhf] Debian MC Packaging Group GNU Midnight Commander backport. - - - - 4.8.14

2 ALTLinux

Actuality: 2008...2014, used into the automatic builder for some solutions compatibility
Repositories:

Distributives (solutions):

The ALTLinux distributive was used by the author Roman Savochenko from version 3 and for the Automation Linux distributive it was been adapted from version 5.1. Into year 2014 for the Automation Linux distributive and other there was started the process of moving to the Debian package base, mostly by reasons into the appendix.

The Automation Linux distributive as the package repositories is represented by PLC-firmwares and Live/Install/Service Disks which are built by the tool mkimage for creating the distributions of ALTLinux. mkimage is a tool for building Sisyphus-based system on basis of a template and as an initial set of templates there was taken the set of formation of ALTLinux distributions at "git://git.altlinux.org/people/boyarsh/packages/mkimage-profiles-desktop". The procedure of creating such firmwares from a template is the following:

# Creation the configuration script "configure"
./autoconf
# Configuring the builder to generate the disk images
./configure --with-imagetype=flash
# Building of the image
make plc.cd

Other package information of the repositories of the Automation Linux distributives on ALTLinux collected in the next table:

Package Description
Specific OpenSCADA repository of the ALTLinux T6 packages
kernel-modules-icp-rt1-up [i586] ICP-DAS LP-8x81 PLC module's package for the kernel 2.6.29-rt1-up, includes modules: ipic.ko, slot.ko, 8250_linpac.ko, icpdas_8250.ko
branding-altlinux-kdesktop [noarch] Distro-specific packages with design and texts, corrected by Roman Savochenko to: TextWidth set to 0 (Auto) for kdesktoprc; Kicker default apps set to: kde-konqbrowser.desktop, firefox.desktop, kde-krusader.desktop, writer.desktop, calc.desktop, impress.desktop.
tzdata-cor2014i The last corrected and true timezone of the Crimea as the Ukrainian part and not the mRussian occupied territory!
kernel-image-domU-un-old [i586] Built of the Linux kernel of version 3.4.89 for pure i586, for old CPU like K6.
kicad [i586] An open source software for the creation of electronic schematic diagrams, a built of the actual version by Roman Savochenko.
libkdcraw [i586] C++ interface around dcraw binary program, dcraw updating to 9.19.
propagator [i586] 'Early userspace' set of binaries, adding the EXT4 detection.
util-linux [i586] A collection of basic system utilities, the version 2.22.1, a built to fix the critical problems of the version 2.20.1 into the PLC (AUFS) environment.
valgrind [i586] Valgrind, an open-source memory debugger for GNU/Linux, the version 3.8.1 built.
kernel-image-rt1-up-2.6.29-alt1 [i586] Built of the Linux kernel of version 2.6.29 with PREEMPT RT patches, by Roman Savochenko.
bootloader-utils [noarch] Bootloader utilities, built of the version 0.5.18.
kernel-modules-icp-rt-up [i586] ICP-DAS LP-8x81 PLC module's package for the kernel 2.6.29-rt-up, includes modules: ipic.ko, slot.ko, rhinefet.ko, 8250_linpac.ko, icpdas_8250.ko
livecd-install [noarch] Permanently install Live system package, includes some fixes and adaptations to the LiveCD build.
kernel-image-rt-up-2.6.29-alt2 [i586] Built of the Linux kernel of version 2.6.29 with XENOMAI RT patches, taken originally from ALT 5.1.
kiosktool [i586] KIOSK administration admin tool, built for TDE 3.5.13-sru.
smb4k [i586] Samba (SMB/CIFS) share browser for KDE, built for TDE 3.5.13-sru.
rar [i386] RAR is a powerful archiver, Shareware version 4.2.
Specific repository OpenSCADA packages of ALTLinux 5.1
subtitleeditor [athlon] Subtitle editor for GNOME, built for ALT 5.1.
smbnetfs [i586] SMB filesystem using FUSE - mount network neighborhood, version 0.5.3 built.
samba [i586] Server and Client software to communicate with Windows machines, version 3.5.6 built.
opera [i386] Opera Web Browser for Linux, dynamically linked to Qt3. Taken from an official source.
gd2-noxpm [i586] A graphical library to draw image files in various formats, built without XPM and then have not a XOrg dependencies. Used into busy PLC without GUI.
rar [i386,amd64] RAR is a powerful archiver, Shareware version 3.8.
nut [i586] Network UPS Tools version 2.4.1, built without chroot by Roman Savochenko.
startup-plc [noarch] The system startup scripts for the PLC firmware by Roman Savochenko.
kernel-modules-icp-rt-up [i586] ICP-DAS LP-8x81 PLC module's package for the kernel 2.6.29-rt-up, includes modules: ipic.ko, slot.ko, rhinefet.ko, 8250_linpac.ko, icpdas_8250.ko
Direct placed packages to the ALTLinux distributives: Sisyphus -> T7 -> T6 -> 5.1
krusader Adaptation and upgrading to TDE 3.5.13-sru. Patched by Roman Savochenko for: Chdir for copy into krarc is fixed for Cyrillic and generic UTF-8; "rar" for the option "-r" removing to prevent hang and scan source directory.
ufoai Versions 2.3, 2.4 build and backport to T6, 5.1.
arts Return to Sisyphus and the branches. Adaptation and upgrading to TDE 3.5.13-sru.
kdebase Adaptation and upgrading to TDE 3.5.13-sru. Patched by Roman Savochenko for: Kicker systemtray icon resize event force send on embedding, mostly for GTK3 applications prevent the icon default size 4x4 (kicker-systemtray-gtk3-size.patch) and KJobViewer crash from system tray on exit fix and adapt for automatic start to tray (kjobviewer-crash-autostart.patch).
kdelibs Adaptation and upgrading to TDE 3.5.13-sru. Patched by Roman Savochenko for: KRandr translation using fix (krandr-transl.patch) and KJobViewer crashing from the system tray on exit fix and adapt for automatic start to tray (kjobviewer-crash-autostart.patch).
qt3, tqtinterface, avahi, libdbus-tqt, kdenetwork, kdegraphics,

kdemultimedia, kdeutils, kdepim, kdeaddons, kdeartwork, kdeadmin, kdeaccessibility, kdeedu, kdegames, kdewebdev, kdesdk, kdetoys,
kdebindings, koffice16,
amarok, celestia, k3b, kaffeine, kbfx, kde3-yakuake, kdesvn-kde3, kdmtheme, kkbswitch, knowit, kpowersave, ksplash-engine-moodin, ktorrent, kwlan, qalculate-kde, sim

Adaptation and upgrading to TDE 3.5.13-sru.
kde-i18n-uk Actualization of the Ukrainian translation by Roman Savochenko for TDE 3.5.13-sru, for kdelibs and kdebase.
kde-i18n-ru Actualization of the mRussian translation by Roman Savochenko for TDE 3.5.13-sru, for kdelibs and kdebase.
ksubtile Adaptation and upgrading to TDE 3.5.13-sru. Patches by Roman Savochenko: Curpos length activation and setting is realized. Line3 connection is fixed.
hal Working without UDEV events socket directly by libudev is implemented by Roman Savochenko.
alterator-lilo Patch by Roman Savochenko: 'udevadm trigger' into backend3 script call disable for prevent Video-XOrg crash for mostly ATI Radeon and old NVidia.
fuse-smb Patches by Roman Savochenko: Crash fix on write, cache problem at a node rename and write speed increase; Removing not resourced threads from fusesmb.cache for correct work allow; Smbclient library detect fix, from samba 4.0.
alterator-livecd Backport to 5.1: don't use unsquashfs, just copy files (closes: #27786) from Mikhail Efremov.
compiz kde3 (TDE): kde-window-decorator build return.
libcomedi Version 0.10.0 build and backport to T6, 5.1.
kvkbd Adaptation and upgrading to TDE 3.5.13-sru. Patches by Roman Savochenko: Shift toggle fix (kvkbd-0.5-shift-togle.patch0.
gkrellm Appending/updating the Ukrainian+mRussian translation by Roman Savochenko.
goldendict Backport to T6 and 5.1: Version 1.0.1.
freedroidrpg Version 0.11 build and backport to T6 and 5.1.
gkrellm-radio A gkrellm plugin to control radio tuners on linux. Patched by Roman Savochenko for V4L2.

3 Appendix. VirtualBox

Starting from version 6.1 VirtualBox has got some problems with the video interface on Linux at least, which prevent of setting normal display resolution so OpenSCADA starting in normal resolution.

Commonly VirtualBox has now three Graphics Controllers allowed in selection for VM, that is: VBoxVGA, VMSVGA, VBoxSVGA.

Where VBoxVGA and VBoxSVGA are the original VirtualBox Graphics Controllers who need the own guest driver for true work and that driver is missing in the main repositories the modern Debian for the LiveDisks build. So, the LiveDisks start mostly with the "fbdev" video driver, which however worked fine till VirtualBox 6.1 and you could change the display resolution from default 800x600 one in the loaded system, reload and got need resolution. Now these Graphics Controllers are not recommended by VirtualBox and cause often to lose the keyboard and mouse keys in the all host system.

Where VMSVGA is the VMWare Graphics Controller for which there is used the standard video driver "vmware". The driver works stable but doesn't allow to obtain any other initial display resolution than 800x600, then any resolution change from the guest system causes of the DPI increasing at freeze physical geometry of the virtual display, so you will get of the interface uncontrollable scaling for OpenSCADA and other programs.

To force the virtual display resolution to bigger initial value you can use the guest system configuration file "00-virtualbox-monitor.conf", which you have to place in the folder /etc/X11/xorg.conf.d/. The configuration file is obtained from here!

4 Appendix. Linux distributives comparing table

Criteria Debian ALTLinux
Technical
Allows for the ready installation moving to different hardware x86/x86_64 from different manufacturer, mostly between Intel <=> AMD chipsets + -
Linux kernels updating in the general way + -
R8169 Ethernet adaptor correct working + (LinuxKernel-3.2.65, 3.16.7) -
SSH-client connection by a key does not perform all times with the authentication request + -
Allows for configuration and some selection during the package installing + -
Correct working of the commands "$ apt-get autoremove" and "$ apt-get reinstall" + -
TDE R14 is allowed in ready to use the packages and repositories + -
Supports of the mostly known hardware platforms + - (only x86, x86_64 and ARM from version 7)
Accessing to SWAP after installing from the Live + -
Disabling to format the allowed SWAP, than preventing to change the UUID for multiple Linux installing - -
Working the fglrx-legacy + 7,Wheezy (Kernel 3.2 and XOrgServer 1.12) - T6 (Kernel 3.0-mostly broken and XOrgServer 1.10)
Absence of the system connection (from EtcNet) which impossible to be removed into NetworkManager + -
Installation and compact storing only for needed and selected data of locales, too useful for embedded systems! + -
Absence of the library "libusb" breakage on x86_64 + - (7)
Normal building of the package "evince" + - (7)
Fixing for ffmpeg AVI-playing buffer size + -
Fixing for icons size into the system tray by GTK3 which mostly fixed for nm-applet + (8, GTK 3.14.5) -
TDE: normal notification in Kopete + -
TDE: building Digikam + -
TDE > KRdc: the upper panel is more correct + -
TDE > KDiff3: no crashes at the insertion + -
Live: no problem with the disk label changing + -
Political
Neither direct or indirect approval, neither in representing it as the time zone or some core developers, of occupation of the Ukrainian Crimea and aggression in Donbas by mRussia + -
It is not purely mRussian distributive which mostly and often serves directly or indirectly to the new "GreatMRussian chauvinism" to their near neighbours, especially in lights of the new mRussian aggression against Ukrainian now + -
Native localisation to Ukrainian + (very good) +- (only mRussian with some plays at Ukrainian, Belorussian, Kazakh and languages of other near neighbours — the slave colonies in real of the prison of the folks).
Main branches of the package repositories is free, available for the community and the Long Term Support in real + -