On Fri 11/Oct/2013 05:21:10 +0200 Andres Salomon wrote: 
> 
>    * Add a note to manpages about ensuring the correct kernel modules
>      are loaded when running commands (closes: #721825).

The original package (both versions) has a script MAKEDEV-cpuid-msr
that creates 32 directories /dev/cpu/$n with a pair of device nodes
each.  (It is probably worth to use something like:

   n_cpus=$(egrep '^processor' /proc/cpuinfo | wc -l)
   n=0
   while [ $n -lt $n_cpus ]; do

instead.  BTW, reading can be done using /dev/cpu/0 only, but writing
seems to require nodes for each cpu.)

IMHO, it is necessary to populate /dev/cpu like that on each boot, if
msr-tools are to be used reliably.  A note on the man page may help
users, but also annoy them with the need to devise how to set up a
proper initialization on each startup.  Shouldn't the package install
a script in /etc/init.d, with a start action similar to
MAKEDEV-cpuid-msr, to accomplish that task directly?

Ale


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to