Ice blogja

Pi Python3 tanulas ...

[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")

# Function to create new Filename from date and time
def getFileName(o):
return moviesdir+host+"-"+o+".h264"

openSUSE Leap 15 & Superposition ...

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

Inditas: LD_LIBRARY_PATH=/home/ice/Downloads/Unigine_Superposition-1.0/ Downloads/Unigine_Superposition-1.0/Superposition

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

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)
* PRED_CMD MSR is available: NO
* CPU indicates IBPB capability: NO
* Single Thread Indirect Branch Predictors (STIBP)
* SPEC_CTRL MSR is available: NO
* CPU indicates STIBP capability: NO
* Enhanced IBRS (IBRS_ALL)
* CPU indicates ARCH_CAPABILITIES MSR availability: NO
* ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: NO
* CPU explicitly indicates not being vulnerable to Meltdown (RDCL_NO): NO
* CPU microcode is known to cause stability problems: NO (model 94 stepping 3 ucode 0xba)
* CPU vulnerability to the three speculative execution attacks variants
* Vulnerable to Variant 1: YES
* Vulnerable to Variant 2: YES
* Vulnerable to Variant 3: YES

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

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… :)

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 ...)

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-famil…

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

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
end we didn't have to just turn the datacentres off and go back to goat
farming, so it's not all bad. ..."

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

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.

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

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

Mar lehet is telepiteni EFI boottal. :)

ZOTAC GeForce® GTX 1060 3GB

https://www.zotac.com/product/graphics_card/zotac-geforce-gtx-1060-3g

Max. 66C(tuning nélkül) :)

ice@h170-pro4:/> cat /etc/SUSE-brand
openSUSE
VERSION = 13.3

Unigine Heaven Benchmark 4.0
FPS:
56.7
Score:
1427
Min FPS:
19.1
Max FPS:
116.4
System
Platform:
Linux 4.7.4-2-default x86_64
CPU model:
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (3191MHz) x4
GPU model:
GeForce GTX 1060 3GB PCI Express 367.44 (3072MB) x1
Settings
Render:
OpenGL
Mode:
1920x1080 8xAA fullscreen
Preset
Custom
Quality
Ultra
Tessellation:
Extreme

Unigine Valley Benchmark 1.0
FPS:
54.7
Score:
2290
Min FPS:
29.7
Max FPS:
95.7
System
Platform:
Linux 4.7.4-2-default x86_64
CPU model:
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (3191MHz) x4
GPU model:
GeForce GTX 1060 3GB PCI Express 367.44 (3072MB) x1
Settings
Render:
OpenGL
Mode:
1920x1080 8xAA fullscreen
Preset
Extreme HD