Syndicate
Site (RSS, Atom)
Contact
Weblog status
Total entries: 78
Last entry: 2022-10-16 13:52:24
Last updated: 2022-10-16 14:12:58
powered by vim, bash, cat, grep, sed, and nb 3.4.2

April 2018 Archives

2018-04-09 19:19:40

Power Measuring WD Green PC SSD 120 GB

After measuring power consumption of ADATA SU800 and Sandisk Z410 this is the third examination of an SSD.

These are my measuring values:

  • Idle 0.33 W
  • Read 0.96 W
  • Write 1.2 W - 1.4 W

Measuring environment is explained in power measuring ADATA SU800.

x-y diagram of measurements


Posted by Frank W. Bergmann | Permanent link | File under: ssd, power_measuring

2018-04-08 22:31:39

tuxad Fedora 27 repository

Like the tuxad Fedora 24 repository there's now also a repo for Fedora 27 currently containing

  • spigot
  • RaspberryJuice
  • py3minepi

Activate it by installing its RPM package:


rpm -i http://ngtx.de/tuxad-f27.rpm

Posted by Frank W. Bergmann | Permanent link | File under: rpm, yum, repository, fedora, minecraft, python

2018-04-06 09:52:17

Power Measuring Sandisk Z410

After measuring power consumption of ADATA SU800 this is the second examination of an SSD.

Sandisk Z410 was told to have a low power consumption but I was also skeptical about this. These are my measuring values:

  • Idle 0.37 W
  • Read 0.7 W (max 1.2 W)
  • Write 1.4 W - 1.6 W

Measuring environment is explained in power measuring ADATA SU800.

x-y diagram of measurements


Posted by Frank W. Bergmann | Permanent link | File under: ssd, power_measuring

2018-04-04 21:16:01

Power Measuring ADATA SU800

I have a couple of SSDs but some "effects" made me wondering if the technical specs about the power consumption of the SSDs are the same in "normal life".

Especially the ADATA SU800 256 GB SSD seems to drain notebook batteries very quickly if you have a lot of data transfers. These are my measuring values:

  • Idle 0.8 W
  • Read 1.1 W - 1.8 W
  • Write 1.9 W - 2.6 W

Measuring device was a Scopemeter 750. The potential difference was taken on a cascade of 3 resistors with totally 0.3 Ohm. The potential difference was also measured at the same time with 3 other measuring devices which did always show the same voltage values (but didn't have an interface). The 3 resistors were Isabellenhütte precision shunts. The total resistance of 0.3 Ohm was verified with a current source. Supply voltage at the SSD was 5.0 V +/- 0.05 V.

x-y diagram of measurements

Update 2020-03-22: For measuring M.2 SATA devices I use a "Delock Converter SATA 22 Pin > M.2 62521". It has a 29150 voltage regulator. I de-soldered the output pin and "inserted" the precision resistors mentioned above. (And of course a capacitor to avoid oscillation of the regulator.) On M.2 devices with higher power consumption I only use one precision shunt.


Posted by Frank W. Bergmann | Permanent link | File under: ssd, power_measuring

2018-04-03 12:31:22

tuxad Fedora 24 repository

In the small tutorial Python with Minecraft on Fedora I have explained how to set up your system in order to use Python with Minecraft.

Now it is more easier to try the examples of the book "Learn to program with minecraft" by Craig Richardson (german title: "Python programmieren lernen mit Minecraft") because now there's a YUM/RPM package repository which makes the setup more easy.

Formerly there was only a tuxad repo for RHEL/CentOS 5 but now there's also a package repository for Fedora (currently just F24). Activate it by installing its RPM package:


rpm -i http://ngtx.de/tuxad-f24.rpm

This repo contains currently the following packages:

  • spigot
  • RaspberryJuice
  • py3minepi
  • mcedit2

Important notes:

  • due to legal reasons the spigot package is NOT a binary package but it will download and compile everything needed (takes some time to install)
  • the spigot, RaspberryJuice and py3minepi packages write some information to console, separate installation per package from command line is recommended

After activating the repo you just need to install the 3 packages and copy the server directory to a location you want:

1.) Install spigot:


# dnf install spigot
[...]
  Installing  : spigot-0.20180123.rev1.12.2.1-1.noarch
[...]
===== spigot server was build and placed here: =====

-rw-r--r--  3965192 /usr/share/spigot/BuildTools.jar
-rw-r--r-- 43265185 /usr/share/spigot/spigot-1.12.2.jar
-rwxr-xr-x       60 /usr/share/spigot/start-spigot.sh

Note: There's also a spigot-0.20180123.rev1.8.8.1 package for server 1.8.8.

2.) Install RaspberryJuice:


# dnf install RaspberryJuice
[...]
  Installing  : RaspberryJuice-0.20171101-3.noarch
[...]
=== storing in spigot plugins dir ===

-rw-r--r-- /usr/share/spigot/BuildTools.jar
drwxr-xr-x /usr/share/spigot/plugins
-rw-r--r-- /usr/share/spigot/plugins/raspberryjuice-1.11.jar
-rw-r--r-- /usr/share/spigot/spigot-1.12.2.jar
-rwxr-xr-x /usr/share/spigot/start-spigot.sh

3.) Install py3minepi:


# dnf install python3-py3minepi
[...]
  Installing  : python3-py3minepi-0.20150630-4.noarch
[...]
=== test script is located here: ===
/usr/share/doc/python3-py3minepi/py3minepi-test.py
=== run it:
python3 /usr/share/doc/python3-py3minepi/py3minepi-test.py

4.) Create/copy server dir:


$ cp -af /usr/share/spigot my-ms-server

In your server directory you will find a script start-spigot.sh to easily start the spigot server. To test everything you may use something like


$ cd my-ms-server/
$ ./start-spigot.sh  # will terminate because of eula
$ echo eula=true >eula.txt
$ screen -S spigot-server-session -dm ./start-spigot.sh
$ sleep 50  # wait for spigot to come up
$ python3 /usr/share/doc/python3-py3minepi/py3minepi-test.py
$ screen -dr spigot-server-session  # to foreground

[...]
[12:28:27 INFO]: [RaspberryJuice] Starting input thread
[12:28:27 INFO]: [RaspberryJuice] Starting output thread!
[12:28:28 INFO]: Hello server!
>

Note: Use "Ctrl-a d" to put screen session to background again.


Posted by Frank W. Bergmann | Permanent link | File under: rpm, yum, repository, fedora, minecraft, python

2018-04-02 17:45:19

squirrelmail RPM update, fix file disclosure vuln presented at Troopers 2018 (#TR18)

It seems that Red Hat won't fix the #TR18 vulnerability in squirrelmail.

The tuxad repo has now an update of squirrelmail which includes the "dagbrown patch". The package version string is 1.4.8-21.el5_11.1.

News history tuxad repository:


Posted by Frank W. Bergmann | Permanent link | File under: rpm, yum, repository, redhat