Re: smart fans

2021-08-23 Thread Emanuel Berg
> db(A): 14.9, 15.9 (2), 14.7 [...]
>
> Here is the HDD BTW
>
> $ sudo lshw -class disk
>   *-disk
>description: ATA Disk
>product: SAMSUNG HD204UI [...]

Here [1] it says "Acoustics – Idle 2.5/2.6 Bel, Performance
Seek 2.8/2.9 Bel"

So what does that mean, the maximum is 2.9 Bel or 0.29 dB?

if so 4/5 fans are: 14.9, 15.9 (2), 14.7 dB(A)

and the HDD is: 0.29 dB

[1] https://www.storagereview.com/review/samsung-spinpoint-f4eg-review-hd204ui

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote:

> Nice case.  :-)

Yeah, I guess :)

> The purpose of the plate at the bottom is to form
> a thermally isolated chamber for the the power supply.
> The unperforated portions of the top surface could be
> covered with sound absorbing material.

What material would that be?

And, won't it prevent the airflow and/or prevent heat from
exiting the case?

> Conspicuously absent are drive cages; but I do see drive
> case mounting screw holes. If drives are not needed, the
> mounting surface could be covered with sound
> absorbing material.

The HDD is below with the PSU, I think.

I got an idea, aren't the noise specified by the manufacturer?

Here it says "Low-noise operation of up to 14.9dB(A)",
that's for the Shadow Wings 2 140mm PWM.


The CPU fans are "Low-noise operation of up to 15.9dB(A)", the
Shadow Wings 2 120mm PWM.


And the non-PWM Shadow Wings 2 140mm is
"Low-noise operation of up to 14.7dB(A)"


So that's 4/5 fans accounted for, I have to restart the
computer to see exactly what fan the remaining is. Anyway

db(A): 14.9, 15.9 (2), 14.7

How is it with db(A), if you have x db(A) from one thing, and
you have two of these, does that mean you perceive that as
2x db(A)?

Here is the HDD BTW

$ sudo lshw -class disk
  *-disk
   description: ATA Disk
   product: SAMSUNG HD204UI
   physical id: 0.0.0
   bus info: scsi@1:0.0.0
   logical name: /dev/sda
   version: 0001
   serial: S2H7J9EB402836
   size: 1863GiB (2TB)
   capabilities: gpt-1.00 partitioned partitioned:gpt
   configuration: ansiversion=5 guid=db8df009-609b-46e9-a61a-f2f913361b17 
logicalsectorsize=512 sectorsize=512

-- 
underground experts united
https://dataswamp.org/~incal



Re: Debian 11 installer crashed and reboot

2021-08-23 Thread Chuck Zmudzinski

On 8/19/2021 3:11 PM, Andy Smith wrote:

Hi Chuck,

On Tue, Aug 17, 2021 at 08:04:43AM -0400, Chuck Zmudzinski wrote:

After some testing of the Debian 11 installer on Xen
(using the debian-11.0.0-amd64-netinst.iso), I find that
this image only supports installation into a Xen PV guest,
the guest always crashes and reboots for either a BIOS
or OVMF boot into an HVM Xen guest.

Could you report this to Debian's Xen team as a bug? Perhaps it is
as simple as needing different kernel options in the netinst
installer kernel given that the full install works under HVM?

The Debian Xen team is very under-resourced for human help and it
has been a long time since they have managed to keep the version in
stable to a recent and supported one upstream. If you run a Xen dom0
on Debian I think really you need to be building your own packages
or using the Debian Xen team's packages from sid.

The stable packaged 4.11 hypervisor is out of even security support
upstream so it's not really suitable for production use. I don't
think the Debian Xen team would recommend using it but would instead
suggest using their newer package that;s in sid (on stable) and
test/report bigs against that. But let's get this reported.

I'm not skilled enough in Debian package building to help the team
but I do still report bigs sometimes; for production use I am
building packages from newer upstream source.

For this problem I can't help as I don't run HVM guests (only PV and
PVH).

The Debian Xen team mailing list is at:
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-xen-devel

Cheers,
Andy



I just discovered this already has been reported as a bug:

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

I don't know when an official fix will come , but I have come up with
a workaround that works for me:

This fix might also work on the live ISO images that are also reported
to crash and reboot in Xen HVM domUs.

Prerequisites: xorriso and initramfs-tools packages installed

Download/copy debian-11.0.0-amd64-netinst.iso into current working 
directory:


Step 1: Mount the original iso:

mkdir CD
sudo mount -o ro -t iso9660 debian-11.0.0-amd64-netinst.iso CD

Step 2: Copy the initrd.gz file we need to modify:

cp -p CD/install.amd/initrd.gz .

Step 4: Unmount the original iso:

sudo umount CD

Step 5: As root, extract the initramfs into a working directory:

sudo unmkinitramfs initrd.gz initramfs

Step 6: As root, edit the start-udev script that causes the crash and 
reboot:


sudo vi initramfs/lib/debian-installer/start-udev

In the start-udev script change this line:

udevadm trigger --action=add

to

dmesg | grep DMI: | grep 'Xen HVM domU' || udevadm trigger --action=add

and save the file

This change should only disable the udevadm trigger in Xen HVM DomUs.

Step 7: Re-pack the initrd into a new initrd file:

cd initramfs

find . | sort | sudo cpio --reproducible --quiet -o -H newc > ../newinitrd

cd ..

gzip -v9f newinitrd

Step 8: Create the new installation ISO:

cp -p debian-11.0.0-amd64-netinst.iso debian-11.0.0-amd64-xenhvm-netinst.iso

xorriso -dev debian-11.0.0-amd64-xenhvm-netinst.iso -boot_image any keep \
-map newinitrd.gz /install.amd/initrd.gz

Optional Step 9: Clean up

sudo rm -r initramfs newinitrd.gz initrd.gz

The ISO image debian-11.0.0-amd64-xenhvm-netinst.iso can now be used to 
install
Debian bullseye in a Xen HVM Domu. On the main menu, choose the Install 
option,

not the graphical or expert options, in order to boot using the modified
initrd.gz ramdisk.

Cheers,

Chuck Zmudzinski



Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote:

>> But changing the profile (governor) doesn't produce any
>> (noticable?) sound level change and also the temperature of
>> the CPU and the GPU seem unaffected.
>
> You will not notice a change in CPU fan temperature or speed
> profiles as a function of the Linux governor setting until
> the motherboard CPU fan speed control is working and you
> change the CPU load.
>
> Here is a Perl one-liner that should peg one core:
>
> $ perl -e "1 while 1"

OK, I wrote a script [last] and here is the result

$ temp-gov
CPU C (33.50 45.75) (100 iterations) conservative
CPU C (45.88 46.38) (100 iterations) userspace
CPU C (46.38 46.75) (100 iterations) powersave
CPU C (46.75 47.00) (100 iterations) ondemand
CPU C (47.00 47.00) (100 iterations) performance
CPU C (47.00 47.25) (100 iterations) schedutil

Hm ... the result seems to be pretty much identical for the
governors anyway?

#! /bin/zsh
#
# this file:
#   https://dataswamp.org/~incal/conf/.zsh/temp

temp-gov () {
local t=100

local cpu
local cpu_min
local cpu_max

perl -e '1 while 1' &
local pid=$!
sleep 10

local i
local g
for g in $(cpufreq-info -g); do
sudo cpufreq-set -g $g
cpu_min=999
cpu_max=0
for i in {0..$t}; do
cpu=$(sensors -j | jq -a '.["k10temp-pci-00c3"].Tdie.temp1_input')
(( $cpu < $cpu_min )) && cpu_min=$cpu
(( $cpu > $cpu_max )) && cpu_max=$cpu
done
printf "CPU C (%.2f %.2f) (%d iterations) %s\n" $cpu_min $cpu_max $t $g
done

kill $pid
}

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 5:26 PM, Emanuel Berg wrote:

David Christensen wrote:


Nice case.  :-)


Yeah, I guess :)


The purpose of the plate at the bottom is to form
a thermally isolated chamber for the the power supply.
The unperforated portions of the top surface could be
covered with sound absorbing material.


What material would that be?



Whatever you choose.  For example:

https://www.quietpc.com/acousticmaterials



And, won't it prevent the airflow and/or prevent heat from
exiting the case?



Choose the material thickness accordingly.  Do not block fans or air 
openings.




Conspicuously absent are drive cages; but I do see drive
case mounting screw holes. If drives are not needed, the
mounting surface could be covered with sound
absorbing material.


The HDD is below with the PSU, I think.

I got an idea, aren't the noise specified by the manufacturer?

Here it says "Low-noise operation of up to 14.9dB(A)",
that's for the Shadow Wings 2 140mm PWM.


The CPU fans are "Low-noise operation of up to 15.9dB(A)", the
Shadow Wings 2 120mm PWM.


And the non-PWM Shadow Wings 2 140mm is
"Low-noise operation of up to 14.7dB(A)"


So that's 4/5 fans accounted for, I have to restart the
computer to see exactly what fan the remaining is. Anyway

db(A): 14.9, 15.9 (2), 14.7

How is it with db(A), if you have x db(A) from one thing, and
you have two of these, does that mean you perceive that as
2x db(A)?

Here is the HDD BTW

$ sudo lshw -class disk
   *-disk
description: ATA Disk
product: SAMSUNG HD204UI
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: 0001
serial: S2H7J9EB402836
size: 1863GiB (2TB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=db8df009-609b-46e9-a61a-f2f913361b17 
logicalsectorsize=512 sectorsize=512



On 8/23/21 5:50 PM, Emanuel Berg wrote:
>> db(A): 14.9, 15.9 (2), 14.7 [...]
>>
>> Here is the HDD BTW
>>
>> $ sudo lshw -class disk
>>*-disk
>> description: ATA Disk
>> product: SAMSUNG HD204UI [...]
>
> Here [1] it says "Acoustics – Idle 2.5/2.6 Bel, Performance
> Seek 2.8/2.9 Bel"
>
> So what does that mean, the maximum is 2.9 Bel or 0.29 dB?
>
> if so 4/5 fans are: 14.9, 15.9 (2), 14.7 dB(A)
>
> and the HDD is: 0.29 dB
>
> [1] 
https://www.storagereview.com/review/samsung-spinpoint-f4eg-review-hd204ui



https://en.wikipedia.org/wiki/Bel_(unit)


Doubling the sound energy adds 3 db.  So, the two loudest fans are 
around 19 dB.



The HDD is 2.9 Bel = 29 dB.


Beyond the fan acoustic noise, there is HDD vibration.  If you mount a 
HDD directly to a piece of sheet metal, the sheet metal will act like a 
sounding board and convert the HDD vibrations into sound.  My Antec 
Sonata chassis has silicon grommets and shoulder screws for mounting 
each HDD into its sled.  This design effectively decouples HDD 
vibrations from the rest of the case.  If you could implement the same 
idea for your HDD or for the drive cage, that would be good. 
Alternatively, you could put vibration dampers between bolted 
connections and/or damp the chassis vibrations.  Applying sound 
absorbing pads to the inside of the case should address both sound and 
vibration.



David



Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 5:05 PM, Emanuel Berg wrote:

David Christensen wrote:


But changing the profile (governor) doesn't produce any
(noticable?) sound level change and also the temperature of
the CPU and the GPU seem unaffected.


You will not notice a change in CPU fan temperature or speed
profiles as a function of the Linux governor setting until
the motherboard CPU fan speed control is working and you
change the CPU load.

Here is a Perl one-liner that should peg one core:

$ perl -e "1 while 1"


OK, I wrote a script [last] and here is the result

$ temp-gov
CPU C (33.50 45.75) (100 iterations) conservative
CPU C (45.88 46.38) (100 iterations) userspace
CPU C (46.38 46.75) (100 iterations) powersave
CPU C (46.75 47.00) (100 iterations) ondemand
CPU C (47.00 47.00) (100 iterations) performance
CPU C (47.00 47.25) (100 iterations) schedutil

Hm ... the result seems to be pretty much identical for the
governors anyway?

#! /bin/zsh
#
# this file:
#   https://dataswamp.org/~incal/conf/.zsh/temp

temp-gov () {
 local t=100

 local cpu
 local cpu_min
 local cpu_max

 perl -e '1 while 1' &
 local pid=$!
 sleep 10

 local i
 local g
 for g in $(cpufreq-info -g); do
 sudo cpufreq-set -g $g
 cpu_min=999
 cpu_max=0
 for i in {0..$t}; do
 cpu=$(sensors -j | jq -a '.["k10temp-pci-00c3"].Tdie.temp1_input')
 (( $cpu < $cpu_min )) && cpu_min=$cpu
 (( $cpu > $cpu_max )) && cpu_max=$cpu
 done
 printf "CPU C (%.2f %.2f) (%d iterations) %s\n" $cpu_min $cpu_max $t $g
 done

 kill $pid
}



For a CPU with N cores (N=4 for an AMD Ryzen 3 3200G?) and an otherwise 
unloaded system, your test procedure should be something like:


   loop over governor choices
 set governor
  loop 3 times
sleep 60 seconds
print statistics
  endloop
 loop from 1 to N
   start background process
   loop 10 times
 sleep 6 seconds
 print statistics
   endloop
 endloop
 kill all background processes
   endloop


"print statistics" should include time, governor setting, number of 
background processes running, and CPU temperature.  If would be nice to 
also include system loading percent, CPU frequency, and CPU fan speed.



David



Re: smart fans

2021-08-23 Thread Emanuel Berg
Thomas Schmitt wrote:

> If nothing else helps to find the culprit, then consider to
> unplug all case fans to prove that it's not them. A bit more
> adventurous is to run the CPU without fan for a few seconds.

Maybe there is an adaptor so one can run them from an USB
charger or something ...

> (I assume from your fan list that it is a larger box where
> such manipulations are feasible.)

Yeah, here it how it once looked, I've repositioned the
projector since then and done some other stuff but in general
it should be the same:

  https://dataswamp.org/~incal/ebchw/fan-top.jpg

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread Emanuel Berg
With the 'powersave' governor and all 5 fans "Silent", the CPU
temperature, for random/normal computer use, is in
(33.25 51.125) and ditto GPU (40 42), and with the
'performance' governor it is ... exactly the same.

https://dataswamp.org/~incal/conf/.zsh/misc-hw

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 3:42 PM, David Christensen wrote:

On 8/23/21 2:25 PM, Thomas Schmitt wrote:

Hi,

Emanuel Berg photographed:

https://dataswamp.org/~incal/ebchw/fan-top.jpg


Conspicuously absent are drive cages; but I do see drive case mounting 
screw holes.  If drives are not needed, the mounting surface could be 
covered with sound absorbing material.



https://dataswamp.org/~incal/ebchw/COMPUTER

https://www.corsair.com/us/en/Categories/Products/Cases/Carbide-Series-275R-Mid-Tower-Gaming-Case/p/CC-9011131-WW#tab-downloads

The drive cage is in the lower compartment, in front of the power 
supply.  I am unsure if additional cages can be mounted (?).



The inside of the chassis covers (left side and right side) could be 
covered with sound absorbing material.



The chassis left side is a windowed side panel.  Covering that with 
sound absorbing material could be done, but would block the view.



David



Re: smart fans

2021-08-23 Thread Emanuel Berg
tomas wrote:

> I say "back then" above, but there seem to be design
> parameters which still favour brushes. My reasonably recent
> power drill still has brushes.

The 18V cordless power tools from Ryobi that I like come in
several versions each and the most expensive ones are
brushless, often.

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote:

> Changing settings and making measurements at idle is
> a starting point. You should also put the machine under load
> and make measurements.

Yes, but I know already that even with all fans (2*CPU cooling
tower, 3*case) at "Silent" and with the powersave governor it
still - if indeed anything changed - it still makes to much
noise so I still hibernate the computer when I don't use it.

The GPU fan looks so small it can't make a lot of noise one
would think, and the fans for the power supply/the HDD are
inside a little box even inside the computer case (don't know
if it has a name?) but if they are really noisy I guess it
could happen?

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote:

> If you take the option for let say "performance" then it
> will be at max speed so the system is the coolest possible
> all the time.

But changing the profile (governor) doesn't produce any
(noticable?) sound level change and also the temperature of
the CPU and the GPU seem unaffected.

Heh, I have an infrared thermometer, is there some other part
of the computer I should aim for? ;)

No, that command sets the CPU so there is where the change
should be noticable, right?

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 2:25 PM, Thomas Schmitt wrote:

Hi,

Emanuel Berg photographed:

https://dataswamp.org/~incal/ebchw/fan-top.jpg


The case fans look like they would produce a lot of wind if really
running at full speed. Whatever, i'd make a closer photo, unplug them,
listen how much noise is missing, and then plug them in again guided by
the photo.

That perforated metal plate at the bottom looks suspicious.
Power supply and hard disk cage, if i remember correctly ?
How is the noise if you unplug the power of the whole mainboard ?


Have a nice day :)

Thomas



Nice case.  :-)


The purpose of the plate at the bottom is to form a thermally isolated 
chamber for the the power supply.  The unperforated portions of the top 
surface could be covered with sound absorbing material.



Conspicuously absent are drive cages; but I do see drive case mounting 
screw holes.  If drives are not needed, the mounting surface could be 
covered with sound absorbing material.



The front cover over the fans will help contain noise; especially if it 
is lined with sound absorbing material.



The unused expansion slot filler plates could be covered with sound 
absorbing material.



The underside of the chassis top could be covered with sound absorbing 
material.



The inside of the chassis covers (left side and right side) could be 
covered with sound absorbing material.



Sound absorbing material could be placed outside and to the rear of the 
chassis.



David



Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote:

> - Set the Linux CPU governor to "powersave".

Nothing happens when I do that.

> Try the QFan "Silent" profile

Same.

> What about GPU fan(s)? Power supply fan(s)?
> What about HDD's?

Yeah, I thought about that. I listened to the fan I had
outside of the computer, put my ear right next to it.
My impression was I didn't hear anything. So maybe it isn't
the case fans or the CPU cooling tower fans that make the
sound anyway!

-- 
underground experts united
https://dataswamp.org/~incal



Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 1:44 PM, Thomas Schmitt wrote:

Hi,

Emanuel Berg wrote:

[...] maybe it isn't
the case fans or the CPU cooling tower fans that make the
sound anyway!


If nothing else helps to find the culprit, then consider to unplug all
case fans to prove that it's not them.
A bit more adventurous is to run the CPU without fan for a few seconds.

(I assume from your fan list that it is a larger box where such
manipulations are feasible.)


Have a nice day :)

Thomas



Unplugging the chassis fans would make it easier to focus on the CPU 
fans, but all the fans should be operating with the chassis closed 
before applying any significant load.  (Or, at least the CPU fans, an 
open chassis, and a good floor fan.)



With my Intel motherboards, if I power up and the CPU fan is unplugged 
or not rotating (e.g. blocked by wires), the firmware will detect this 
during POST and halt the CPU.



David



Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 12:36 PM, to...@tuxteam.de wrote:

On Mon, Aug 23, 2021 at 12:20:34PM -0700, David Christensen wrote:

[...]


Thank you.  Do you know where there is information that explains how
a BLDC computer fan motor responds to variable supply voltage?


Not specifically for computer fans, and the controller electronics
(which is a must for a BLDC) has to be somewhat prepared to do this,
but here [1] is a blog post which gives a rough idea of the things
involved.

BLDCs are a huge thing in drones and things.

Cheers

[1] 
https://things-in-motion.blogspot.com/2019/05/understanding-bldc-pmsm-electric-motors.html

  - t



Thank you.  :-)


David



Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 11:41 AM, Emanuel Berg wrote:

David Christensen wrote:


- Set the Linux CPU governor to "powersave".


Nothing happens when I do that.


Try the QFan "Silent" profile


Same.


What about GPU fan(s)? Power supply fan(s)?
What about HDD's?


Yeah, I thought about that. I listened to the fan I had
outside of the computer, put my ear right next to it.
My impression was I didn't hear anything. So maybe it isn't
the case fans or the CPU cooling tower fans that make the
sound anyway!



Use a piece of tubing as a stethoscope to isolate and identify the noise 
source(s).



On 8/23/21 11:46 AM, Emanuel Berg wrote:
> Polyna-Maude Racicot-Summerside wrote:
>
>> If you take the option for let say "performance" then it
>> will be at max speed so the system is the coolest possible
>> all the time.
>
> But changing the profile (governor) doesn't produce any
> (noticable?) sound level change and also the temperature of
> the CPU and the GPU seem unaffected.


You will not notice a change in CPU fan temperature or speed profiles as 
a function of the Linux governor setting until the motherboard CPU fan 
speed control is working and you change the CPU load.



Here is a Perl one-liner that should peg one core:

$ perl -e "1 while 1"


Press Ctrl+C to stop it.  Open multiple terminals an invoke the same to 
peg more cores.



> Heh, I have an infrared thermometer, is there some other part
> of the computer I should aim for? ;)


Whatever interests you -- chipset, voltage regulators, memory modules, 
etc..  Because the instrument is hand-held, the challenge will be 
measuring the same spot at the same distance and same angle every time.



> No, that command sets the CPU so there is where the change
> should be noticable, right?


Changing the Linux CPU governor should affect the CPU frequency profile 
as a function of CPU load.  I use the Xfce panel applet "CPU Frequency 
Monitor" to monitor the CPU frequency and the "CPU Graph" applet to 
monitor loading of each core.



On 8/23/21 11:54 AM, Emanuel Berg wrote:
> David Christensen wrote:
>
>> Changing settings and making measurements at idle is
>> a starting point. You should also put the machine under load
>> and make measurements.
>
> Yes, but I know already that even with all fans (2*CPU cooling
> tower, 3*case) at "Silent" and with the powersave governor it
> still - if indeed anything changed - it still makes to much
> noise so I still hibernate the computer when I don't use it.
>
> The GPU fan looks so small it can't make a lot of noise one
> would think, and the fans for the power supply/the HDD are
> inside a little box even inside the computer case (don't know
> if it has a name?) but if they are really noisy I guess it
> could happen?


On my Intel desktop and server motherboards, CPU fan speed control only 
works with Intel CPU fans.  Aftermarket fans run at full speed all the 
time.  Try your AMD CPU fan.



Get a 3-pin and/or 4-pin fan speed controller and test the fans:

https://www.amazon.com/Zalman-Fan-Speed-Controller-FANMATE-2/dp/B000292DO0/

https://www.amazon.com/Noctua-NA-FC1-4-pin-PWM-Controller/dp/B072M2HKSN/


While STFW, I found a what might be a replacement for your external fan:

https://www.amazon.com/Wathai-Controller-Receiver-Playstation-Component/dp/B07VYGQPCZ/


The video card and power supply fans should have automatic fan speed 
control.  The video card manufacturer might offer a firmware or software 
utility for tuning the fan speed control profile.  A gamer power supply 
might have such a feature.  That said, I expect the factor defaults 
should be good enough for now.  I would leave them alone, unless you 
definitely hear too much noise coming from one or both.



Small fans at high RPM can be very shrill -- e.g. the spectra has a lot 
of high frequency energy.  I use 3.5" HDD mobile racks with two 30mm 
fans each (StarTech DRW115SAT).  When I install four in a computer, it 
sounds like a B-52!



David



[marathon.duran...@gmail.com: Libinput Error]

2021-08-23 Thread SDA
Resending, didn't make it to the list for some reason.

- Forwarded message from SDA  -

Date: Sat, 21 Aug 2021 13:38:12 -0400
From: SDA 
Subject: Libinput Error
To: debian-user@lists.debian.org

Hi,
I've been getting the following messages in the journal-log even before
I installed Debian 11. Could someone help decipher them for me? I have
each device plugged into USB v 3.x USB buses as that's all my
motherboard supports.
Is the message saying that the device's are too slow being that they're
probably USB v2? It doesn't make sense that an AMD Ryzen CPU with 32 Gb
of ram would be too slow for any USB socket.
===
Aug 21 13:23:13 home gnome-shell[2096]: libinput error: event2  - dakai 
PS/2+USB Keyboard: client bug: event processing lagging
+behind by 36ms, your system is too slow
Aug 21 13:23:13 home gnome-shell[2096]: libinput error: event2  - dakai 
PS/2+USB Keyboard: WARNING: log rate limit exceeded (5
+msgs per 60min). Discarding future messages.


- End forwarded message -



Re: smart fans

2021-08-23 Thread Thomas Schmitt
Hi,

Emanuel Berg photographed:
> https://dataswamp.org/~incal/ebchw/fan-top.jpg

The case fans look like they would produce a lot of wind if really
running at full speed. Whatever, i'd make a closer photo, unplug them,
listen how much noise is missing, and then plug them in again guided by
the photo.

That perforated metal plate at the bottom looks suspicious.
Power supply and hard disk cage, if i remember correctly ?
How is the noise if you unplug the power of the whole mainboard ?


Have a nice day :)

Thomas



Re: smart fans

2021-08-23 Thread Thomas Schmitt
Hi,

Emanuel Berg wrote:
> [...] maybe it isn't
> the case fans or the CPU cooling tower fans that make the
> sound anyway!

If nothing else helps to find the culprit, then consider to unplug all
case fans to prove that it's not them.
A bit more adventurous is to run the CPU without fan for a few seconds.

(I assume from your fan list that it is a larger box where such
manipulations are feasible.)


Have a nice day :)

Thomas



Re: smart fans

2021-08-23 Thread tomas
On Mon, Aug 23, 2021 at 12:20:34PM -0700, David Christensen wrote:

[...]

> Thank you.  Do you know where there is information that explains how
> a BLDC computer fan motor responds to variable supply voltage?

Not specifically for computer fans, and the controller electronics
(which is a must for a BLDC) has to be somewhat prepared to do this,
but here [1] is a blog post which gives a rough idea of the things
involved.

BLDCs are a huge thing in drones and things.

Cheers

[1] 
https://things-in-motion.blogspot.com/2019/05/understanding-bldc-pmsm-electric-motors.html

 - t


signature.asc
Description: Digital signature


Re: smart fans

2021-08-23 Thread David Christensen

On 8/23/21 1:03 AM, to...@tuxteam.de wrote:

On Sun, Aug 22, 2021 at 02:02:45PM -0700, David Christensen wrote:

[...]


What is "BLDC"?


Brushless (electric) DC motor [1]. Back Then (TM ;-), to turn an
electric motor around you had to switch around the magnetic field
in the coils at (about) the right time. This was accomplished by
sliding contacts (aka "brushes") on a sectioned cylinder.

These days you use silicon magic (aka electronics to accomplish
the same thing.

I say "back then" above, but there seem to be design parameters
which still favour brushes. My reasonably recent power drill
still has brushes.

Cheers

[1] https://en.wikipedia.org/wiki/BLDC

  - t



Thank you.  Do you know where there is information that explains how a 
BLDC computer fan motor responds to variable supply voltage?



David



Re: smart fans

2021-08-23 Thread tomas
On Mon, Aug 23, 2021 at 08:57:09PM +0200, Emanuel Berg wrote:
> tomas wrote:
> 
> > [...] My reasonably recent power drill still has brushes.
> 
> The 18V cordless power tools from Ryobi that I like come in
> several versions each and the most expensive ones are
> brushless, often.

My power tools all have cords :)

Cheers
 - t


signature.asc
Description: Digital signature


Re: Debian 11 installer crashed and reboot

2021-08-23 Thread Chuck Zmudzinski

On 8/21/2021 7:06 PM, Chuck Zmudzinski wrote:

On 8/21/2021 5:52 AM, Thomas Schmitt wrote:

Hi,

there might be an easier way (still depending on whether such simple
file replacements are tolerated by the booting system):

   # Choose the desired new files
new_kernel=...path.to.desired.new.kernel.in.some.mounted.filesystem...
new_initrd=...path.to.desired.new.initrd.in.some.mounted.filesystem...

   # Choose the files in the ISO to be replaced by the new files.
   # The ISO needs not to be mounted. (Better it should not be mounted.)
   # Naively, i assume that it's about these two:
   old_kernel=/install.amd/xen/vmlinuz
   old_initrd=/install.amd/xen/initrd.gz

   # Copy netinst ISO to playground ISO
   cp debian-11.0.0-amd64-netinst.iso test.iso

   # Use xorriso multi-session to override the undesired files
   xorriso -dev test.iso \
   -boot_image any keep \
   -map "$new_kernel" "$old_kernel" \
   -map "$new_initrd" "$old_initrd"

This will result in a quite short run of xorriso, which will report
something like

   ISO image produced: 8108 sectors
   Written to medium : 8288 sectors at LBA 193024
   Writing to 'test.iso' completed successfully.

(The numbers 8108 and 8288 are result of the sizes of the two dummy 
files

which i used as $new_kernel #and new_initrd. Yours will be substantially
larger due to the typical size of an initrd.)

Inspection of the boot equipment of test.iso shows no differences,
except the new storage position of the El Torito boot catalog and the
enlarged ISO image size.

When mounted by Linux, the paths
   /mnt/iso/install.amd/xen/vmlinuz
   /mnt/iso/install.amd/xen/initrd.gz
lead to the content of $new_kernel and $new_initrd.

Then it depends on the inner doings of boot loader and starting system,
whether this perky change is tolerated.


Have a nice day :)

Thomas



Hi Thomas,

Thank you for these tips. I will use them to try to get a bullseye
Debian installer ISO working in a Xen HVM DomU next week
when I have some spare time and post the results here.

All the best,

Chuck



This approach (using xorriso with -dev, -boot_image, and -map options)
works to change the kernel and ramdisk on the ISO, and the new
ISO does boot into a Xen HVM without crashing and rebooting, but I
still have not succeeded in getiing the ramdisk configured correctly to
boot the Debian installer. Using the ramdisk of a full install on the
ISO causes init to drop to an initramfs shell because that ramdisk
is not configured to start the Debian installer but instead expects a
root filesystem to be passed to it on the linux kernel command line.

I expect it is possible to create a ramdisk that will successfully boot
the Debian installer in a Xen HVM. I think some components from
the ramdisk of a full install are needed to prevent the crash and
reboot, and it is a matter of identifying what components from
the ramdisk of a full install are needed. I would suspect some
kernel module that a Xen HVM needs is missing from the ramdisks
on the installation ISO.

I will continue to work on it this week in my spare time.

Cheers,

Chuck



Re: how to change debian installation mirror list?

2021-08-23 Thread Thomas Schmitt
Hi,

Fred 1 wrote:
> hope I can change it and rebuild the netinstall ISO with jigdo maybe ?

Jigdo is not suitable for making changes to the ISO which it reconstructs.
(It is rather suitable for reducing the download effort with ISOs which
are slightly changed towards an ISO which you already have.
See the question "Files to scan:" of program jigdo-lite.)

If you have files which you want to add to the ISO or if you want to
replace existing files of the ISO, then maybe
  https://lists.debian.org/debian-user/2021/08/msg01170.html
is of help, where i propose how to override a kernel and an initrd in the
ISO.
As mentioned in that post, there is the possibility that checksum lists
or certficates let the booting system detect that existing files were
altered. Your mileage may vary.


Have a nice day :)

Thomas



Re: how to change debian installation mirror list?

2021-08-23 Thread Linux-Fan

Fred 1 writes:

I would like to know where the installation pulls the  list of Debian  
mirrors.


hope I can change it and rebuild the netinstall ISO with jigdo maybe ?

It would be nice if I could manually add a custom one during install, but I  
didn't see such option, strictly just pick from the list


I can only answer the last of your questions: If you want to add a custom  
mirror during the install, go to the top of the menu and choose
"enter information manually". The installer will then ask you for the host  
name, path and proxy information of your custom mirror.


Scroll near the end of
https://masysma.lima-city.de/37/debian_i386_installation_reports_att/m6-d11a3-i386-netinst.xhtml
for screenshots of the respective dialogs. It is from an an alpha release of  
the installer but the dialogs should not differ too much from the final one.


HTH
Linux-Fan

öö

[...]


pgpuHOOoPciDc.pgp
Description: PGP signature


Re: how to change debian installation mirror list?

2021-08-23 Thread Fred 1



On 24/08/2021 02:00, Dan Ritter wrote:

Fred 1 wrote:

I would like to know where the installation pulls the  list of Debian
mirrors.

hope I can change it and rebuild the netinstall ISO with jigdo maybe ?

It would be nice if I could manually add a custom one during install, but I
didn't see such option, strictly just pick from the list

You can do it in an expert install, or you can pause the install
and edit /etc/apt/sources.list, or you could use FAI, or you
could intercept DNS queries, or ...

What is the actual problem you are trying to solve? The best
answer might not have occurred to you.

Read https://xyproblem.info/


-dsr-


Thanks, I tried the textual install, so yes the first option to manual 
add the debian mirror,


must have missed it in the graphical install.

Anyway, as for changing the list, I suspect unlikely the list comes from 
sources.list,


surely the installation will WRITE the sources.list based on your selection.

Thanks




Re: how to change debian installation mirror list?

2021-08-23 Thread Dan Ritter
Fred 1 wrote: 
> I would like to know where the installation pulls the  list of Debian
> mirrors.
> 
> hope I can change it and rebuild the netinstall ISO with jigdo maybe ?
> 
> It would be nice if I could manually add a custom one during install, but I
> didn't see such option, strictly just pick from the list

You can do it in an expert install, or you can pause the install
and edit /etc/apt/sources.list, or you could use FAI, or you
could intercept DNS queries, or ...

What is the actual problem you are trying to solve? The best
answer might not have occurred to you.

Read https://xyproblem.info/


-dsr-



Re: how to change debian installation mirror list?

2021-08-23 Thread Brian
On Tue 24 Aug 2021 at 01:36:41 +1000, Fred 1 wrote:

> I would like to know where the installation pulls the  list of Debian
> mirrors.
> 
> hope I can change it and rebuild the netinstall ISO with jigdo maybe ?
> 
> It would be nice if I could manually add a custom one during install, but I
> didn't see such option, strictly just pick from the list

It is likely that a mirror of your choice can be preseeded:

  d-i mirror/http/hostname string http.us.debian.org

-- 
Brian.



Re: how to change debian installation mirror list?

2021-08-23 Thread Hans
Am Montag, 23. August 2021, 17:36:41 CEST schrieb Fred 1:
Hi,

you do not need to reinstall. You will find a list of debian mirrors on the 
website of debian.

Then you can entry or edit the mirror in the file /etc/apt/sources.list. You 
can also use deb.debian.org as debian repo in this file. Doing so, it will try 
to find the nearest mirror in your place automatically.

For more information take a look into the documentations.

Have fun!

Best

Hans
> I would like to know where the installation pulls the  list of Debian
> mirrors.
> 
> hope I can change it and rebuild the netinstall ISO with jigdo maybe ?
> 
> It would be nice if I could manually add a custom one during install,
> but I didn't see such option, strictly just pick from the list
> 
> Thanks



signature.asc
Description: This is a digitally signed message part.


how to change debian installation mirror list?

2021-08-23 Thread Fred 1
I would like to know where the installation pulls the  list of Debian 
mirrors.


hope I can change it and rebuild the netinstall ISO with jigdo maybe ?

It would be nice if I could manually add a custom one during install, 
but I didn't see such option, strictly just pick from the list


Thanks




Re: multiples problèmes avec proftpd depuis upgrade bullseye sur serveur :-(

2021-08-23 Thread Jean-François Bachelet

Hello Charles ^^)


Le 22/08/2021 à 18:24, Charles DAVID a écrit :

Salut,

Tu as regardé si le module mod_tls était activé dans 
/etc/proftpd/modules.conf ?


zieuté et effectivement la conf à changé entre les deux versions et 
maintenant le module tls est désactivé par défaut.


donc activé et là ça remarche comme sous buster !

ouais !


je n'avais pas pensé à ça vu que ça fonctionnait tout seul avant. Merci 
de m'y avoir fait penser ^^)





Tu peux lister les modules avec :

$ proftpd --list


effectivement il n'y était pas listé et c'est toujours le cas puisque 
cette commande liste uniquement les modules qui sont compilés intégrés 
dans le programme ;)



Tu peux aussi lancer proftpd en mode debug pour avoir plus 
d'informations :


$ proftpd --nodaemon --debug 10

Pour valider la syntaxe de la configuration :

$ proftpd --configtest


# proftpd --configtest
Checking syntax of configuration file
2021-08-23 15:57:07,458 discovery proftpd[6703]: mod_tls/2.9: 
NoCertRequest TLSOption is deprecated

Syntax check complete.


haha ! y encore un truc, NoCertRequest est déprécié, il temps de partir 
à la chasse ^^)



--Big Snip--


Mercitouplin Charles, tu es efficace ^^)


Jeff




Re: Bullseye sddm autologin

2021-08-23 Thread Camaleón
El 2021-08-23 a las 10:36 -0300, Debian escribió:

> En dos sistemas distintos, la actualización de buster a bullseye se ha
> cargado el inicio automático (auto login) de sddm en la sesión del usuario
> predefinido.
> 
> La configuración de /etc/sddm.conf sgue siendo la que funcionaba con buster:
> 
> [Autologin]
> # Whether sddm should automatically log back into sessions when they exit
> Relogin=false
> 
> # Name of session file for autologin session (if empty try last logged in)
> Session=javier
> 
> # Username for autologin session
> User=javier
> 
> 
> Bullseye es demasiado nuevo, y no encuentro informes similares en la web.

Quizá te sirvan estos dos informes de fallo:

live-config autologin not working for KDE Plasma (fix included)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990391

sddm: No login prompt on tty1
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953328

Saludos,

-- 
Camaleón 



Bullseye sddm autologin

2021-08-23 Thread Debian

Buen día.

En dos sistemas distintos, la actualización de buster a bullseye se ha 
cargado el inicio automático (auto login) de sddm en la sesión del 
usuario predefinido.


La configuración de /etc/sddm.conf sgue siendo la que funcionaba con buster:

[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false

# Name of session file for autologin session (if empty try last logged in)
Session=javier

# Username for autologin session
User=javier


Bullseye es demasiado nuevo, y no encuentro informes similares en la web.

Gracias.

JAP



Bullseye sddm autologin

2021-08-23 Thread Debian

Buen día.

En dos sistemas distintos, la actualización de buster a bullseye se ha 
cargado el inicio automático (auto login) de sddm en la sesión del 
usuario predefinido.


La configuración de /etc/sddm.conf sgue siendo la que funcionaba con buster:

[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false

# Name of session file for autologin session (if empty try last logged in)
Session=javier

# Username for autologin session
User=javier


Bullseye es demasiado nuevo, y no encuentro informes similares en la web.

Gracias.

JAP



Re: Sid: Korean input

2021-08-23 Thread 황병희
didier gaumet  writes:

> Hello,
>
> Disclaimer: I have never done this for korean but I have done it for
> chinese (I am only able to type "sun" in chinese in order to verify it
> is functional)
>
> I would not bother with under-the-hood manipulations: install the task-
> korean and task-korean-desktop packages. this will take care of needed
> fonts, input methods and all. 
>
> This will not convert the user environment to korean but instead bring
> him the possibility to display and type korean inside his english
> environment.
>
> Then your user will be able by himself to click on an applet or a menu
> option (both are present, I think) to set up how he wants to input
> korean.
>
> Feel free to disagree but I would advise you against installing Sid
> rather than Bullseye for a user who is asking you to setup his korean
> environment, though: if he is not able to do this, how could he
> administer his computer? 

Thanks for good guidence! Also i need above your guide, thanks again!

Sincerely, Byung-Hee from South Korea

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//



Re: Sid: Korean input

2021-08-23 Thread didier gaumet


Hello,

Disclaimer: I have never done this for korean but I have done it for
chinese (I am only able to type "sun" in chinese in order to verify it
is functional)

I would not bother with under-the-hood manipulations: install the task-
korean and task-korean-desktop packages. this will take care of needed
fonts, input methods and all. 

This will not convert the user environment to korean but instead bring
him the possibility to display and type korean inside his english
environment.

Then your user will be able by himself to click on an applet or a menu
option (both are present, I think) to set up how he wants to input
korean.

Feel free to disagree but I would advise you against installing Sid
rather than Bullseye for a user who is asking you to setup his korean
environment, though: if he is not able to do this, how could he
administer his computer? 




Re: nvme SSD and poor performance

2021-08-23 Thread piorunz

On 23/08/2021 13:09, Alexander V. Makartsev wrote:

If you don't have a NVMe-capable Windows PC at hand, you can download an
evaluation version of Windows 10 from Microsoft¹ and install it on
separate storage device, just to update SSD firmware.
Fill the form with gibberish. Microsoft Product Key or Activation are
not required. Evaluation copy will work for 90 days.


It can be even easier:

Download Windows 10 ISO from here
https://www.microsoft.com/en-gb/software-download/windows10iso

put on USB stick, do 10 minutes install, do you thing and nuke it. No
need to register anything. Do it while internet is disconnected, if will
install even faster.

--

With kindest regards, piorunz.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: Sid: Korean input

2021-08-23 Thread 황병희
Hellow!

Grzesiek  writes:

> Hi there,
>
> I was asked to install Korean input on XFCE4 environment. I have never
> done this before and I do not speak Korean.
>
> First question is if it is possible to get Korean input using standard
> US keyboard?
>
> I tried to follow this manual:
> https://linuxreviews.org/HOWTO_get_Korean_input_on_Debian
> Unfortunately, no luck. I added the following to .bashrc:
> export GTK_IM_MODULE=ibus
> export QT_IM_MODULE=ibus
> export XMODIFIERS=@im=ibus
> but ibus-setup still asks to add these variables. ibus-daemon is not
> started automatically. So:
>
> Is there any more detailed how-to? It would be perfect to have
> switchable English and Korean input.
>
> How to test? Remember I do not speak Korean and I have never used
> Korean input.
>

Sorry man Greg. There is no general way. Because there are many linux
distro and many input method program for Korean.

To me, i am using Nabi under Ubuntu 18.04 LTS currently.

Though, you would be wait for 30 days. Maybe i am willing to install
Debian 11 *Bullseye* into my new hardware (AMD Ryzen notebook).

Sincerely, Byung-Hee from South Korea

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//



Re: nvme SSD and poor performance

2021-08-23 Thread Alexander V. Makartsev

On 23.08.2021 13:46, Pierre Willaime wrote:

Le 20/08/2021 à 19:45, Alexander V. Makartsev a écrit :

That looks abnormal to me. Have you tried to update SSD firmware¹ and 
BIOS for your Dell PC?


[1] 
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=0n4c4

Thanks all again for your precious answers.

I will try first to update Bios and SSD firmwares.

For the ssd, instructions (see link below) are for windows only.

Is there a way to update dell ssd firmware without taking the ssd out 
and plug it in into a windows machine?


In this particular case, I don't thinks so, because it looks like SSD 
firmware and flasher are fused together into a single PE file and I 
don't think WINE will be able to handle it properly.
There is a possibility that extracted "23201112_WIN.EXE" file will work 
under WinPE / WinRE environments booted from a USB flash drive, but I 
wouldn't count on it.


If you don't have a NVMe-capable Windows PC at hand, you can download an 
evaluation version of Windows 10 from Microsoft¹ and install it on 
separate storage device, just to update SSD firmware.
Fill the form with gibberish. Microsoft Product Key or Activation are 
not required. Evaluation copy will work for 90 days.



[1] 
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise


--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Audio device got stuck!

2021-08-23 Thread The Wanderer
I just dist-upgraded against testing, and after the upgrade, MPlayer
started to report

> Audio device got stuck!

over and over again (about once or twice a second, I think) during
playback of any file with audio, while not actually producing any
audible sound.

The solution to this turns out to be to kill (and, thus, implicitly
restart) the user-specific PulseAudio daemon:

$ pulseaudio --kill

With that done, MPlayer works fine again. (What I found in searching the
Web for the solution seems to indicate that other audio-using programs
would have had the same problem.)


What puzzles me is that none of the packages I saw listed for the
upgrade which triggered this seem related to PulseAudio, either directly
or in any obvious indirect way.

I'd like to figure out which package(s) were involved, so I can know
what packages I may need to do this again for future upgrades of.
However, I'm not managing to think of any reasonable way to identify
them.

Can anyone suggest a reasonable way to identify the full stack of
packages which pulseaudio (or, for that matter, any designated package)
depends on, either directly or indirectly?

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Sid: Korean input

2021-08-23 Thread Grzesiek

Hi there,

I was asked to install Korean input on XFCE4 environment. I have never 
done this before and I do not speak Korean.


First question is if it is possible to get Korean input using standard 
US keyboard?


I tried to follow this manual:
https://linuxreviews.org/HOWTO_get_Korean_input_on_Debian
Unfortunately, no luck. I added the following to .bashrc:
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
but ibus-setup still asks to add these variables. ibus-daemon is not 
started automatically. So:


Is there any more detailed how-to? It would be perfect to have 
switchable English and Korean input.


How to test? Remember I do not speak Korean and I have never used Korean 
input.


--

Thanks for any help in advance

Greg



Re: mouse pointer in changes unwanted

2021-08-23 Thread sp...@caiway.net
On Sun, 22 Aug 2021 17:15:33 -0600
Charles Curley  wrote:

> On Sun, 22 Aug 2021 23:45:07 +0200
> "sp...@caiway.net"  wrote:
> 
> > I use sddm as display manager, when this is started I get my chosen
> > big green cursor but when I log in it changes to a small red
> > mouse pointer
> > 
> > When I start blackbox, the green one also changes to the red
> 
> You didn't say what desktop environment you are using, e.g. XFCE,
> Gnome, Cinnamon.
> 

It happens in fluxbox as well as in blackbox.



Cannot start unprivileged container without root mapping

2021-08-23 Thread pk
Hello, starting this container on a stock Debian 11 Bullseye errors out.
It seems to me it should be supported, from this comment and thread:
.
However, changing the config to match that POC gives the same error.
What's missing? Should I ask upstream?


$ cat > test_config <

Re: nvme SSD and poor performance

2021-08-23 Thread Pierre Willaime

Le 20/08/2021 à 19:45, Alexander V. Makartsev a écrit :

That looks abnormal to me. Have you tried to update SSD firmware¹ and 
BIOS for your Dell PC?


[1] 
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=0n4c4

Thanks all again for your precious answers.

I will try first to update Bios and SSD firmwares.

For the ssd, instructions (see link below) are for windows only.

Is there a way to update dell ssd firmware without taking the ssd out 
and plug it in into a windows machine?




Re: smart fans

2021-08-23 Thread tomas
On Sun, Aug 22, 2021 at 02:02:45PM -0700, David Christensen wrote:

[...]

> What is "BLDC"?

Brushless (electric) DC motor [1]. Back Then (TM ;-), to turn an
electric motor around you had to switch around the magnetic field
in the coils at (about) the right time. This was accomplished by
sliding contacts (aka "brushes") on a sectioned cylinder.

These days you use silicon magic (aka electronics to accomplish
the same thing.

I say "back then" above, but there seem to be design parameters
which still favour brushes. My reasonably recent power drill
still has brushes.

Cheers

[1] https://en.wikipedia.org/wiki/BLDC

 - t


signature.asc
Description: Digital signature


Re: smart fans

2021-08-23 Thread didier gaumet



Le dimanche 22 août 2021 à 23:26 +0200, Emanuel Berg a écrit :
> 
> Yeah, or replace the 3-pins with 4-pins?
[...]

If you already have 4-pins fans available or are willing to invest in
buying them, it would probably be the best solution

Good luck :-)  




Re: Buster to Bullseye upgrade problem

2021-08-23 Thread Gareth Evans
On Sun 22 Aug 2021, at 15:37, David Wright  wrote:
> On Sun 22 Aug 2021 at 13:18:38 (+0100), Gareth Evans wrote:
> > On Sun 22 Aug 2021, at 05:36, David Wright  wrote:
> > > On Fri 20 Aug 2021 at 14:13:55 (+0100), Gareth Evans wrote:
> 
> > > > There is also no explanation in term.log, syslog or dpkg.log for the 
> > > > second interruption:
> > > > 
> > > > --
> > > > Processing triggers for libapache2-mod-php7.4 (7.4.21-1+deb11u1) ...
> > > > [upgrade interrupted...]
> > > > W: APT had planned for dpkg to do more than it reported back (5014 vs 
> > > > 5047).
> > > >Affected packages: texlive-fonts-recommended:amd64 
> > > > texlive-lang-greek:amd64 texlive-latex-base:amd64 
> > > > texlive-latex-extra:amd64 texlive-latex-recommended:amd64 
> > > > texlive-pictures:amd64 texlive-plain-generic:amd64 texlive-science:amd64
> > > > ---
> 
> [ … ]
> 
> > > I'm no help here, as I've never seen output like that,
> > > neither the "[ … ]", nor the "W: APT had planned …".
> > > Is that output, with [upgrade interrupted...], a verbatim
> > > copy/paste? Did this message appear spontaneously, or
> > > because you yourself interrupted the process?
> > 
> > "[...]" was just my way of showing output until this point has not been 
> > included in the paste, or that the paste includes gaps in output.  I use 
> > this by habit from academic writing but perhaps  might be better for 
> > this purpose?  
> > 
> > The interrupt and following "W: APT had planned..." appeared spontaneously. 
> >  The upgrade stops, and [...] here stands in for etckeeper output, which I 
> > removed as noisy.
> 
> Both the < … > and [ … ] are fine; it's just that 

> [...] "upgrade
> interrupted", in a passive construction, avoids specifying the agent,
> which is what we need to know: was it you or APT whodunit.

It wasn't me, but an apparent breakage.

> 
> [ … ]
> 
> > I have just noticed that the logged action after which it trips up:
> > 
> > Processing triggers for libapache2-mod-php7.4 (7.4.21-1+deb11u1) ...
> > 
> > is related to what may be another problem of sorts.  php7.3 packages are 
> > removed as part of the upgrade but the config (mods-[enabled]) isn't 
> > changed.  Apache2 won't start after upgrading until I
> > 
> > a2dismod *php*7.3*
> > 
> > >From /var/log/syslog: 
> > Aug 22 00:29:58 qwerty systemd[1]: Starting The Apache HTTP Server...
> > Aug 22 00:29:58 qwerty apachectl[59333]: apache2: Syntax error on line 146 
> > of /etc/apache2/apache2.conf: Syntax error on line 3 of 
> > /etc/apache2/mods-enabled/php7.3.load: Cannot load 
> > /usr/lib/apache2/modules/libphp7.3.so into server: 
> > /usr/lib/apache2/modules/libphp7.3.so: cannot open shared object file: No 
> > such file or directory
> > Aug 22 00:29:58 qwerty apachectl[59330]: Action 'start' failed.
> > 
> > Is it normal to have to do this sort of thing after a major upgrade?  If 
> > not, could a hiccup here be related to the upgrade breaking?
> 
> Well, the apache version is upgraded from 2.4.38 to 2.4.46 during the
> transition from buster to bullseye, and although APT will look after
> upgrading its conffiles, "conffiles" are those configuring the apache
> software, not the mods-available/enabled that configure the service.
> 
> People who run apache servers may have their own opinions on the
> correct procedure. My own would be that you should be sure a
> configuration is correct before you run that service, and testing
> it is not best done during a major upgrade, but when the dust has
> settled.

What do you mean by "when the dust has settled" in this context?  

Thanks,
Gareth

> 
> Cheers,
> David.
> 
> 



Re: serveur Debian testing avec deux ethernet (et routage)

2021-08-23 Thread NoSpam

Bonjour

Le 23/08/2021 à 08:40, Olivier a écrit :

Il faut :
activer l'IP forwarding 
(https://linuxconfig.org/how-to-turn-on-off-ip-forwarding-in-linux 
)

configurer le NAT (avec IPTables ou équivalent)

Dans Debian & Co iptables est remplacé par nftables.


Slts

Le dim. 22 août 2021 à 22:07, Basile Starynkevitch 
mailto:bas...@starynkevitch.net>> a écrit :


Bonjour la liste

A la maison (de geek) j'ai plusieurs ordinateurs -tous sous Linux,
mais
pas forcément Debian-  et surtout de l'Ethernet (le wifi sert
occasionnellement, surtout pour les tablettes).

J'ai un serveur (de récupération, c'était un déchet d'une boite
d'avocats) sous Debian testing avec deux interfaces réseaux:

Voici la sortie de ifconfig pour les deux interfaces réseaux:

eno1: flags=4163  mtu 1500
 inet 192.168.2.2  netmask 255.255.255.0  broadcast
192.168.2.255
 inet6 2a01:e0a:3d0:7b50:9e8e:99ff:fe64:fcc2 prefixlen 64
scopeid 0x0
 inet6 fe80::9e8e:99ff:fe64:fcc2  prefixlen 64 scopeid
0x20
 ether 9c:8e:99:64:fc:c2  txqueuelen 1000  (Ethernet)
 RX packets 3892  bytes 378141 (369.2 KiB)
 RX errors 0  dropped 0  overruns 0  frame 0
 TX packets 192  bytes 19267 (18.8 KiB)
 TX errors 0  dropped 0 overruns 0  carrier 0 collisions 0
 device interrupt 16

eno2: flags=4163  mtu 1500
 inet 192.168.1.20  netmask 255.255.255.0  broadcast
192.168.1.255
 inet6 fe80::9e8e:99ff:fe64:fcc3  prefixlen 64 scopeid
0x20
 ether 9c:8e:99:64:fc:c3  txqueuelen 1000  (Ethernet)
 RX packets 113  bytes 13209 (12.8 KiB)
 RX errors 0  dropped 0  overruns 0  frame 0
 TX packets 107  bytes 10837 (10.5 KiB)
 TX errors 0  dropped 0 overruns 0  carrier 0 collisions 0
 device interrupt 17

Où 192.168.2.x contient le modem Fibre-optique Free, et
192.168.1.y est
un réseau local (avec l'imprimante dessus), et un PC interne (en
ethernet) dans le cabinet de mon épouse (psychologue)


Comment configurer le routage?

J'ai l'impression que la commande route est obsolète

Librement.

-- 
Basile Starynkevitch                  
>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/ 



Re: serveur Debian testing avec deux ethernet (et routage)

2021-08-23 Thread Olivier
Il faut :
activer l'IP forwarding (
https://linuxconfig.org/how-to-turn-on-off-ip-forwarding-in-linux)
configurer le NAT (avec IPTables ou équivalent)

Slts

Le dim. 22 août 2021 à 22:07, Basile Starynkevitch 
a écrit :

> Bonjour la liste
>
> A la maison (de geek) j'ai plusieurs ordinateurs -tous sous Linux, mais
> pas forcément Debian-  et surtout de l'Ethernet (le wifi sert
> occasionnellement, surtout pour les tablettes).
>
> J'ai un serveur (de récupération, c'était un déchet d'une boite
> d'avocats) sous Debian testing avec deux interfaces réseaux:
>
> Voici la sortie de ifconfig pour les deux interfaces réseaux:
>
> eno1: flags=4163  mtu 1500
>  inet 192.168.2.2  netmask 255.255.255.0  broadcast 192.168.2.255
>  inet6 2a01:e0a:3d0:7b50:9e8e:99ff:fe64:fcc2  prefixlen 64
> scopeid 0x0
>  inet6 fe80::9e8e:99ff:fe64:fcc2  prefixlen 64  scopeid 0x20
>  ether 9c:8e:99:64:fc:c2  txqueuelen 1000  (Ethernet)
>  RX packets 3892  bytes 378141 (369.2 KiB)
>  RX errors 0  dropped 0  overruns 0  frame 0
>  TX packets 192  bytes 19267 (18.8 KiB)
>  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>  device interrupt 16
>
> eno2: flags=4163  mtu 1500
>  inet 192.168.1.20  netmask 255.255.255.0  broadcast 192.168.1.255
>  inet6 fe80::9e8e:99ff:fe64:fcc3  prefixlen 64  scopeid 0x20
>  ether 9c:8e:99:64:fc:c3  txqueuelen 1000  (Ethernet)
>  RX packets 113  bytes 13209 (12.8 KiB)
>  RX errors 0  dropped 0  overruns 0  frame 0
>  TX packets 107  bytes 10837 (10.5 KiB)
>  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>  device interrupt 17
>
> Où 192.168.2.x contient le modem Fibre-optique Free, et 192.168.1.y est
> un réseau local (avec l'imprimante dessus), et un PC interne (en
> ethernet) dans le cabinet de mon épouse (psychologue)
>
>
> Comment configurer le routage?
>
> J'ai l'impression que la commande route est obsolète
>
> Librement.
>
> --
> Basile Starynkevitch  
> (only mine opinions / les opinions sont miennes uniquement)
> 92340 Bourg-la-Reine, France
> web page: starynkevitch.net/Basile/
>
>