Ice blogja

ROCK64 USB 3.0 stabilitas teszt ...

 ( Ice | 2019. február 7., csütörtök - 12:33 )

root@rock64:~# rock64_health.sh && dd if=/dev/zero of=/media/hdd/test bs=1G count=500 oflag=direct status=progress && rock64_health.sh
CPU freq : 408.00 MHz
CPU count : 4
Governor : ondemand
SoC Temp : 38.18 C
536870912000 bytes (537 GB, 500 GiB) copied, 5249.75 s, 102 MB/s
500+0 records in
500+0 records out
536870912000 bytes (537 GB, 500 GiB) copied, 5249.75 s, 102 MB/s
CPU freq : 1296.00 MHz
CPU count : 4
Governor : ondemand
SoC Temp : 50.00 C

root@rock64:~# dmesg -T | grep -i error | wc -l
0

0 hiba.

ROCK64 es a lighttpd ...

 ( Ice | 2019. február 6., szerda - 19:02 )

apt-get install lighttpd
apt-get install php7.0-fpm
apt-get install php7.0-gd
lighttpd-enable-mod fastcgi
lighttpd-enable-mod fastcgi-php
vi /etc/lighttpd/conf-available/15-fastcgi-php.conf

fastcgi.server += ( ".php" =>
((
"socket" => "/var/run/php/php7.0-fpm.sock",
"broken-scriptfilename" => "enable"
))
)

systemctl restart lighttpd

es mar muxik is a "<?php phpinfo(); ?>" info oldal.

ROCK64 es a WDC WD10JMVW-59AJGS4 USB 3.0-an, indulasi aramfelveteli problema megoldva!

 ( Ice | 2019. február 6., szerda - 14:46 )

Problema megoldva ezzel http://www.logilink.com/Products_LogiLink/Cable_Adapters/USB_30_Cable/USB_30_Y_Power_Cable-1_m.htm .
Tobbet kajalna a WDC WD10JMVW-59AJGS4 USB 3.0-an, mint amit USB 3.0-an le tudna adni a ROCK64.
Innentol kezdve lehet folytatni a projektet.
DS3231 beallitva.
NFS es NTP serverek felkonfiguralva.
Raspberry Pi 3B funkciojat atveheti, ha nagyobb teszten atmegy a ROCK64! :)
root@rock64:~# lsusb -t
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M

Rock64 es az RTC DS3231 siker

 ( Ice | 2019. február 1., péntek - 15:29 )

3.3 V-on mukodik szepen!
RTC: https://www.hestore.hu/prod_10038042.html
Segitseg https://forum.armbian.com/topic/8856-solved-how-to-add-an-external-rtc-module-to-rock64-board/
Kernel forras: https://github.com/ayufan-rock64/linux-kernel/archive/4.4.154-1128-rockchip-ayufan.tar.gz

Kernel module forditas pelda:
"
Kernel module compilation:
Follow these instructions to compile an additional kernel module.
In this example, we’ll compile the ds1307 RTC kernel module for version 4.4.154-1124:

Megjott a Rock64, elso tesztek Debian 9.6 -on...

 ( Ice | 2019. január 23., szerda - 18:09 )

root@rock64:~# cat /etc/debian_version
9.6

root@rock64:~# df -hP /mnt
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 916G 3.9G 866G 1% /mnt

root@rock64:~# dd if=/dev/zero of=/mnt/valami bs=4094 count=1000000 status=progress
4057072120 bytes (4.1 GB, 3.8 GiB) copied, 34 s, 119 MB/s
1000000+0 records in
1000000+0 records out
4094000000 bytes (4.1 GB, 3.8 GiB) copied, 34.2802 s, 119 MB/s

root@rock64:~# lsusb -v -s 5:2

Bus 005 Device 002: ID 1058:25a2 Western Digital Technologies, Inc.
Device Descriptor:
bLength 18

Rock64

 ( Ice | 2019. január 12., szombat - 18:07 )

Rendeltem egy ROCK64(2GB RAM)-et: https://www.pine64.org/?page_id=7147
SSHD/Lighthttpd/NFSD/NTPD Debian szerver lesz belole, mert ra lehet rakni az RPI-os RTC-ket, valamint H264-et fog konvertalni MP4-re.
Remelem jo lesz!
Fingers crossed!

Pi Python3 tanulas ...

 ( Ice | 2018. december 26., szerda - 19:43 )

[code]
#! /usr/bin/env python3
#
# rathunter4.py by Ice
#

import io
from gpiozero import MotionSensor, LED
import picamera
import time
import datetime
import subprocess
import atexit
import logging

ir = False
logfile = "/var/log/rathunter/rathunter.log"
moviesdir = "/media/hdd/"
host = subprocess.getoutput(["hostname", "-s"])

@atexit.register
def goodbye():
print("You are now leaving the rathunter4.py program.")

#Function to get get date and time
def dt():
return datetime.datetime.now().strftime("%Y-%m-%d_%H.%M.%S")

openSUSE Leap 15 & Superposition ...

 ( Ice | 2018. július 14., szombat - 11:26 )

ice@h170pro4:~/Downloads/Unigine_Superposition-1.0> ll
total 48
drwxr-xr-x 4 ice users 212 Jul 14 12:00 bin
drwxr-xr-x 2 ice users 63 Apr 11 2017 data
drwxr-xr-x 2 ice users 115 Apr 11 2017 docs
lrwxrwxrwx 1 root root 29 Jul 14 11:58 libcrypto.so -> /usr/lib64/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 26 Jul 14 11:57 libssl.so -> /usr/lib64/libssl.so.1.0.0
-rwxr-xr-x 1 ice users 41285 Apr 11 2017 Superposition
-rwxr-xr-x 1 ice users 653 Apr 5 2017 uninstall.sh

Superposition Benchmark Spectre/Meltown hibajavitasok, BIOS frissites utan ...

 ( Ice | 2018. március 19., hétfő - 9:44 )

h170pro4:~ # modinfo nvidia|grep -i version
version: 390.42
srcversion: FA33B00C00A6F70EC9CF314
vermagic: 4.4.114-42-default SMP mod_unload modversions

Superposition Benchmark:7505

Nem sokat valtozott ...

Van uj BIOS a H170Pro4hez

 ( Ice | 2018. március 16., péntek - 15:13 )

ftp://europe.asrock.com/BIOS/1151/H170%20Pro4(7.30)ROM.zip

Meg nem fagyott le a gep az uj BIOS-sal. :)

Eddig is "atom stabil" volt.

Idokozben felraktam az uj ME FW-t: 11.8.50.3425

Asrock-nal nagyon nem sietnek uj BIOS-t/UEFI-t kiadni ...

 ( Ice | 2018. március 8., csütörtök - 8:32 )

h170pro4:/home/ice/spectre-meltdown-checker # ./spectre-meltdown-checker.sh
Spectre and Meltdown mitigation detection tool v0.35

Checking for vulnerabilities on current system
Kernel is Linux 4.4.114-42-default #1 SMP Tue Feb 6 10:58:10 UTC 2018 (b6ee9ae) x86_64
CPU is Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz

Hardware check
* Hardware support (CPU microcode) for mitigation techniques
* Indirect Branch Restricted Speculation (IBRS)
* SPEC_CTRL MSR is available: NO
* CPU indicates IBRS capability: NO
* Indirect Branch Prediction Barrier (IBPB)

"The Complete List Of CPUs Vulnerable To Meltdown / Spectre Rev. 7.0"

 ( Ice | 2018. február 2., péntek - 9:13 )

https://www.techarp.com/guides/complete-meltdown-spectre-cpu-list/

Ezert szerencses az akinek Cortex A7 procis telefonja van : http://www.samsung.com/hu/consumer/mobile-devices/smartphones/others/GT-I9060MKSXEH/ :)

https://prohardver.hu/tudastar/arm_cortex-a7.html

Annyira "buta" proci, hogy nem erinti a problema. :)

Lenovo TAB 2 A8-50 : MT8161 => Cortex A53 szinten nem erintett! :)

Fingers crossed!

Potential Impact on Processors in the POWER Family(Spectre and Meltdown ...)

 ( Ice | 2018. január 30., kedd - 12:59 )

According to IBM, firmware patches for POWER7+, POWER8, and POWER9 platforms are all currently available via FixCentral. The company says Power7 patches will be available February 7. In addition, it estimates IBM i operating system patches (also available via FixCentral) will finish rolling out on February 12, and AIX patches will be available starting January 26.

https://www.ibm.com/blogs/psirt/potential-impact-processors-power-family/

Re: [RFC 09/10] x86/enter: Create macros to restrict/unrestrict Indirect Branch Speculation

 ( Ice | 2018. január 23., kedd - 10:24 )

https://lkml.org/lkml/2018/1/21/163

Az eddigi a legjobb lkml level szerintem.
"On Sun, 2018-01-21 at 11:34 -0800, Linus Torvalds wrote:
> All of this is pure garbage.
>
> Is Intel really planning on making this shit architectural? Has
> anybody talked to them and told them they are f*cking insane?
>
> Please, any Intel engineers here - talk to your managers.

If the alternative was a two-decade product recall and giving everyone
free CPUs, I'm not sure it was entirely insane.

Certainly it's a nasty hack, but hey — the world was on fire and in the

Ansible, Openshift-ansible, Openshift Origin v3.6.0 Centos7-es jatszoteren

 ( Ice | 2017. augusztus 19., szombat - 17:00 )

A mai napot az Ansible, Openshift-ansible, Openshift Origin v3.6.0 Centos7-en 2 VM-en(2vCPU,7GB RAM).

Meg nem 100%-os, de a semminel tobb. 16 perc alatt 0-rol ujralehet huzni a jatszoteret.
A Metrics meg nem muxik ...

Holnap sima Ellasticsearch, stb. 5.5.1-os verzio lesz sima Dockeren tesztelve ...

GPU Passthrough for Virtualization with Ryzen: Now Working

 ( Ice | 2017. augusztus 6., vasárnap - 11:32 )

OSS 42.2-rol 42.3-re upgrade tapasztalatok ...

 ( Ice | 2017. augusztus 6., vasárnap - 10:51 )

4.4.76-1-default kernellel az Nvidia driver 384.59 egy rakas k@ki. => Intelre kenyszerultem.
Ez legalabb muxik. Kip-kop.

4.4.79-19-default kernellel es Nvidia drivert kezimunkazva mukodik.

A 4.4.85-22-default kernellel mar OK a gfxG04-kmp-default-384.69_k4.4.76_1-25.1.

AMD Ryzen “Working” With VMware ESXi 6.5

 ( Ice | 2017. április 26., szerda - 16:17 )

"Now we have the “fix” to both the VMware PSOD and many other Linux kernel issues: disabling SMT."
https://www.servethehome.com/amd-ryzen-working-with-vmware-esxi-6-5/

Az IOMMU problemak(https://www.youtube.com/watch?v=ep_2dDaqBU4) melle ez is befer.

Superposition Benchmark

 ( Ice | 2017. április 12., szerda - 9:06 )

Superposition Benchmark: 7480

VMware ESXi 6.5a szepen fut a whiteboxomon.

 ( Ice | 2017. március 13., hétfő - 15:31 )

Budget gep:

Asrock H170 Pro4
i5 6500
2x8 GB HyperX Fury DDR4 RAM

ASRock H170 Pro4-en EFI bootos VMware ESXi 6.5a telepito pendrive keszitese:

 ( Ice | 2017. március 13., hétfő - 9:18 )

Mivel meg tanulom az EFI-s "szakmat", ezert dokumentalom:

OSS 42.2-on(pl. /dev/sde a pendrive):

1. Letolt(https://my.vmware.com/en/web/vmware/evalcenter?p=free-esxi6) VMware-VMvisor-Installer-201701001-4887370.x86_64.iso
2. cp ./VMware-VMvisor-Installer-201701001-4887370.x86_64.iso ./VMware-VMvisor-Installer-201701001-4887370-isohybrid-efi-usb-boot.x86_64.iso
3. isohybrid -u ./VMware-VMvisor-Installer-201701001-4887370-isohybrid-efi-usb-boot.x86_64.iso
4. dd if=./VMware-VMvisor-Installer-201701001-4887370-isohybrid-efi-usb-boot.x86_64.iso of=/dev/sde bs=4096 status=progress