<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=2165&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Ascii: hdparm.conf ignored - udev problem?]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2165</link>
		<description><![CDATA[The most recent posts in Ascii: hdparm.conf ignored - udev problem?.]]></description>
		<lastBuildDate>Wed, 27 Jun 2018 11:50:41 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10434#p10434</link>
			<description><![CDATA[<p>Not really a workaround, but&#160; a serious alternative to using hdparm.conf, is creating a eudev rule for hdparm settings.</p><div class="codebox"><pre><code>$ cat /etc/udev/rules.d/90-hdparm.rules 
ACTION==&quot;add&quot;, KERNEL==&quot;sd[a-z]&quot;, ENV{ID_MODEL}==&quot;ST4000DM000*&quot;, RUN+=&quot;/sbin/hdparm -B 127 -S 241 -W 0 /dev/%k&quot;
ACTION==&quot;add&quot;, KERNEL==&quot;sd[a-z]&quot;, ENV{ID_MODEL}==&quot;ST4000VN000*&quot;, RUN+=&quot;/sbin/hdparm -B 127 -S 241 -W 0 /dev/%k&quot;
ACTION==&quot;add&quot;, KERNEL==&quot;sd[a-z]&quot;, ENV{ID_MODEL}==&quot;ST8000AS0002*&quot;, RUN+=&quot;/sbin/hdparm -S 241 -W 0 /dev/%k&quot;
ACTION==&quot;add&quot;, KERNEL==&quot;sd[a-z]&quot;, ENV{ID_MODEL}==&quot;ST8000AS0003*&quot;, RUN+=&quot;/sbin/hdparm -S 241 -W 0 /dev/%k&quot;</code></pre></div><p>For identifying disks you can use any environment variable eudev reported.</p><div class="codebox"><pre><code>$ sudo udevadm info -n sda
...
E: DEVLINKS=/dev/disk/by-id/ata-SanDisk_SDSSDH3250G_174042421026 /dev/disk/by-id/wwn-0x12517096912022949889x
E: DEVNAME=/dev/sda
E: DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda
E: DEVTYPE=disk
E: ID_MODEL=SanDisk_SDSSDH3250G
E: ID_MODEL_ENC=SanDisk\x20SDSSDH3250G\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
...</code></pre></div><p>For label or uuid your can use the environment variables of a partition. (Then the eudev rule have to use partitions in KERNEL.)</p><div class="codebox"><pre><code>$ sudo udevadm info -n sda4
...
E: DEVLINKS=/dev/disk/by-id/ata-SanDisk_SDSSDH3250G_174042421026-part4 /dev/disk/by-id/wwn-0x12517096912022949889x-part4 /dev/disk/by-label/base /dev/disk/by-partlabel/base /dev/disk/by-partuuid/4c9b5cce-4bb8-410e-9835-9197d2199a19 /dev/disk/by-uuid/00c7cbb6-7bab-4e11-8f49-8dc5622054df
E: DEVNAME=/dev/sda4
E: DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4
E: DEVTYPE=partition
E: ID_FS_LABEL=base
E: ID_FS_LABEL_ENC=base
E: ID_FS_TYPE=btrfs
E: ID_FS_USAGE=filesystem
E: ID_FS_UUID=00c7cbb6-7bab-4e11-8f49-8dc5622054df
E: ID_FS_UUID_ENC=00c7cbb6-7bab-4e11-8f49-8dc5622054df
...</code></pre></div><p>With this, I don&#039;t need a hdparm.conf any more. ;-)</p><p>@emanym: Thanks for your help.</p><p>@ralph.ronnquist: Thanks for reporting this bug.</p>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Wed, 27 Jun 2018 11:50:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10434#p10434</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10380#p10380</link>
			<description><![CDATA[<p>Great work. I&#039;ve lodged a bug on your behalf. <a href="https://bugs.devuan.org//cgi/bugreport.cgi?bug=222" rel="nofollow">https://bugs.devuan.org//cgi/bugreport.cgi?bug=222</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 25 Jun 2018 13:00:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10380#p10380</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10379#p10379</link>
			<description><![CDATA[<p>One week later - I&#039;ve found the (or my?) fault.</p><p>When I upgraded my server from Debian Jessie to Devuan Ascii i reused the working settings in <span class="bbc">hdparm.conf</span>.<br /><strong>But</strong> in Ascii, <span class="bbc">hdparm.conf</span> is read by a script started by a eudev rule and is <strong>working with <span class="bbc">/dev/sd?</span> definitions only</strong>.<br /><strong>No <span class="bbc">/dev/disk/by-label</span>, no <span class="bbc">/dev/disk/by-uuid</span> or any other links in /dev/disk.</strong></p><p>That&#039;s because the little eudev script reading hdparm.conf is using <strong>only</strong> the <span class="bbc">$DEVNAME</span> environment variable from eudev to parse the settings. And <span class="bbc">$DEVNAME</span> is /dev/sda, for example.</p><p>The sd? links in /dev can change for a specific disk, so I think its not a good idea to remove the <em>by-label</em> or <em>by-uuid</em> posibilities from hdparm.conf.<br />As a workaround you can make your own eudev rule for partitions using the variable <span class="bbc">$ID_FS_LABEL</span> or <span class="bbc">$ID_FS_UUID</span> for example.<br />I will try this when I find some time.</p>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Mon, 25 Jun 2018 10:33:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10379#p10379</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10349#p10349</link>
			<description><![CDATA[<div class="quotebox"><cite>kalle-del-haye wrote:</cite><blockquote><div><div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>Strangely enough it works out of the box for me with an ascii openrc installation:</p></div></blockquote></div><p>OK. Is this installation still existing?</p></div></blockquote></div><p>I will keep it around for a while, openrc was on my todo list anyway ;-)</p><div class="quotebox"><cite>kalle-del-haye wrote:</cite><blockquote><div><p>Could you please, try the backports kernel?</p></div></blockquote></div><p>So I did, and the results are the same (cold boot after disconnected power):</p><div class="codebox"><pre><code>root@iris:~# hdparm -I /dev/sda | grep level
        Advanced power management level: 64
root@iris:~# hdparm -I /dev/sdb | grep level
        Advanced power management level: 254
root@iris:~# cat /proc/version
Linux version 4.16.0-0.bpo.2-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP Debian 4.16.12-1~bpo9+1 (2018-06-03)
root@iris:~#</code></pre></div><div class="quotebox"><cite>kalle-del-haye wrote:</cite><blockquote><div><p>Thats the only difference I notice</p></div></blockquote></div><p>Actually, there may be another difference, I typically pick&#160; a targeted initrd on installations...</p><p>And now for the <strong><em>really</em></strong> fun part, I attached a <span class="bbc">, RUN+=&quot;/bin/date &gt;&gt; /home/emanym/udev-hdparm&quot;</span> to <span class="bbc">/lib/udev/rules.d/85-hdparm.rules</span>, and ....</p><div class="codebox"><pre><code>root@iris:~# ls /home/emanym/
root@iris:~#</code></pre></div><p>(with both kernel versions)</p><p>I&#039;m <strong>reasonably</strong> <br />sure I don&#039;t understand <strong>that</strong> ;-)</p>]]></description>
			<author><![CDATA[dummy@example.com (emanym)]]></author>
			<pubDate>Sat, 23 Jun 2018 19:37:59 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10349#p10349</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10340#p10340</link>
			<description><![CDATA[<div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>Strangely enough it works out of the box for me with an ascii openrc installation:</p></div></blockquote></div><p>OK. Is this installation still existing? Could you please, try the backports kernel?<br />Thats the only difference I notice</p><div class="codebox"><pre><code>$ dpkg -s hdparm | grep ersi
Version: 9.51+ds-1
$ dpkg -s eudev | grep ersi
Version: 3.2.2-13
$ dpkg -s openrc | grep ersi
Version: 0.23-1+b1
$ uname -a
Linux 4.16.0-0.bpo.2-amd64 #1 SMP Debian 4.16.12-1~bpo9+1 (2018-06-03) x86_64 GNU/Linux</code></pre></div><p>I will try to install a fresh Ascii to an USB stick and will see what hdparm/eudev is doing.</p><p>Thanks a lot.</p>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Sat, 23 Jun 2018 12:18:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10340#p10340</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10293#p10293</link>
			<description><![CDATA[<div class="quotebox"><cite>kalle-del-haye wrote:</cite><blockquote><div><p>But Devuan with openrc (selected in the installation process) is not a &quot;real&quot; openrc system. All the init services are still classic sysV scripts in contrast to Gentoo, which is using openrc scripts (and conf files) for services.</p></div></blockquote></div><p>I haven&#039;t looked at devuan with openrc yet, only a couple of arch versions. I *did* notice the jessie version of hdparm still has a startup script in <span class="bbc">/etc/init.d/hdparm</span> that disappeared in the ascii version.</p><p>The jessie init script may work on ascii, but that&#039;s just another nasty hack ;-)</p><div class="quotebox"><cite>kalle-del-haye wrote:</cite><blockquote><div><p>I think this is really an <strong>eudev problem</strong>. A simple testing rule in <span class="bbc">/etc/udev/rules.d/</span> is executed by <span class="bbc">udevadm trigger</span> but <strong>not at reboot</strong>.</p></div></blockquote></div><p>Neither udev nor eudev seem to log anything useful beyond the rules files from the initrd, so I can&#039;t really help there.</p><p>The best idea is probably to file a (eudev) bug report at <a href="https://bugs.devuan.org/" rel="nofollow">https://bugs.devuan.org/</a></p><p><del>I&#039;ll see if I can find some free partitions for an openrc devuan installation to try and reproduce the problem...</del></p><p>Strangely enough it works out of the box for me with an ascii openrc installation:</p><div class="codebox"><pre><code>root@iris:~# hdparm -I /dev/sdb | grep level
        Advanced power management level: 254
root@iris:~# hdparm -I /dev/sda | grep level
        Advanced power management level: 64
root@iris:~# dpkg -s hdparm | grep ersi
Version: 9.51+ds-1
root@iris:~# dpkg -s udev | grep ersi
Version: 1:3.2.2+devuan2.11
root@iris:~# dpkg -s eudev | grep ersi
Version: 3.2.2-13
root@iris:~# dpkg -s openrc | grep ersi
Version: 0.23-1+b1
root@iris:~# uname -a
Linux iris 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
root@iris:~#</code></pre></div><p>Clean install, no desktop, just added vim, rsync and firmware for my graphics card...</p>]]></description>
			<author><![CDATA[dummy@example.com (emanym)]]></author>
			<pubDate>Thu, 21 Jun 2018 18:04:37 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10293#p10293</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10292#p10292</link>
			<description><![CDATA[<div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>Actually, is there anything hdparm related in <span class="bbc">/etc/conf.d/</span>?</p><p>The gentoo wiki suggests setting hdparm boot options there:<br /><a href="https://wiki.gentoo.org/wiki/Hdparm#OpenRC" rel="nofollow">https://wiki.gentoo.org/wiki/Hdparm#OpenRC</a></p></div></blockquote></div><p><span class="bbc">/etc/conf.d/</span> didn&#039;t exist. I think this directory is for configuration files for openrc init services in <span class="bbc">/etc/init.d/</span>.<br />But Devuan with openrc (selected in the installation process) is not a &quot;real&quot; openrc system. All the init services are still classic sysV scripts in contrast to Gentoo, which is using openrc scripts (and conf files) for services. And, maybe, Gentoo uses a hdparm init service, but in Devuan hdparm is started by eudev only. (Except you add your own hdparm init service.)</p><div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>Funny this, running hdparm at boot seems to work out of the box on some devuan installations (jessie amd64, ascii i386, ascii amd64 upgraded from jessie) but not on <strong>every</strong> devuan installation I have -- even though they are all installed on the same machine...</p></div></blockquote></div><p>I think this is really an <strong>eudev problem</strong>. A simple testing rule in <span class="bbc">/etc/udev/rules.d/</span> is executed by <span class="bbc">udevadm trigger</span> but <strong>not at reboot</strong>.</p><div class="codebox"><pre><code>$ cat /etc/udev/rules.d/90-test.rules 
KERNEL==&quot;sda&quot;, RUN+=&quot;/usr/bin/touch /home/kalle/udev-test-sda&quot;
KERNEL==&quot;sdb&quot;, RUN+=&quot;/usr/bin/touch /home/kalle/udev-test-sdb&quot;
ACTION==&quot;add&quot;, SUBSYSTEM==&quot;block&quot;, KERNEL==&quot;sdc&quot;, RUN+=&quot;/usr/bin/touch /home/kalle/udev-test-sdc&quot;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Thu, 21 Jun 2018 14:45:18 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10292#p10292</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10257#p10257</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Or could it related to openrc, which I&#039;m using?</p></div></blockquote></div><p><del>I doubt that, I tested yesterday on a clean ASCII install with sysvinit...</del></p><p>Actually, is there anything hdparm related in <span class="bbc">/etc/conf.d/</span>?</p><p>The gentoo wiki suggests setting hdparm boot options there:<br /><a href="https://wiki.gentoo.org/wiki/Hdparm#OpenRC" rel="nofollow">https://wiki.gentoo.org/wiki/Hdparm#OpenRC</a></p><p>I haven&#039;t figured out a way to test anything yet, since hdparm starts at boot even if I remove it from the initrd...</p><p>I&#039;m sure there is a sane way to solve this problem, but I&#039;m not that familiar with the inner workings of udev, and only use hdparm to wipe disks anyway....</p><p><em>edit</em><br />Funny this, running hdparm at boot seems to work out of the box on some devuan installations (jessie amd64, ascii i386, ascii amd64 upgraded from jessie) but not on <strong>every</strong> devuan installation I have -- even though they are all installed on the same machine...</p>]]></description>
			<author><![CDATA[dummy@example.com (emanym)]]></author>
			<pubDate>Wed, 20 Jun 2018 11:10:48 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10257#p10257</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10256#p10256</link>
			<description><![CDATA[<p>@emanym: Thanks for your help.</p><div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>So far, so good, but when I remove the hdparm stuff from my initrd, hdparm still starts at boot, and still reads <span class="bbc">/etc/hdparm.conf</span>.</p></div></blockquote></div><p>That&#039;s good to know, so <span class="bbc">eudev</span> and <span class="bbc">hdparm.conf</span> should usually working in Ascii. I will check that on an other system with a recent Ascii later today or tomorrow. Maybe comparing the eudev debug log with one of a correctly working system gives some hints.</p><p>I&#039;ve never changed anything on eudev. So, before fixing a problem that shouldn&#039;t exist with a &quot;nasty hack&quot;, I would like to know the reason for this eudev problem.</p><p>Maybe I force a reinstall of eudev and see what happend.<br />Or could it related to openrc, which I&#039;m using?</p>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Wed, 20 Jun 2018 08:59:38 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10256#p10256</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10251#p10251</link>
			<description><![CDATA[<p>Hmm, this is <strong>weird</strong>, but anyway:</p><p>If udev only processes files from the initrd, it is possible to add what we need, by creating a file in <span class="bbc">/etc/initramfs-tools/hooks/hdparm</span>, making it executable <span class="bbc">chmod +x $file</span>), containing the following:</p><div class="codebox"><pre><code>#!/bin/sh

set -e

PREREQ=&quot;&quot;

prereqs () {
	echo &quot;${PREREQ}&quot;
}

case &quot;${1}&quot; in
	prereqs)
		prereqs
		exit 0
		;;
esac

. /usr/share/initramfs-tools/hook-functions

copy_exec /lib/udev/hdparm /lib/udev
copy_exec /sbin/hdparm /sbin
cp -p /etc/udev/rules.d/85-hdparm.rules $DESTDIR/lib/udev/rules.d/
cp -p /etc/hdparm.conf $DESTDIR/etc

exit 0</code></pre></div><p>With a simple config in <span class="bbc">/etc/hdparm.conf</span>:</p><div class="codebox"><pre><code>/dev/sda {
  apm = 64
  spindown_time = 5
}</code></pre></div><p>Next, run <span class="bbc">update-initramfs -u -k 4.9.0-6-amd64</span> (or whatever your kernel version is), and check with:</p><div class="codebox"><pre><code>root@iris~:lsinitramfs /boot/initrd.img-4.9.0-6-amd64 |grep hdparm
etc/hdparm.conf
lib/udev/rules.d/85-hdparm.rules
lib/udev/hdparm
sbin/hdparm</code></pre></div><p>And sure enough:</p><div class="codebox"><pre><code>root@iris:~# hdparm -I /dev/sda | grep level
        Advanced power management level: 64</code></pre></div><p>So far, so good, but when I remove the hdparm stuff from my initrd, hdparm still starts at boot, and still reads <span class="bbc">/etc/hdparm.conf</span>.</p><p>I&#039;m reasonably sure I don&#039;t understand what happened here, but if you have a fairly high tolerance for nasty hacks you could try this ;-)</p>]]></description>
			<author><![CDATA[dummy@example.com (emanym)]]></author>
			<pubDate>Tue, 19 Jun 2018 21:03:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10251#p10251</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10230#p10230</link>
			<description><![CDATA[<div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>Are there any files in <span class="bbc">/run/udev/rules.d/</span>?</p></div></blockquote></div><p>No, directory is empty.</p><div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>Does copying the 85-hdparm file to <span class="bbc">/etc/udev/rules.d/</span> change anything?</p></div></blockquote></div><p>No, <span class="bbc">hdparm.conf</span> (and I think also <span class="bbc">85-hdparm.rules</span>) is still ignored.</p><div class="quotebox"><cite>emanym wrote:</cite><blockquote><div><p>Also, you could try changing the loglevel in <span class="bbc">/etc/udev/udev.conf</span>, probably start by uncommenting, and see what pops up in dmesg.</p></div></blockquote></div><p>Changing the loglevel of eudev to <em>info</em> doesn&#039;t give much information, so I used <em>debug</em>.<br />To me it looks like eudev is reading all the rules included in initramfs, like expected.<br />But when the real system is loading I can&#039;t find that any rule in <span class="bbc">/lib/udev/rules.d/</span> is read.</p><div class="codebox"><pre class="vscroll"><code>$ dmesg | grep udev
[    0.512563] udevd[83]: starting version 3.2.2
[    0.512571] udevd[83]:  does not exist, please run udevadm hwdb --update
[    0.512649] udevd[83]: Load module index
[    0.512678] udevd[83]: timestamp of &#039;/lib/udev/rules.d&#039; changed
[    0.512712] random: udevd: uninitialized urandom read (16 bytes read)
[    0.512734] random: udevd: uninitialized urandom read (16 bytes read)
[    0.512757] udevd[83]: Reading rules file: /lib/udev/rules.d/50-udev-default.rules
[    0.512896] udevd[83]: Reading rules file: /lib/udev/rules.d/55-dm.rules
[    0.512965] udevd[83]: Reading rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
[    0.512996] udevd[83]: Reading rules file: /lib/udev/rules.d/60-persistent-storage.rules
[    0.513125] udevd[83]: Reading rules file: /lib/udev/rules.d/80-drivers.rules
[    0.513155] udevd[83]: rules contain 24576 bytes tokens (2048 * 12 bytes), 4213 bytes strings
[    0.513358] udevd[84]: starting eudev-3.2.2
[    0.520022] random: udevd: uninitialized urandom read (16 bytes read)
[    1.524406] udevd: 5990 output lines suppressed due to ratelimiting
[    1.828973] udevd[541]: Failed to symlink /proc/kcore to /dev/core: File exists
[    1.828976] udevd[541]: Failed to symlink /proc/self/fd to /dev/fd: File exists
[    1.828979] udevd[541]: Failed to symlink /proc/self/fd/0 to /dev/stdin: File exists
[    1.828982] udevd[541]: Failed to symlink /proc/self/fd/1 to /dev/stdout: File exists
[    1.828984] udevd[541]: Failed to symlink /proc/self/fd/2 to /dev/stderr: File exists
[    1.829017] udevd[541]: starting version 3.2.2
[    1.831420] udevd[541]: === trie on-disk ===
[    1.831423] udevd[541]: tool version:          3
[    1.831425] udevd[541]: file size:         7195445 bytes
[    1.831426] udevd[541]: header size             80 bytes
[    1.839066] random: udevd: uninitialized urandom read (16 bytes read)
[    1.839104] random: udevd: uninitialized urandom read (16 bytes read)
[    1.839111] random: udevd: uninitialized urandom read (16 bytes read)
[    1.843686] udevd[542]: starting eudev-3.2.2
[    9.036399] udevd[542]: seq 1841 queued, &#039;add&#039; &#039;sas_port&#039;
[    9.036462] udevd[542]: seq 1842 queued, &#039;add&#039; &#039;sas_device&#039;
[    9.036501] udevd[542]: seq 1843 queued, &#039;add&#039; &#039;sas_end_device&#039;
[    9.036695] udevd[542]: seq 1844 queued, &#039;add&#039; &#039;bsg&#039;
[    9.165161] udevd[542]: seq 1845 queued, &#039;add&#039; &#039;sas_port&#039;
[    9.165178] udevd[542]: seq 1846 queued, &#039;add&#039; &#039;sas_device&#039;
[    9.165188] udevd[542]: seq 1847 queued, &#039;add&#039; &#039;sas_end_device&#039;
[    9.165278] udevd[542]: seq 1848 queued, &#039;add&#039; &#039;bsg&#039;
[    9.403141] udevd[542]: seq 1849 queued, &#039;add&#039; &#039;sas_port&#039;
[    9.403158] udevd[542]: seq 1850 queued, &#039;add&#039; &#039;sas_device&#039;
[   14.557579] udevd[542]: seq 2001 queued, &#039;add&#039; &#039;module&#039;
[   14.557603] udevd[542]: passed 129 byte device to netlink monitor 0x56192f0c1130
[   14.557630] udevd[572]: seq 2001 running
[   14.557651] udevd[572]: no db file to read /run/udev/data/+module:rfkill: No such file or directory
[   14.557693] udevd[572]: passed device to netlink monitor 0x56192f1813a0
[   14.557695] udevd[572]: seq 2001 processed
[   14.557739] udevd[542]: seq 2002 queued, &#039;add&#039; &#039;class&#039;
[   14.557750] udevd[542]: passed 127 byte device to netlink monitor 0x56192f0c1130
[   14.557766] udevd[572]: seq 2002 running
[   14.557777] udevd[572]: no db file to read /run/udev/data/+class:rfkill: No such file or directory
[   20.891405] udevd[542]: cleanup idle workers
[   20.891540] udevd[542]: Validate module index
[   20.891633] udevd[564]: Unload module index
[   20.891829] udevd[567]: Unload module index
[   20.892466] udevd[573]: Unload module index
[   20.892502] udevd[542]: worker [564] exited
[   20.892533] udevd[542]: worker [567] exited
[   20.892727] udevd[575]: Unload module index
[   20.893036] udevd[574]: Unload module index
[   20.893360] udevd[566]: Unload module index
[   27.548037] udevd[542]: cleanup idle workers
[   27.548068] udevd[542]: Validate module index
[   27.548117] udevd[2454]: Unload module index
[   27.548275] udevd[542]: worker [2454] exited
[   27.876081] udevd[542]: seq 2022 queued, &#039;change&#039; &#039;platform&#039;
[   27.876209] udevd[542]: seq 2022 forked new worker [2615]
[   27.878879] udevd[2615]: seq 2022 running
[   27.878936] udevd[2615]: no db file to read /run/udev/data/+platform:regulatory.0: No such file or directory
[   27.878946] udevd[2615]: IMPORT builtin &#039;hwdb&#039; /lib/udev/rules.d/50-udev-default.rules:15
[   27.878972] udevd[2615]: IMPORT builtin &#039;hwdb&#039; returned non-zero
[   34.203900] udevd[542]: cleanup idle workers
[   34.203931] udevd[542]: Validate module index
[   34.204043] udevd[2645]: Unload module index
[   34.204258] udevd[542]: worker [2645] exited
[   34.528193] udevd[542]: seq 2024 queued, &#039;change&#039; &#039;platform&#039;
[   34.528548] udevd[542]: seq 2024 forked new worker [2680]
[   34.529053] udevd[2680]: seq 2024 running
[   34.529223] udevd[2680]: no db file to read /run/udev/data/+platform:regulatory.0: No such file or directory
[   34.529252] udevd[2680]: IMPORT builtin &#039;hwdb&#039; /lib/udev/rules.d/50-udev-default.rules:15
[   34.529327] udevd[2680]: IMPORT builtin &#039;hwdb&#039; returned non-zero
[   40.860066] udevd[542]: cleanup idle workers
[   40.860130] udevd[542]: Validate module index
[   40.860293] udevd[2692]: Unload module index
[   40.860697] udevd[542]: worker [2692] exited
[   41.184191] udevd[542]: seq 2026 queued, &#039;change&#039; &#039;platform&#039;
[   41.184328] udevd[542]: seq 2026 forked new worker [2704]
[   41.184501] udevd[2704]: seq 2026 running
[   41.184550] udevd[2704]: no db file to read /run/udev/data/+platform:regulatory.0: No such file or directory
[   41.184558] udevd[2704]: IMPORT builtin &#039;hwdb&#039; /lib/udev/rules.d/50-udev-default.rules:15
[   41.184582] udevd[2704]: IMPORT builtin &#039;hwdb&#039; returned non-zero
[   47.516239] udevd[542]: cleanup idle workers
[   47.516305] udevd[542]: Validate module index
[   47.516456] udevd[2721]: Unload module index
[   47.516889] udevd[542]: worker [2721] exited
[   47.840193] udevd[542]: seq 2028 queued, &#039;change&#039; &#039;platform&#039;
[   47.840319] udevd[542]: seq 2028 forked new worker [2748]
[   47.840484] udevd[2748]: seq 2028 running
[   47.840527] udevd[2748]: no db file to read /run/udev/data/+platform:regulatory.0: No such file or directory
[   47.840537] udevd[2748]: IMPORT builtin &#039;hwdb&#039; /lib/udev/rules.d/50-udev-default.rules:15
[   47.840561] udevd[2748]: IMPORT builtin &#039;hwdb&#039; returned non-zero</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Tue, 19 Jun 2018 08:04:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10230#p10230</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10204#p10204</link>
			<description><![CDATA[<p>Are there any files in <span class="bbc">/run/udev/rules.d/</span>?</p><p>Does copying the 85-hdparm file to <span class="bbc">/etc/udev/rules.d/</span> change anything?</p><p>(Those should take precedence over <span class="bbc">/lib/udev/rules.d/</span>)</p><p>Also, you could try changing the loglevel in <span class="bbc">/etc/udev/udev.conf</span>, probably start by uncommenting, and see what pops up in dmesg.</p><p>There are some udev config files in the initrd.img as well, but i&#039;m not sure hdparm would be included in a standard initrd:</p><div class="codebox"><pre><code>root@sybilla:~#  lsinitramfs /boot/initrd.img-4.9.0-6-amd64 | grep udev
 ...
lib/udev/rules.d
lib/udev/rules.d/56-lvm.rules
lib/udev/rules.d/69-lvm-metad.rules
lib/udev/rules.d/50-udev-default.rules
lib/udev/rules.d/60-persistent-storage.rules
lib/udev/rules.d/80-drivers.rules
lib/udev/rules.d/55-dm.rules
lib/udev/rules.d/60-persistent-storage-dm.rules
 ...</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (emanym)]]></author>
			<pubDate>Mon, 18 Jun 2018 18:42:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10204#p10204</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10203#p10203</link>
			<description><![CDATA[<p>Eudev, I think.</p><div class="codebox"><pre><code>eudev/stable,now 3.2.2-13 amd64  [installiert]
eudev-dbgsym/stable 3.2.2-13 amd64
libeudev-dev/stable 3.2.2-13 amd64
libeudev1/stable,now 3.2.2-13 amd64  [installiert]
libeudev1-dbgsym/stable 3.2.2-13 amd64
libudev-dev/stable 1:3.2.2+devuan2.11 amd64
libudev1/stable 1:3.2.2+devuan2.11 amd64
udev/stable,now 1:3.2.2+devuan2.11 amd64  [installiert]</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Mon, 18 Jun 2018 15:52:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10203#p10203</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10202#p10202</link>
			<description><![CDATA[<p>Is udev running the show or eudev?&#160; IIRC eudev is default in ASCII.&#160; If yes, something might have gotten lost in translation.&#160; That&#039;s the only suggestion I have as this subject is way beyond me technically.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Mon, 18 Jun 2018 15:23:51 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10202#p10202</guid>
		</item>
		<item>
			<title><![CDATA[Ascii: hdparm.conf ignored - udev problem?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=10201#p10201</link>
			<description><![CDATA[<p>I&#039;m using Devuan Ascii for my headless file server with 8 HDD&#039;s on an LSI SAS2008 based card.</p><p>In my hdparm.conf I configure the APM and Standby-Time settings for all the disks. But on start up or on reboot of the server, the settings in the hdparm.conf did not affect any of the disks. I attached a <span class="bbc">, RUN+=&quot;/bin/date &gt;&gt; /home/kalle/udev-hdparm&quot;</span> in the <span class="bbc">/lib/udev/rules.d/85-hdparm.rules</span> but it has no effect, the file is not created. Using hdparm on the command line is working without issues.</p><p>So, I think the udev rule for hdparm is not executed.<br />Is this a general problem in Ascii?<br />Or is something wrong with my installation?</p><p>How can I further debug this problem? Any Ideas?</p><p>Thanks<br />kalle</p>]]></description>
			<author><![CDATA[dummy@example.com (kalle-del-haye)]]></author>
			<pubDate>Mon, 18 Jun 2018 15:09:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=10201#p10201</guid>
		</item>
	</channel>
</rss>
