Re: [DNG] chimaera to daedalus upgrade

2022-07-12 Thread Mark Hindley
On Tue, Jul 12, 2022 at 02:06:08PM +0100, fraser kendall wrote:
> Hello,
> 
> In the middle of a dist-upgrade and got this error:
> 
> Preparing to unpack .../nodejs_16.15.1+dfsg-1_amd64.deb ...
> Unpacking nodejs (16.15.1+dfsg-1) over (12.22.12~dfsg-1~deb11u1) ...
> dpkg: error processing archive
> /var/cache/apt/archives/nodejs_16.15.1+dfsg-1_amd64.deb (--unpack):
> trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is
> also in package libnode72:amd64 12.22.12~dfsg-1~deb11u1 
> Errors were encountered while processing:
> /var/cache/apt/archives/nodejs_16.15.1+dfsg-1_amd64.deb E: 
> 
> Sub-process /usr/bin/dpkg returned an error code (1)
> 
> reluctant to just reboot and hope.
> 
> Is this at all interesting or is is it simply artefactual?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013968

Also workaround in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013968#10

Mark
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] chimaera to daedalus upgrade

2022-07-12 Thread fraser kendall
Hello,

In the middle of a dist-upgrade and got this error:

Preparing to unpack .../nodejs_16.15.1+dfsg-1_amd64.deb ...
Unpacking nodejs (16.15.1+dfsg-1) over (12.22.12~dfsg-1~deb11u1) ...
dpkg: error processing archive
/var/cache/apt/archives/nodejs_16.15.1+dfsg-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is
also in package libnode72:amd64 12.22.12~dfsg-1~deb11u1 
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_16.15.1+dfsg-1_amd64.deb E: 

Sub-process /usr/bin/dpkg returned an error code (1)

reluctant to just reboot and hope.

Is this at all interesting or is is it simply artefactual?

best

fraser

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] udev rule to create mount point /dev/hugepages

2022-07-12 Thread aitor

Hi Adrian,

On 12/7/22 11:04, Adrian Zaugg wrote:

Hi Aitor

In der Nachricht vom Tuesday, 12 July 2022 01:20:10 CEST steht:

You can find these files in the subdirectories:

/sys/devices/system/node/node0/hugepages/hugepages-*/

The path you gave is per numa node. It is possible to set different numbers of
hugepages on each numa node. The per system information is here:

/sys/kernel/mm/hugepages/hugepages-*/nr_hugepages

(or in /proc/meminfo)


Read the paragraph "Per Node Huge Pages Attributes" in the link:

https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/mm/hugetlbpage.rst
  


saying:

[...]

  A subset of the contents of the root huge page control directory in sysfs,
  described above, will be *replicated* under each the system device of each
  NUMA node with memory in:

 /sys/devices/system/node/node[0-9]*/hugepages/

[...]

The root huge page control directory in `sysfs` is:

  /sys/kernel/mm/hugepages

For each huge page size supported by the running kernel, a subdirectory 
will exist, of the form:


  hugepages-${size}kB

And you'll find the same subdirectories replicated among the numa nodes with 
memory in:

/sys/devices/system/node/node[0-9]*/hugepages/


Cheers,

Aitor.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] IQAudIO DAC PRO (from: Lennart now working for Microsoft)

2022-07-12 Thread Dr. Nikolaus Klepp via Dng
Anno domini 2022 Tue, 12 Jul 10:35:08 +0200
 Edward Bartolo via Dng scripsit:
> [...]
>
> Regrettably, I have it running on my raspberry pi mini-computer
> because I could not find a way to let the OS recognise and use an
> IQAudIO DAC PRO hat (a sound card). If Devuan can do it, that would be
> the death knell of my installation using the blessed systemd.
>
> Thanks to all for using and supporting Devuan.
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>

systemd does no black magic to initialize your audio hat, it just loads the 
correct kernel module. Followed the steps in the manual (chapter 3) 
https://datasheets.raspberrypi.com/iqaudio/iqaudio-product-brief.pdf and see it 
it's autodetected. If not, load the module by hand.

Nik


--
Please do not email me anything that you are not comfortable also sharing with 
the NSA, CIA ...
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] udev rule to create mount point /dev/hugepages

2022-07-12 Thread Adrian Zaugg
Hi Aitor

In der Nachricht vom Tuesday, 12 July 2022 01:20:10 CEST steht:
> You can find these files in the subdirectories:
> 
> /sys/devices/system/node/node0/hugepages/hugepages-*/

The path you gave is per numa node. It is possible to set different numbers of 
hugepages on each numa node. The per system information is here:

/sys/kernel/mm/hugepages/hugepages-*/nr_hugepages

(or in /proc/meminfo)


Regards, Adrian.

signature.asc
Description: This is a digitally signed message part.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] s6

2022-07-12 Thread Adrian Zaugg

It seems here:
https://github.com/skarnet/s6

(linked by: https://skarnet.com/contact/)

Regards, Adrian.

In der Nachricht vom Saturday, 9 July 2022 16:06:13 CEST schrieb 
wirelessduck--- via Dng:
> Does anyone know where we can keep track of progress on that project? His
> website hasn’t seen any updates since the funding announcement a long time
> ago.



signature.asc
Description: This is a digitally signed message part.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Lennart now working for Microsoft

2022-07-12 Thread Edward Bartolo via Dng
Let me understand... So, this excellent coder first grabs the
opportunity offered to him by RedHat, and now, after the latter made
him rich, he is leaving  them! Please, anyone explain to me, how can
anyone extend a day beyond the usual 24 hours? Systemd is not a simple
game like the many one can find, it is literally a very complex piece
of software with many functions that hardly can be logically imagined
to be produced by the same project. This latter fact, is asking for
more systemd problems.

Regrettably, I have it running on my raspberry pi mini-computer
because I could not find a way to let the OS recognise and use an
IQAudIO DAC PRO hat (a sound card). If Devuan can do it, that would be
the death knell of my installation using the blessed systemd.

Thanks to all for using and supporting Devuan.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] missing trick for upgrading to daedalus

2022-07-12 Thread tito via Dng
On Mon, 11 Jul 2022 21:30:01 -0400
tempforever  wrote:

> crich...@blackfoot.net wrote:
> > missing trick for upgrading to daedalus I’m setting up a new box which
> > I installed Chimaera.  I also
> >
> > wanted to get that upgraded to Daedalus.  Following the regular update
> > instructions,
> >
> > when I ‘apt-get update’ I get a message about therelease file not
> > being valid for some
> >
> > amount of time into the future. When I try again, it’s yet another
> > time into the future.
> >
> > I got some other errorsabout daedalus-updates and daedalus-security,
> > so those lines
> >
> > are commented out in /etc/apt/sources.list.
> >
> >
> I just did a chimaera --> daedalus move yesterday.  Also encountered the
> errors with daedalus-updates and daedalus-security, so removed those. 
> The sole line in my sources.list is now:
> deb http://deb.devuan.org/merged daedalus main
> Sounds like you got that part worked out though.  I myself didn't get
> any error about the release file time.  I'd maybe install ntp first and
> make sure the system clock is correct (?)   Well, first first, run the
> date command to see if the day/time is correct.  If it still fails after
> ensuring date/time are right, then please post the exact error message.
Hi,
in my debian to devuan migration script I hit the same problem
and resolved it like this:

# ntpdate is deprecated in debian but still exists in
# bullseye repos so we still use it here.
# In the future we will  need to switch to
# ntpsec-ntpdate or sntp -S pool.ntp.org
# this is less ideal as they have more dependencies.
# INSTALL NTPDATE IF NEEDED
NTPDATE=$(command -v ntpdate-debian)
if test -x "$NTPDATE" ; then
echo "ntpdate-debian is already installed...good"
# Wrong date and time is one of the causes of failure of apt update
# and subsequent devuan deb packages download which breaks
# the migration process, so we ensure that date and time are set 
correctly
else
echo "Installing ntpdate-debian"
apt install ntpdate > /dev/null 2>&1
fi
echo "Setting date and time with ntpdate-debian"
ntpdate-debian pool.ntp.org
# Allow time change to propagate
sleep 5

Hope this helps.

Ciao,
Tito
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng