<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT &#8211; Flugphase</title>
	<atom:link href="https://blog.reauktion.de/category/it/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.reauktion.de</link>
	<description>Die Gedanken sind frei</description>
	<lastBuildDate>Sat, 26 Feb 2022 00:46:03 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>LVM RAID6</title>
		<link>https://blog.reauktion.de/lvm-raid6/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Sat, 26 Feb 2022 00:44:55 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[LVM RAID6 ioctl missing pv]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2835</guid>

					<description><![CDATA[Do. Not. Use. At this time, a LVM raid array cannot be reconstructed with a missing physical volume. That&#8217;s a 0% chance of data recovery. Which is less than BTRFS&#8216; 50% chance of RAID6 recovery.]]></description>
										<content:encoded><![CDATA[
<p>Do. Not. Use. At this time, a LVM raid array cannot be reconstructed with a missing physical volume. That&#8217;s a 0% chance of data recovery. Which is less than BTRFS&#8216; 50% chance of RAID6 recovery.</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>NVRM: RmInitAdapter failed!</title>
		<link>https://blog.reauktion.de/nvrm-rminitadapter-failed/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Fri, 08 May 2020 15:30:34 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NVIDIA]]></category>
		<category><![CDATA[rm_init_adapter]]></category>
		<category><![CDATA[RmInitAdapter]]></category>
		<category><![CDATA[vbios]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2800</guid>

					<description><![CDATA[The last couple of days I was having trouble with my GTX 980M NVIDIA (Optimus) integrated graphics card (with neon / ubuntu). The driver nvidia would load, but refuse to work. NVIDIA settings would let me switch the graphics card, but nothing happened. dmesg / journalctl contained the following lines: kernel: NVRM: GPU 0000:01:00.0: Failed...]]></description>
										<content:encoded><![CDATA[
<p>The last couple of days I was having trouble with my GTX 980M NVIDIA (Optimus) integrated graphics card (with neon / ubuntu). The driver nvidia would load, but refuse to work. NVIDIA settings would let me switch the graphics card, but nothing happened. dmesg / journalctl contained the following lines:</p>



<p><code>kernel: NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory. </code><br><code>kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:663)</code><br><code>kernel: NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0</code></p>



<p>After installing various (known to work previously) distributions, killing my bootloader in the process (yeah, thanks UEFI) I got desperate and installed Windows 10. The card showed up with a yellow exclamation mark in the device manager, stating the card couldn&#8217;t be used because it failed starting up with &#8222;Error 43&#8220;. </p>



<p>Some googling suggested to try the card in another motherboard, but I was afraid that would have been a bit much for an integrated graphics card. After some more googling, I tried to use &#8222;nvflash64&#8220; &#8211; first with the wrong bios (fortunately, nvflash refused to flash the wrong image and yielded the ID I needed to search for the right one). I found the vbios file at <a href="https://www.techpowerup.com/vgabios/">techpowerup</a>. Flashed the right file and&#8230; The exclamation mark was gone! Subsequently, when I restored my linux partition (an adventure of its own, due to my stupidity), NVIDIA Settings is working again! Yay!</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Webcam, Linux, cheese, vlc, skype&#8230;</title>
		<link>https://blog.reauktion.de/webcam-linux-cheese-vlc-skype/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Fri, 03 Apr 2020 19:45:21 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Quickcam]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[webcam]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2789</guid>

					<description><![CDATA[During the recent home office wave, I wanted to reactivate my webcam (Logitech Quickcam Chat, yes, it only has 176x144px but that&#8217;s fine for my use case). Of course, my laptop has an integrated webcam, but that&#8217;s about 75cm above and to the right of me &#8211; I&#8217;m having a &#8222;broker-type&#8220; desk setup. Problem is,...]]></description>
										<content:encoded><![CDATA[
<p>During the recent home office wave, I wanted to reactivate my webcam (Logitech Quickcam Chat, yes, it only has 176x144px but that&#8217;s fine for my use case). Of course, my laptop has an integrated webcam, but that&#8217;s about 75cm above and to the right of me &#8211; I&#8217;m having a &#8222;broker-type&#8220; desk setup.</p>



<p>Problem is, the webcam is not recognized by Skype for Business (using the Citrix HDX RT Media Engine), cheese or Microsoft Teams for Linux. </p>



<p>I found the reason &#8211; those programs only support YUY2 color formats, while the webcam (and other solutions, like droidcam) supply other formats. Solution:</p>



<ol class="wp-block-list"><li>Install v4l2loopback from git</li><li>Create a loopback video device by loading the module</li><li>Start a gstreamer pipline to convert the color space</li></ol>



<p>For my quickcam chat, it looks like this:</p>



<pre class="wp-block-preformatted">gst-launch-1.0 -v v4l2src device=/dev/video2 ! video/x-bayer ! bayer2rgb ! videobalance saturation=0.8 ! videoconvert ! video/x-raw,format=YUY2 ! v4l2sink device=/dev/video4</pre>



<p>/dev/video2 being the device of the webcam, /dev/video4 being the loopback device created earlier by loading the loopback module.</p>



<p>The loopback module has to be started with more than default buffers: </p>



<pre class="wp-block-preformatted">sudo modprobe v4l2loopback max_buffers=16</pre>



<p>An example for droidcam (droidcam being /dev/video3):</p>



<pre class="wp-block-preformatted">gst-launch-1.0 -v v4l2src device=/dev/video3 ! smooth ! videoconvert ! video/x-raw,format=YUY2 ! v4l2sink device=/dev/video4</pre>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Pinebook Pro kernel compilation</title>
		<link>https://blog.reauktion.de/pinebook-pro-kernel-compilation/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Fri, 08 Nov 2019 11:48:15 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[pine64 pinebookpro]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2778</guid>

					<description><![CDATA[I am a new, proud owner of a Pinebook Pro. The default OS (Debian stretch) comes with a kernel 4.4.190 (updates to 4.4.196). As there is no IO accounting support in the original kernel, also no btrfs support, I set out to compile a custom kernel on the pinebook pro plus booting it safely. You...]]></description>
										<content:encoded><![CDATA[
<p>I am a new, proud owner of a <a href="https://www.pine64.org/pinebook-pro/">Pinebook Pro</a>. The default OS (Debian stretch) comes with a kernel 4.4.190 (updates to 4.4.196). As there is no IO accounting support in the original kernel, also no btrfs support, I set out to compile a custom kernel on the pinebook pro plus booting it safely.</p>



<p>You will need:</p>



<ul class="wp-block-list"><li>a Pinebook Pro</li><li>an SD Card (at least 8GB)</li><li>patience</li></ul>



<h2 class="wp-block-heading">DISCLAIMER</h2>



<p>These instructions are potentially able to brick your device. There are (somewhat painful) ways to get back from a bricked Pinebook Pro (using the RockChip Flash Tool or the UART console). So, if you never compiled a kernel and actually gotten to start it, you might want to refrain from following this guide.</p>



<h2 class="wp-block-heading">Setting up the SD card</h2>



<p>First, I acquired the original Debian image here: <a href="https://github.com/mrfixit2001/debian_desktop/releases/download/190905/pinebookpro-debian-desktop-mrfixit-190905.img.xz">https://github.com/mrfixit2001/debian_desktop/releases/download/190905/pinebookpro-debian-desktop-mrfixit-190905.img.xz</a>.</p>



<p>This needs to be decompressed and &#8222;flashed&#8220; to your SD card (careful!). Be sure to use the right device, otherwise you might end up bricking your Pinebook Pro&#8230;</p>



<p><code>xz -d pinebookpro-debian-desktop-mrfixit-190905.img.xz</code></p>



<p><code>sudo dd if=pinebookpro-debian-desktop-mrfixit-190905.img of=/dev/mmcblk0</code><br><code>sync</code></p>



<p>Eject and insert the SD card.</p>



<p><code>sudo mount /dev/mmcblk0p1 /mnt/</code><br><code>nano /mnt/extlinux/extlinux.conf </code></p>



<p>Make sure it says <br><code>root=/dev/mmcblk1p2</code><br>in line #8 &#8211; this will load the kernel from SD, but set the root to your EMMC (interal) drive.</p>



<p>Reboot and make sure your device boots up normally. If you already did the update before, you will see that your kernel version now (&#8222;uname -a&#8220;) should be 4.4.190 instead of the updated 4.4.196 on your internal drive.</p>



<h2 class="wp-block-heading">Setting up the build environment</h2>



<p>For this, we will use Debian &#8222;Buster&#8220; on your pinebook pro. How? By using snap &amp; lxd!</p>



<p><code>sudo apt install snapd</code><br><code>sudo snap install lxd</code><br><code>sudo /snap/bin/lxd init</code></p>



<p>Accept all defaults <strong>BUT</strong> for the storage pool &#8211; set up a new pool with storage backend &#8222;dir&#8220;.</p>



<p>Once that&#8217;s done, set up a new Debian Buster container:</p>



<p><code>sudo /snap/bin/lxc launch images:debian/buster myvm</code></p>



<p>Depending on your internet connection, this takes a while. Once that&#8217;s done, we&#8217;re ready to use the container:</p>



<p><code>sudo /snap/bin/lxc exec myvm /bin/bash</code></p>



<p>Now you&#8217;re in a shell in your container. First, you want to install some packages:</p>



<p><code>apt-get install crossbuild-essential-arm64 libncurses-dev git bc ccache nano</code></p>



<p>The kernel is an aarch64-kernel, the system is armhf however &#8211; that&#8217;s why we&#8217;re installing a cross compiler (<a href="http://students.engr.scu.edu/~sschaeck/misc/pinebookpro.html">credits</a>). Edit your ~/.bashrc and add</p>



<p><code>export PATH="/usr/lib/ccache:$PATH"</code></p>



<p>At the bottom, then do</p>



<p><code>. ~/.bashrc</code></p>



<p>That should speed up compilation dramatically.</p>



<h2 class="wp-block-heading">Use the source!</h2>



<p>Make a new directory for your linux kernel, i.e. <code>mkdir ~/src</code>. Change to that directory <code>cd ~/src</code> and download the kernel sources of your choice, i.e. <br><code>git clone https://github.com/mrfixit2001/rockchip-kernel.git linux</code></p>



<p>Copy the existing kernel configuration to your source tree:</p>



<p><code>zcat /proc/config.gz ~/src/linux/.config<br>cd ~/src/linux/<br>make oldconfig</code></p>



<p>Almost set to go!</p>



<p><code>make menuconfig</code></p>



<p>Do your changes, save&#8230; now, compile the kernel:</p>



<p><code>make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j 6 bindeb-pkg</code></p>



<p>And the device tree afterwards:</p>



<p><code>make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j 6 rockchip/rk3399-pinebookpro.dtb</code></p>



<p>Log off from your container by using CTRL-D (or the method of your liking). The kernel is now in (with my names):</p>



<p><code>/var/snap/lxd/common/lxd/containers/myvm/rootfs/root/src</code></p>



<p>We&#8217;re going to install this and move it carefully. Make sure /boot/ isn&#8217;t mounted:</p>



<p><code>sudo umount /boot</code><br><code>sudo mount /dev/mmcblk0p1 /mnt/</code><br><code>sudo dpkg -i --force-architecture /var/snap/lxd/common/lxd/containers/myvm/rootfs/root/src/linux-image-4.4.196-gb9a54c00f_4.4.196-gb9a54c00f_arm64.deb</code><br>(or whatever .deb you just created).</p>



<p><code>cp /mnt/rk3399-pinebookpro.dtb /mnt/rk3399-pinebookpro.dtb.bak</code></p>



<p><code>cp /var/snap/lxd/common/lxd/containers/myvm/rootfs/root/src/linux/arch/arm64/boot/dts/rockchip/rk3399-pinebookpro.dtb /mnt/</code></p>



<p>Copy the kernel to SD card:</p>



<p><code>cp /boot/vmlinuz-4.4.196-gb9a54c00f /mnt/Image</code></p>



<p>Done! Reboot&#8230;</p>



<p>Yes, I know that there are LXD Api functions to work with container files, and working as root is not advised. But for the time being, it &#8222;works for me™&#8220;. </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Butterfly Keyboard</title>
		<link>https://blog.reauktion.de/butterfly-keyboard/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Mon, 12 Aug 2019 10:01:18 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2773</guid>

					<description><![CDATA[How long does it take before the first key on an Apple Buterfly Keyboard (MacBook Air 2018) is stuck? In my case six months and five days (186 days). I really, really am careful about dust on my MacBook, but my arrow-down-key is stuck now.]]></description>
										<content:encoded><![CDATA[
<p>How long does it take before the first key on an Apple Buterfly Keyboard (MacBook Air 2018) is stuck? In my case six months and five days (186 days). I really, really am careful about dust on my MacBook, but my arrow-down-key is stuck now.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 18.04 &#038; gnome3</title>
		<link>https://blog.reauktion.de/ubuntu-18-04-gnome3/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Tue, 15 May 2018 11:41:20 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2740</guid>

					<description><![CDATA[Ubuntu 18.04 desktop (vanilla edition) switched to using gnome3 instead of their own unity desktop. I&#8217;m switching to using xubuntu-desktop, since the new Ubuntu standard desktop combines the flaws of gnome3 with the flaws of Ubuntus desktop user interface.]]></description>
										<content:encoded><![CDATA[<p>Ubuntu 18.04 desktop (vanilla edition) switched to using gnome3 instead of their own unity desktop.</p>
<p>I&#8217;m switching to using xubuntu-desktop, since the new Ubuntu standard desktop combines the flaws of gnome3 with the flaws of Ubuntus desktop user interface.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu &#038; xrdp server black screen on login</title>
		<link>https://blog.reauktion.de/ubuntu-xrdp-server-black-screen-on-login/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Tue, 24 Apr 2018 09:26:47 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2736</guid>

					<description><![CDATA[I am running a xrdp server for when I need a full desktop on one of my android devices &#8211; if I&#8217;m using remote login for gui stuff, I&#8217;m using x2go. Recently, the xrdp server stopped working. Looking for ways to fix it didn&#8217;t yield a proper result. I finally found the solution: Due to...]]></description>
										<content:encoded><![CDATA[<p>I am running a xrdp server for when I need a full desktop on one of my android devices &#8211; if I&#8217;m using remote login for gui stuff, I&#8217;m using x2go.</p>
<p>Recently, the xrdp server stopped working. Looking for ways to fix it didn&#8217;t yield a proper result. I finally found the solution:</p>
<p>Due to upgrading my ubuntu server installation by using &#8222;do-release-upgrade&#8220;, an old libglib-2.0.0 was left over in /lib/x86_64-linux-gnu/ (version 4800.0). That library took priority over the new installed version in /usr/lib/x86_64-linux-gnu/ (version 5600.1). The error I saw was</p>
<blockquote><p>&#8222;undefined symbol: g_date_copy&#8220;</p></blockquote>
<p>After deleting /lib/x86_64-linux-gnu/libglib* and doing &#8222;apt &#8211;reinstall install libglib2.0-0&#8220;, I am able to log in to xfce4 again.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Dark Patterns, The Ratchet · Jacques Mattheij</title>
		<link>https://blog.reauktion.de/dark-patterns-the-ratchet-%c2%b7-jacques-mattheij/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Wed, 28 Mar 2018 07:15:43 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Surftipps]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2731</guid>

					<description><![CDATA[The cumulative effect of all those little ratchets on your privacy is rather terrible, but there is no denying it: you were along for the ride and you had the option to ‘opt out’ at every step. Not just from that one dialogue: from all of them by refusing to use products that are fielded...]]></description>
										<content:encoded><![CDATA[<blockquote><p>The cumulative effect of all those little ratchets on your privacy is rather terrible, but there is no denying it: you were along for the ride and you had the option to ‘opt out’ at every step. Not just from that one dialogue: from all of them by refusing to use products that are fielded by companies that engage in these unethical practices. Say no to ‘The Ratchet’ and it’s sick family of dark patterns designed to little-by-little chip away at your privacy, kick products and companies like that to the kerb where they belong. That’s the only way to really opt out.</p></blockquote>
<p>Quelle: <em><a href="http://jacquesmattheij.com/dark-patterns-the-ratchet">Dark Patterns, The Ratchet · Jacques Mattheij</a></em></p>
<p>Dark Patterns ist sowieso ein interessantes Blog, dass &#8222;dunkle Patterns&#8220; beschreibt, also Benutzeroberflächen und Prozesse, die so gestaltet sind, dass der Nutzer etwas zustimmt, dem er/ sie eigentlich nicht zustimmen will&#8230;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Cloudsäuberung</title>
		<link>https://blog.reauktion.de/cloudsaeuberung/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Tue, 27 Mar 2018 16:54:13 +0000</pubDate>
				<category><![CDATA[Gesellschaft]]></category>
		<category><![CDATA[IT]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2729</guid>

					<description><![CDATA[Die neuen Dienstleistungsbedingungen von Microsoft für Services wie Skype, Xbox Live, Bing, Cortana oder Cloud-Angebote untersagen beleidigende Äußerungen. Auch Pornos und explizite Gewaltdarstellungen sind künftig tabu. heise Google löscht Pornos oder das, was sie dafür halten, Microsoft macht Moralfilter als Service. Dit is halt cloud.]]></description>
										<content:encoded><![CDATA[<blockquote><p>Die neuen Dienstleistungsbedingungen von Microsoft für Services wie Skype, Xbox Live, Bing, Cortana oder Cloud-Angebote untersagen beleidigende Äußerungen. Auch Pornos und explizite Gewaltdarstellungen sind künftig tabu.</p></blockquote>
<p><a href="https://m.heise.de/newsticker/meldung/Porno-und-Hassfilter-Microsoft-verbannt-anstoessige-Sprache-aus-Online-Diensten-4006462.html">heise</a></p>
<p>Google löscht Pornos oder das, was sie dafür halten, Microsoft macht Moralfilter als Service. Dit is halt cloud.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>GitHub</title>
		<link>https://blog.reauktion.de/github/</link>
		
		<dc:creator><![CDATA[Markus Fritsche]]></dc:creator>
		<pubDate>Tue, 27 Mar 2018 14:39:43 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<guid isPermaLink="false">https://dynamic.reauktion.de/flugphase/?p=2726</guid>

					<description><![CDATA[Tip: We recommend using only one user account to manage both personal and professional repositories. Quelle: Merging multiple user accounts &#8211; User Documentation Yes, and I am quite fond of finding out how my clients react to having &#8222;MasterCoder69&#8220; contributing to their GitHub hosted internal repositories&#8230;]]></description>
										<content:encoded><![CDATA[<blockquote><p>Tip: We recommend using only one user account to manage both personal and professional repositories.</p></blockquote>
<p>Quelle: <a href="https://help.github.com/articles/merging-multiple-user-accounts/">Merging multiple user accounts &#8211; User Documentation</a></p>
<p>Yes, and I am quite fond of finding out how my clients react to having &#8222;MasterCoder69&#8220; contributing to their GitHub hosted internal repositories&#8230;</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
