Debian Security

2021-07-23 Thread Polyna-Maude Racicot-Summerside
Hi !
How would you copy the debian security update repository ?
I know it's not recommended.
But I'd like to do so.
-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development



OpenPGP_signature
Description: OpenPGP digital signature


[SOLVED] Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle

2021-07-23 Thread piorunz

On 23/07/2021 23:44, The Wanderer wrote:

https://gitlab.freedesktop.org/drm/amd/-/issues/1632  as being an
upstream(?) bug report which covers it. Not sure how directly applicable
those are, but just in case...


That escalated very quickly :D This bug is responsible for this. And 
patch works.


I compiled my own 5.10 kernel using Debian source, and I patched that 
one line in drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c file. Now I rebooted 
to my custom 5.10 kernel and it works :)


Let's see - before:

$ sensors
(...)
amdgpu-pci-0900
(...)
power1:   74.00 W  (cap = 272.00 W)

gpu-mon (from rickslab-gpu-utils)
┌─┬┐
│Card #   │card0   │
├─┼┤
│Model│ Navi 21 RX │
│GPU Load %   │99  │
│Mem Load %   │0   │
│VRAM Usage % │4.839   │
│GTT Usage %  │0.802   │
│Power (W)│75.0│
│Power Cap (W)│272.0   │
│Energy (kWh) │0.0 │
│T (C)│53.0│
│VddGFX (mV)  │1143│
│Fan Spd (%)  │0   │
│Sclk (MHz)   │2470│
│Sclk Pstate  │1   │
│Mclk (MHz)   │1000│
│Mclk Pstate  │3   │
│Perf Mode│0-BOOTUP_DEFAULT│
└─┴┘

And after:

$ sensors
(...)
amdgpu-pci-0900
(...)
power1:   34.00 W  (cap = 272.00 W)

┌─┬┐
│Card #   │card0   │
├─┼┤
│Model│ Navi 21 RX │
│GPU Load %   │0   │
│Mem Load %   │0   │
│VRAM Usage % │6.109   │
│GTT Usage %  │1.147   │
│Power (W)│35.0│
│Power Cap (W)│272.0   │
│Energy (kWh) │0.004   │
│T (C)│54.0│
│VddGFX (mV)  │856 │
│Fan Spd (%)  │0   │
│Sclk (MHz)   │500 │
│Sclk Pstate  │0   │
│Mclk (MHz)   │1000│
│Mclk Pstate  │3   │
│Perf Mode│0-BOOTUP_DEFAULT│
└─┴┘

0% GPU core use, 0% memory use, core clock is 500 MHz instead of maxed 
out at 2470 Mhz. Success!

Power usage is on par with Windows.
However, I still have 34W even if I disconnect second monitor. On 
Windows, with one monitor only power goes down to 10W and core is 10 
MHz. But my default setup it 2 monitors so I don't worry too much anyway :)


--

With kindest regards, piorunz.

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


Installation trouble

2021-07-23 Thread Gunnar Gervin
Hi again.
Happy to tell you that the installation went well. Because the dvd player
hung, the installation lost part of the process, but the settings made in
LVM were used for the automatic installation, obviously, because it
finished almost like in a flash.
Debian is jolly good `cause it instructs really well, & is focused on
finding solutions.
BR,
geg


SOLVED was Re: problème de wol :(

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

Hello ^^)


I found the solution ! here : https://wiki.debian.org/WakeOnLan#check

-


 Enabling WOL


   ifupdown

You can check if you manage network by ifupdown with ifquery. This is 
the default on Debian installations.


Since squeeze  ethtool 
 parameters can be set directly 
from an interface configuration file. See the documentation in 
/usr/share/doc/ethtool/README.Debian for more information.


Add an interface config file /etc/network/interfaces.d/eth0 (or modify 
the global interface config file /etc/network/interfaces):


auto eth0
iface eth0 inet dhcp
ethernet-wol g

Activate it:

sudo reboot


   -


done like that (I choose to add the line

ethernet-wol g

directly to my /etc/network/interfaces file)


wol works after a shutdown of the server.


Jeff.


Le 23/07/2021 à 17:00, Jean-François Bachelet a écrit :

Hello ^^)


j'ai un problème avec mon serveur sous Debian 10.10 : impossible de 
configurer le wol !


avec ethtool j'ai pu voir que ma carte était configurée pour le wol au 
niveau du bios.


Supports Wake-on: pumbg
Wake-on: g


j'ai zieuté si c'était 'enabled' aussi côté système avec "cat 
/sys/class/net/enp2s0/power/wakeup" la réponse était "disabled"



donc j'ai 'enabled' le wol avec la commande "ethtool -s enp2s0 wol g"

vérifié que ça avait été fait avec "cat 
/sys/class/net/enp2s0/power/wakeup" la réponse était "enabled"



j'ai rebooté le serveur et testé de nouveau avec "cat 
/sys/class/net/power/wakeup"


la réponse est systématiquement "disabled"


j'ai recommancé la procédure de nombreuses fois, pas moyens d'avoir le 
wol "enabled" en permanence !



je ne comprends pas, le même serveur avec Debian 10.10 sur un Raid 6 
formaté en Ext4 ça fonctionnait sans problèmes après une seulle 
procédure d'enable...


maintenant avec Debian 10.10 sur un LVM en Raid6 formaté en Ext4 ça ne 
fonctionne plus...



Quelqu'un peut m'aider ???


Merci d'avance,

Jeff






Re: Colaborador

2021-07-23 Thread Francisco Cid
El vie, 23 de jul. de 2021 a la(s) 16:02, Marcelo Eduardo Giordano (
contadorgiord...@gmail.com) escribió:

> Me parece que el concepto de instalador es un concepto normal en
> windows, junto con limpiador de archivos y erradicador de virus y a mi
> criterio carecen de una analogía en linux.
>
> Saludos a la lista
>
>
>
  Que si hay analogía, por algo existe un equipo denominado DebianInstaller.
PD: no me respondas al privado, si no a la lista.
Saludos,


Re: Colaborador

2021-07-23 Thread Francisco Cid
El mié, 21 de jul. de 2021 a la(s) 13:05, Alejandro (
alejandro_m...@protonmail.com) escribió:

> Gracias Francisco, lo del repo es que me hacía ilusión más que nada
> compartirlo pero como no estoy en confianza de poder aportar a nivel de
> programación todavía, de momento me he suscrito a la lista de traducción al
> español, que seguro que puedo hacer cositas.
> Muy amables hasta la próxima!
>
> No hay de qué, como recomendación revisa siempre cuando respondas un hilo
de conversación,que estás respondiendo a la lista y no a una persona en
particular.
además de que el top posting es de mal gusto.

Sent with ProtonMail  Secure Email.
>
> ‐‐‐ Original Message ‐‐‐
> El miércoles, 21 de julio de 2021 a las 17:48, Francisco Cid <
> francisco...@gmail.com> escribió:
>
>
>
> El mié, 21 de jul. de 2021 a la(s) 09:44, Camaleón (noela...@gmail.com)
> escribió:
>
>> El 2021-07-21 a las 12:25 +, Alejandro escribió:
>>
>> (reenvío a la lista)
>>
>> > Gracias Camaleón, con esto tengo de sobra para empezar. Aprovecho para
>> compartir el código que hice con la ayuda de la gente de esta lista para
>> checkear si la imagen iso netinstall de Debian que tenemos es la última y
>> si no descargar la nueva. La idea es automatizarlo con cronUn saludo a
>> todos!
>> > Pues con instalador me refiero a instalar Debian y ayudar a la gente a
>> usarlo si tienen cualquier inconveniente. He empezado por mi cuenta pegando
>> carteles por los pueblos pero me gustaría ser instalador Debian realmente
>> de la comunidad Debian you know?. No sé si hay que cumplir con algún
>> requisito a eso me refiero...Un saludo a todos!
>> >
>> >
>> https://github.com/ehdinayan/Cloud-exercises/blob/master/Exercise_2/isodeb.sh
>>
>> Todos los que instalamos Debian somos «instaladores» por definición,
>> pero esa figura no existe como tal dentro del desarrollo de Debian.
>> Lo instalas y si detectas algún problema infomas en el bugzilla
>> (sistema de reporte de fallos) y listo.
>> Para ayudar, pues como prefieras: colaborando en esta lista, promoviendo
>> Debian
>> entre tus conocidos o en la empresa... no hay nada definido.
>>
>> Saludos,
>>
>> --
>> Camaleón
>>
>>
>
> Buenos días Alejandro, creo que para comunicarte con el equipo de
> desarrollo de DebianInstaller puedes escribir directamente a algunos de los
> integrantes y realizar consultas específicas de cómo aportar directamente.
> *debian-b...@list.debian.org *
> *https://wiki.debian.org/DebianInstaller/Team
> *
>
> Saludos,
>
>
>
Saludos!


Re: Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle

2021-07-23 Thread piorunz

On 23/07/2021 23:44, The Wanderer wrote:


https://bbs.archlinux.org/viewtopic.php?id=267503 (from just a few weeks
ago) reports that this is fixed in kernel 5.12.14.

Debian testing, being frozen, is still on 5.10.x:

$ uname -r
5.10.0-8-amd64


Yes, that's what I use.


The release is AFAIK less than two weeks away (barring delays), and
after that it's likely that a newer version will pass into testing. Once
a newer-enough version is available, it should resolve this.


For additional reference,
https://forums.lenovo.com/topic/view/27/5085655 has another report of
the issue, and links to
https://gitlab.freedesktop.org/drm/amd/-/issues/1632 as being an
upstream(?) bug report which covers it. Not sure how directly applicable
those are, but just in case...



Thanks! Looks like someone found one particular commit which causes
this. They say, that fixed commit will be in kernel 5.13. I hope this
will be imported to Debian's 5.10 LTS as well, so I can continue to use
5.10?
Should I report it somewhere as Debian bug, to make sure its being
backported?

--

With kindest regards, piorunz.

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



Re: Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle

2021-07-23 Thread piorunz

On 23/07/2021 22:46, The Wanderer wrote:


gpu-mon (from rickslab-gpu-utils)


Where does that come from? It's not in current Debian stable or testing.


In Debian, there is old ricks-amdgpu-utils, which doesn't work. New
package has been renamed upstream to rickslab-gpu-utils and most likely
will be available in Debian 12. Today you can install that from apt
repository they maintain.


Windows 10
one monitor: 9-11 W, GPU clock 0-10 MHz, Memory Clock 40-100 MHz
two monitors: 34 W, GPU clock 0-10 MHz, Memory Clock 2000 MHz

Debian 11
one monitor: 74 W, GPU clock 2475 MHz, Memory Clock 2000 MHz
two monitors: 74 W, GPU clock 2475 MHz, Memory Clock 2000 MHz


Where are the Debian-side results from?


From rickslab-gpu-utils. radeontop shows the same:
1.00G / 1.00G Memory Clock 100.00%
2.47G / 2.58G Shader Clock  95.92%
Graphics pipe 100.00%

Regarding memory clock: I don't even know real MHz frequency of the
chip, some tools in Windows/Linux show 1000 or 2000 MHz, but that's
irrelevant; Cold, idle card should be at 100 Mhz tops on memory and 10
Mhz on GPU core.


My initial guess is that this is either A: bad data / false positive
(i.e., it's not really that bad under the hood), or B: a limitation of
the Linux-side drivers.


Yes that must be Linux driver problem. Results are accurate I believe,
under Windows GPU fan will never spin unless gaming, because it's using
10W (one monitor) or 34W (two monitors). In Debian it's 74W minimum.


If you're willing to try out the official direct-from-AMD drivers (which
may or may not include an associated stack, I'm not sure), and they give
different results, that could be informative. I'm not willing to try
those out under present circumstances, so I can't directly contribute
information there.


Unfortunately, I don't know how to install official AMD drivers on
Debian correctly. I've tried, but there was no Xorg, it failed to start,
I had to uninstall and revert. They publish Ubuntu version only and it's
not compatible with Debian 11, unless I don't know some tricks.

Also I've tried Mesa from experimental (via apt pinning and manual
install), Mesa 21.1.4-1 is there, but that didn't changed anything. I
reverted back to default, Bullseye repo got Mesa 20.3.5-1.

--

With kindest regards, piorunz.

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



Re: Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle

2021-07-23 Thread The Wanderer
On 2021-07-23 at 18:33, Dan Ritter wrote:

> The Wanderer wrote: 
>
>> On 2021-07-23 at 16:44, piorunz wrote:
>> 
>> > Hello,
>> > 
>> > I am using Bullseye 11 with Radeon 6800 XT and noticed higher
>> > temperature and noise comparing to Windows, so I investigated this and
>> > found the fault. GPU core works at 100% usage at all times, even at idle.
>> > 
>> > $ cat /sys/class/drm/card0/device/gpu_busy_percent
>> > 99
>> 
>> That's interesting. I get the same output from that command (with a 5600
>> XT), but I'm not noticing any meaningful noise that seems to be coming
>> from the card.
> 
> RX560: 0

Permit me to correct myself: I have a 5700 XT, not a 5600 XT. (I always
get that mixed up, because I have a Ryzen 5600 CPU.)

Given the below, it'd be interesting to know what kernel that's with.

>> My initial guess is that this is either A: bad data / false positive
>> (i.e., it's not really that bad under the hood), or B: a limitation of
>> the Linux-side drivers.
> 
> It's plausible that there's something in power management that
> can and should be turned on, and isn't.

https://bbs.archlinux.org/viewtopic.php?id=267503 (from just a few weeks
ago) reports that this is fixed in kernel 5.12.14.

Debian testing, being frozen, is still on 5.10.x:

$ uname -r
5.10.0-8-amd64

The release is AFAIK less than two weeks away (barring delays), and
after that it's likely that a newer version will pass into testing. Once
a newer-enough version is available, it should resolve this.


For additional reference,
https://forums.lenovo.com/topic/view/27/5085655 has another report of
the issue, and links to
https://gitlab.freedesktop.org/drm/amd/-/issues/1632 as being an
upstream(?) bug report which covers it. Not sure how directly applicable
those are, but just in case...

-- 
   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


Re: Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle

2021-07-23 Thread Dan Ritter
The Wanderer wrote: 
> On 2021-07-23 at 16:44, piorunz wrote:
> 
> > Hello,
> > 
> > I am using Bullseye 11 with Radeon 6800 XT and noticed higher
> > temperature and noise comparing to Windows, so I investigated this and
> > found the fault. GPU core works at 100% usage at all times, even at idle.
> > 
> > $ cat /sys/class/drm/card0/device/gpu_busy_percent
> > 99
> 
> That's interesting. I get the same output from that command (with a 5600
> XT), but I'm not noticing any meaningful noise that seems to be coming
> from the card.

RX560: 0

> > $ sensors
> > amdgpu-pci-0900
> > Adapter: PCI adapter
> > vddgfx:1.14 V
> > fan1:1098 RPM  (min =0 RPM, max = 3000 RPM)
> > edge: +51.0°C  (crit = +100.0°C, hyst = -273.1°C)
> > (emerg = +105.0°C)
> > junction: +55.0°C  (crit = +110.0°C, hyst = -273.1°C)
> > (emerg = +115.0°C)
> > mem:  +56.0°C  (crit = +100.0°C, hyst = -273.1°C)
> > (emerg = +105.0°C)
> > power1:   74.00 W  (cap = 272.00 W)
> 
> I get 1478 RPM, and temperature readings of 66, 72, 78, plus a power
> reading of 94 W. Those do sound higher than reasonable, but I'm
> disinclined to trust the RPM value at least, since that'd be nearly 25
> revolutions per second and I'm nearly positive that'd be a lot more
> audible than what I'm hearing. And of course if that reading isn't
> accurate, there's less reason to trust the others.

Still an RX560:

amdgpu-pci-2b00
Adapter: PCI adapter
vddgfx:  887.00 mV 
fan1:1610 RPM  (min =0 RPM, max = 3600 RPM)
edge: +42.0°C  (crit = +94.0°C, hyst = -273.1°C)
power1:   22.09 W  (cap =  48.00 W)


> My initial guess is that this is either A: bad data / false positive
> (i.e., it's not really that bad under the hood), or B: a limitation of
> the Linux-side drivers.

It's plausible that there's something in power management that
can and should be turned on, and isn't.

-dsr-



Re: Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle

2021-07-23 Thread The Wanderer
On 2021-07-23 at 16:44, piorunz wrote:

> Hello,
> 
> I am using Bullseye 11 with Radeon 6800 XT and noticed higher
> temperature and noise comparing to Windows, so I investigated this and
> found the fault. GPU core works at 100% usage at all times, even at idle.
> 
> $ cat /sys/class/drm/card0/device/gpu_busy_percent
> 99

That's interesting. I get the same output from that command (with a 5600
XT), but I'm not noticing any meaningful noise that seems to be coming
from the card.

> $ sensors
> (...)
> amdgpu-pci-0900
> Adapter: PCI adapter
> vddgfx:1.14 V
> fan1:1098 RPM  (min =0 RPM, max = 3000 RPM)
> edge: +51.0°C  (crit = +100.0°C, hyst = -273.1°C)
> (emerg = +105.0°C)
> junction: +55.0°C  (crit = +110.0°C, hyst = -273.1°C)
> (emerg = +115.0°C)
> mem:  +56.0°C  (crit = +100.0°C, hyst = -273.1°C)
> (emerg = +105.0°C)
> power1:   74.00 W  (cap = 272.00 W)

I get 1478 RPM, and temperature readings of 66, 72, 78, plus a power
reading of 94 W. Those do sound higher than reasonable, but I'm
disinclined to trust the RPM value at least, since that'd be nearly 25
revolutions per second and I'm nearly positive that'd be a lot more
audible than what I'm hearing. And of course if that reading isn't
accurate, there's less reason to trust the others.

> gpu-mon (from rickslab-gpu-utils)

Where does that come from? It's not in current Debian stable or testing.

> This is my hardware:
> $ inxi -G
> Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX
> 6800/6800 XT / 6900 XT] driver: amdgpu v: kernel
> Display: x11 server: X.Org 1.20.11 driver: loaded:
> amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution:
> 1: 1920x1200~60Hz 2: 3840x2160~60Hz
> OpenGL: renderer: AMD SIENNA_CICHLID (DRM 3.40.0
> 5.10.0-8-amd64 LLVM 11.0.1) v: 4.6 Mesa 20.3.5

I get:

Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
  driver: amdgpu v: kernel
  Display: server: X.Org 1.20.11 driver: loaded: amdgpu,ati
  unloaded: fbdev,modesetting,radeon,vesa resolution: 2560x1600~60Hz
  OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.10.0-8-amd64
  LLVM 12.0.1)
  v: 4.6 Mesa 21.1.4

Mesa and a couple of other things are from sid, courtesy of an
experiment I did on the wrong path to getting Vulkan working, but
otherwise this looks substantially similar.

> All packages are default from Bullseye (apart from rickslab-gpu-utils
> package which I installed to debug this issue), fresh install from the
> scratch a week ago, all graphics and games works perfectly. It's just
> that 100% GPU usage when idle. 74 Watts used when idle! I did further
> testing and found out this:
> 
> Windows 10
> one monitor: 9-11 W, GPU clock 0-10 MHz, Memory Clock 40-100 MHz
> two monitors: 34 W, GPU clock 0-10 MHz, Memory Clock 2000 MHz
> 
> Debian 11
> one monitor: 74 W, GPU clock 2475 MHz, Memory Clock 2000 MHz
> two monitors: 74 W, GPU clock 2475 MHz, Memory Clock 2000 MHz

Where are the Debian-side results from?

> Debian results are very bad! On Windows 10, high memory clock with two
> monitors it's a known issue, but on Debian also 100% GPU usage and
> 2.5GHz GPU core clock is a big problem.
> 
> Any tips appreciated.

My initial guess is that this is either A: bad data / false positive
(i.e., it's not really that bad under the hood), or B: a limitation of
the Linux-side drivers.

If you're willing to try out the official direct-from-AMD drivers (which
may or may not include an associated stack, I'm not sure), and they give
different results, that could be informative. I'm not willing to try
those out under present circumstances, so I can't directly contribute
information there.

-- 
   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


Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle

2021-07-23 Thread piorunz

Hello,

I am using Bullseye 11 with Radeon 6800 XT and noticed higher
temperature and noise comparing to Windows, so I investigated this and
found the fault. GPU core works at 100% usage at all times, even at idle.

$ cat /sys/class/drm/card0/device/gpu_busy_percent
99

$ sensors
(...)
amdgpu-pci-0900
Adapter: PCI adapter
vddgfx:1.14 V
fan1:1098 RPM  (min =0 RPM, max = 3000 RPM)
edge: +51.0°C  (crit = +100.0°C, hyst = -273.1°C)
   (emerg = +105.0°C)
junction: +55.0°C  (crit = +110.0°C, hyst = -273.1°C)
   (emerg = +115.0°C)
mem:  +56.0°C  (crit = +100.0°C, hyst = -273.1°C)
   (emerg = +105.0°C)
power1:   74.00 W  (cap = 272.00 W)

gpu-mon (from rickslab-gpu-utils)
┌─┬┐
│Card #   │card0   │
├─┼┤
│Model│ Navi 21 RX │
│GPU Load %   │99  │
│Mem Load %   │0   │
│VRAM Usage % │4.839   │
│GTT Usage %  │0.802   │
│Power (W)│75.0│
│Power Cap (W)│272.0   │
│Energy (kWh) │0.0 │
│T (C)│53.0│
│VddGFX (mV)  │1143│
│Fan Spd (%)  │0   │
│Sclk (MHz)   │2470│
│Sclk Pstate  │1   │
│Mclk (MHz)   │1000│
│Mclk Pstate  │3   │
│Perf Mode│0-BOOTUP_DEFAULT│
└─┴┘


This is my hardware:
$ inxi -G
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX
6800/6800 XT / 6900 XT] driver: amdgpu v: kernel
   Display: x11 server: X.Org 1.20.11 driver: loaded:
amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution:
   1: 1920x1200~60Hz 2: 3840x2160~60Hz
   OpenGL: renderer: AMD SIENNA_CICHLID (DRM 3.40.0
5.10.0-8-amd64 LLVM 11.0.1) v: 4.6 Mesa 20.3.5

All packages are default from Bullseye (apart from rickslab-gpu-utils
package which I installed to debug this issue), fresh install from the
scratch a week ago, all graphics and games works perfectly. It's just
that 100% GPU usage when idle. 74 Watts used when idle! I did further
testing and found out this:

Windows 10
one monitor: 9-11 W, GPU clock 0-10 MHz, Memory Clock 40-100 MHz
two monitors: 34 W, GPU clock 0-10 MHz, Memory Clock 2000 MHz

Debian 11
one monitor: 74 W, GPU clock 2475 MHz, Memory Clock 2000 MHz
two monitors: 74 W, GPU clock 2475 MHz, Memory Clock 2000 MHz

Debian results are very bad! On Windows 10, high memory clock with two
monitors it's a known issue, but on Debian also 100% GPU usage and
2.5GHz GPU core clock is a big problem.

Any tips appreciated.

--

With kindest regards, piorunz.

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



Re: Makefile help

2021-07-23 Thread Anssi Saari
Charles Curley  writes:

> It probably is, but I would not use make. A script which used find
> would do as well without make's idiosyncrasies. Pretty much any
> scripting language should do the job, so use one you are familiar with.

Since he said there are a lot of files to convert I thought make might
be a good choice for this after all. It would allow stopping the
conversion and starting again, skipping already converted files with
little overhead. Then again, any program could easily check if the
target file exists too.







Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Stefan Monnier
> the tricky part of my search for ideal adapter(needn't non-free firmware)
> isthat many vendors claim they support linux, but i'm afraid they require
> non-free firmware
> is there some easy way to find out if it requires non-free firmware?

Buy it from a place that did this job for you.

E.g. my Librem mini came with a wifi adapter that doesn't require
non-free firmware, because the vendor went through the trouble (it
includes a bluetooth feature as well but that feature does require
a non-free blob, sadly).

I think you want to look for wifi adapters that work with the ath9k
driver (I don't know if that is sufficient to guarantee that they work
with a free firmware, tho).


Stefan



Re: USB audio device no longer showing up

2021-07-23 Thread Thomas Amm
On Fri, 2021-07-23 at 08:11 -0500, Nicholas Geovanis wrote:
> > 
> > Thomas which USB chipsets do you prefer for audio? 
> > And are you doing MIDI over USB to the synth? 
> > 
> > Viel Glueck .Nick Geovanis
> > 

Mostly Realtek for now. I rember a faulty chipset in the early days of
USB3 causing lots of headaches but wasn't personally affected. No
actual USB-3 chipset has let me down so far, however. 
I am actually doing MIDI over USB with all my synths but one, a 1989
KORG Polysix with MIDI retrofit via DIN. This means I've got four
synths and three controllers communicating duplex over the same active
USB-3 hub without problems even when sequencing three of them and
recording + monitoring the master keyboard simultaneously. No miracle
comparing MIDI's very small bandwith and timing requirements with USB-3
specs.



Re: Makefile help

2021-07-23 Thread Charles Curley
On Fri, 23 Jul 2021 16:10:10 +0200
Grzesiek  wrote:

> Is it possible to do it using make in a fully automatic way? What I
> mean is that make should find all sub-directories and files in
> source_dir by itself. Note that the sub-directories level may be
> grater than 1, no symlinks allowed.

It probably is, but I would not use make. A script which used find
would do as well without make's idiosyncrasies. Pretty much any
scripting language should do the job, so use one you are familiar with.


> 
> I do not have experience in writing Makefiles. Appropriate Makefile 
> examples appreciated.

Another reason for you to avoid make.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread tomas
On Fri, Jul 23, 2021 at 08:09:07PM +0300, Andrei POPESCU wrote:

[...]

> > They're not even free
> > to rebuild the firmware and verify that it matches the official binary.
> > All they can do is look at the code and hope that the binary blob actually
> > matches it.
>  
> Unless I'm missing something (which is very much possible, I'm way out 
> of my depth here) rebuilding to verify it matches the official binary 
> should still be possible.
> 
> Care to elaborate on why you think this would be a problem?

You would have to have access at the vendor's build tools (compiler,
linker) and at the "build scripts", at least at enough of them to
be able to reproduce compile options, etc.

Depending on the "signature infrastructure" there might be other
"nice" challenges.

All in all, the vendor would have to be very cooperative.

Cheers
 - t


signature.asc
Description: Digital signature


Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Andrei POPESCU
On Vi, 23 iul 21, 13:15:46, Greg Wooledge wrote:
> On Fri, Jul 23, 2021 at 08:09:07PM +0300, Andrei POPESCU wrote:
> > Unless I'm missing something (which is very much possible, I'm way out 
> > of my depth here) rebuilding to verify it matches the official binary 
> > should still be possible.
> > 
> > Care to elaborate on why you think this would be a problem?
> 
> I suppose that if there is a way to chop up the binary blob into
> "program" and "signature", then you could compare the two program
> segments to each other, and ignore the signature segments.  It would
> depend on how this binary-blob-with-signature format is defined.
> 
> A simple cmp(1) of the two would clearly not work, as the signatures
> wouldn't match.

Simply concatenating the signature with the binary is very simple, 
there's not much technical reason to do anything fancier than that.
 
> But... even if the signature segments can be snipped off, it's possible
> that there would be differences in the program segments, depending on
> the compiler used, particularly optimizations.  There could also be
> timestamps, or pieces of the build environment such as directory paths,
> embedded in the binary blob.
> 
> I'd have to defer to the "reproducible builds" people on that one.  They
> would have more experience with those kinds of issues.

Suport for reproducible builds has become the norm in the FLOSS world. 
The potential issues and fixes / workarounds are pretty well understood 
by now.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Greg Wooledge
On Fri, Jul 23, 2021 at 08:09:07PM +0300, Andrei POPESCU wrote:
> Unless I'm missing something (which is very much possible, I'm way out 
> of my depth here) rebuilding to verify it matches the official binary 
> should still be possible.
> 
> Care to elaborate on why you think this would be a problem?

I suppose that if there is a way to chop up the binary blob into
"program" and "signature", then you could compare the two program
segments to each other, and ignore the signature segments.  It would
depend on how this binary-blob-with-signature format is defined.

A simple cmp(1) of the two would clearly not work, as the signatures
wouldn't match.

But... even if the signature segments can be snipped off, it's possible
that there would be differences in the program segments, depending on
the compiler used, particularly optimizations.  There could also be
timestamps, or pieces of the build environment such as directory paths,
embedded in the binary blob.

I'd have to defer to the "reproducible builds" people on that one.  They
would have more experience with those kinds of issues.



Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Andrei POPESCU
On Vi, 23 iul 21, 07:17:31, Greg Wooledge wrote:
> On Fri, Jul 23, 2021 at 10:20:00AM +0300, Andrei POPESCU wrote:
> > On the other hand, if the device would accept only firmware signed by 
> > the manufacturer the code itself could be open sourced.
> > 
> > Users would still depend on the manufacturers to actually release 
> > updates, but at least they would have a way to contribute improvements 
> > to the code.
> 
> It would still fail any reasonable definition of "free software", though,
> including Debian's DFSG.  The user is not free to make any changes to
> the software, not even for their own personal use.

They could still submit patches.

> They're not even free
> to rebuild the firmware and verify that it matches the official binary.
> All they can do is look at the code and hope that the binary blob actually
> matches it.
 
Unless I'm missing something (which is very much possible, I'm way out 
of my depth here) rebuilding to verify it matches the official binary 
should still be possible.

Care to elaborate on why you think this would be a problem?

> So, even in this hypothetical universe, the firmware would still be in
> the non-free section.

Yes.

Still better than what we have now though ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: problème de wol :(

2021-07-23 Thread didier gaumet
peut-être une piste là:
https://wiki.archlinux.org/title/Wake-on-LAN#Make_it_persistent




Re: journal upgrade

2021-07-23 Thread MERLIN Philippe
Le vendredi 23 juillet 2021, 10:08:09 CEST elguero eric a écrit :
> bonjour à tous,
> 
> je suis passé récemment à la version 10
> en utilisant la commande
> apt full-upgrade
> et maintenant j'ai des petits dysfonctionnements.
> 
> la procédure d'upgrade m'a posé des questions
> auxquelles j'ai répondu un peu au pif et je
> soupçonne que les problèmes viennent de là.
> Et évidemment je n'ai rien noté.
> Est-ce qu'il existe un journal de cette procédure
> ou une trace quelconque de mes réponses
> à ces questions?
> 
> Eric Elguero
Tout à fait, regarde dans le répertoire  /var/log/apt il y a les fichiers 
history.log et term.log qui devraient te donner satisfactions.
Philippe Merlin





Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-23 Thread didier gaumet



Le vendredi 23 juillet 2021 à 16:50 +0200, Thomas Trupel a écrit :
>  Bonjour,
>  
>  Merci pour vos retours, j'ai enfin réussi à booter Debian (j'ai
> encore un problème au démarrage de Debian : écran noir avec le
> curseur qui clignote, peut-être que le GPU Intel UHD Graphics 620
> n'est pas supporté).

je peux te rassurer sur ce point, c'est le chipset graphique de mon
laptop: il te manque probablement le paquet firmware-misc-nonfree
(quand l'installation en mode graphique se passe bien on a l'impression
trompeuse que le chipset est pris en charge via un pilote adéquat alors
que l'installation se déroule avec un pilote VESA, si je me souviens
bien).

D'une manière générale 
$ sudo journalctl -xb | grep -i firmware | less
te listera les appels du système à des firmwares, qu'ils aient été ou
non couronnés de succès. Ceux en échec t'indiquent les fichiers à
récupérer. Pour chaque fichier manquant, tu fais un
$ apt-file search nom-du-fichier
pour savoir quel paquet installer

>  @Didier, la copie que tu suggères n'a pas fonctionné.
[...]

pas de bol ;-)




Re: Makefile help

2021-07-23 Thread Teemu Likonen
* 2021-07-23 16:10:10+0200, Grzesiek wrote:

> Is it possible to do it using make in a fully automatic way? What I
> mean is that make should find all sub-directories and files in
> source_dir by itself.

"make" doesn't find files. You can use "find" in a Makefile to find all
necessary files and then a Makefile rule to do conversion if the source
is newer than the destination. If you copy the following example
remember to use tab character for indentation in the rules.


src = $(shell find source_dir -type f -name '*.src' -print)
dst = $(patsubst source_dir/%.src,dest_dir/%.dst,$(src))

all: $(dst)

.PHONY: all

dest_dir/%.dst: source_dir/%.src
@mkdir -p $$(dirname $@)
CMD $< $@

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450


signature.asc
Description: PGP signature


problème de wol :(

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

Hello ^^)


j'ai un problème avec mon serveur sous Debian 10.10 : impossible de 
configurer le wol !


avec ethtool j'ai pu voir que ma carte était configurée pour le wol au 
niveau du bios.


Supports Wake-on: pumbg
Wake-on: g


j'ai zieuté si c'était 'enabled' aussi côté système avec "cat 
/sys/class/net/enp2s0/power/wakeup" la réponse était "disabled"



donc j'ai 'enabled' le wol avec la commande "ethtool -s enp2s0 wol g"

vérifié que ça avait été fait avec "cat 
/sys/class/net/enp2s0/power/wakeup" la réponse était "enabled"



j'ai rebooté le serveur et testé de nouveau avec "cat 
/sys/class/net/power/wakeup"


la réponse est systématiquement "disabled"


j'ai recommancé la procédure de nombreuses fois, pas moyens d'avoir le 
wol "enabled" en permanence !



je ne comprends pas, le même serveur avec Debian 10.10 sur un Raid 6 
formaté en Ext4 ça fonctionnait sans problèmes après une seulle 
procédure d'enable...


maintenant avec Debian 10.10 sur un LVM en Raid6 formaté en Ext4 ça ne 
fonctionne plus...



Quelqu'un peut m'aider ???


Merci d'avance,

Jeff




Re: Makefile help

2021-07-23 Thread Greg Wooledge
On Fri, Jul 23, 2021 at 04:10:10PM +0200, Grzesiek wrote:
> I have two directories: source_dir and dest_dir. In the directory source_dir
> I have number of sub-directories and files. My goal is:
> 
> 1.Recreate the sub-directory structure of the source_dir inside of the
> dest_dir
> 
> 2. Each file found in source_dir should be converted to a new format using
> some command CMD in the following way:
> CMD source_dir//.src dest_dir// name>.dst

> Is it possible to do it using make

Not really.  It's a job for a shell script or some other program written
in a scripting language.


On Fri, Jul 23, 2021 at 04:29:24PM +0200, Grzesiek wrote:
> The number of files is rather large so make -j8 could save lot of time.

Ah, the good old X-Y strikes again.  OK, at least now we know the real
goal -- you want to parallelize the conversions.

The obvious way to do that is with GNU xargs -0 -P.  So, we're going to
generate a NUL-delimited stream of filenames to be processed, and feed
that to xargs -0 -P 8 -n 1 something.

Now that we know the middle piece, we only have to write the beginning
piece (the thing that generates the stream of NUL-delimited filenames),
and the ending piece (the "something" that xargs runs to perform each
conversion).

The beginning is simple: we'll be using find -print0 to generate the stream
of filenames.  find source_dir -type f -print0
You can add additional restrictions to this if needed (e.g. -iname '*.wav').

The ending is basically what you specified above, except that we need to
wrap it in a miniature shell script to generate the destination pathname
from the source pathname.  We also need to create the directory part of
the destination pathname, because presumably CMD doesn't do that for us.

So,

#!/bin/sh

find source_dir -type f -print0 |
xargs -0 -P 8 -n 1 sh -c '
dest=dest_dir/${1#*/}
dest=${dest%.src}.dst
dir=${dest%/*}
mkdir -p "$dir"
CMD "$1" "$dest"
' x


And, testing it:

unicorn:~$ printf %s\\0 {1..12} | xargs -0 -P 8 -n 1 sh -c 'echo "$$ processing 
$1 at $(date +%H:%M:%S)"; sleep 3' x
56062 processing 1 at 10:56:52
56063 processing 2 at 10:56:52
56065 processing 3 at 10:56:52
56067 processing 4 at 10:56:52
56074 processing 6 at 10:56:52
56072 processing 5 at 10:56:52
56076 processing 7 at 10:56:52
56079 processing 8 at 10:56:52
56086 processing 9 at 10:56:55
56089 processing 11 at 10:56:55
56091 processing 12 at 10:56:55
56087 processing 10 at 10:56:55

The first 8 ran simultaneously, then after a 3 second delay, the last 4
ran simultaneously.  Looks good to me.  Obviously I didn't test the string
manipulations that generate the destination filename and subdirectory,
but I'm sure you can handle it from here.



problème de wol :(

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

Hello ^^)


j'ai un problème avec mon serveur sous Debian 10.10 : impossible de 
configurer le wol !


avec ethtool j'ai pu voir que ma carte était configurée pour le wol au 
niveau du bios.


Supports Wake-on: pumbg
Wake-on: g

j'ai 'enabled' le wol avec la commande "ethtool -s enp2s0 wol g"

vérifié que ça avait été fait avec "cat 
/sys/class/net/enp2s0/power/wakeup" la réponse était "enabled"



j'ai rebooté le serveur et testé de nouveau avec "cat 
/sys/class/net/power/wakeup"


la réponse est systématiquement "disabled"


j'ai recommancé la procédure de nombreuses fois, pas moyens d'avoir le 
wol "enabled" en permanence !



je ne comprends pas, le même serveur avec Debian 10.10 sur un Raid 6 
formaté en Ext4 ça fonctionnait sans problèmes après une seulle 
procédure d'enable...


maintenant avec Debian 10.10 sur un LVM en Raid6 fgormaté en Ext4 ça ne 
fonctionne plus...



Quelqu'un peut m'aider ???


Merci d'avance,

Jeff



Re: Makefile help

2021-07-23 Thread Klaus Singvogel
Grzesiek wrote:
> 
> 1.Recreate the sub-directory structure of the source_dir inside of the
> dest_dir
> 
> 2. Each file found in source_dir should be converted to a new format using
> some command CMD in the following way:
> CMD source_dir//.src dest_dir// name>.dst

It's not common practice to do so, and think you might have missed
something.

But anyway, lookout for function: "mkshadow" in package/tool: shtool
Maybe it's doing what you want.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: installation debian 10.10.0 sur Dynabook Satellite Pro L50-G-103

2021-07-23 Thread Thomas Trupel

Bonjour,

Merci pour vos retours, j'ai enfin réussi à booter Debian (j'ai encore 
un problème au démarrage de Debian : écran noir avec le curseur qui 
clignote, peut-être que le GPU Intel UHD Graphics 620 n'est pas supporté).


@Didier, la copie que tu suggères n'a pas fonctionné.

@Georges, JH, la piste "Microsoft" était la bonne, il semble que le 
firmware UEFI de mon PC soit configuré pour lancer uniquement le loader 
"/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi". Après avoir créé les 
dossiers /boot/efi/EFI/Microsoft et /boot/efi/EFI/Microsoft/Boot j'ai 
copié le grubx64.efi : "cp /boot/efi/EFI/debian/grubx64.efi 
/boot/efi/EFI/Microsoft/Boot/bootmgw.efi". Et là...tada... j'ai réussi à 
booter sur Debian !


Le firmware UEFI de mon PC semble donc être une bien pauvre 
implémentation d'UEFI 
(https://www.rodsbooks.com/refind/installing.html#naming 
). Vous aurez 
compris que je suis déçu par ce PC et que je ne le recommande pas.


Merci à tous pour votre aide,
Thomas Trupel


On 23/07/2021 00:02, jhcha54008 wrote:

Bonsoir,

Je me demande si le fil de discussion suivant
(certes pour un modèle différent) pourrait
donner une piste pour trouver une solution :

https://forum.ubuntu-fr.org/viewtopic.php?id=2052532

(Je ne suis pas en situation de tester par moi-même
cette piste).

Bon courage !

Cordialement,
JH Chatenet


Re: Framework PC

2021-07-23 Thread Christian Britz



Dan Ritter wrote:

Dr. Gideon Fell wrote:

Colleagues,
Has anyone bought a Frameworks PC

https://frame.work/

and installed Debian??

Pretty sure that they are in pre-order only at this point, so
the answer is "not yet".

There is nothing obvious there that should be difficult for
Debian.

-dsr-
"You can also load your own operating system later, like a Linux 
distribution." At least withupcoming Bullseye release, there should be 
no problem.


Re: Makefile help

2021-07-23 Thread Grzesiek

On 7/23/21 4:25 PM, john doe wrote:

On 7/23/2021 4:10 PM, Grzesiek wrote:

I do not have experience in writing Makefiles. Appropriate Makefile
examples appreciated.



Why do you need to use make?
As far as I understand your question, you are not concernde about the
'mtime'.


The number of files is rather large so make -j8 could save lot of time.



Re: Makefile help

2021-07-23 Thread john doe

On 7/23/2021 4:10 PM, Grzesiek wrote:

I do not have experience in writing Makefiles. Appropriate Makefile
examples appreciated.



Why do you need to use make?
As far as I understand your question, you are not concernde about the
'mtime'.

--
John Doe



Makefile help

2021-07-23 Thread Grzesiek

Hi there!

I have two directories: source_dir and dest_dir. In the directory 
source_dir I have number of sub-directories and files. My goal is:


1.Recreate the sub-directory structure of the source_dir inside of the 
dest_dir


2. Each file found in source_dir should be converted to a new format 
using some command CMD in the following way:
CMD source_dir//.src dest_dir/file>/.dst


So, if source_dir contains:

source_dir
  +sub1
  |  +file1.src
  |  +file2.src
  |
  +file3.src
  +file4.src

In the dest_dir I would like to obtain:

dest_dir
  +sub1
  |  +file1.dst
  |  +file2.dst
  |
  +file3.dst
  +file4.dst

Is it possible to do it using make in a fully automatic way? What I mean 
is that make should find all sub-directories and files in source_dir by 
itself. Note that the sub-directories level may be grater than 1, no 
symlinks allowed.


I do not have experience in writing Makefiles. Appropriate Makefile 
examples appreciated.


--
Thanks in advance for any help.
Greg



Re: Framework PC

2021-07-23 Thread Christian Britz

Dan Ritter wrote:

Dr. Gideon Fell wrote:

Colleagues,
Has anyone bought a Frameworks PC

https://frame.work/

and installed Debian??

Pretty sure that they are in pre-order only at this point, so
the answer is "not yet".

There is nothing obvious there that should be difficult for
Debian.

-dsr-

"You can also load your own operating system later, like a Linux 
distribution." At least withupcoming Bullseye release, there should be 
no problem.


Re: Framework PC

2021-07-23 Thread Dan Ritter
Dr. Gideon Fell wrote: 
> Colleagues,
>   Has anyone bought a Frameworks PC
> 
> https://frame.work/
> 
> and installed Debian??

Pretty sure that they are in pre-order only at this point, so
the answer is "not yet".

There is nothing obvious there that should be difficult for
Debian.

-dsr-



Framework PC

2021-07-23 Thread Dr. Gideon Fell

Colleagues,
Has anyone bought a Frameworks PC

https://frame.work/

and installed Debian??
 Ron B.



Re: Debian avec info de debugging?

2021-07-23 Thread didier . gaumet


 ouais, j'ai comme d'hab' répondu un peu vite, pour gcc-10 et g++-10,
regarde plutôt les paquets -dbg qui t'intéressent sur les pages
respectives du paquet source à partir duquel sont générés gcc-10 et
g++-10:
https://packages.debian.org/source/bullseye/gcc-10




Re: Problems with an X220 potentially related to linux-4.9.0-16-amd64 update

2021-07-23 Thread tomas
On Fri, Jul 23, 2021 at 02:53:13PM +0200, Christian Britz wrote:
> 
> 
> Ivan Krylov wrote:
> >Does anyone have any hints on how to diagnose this further?
> >
> Switching to the old kernel version for some days?

Yes, your old kernel should still be around, so it would be easy to select
it at the boot prompt and see whether the symptoms disappear.

Cheers
 - t


signature.asc
Description: Digital signature


Re: USB audio device no longer showing up

2021-07-23 Thread Nicholas Geovanis
>
> On Fri, Jul 23, 2021 at 7:41 AM Thomas Amm  wrote:
>
> ...and before the hub use a short USB-3 extension to keep your laptop
> from being torn apart whenever you trip over the USB cable. But use a
> hub - no matter what the vendor of your audio hardware say. They all
> want their precious device to be directly connected - to avoid support
> tickets by people using shitty hubs. So I can't agree to your "cheap"
> argument. Not that I recommend expensive hubs in particular but they
> should at least be based on a reliable chipset, bring a solid PSU and
> no tacky connectors.
>
> Thomas which USB chipsets do you prefer for audio?
> And are you doing MIDI over USB to the synth?
>
> Viel Glueck .Nick Geovanis
>
>


Re: Debian avec info de debugging?

2021-07-23 Thread didier gaumet



Le vendredi 23 juillet 2021 à 14:19 +0200, Basile Starynkevitch a
écrit :
> 
> On 7/23/21 1:52 PM, Gaëtan Perrier wrote:
>    Bonjour,
>  
>  N'est ce pas le but des paquets *-dbg ?
> 
> Oui, mais où sont ceux pour
> 
> libc


libc6-dbg ?

> gcc-10

(Debian testing) lib32stdc++6-10-dbg ?

> g++-10

(Debian testing) libstdc++6-10-dbg ?

> Qt5.

suivant ce que tu utilises de Qt5, farfouiller dans les paquets *qt5*-
dbg ou *qt5*-dbgsym ?

> Quelle ligne ajouter dans /etc/apt/sources.list ?

Ben a priori pas besoin de modifier ton sources.list ?

(comme dit précédemment, vu mon niveau, que ceux qui s'y connaissent
n'hésitent pas à corriger mes erreurs)




Re: Problems with an X220 potentially related to linux-4.9.0-16-amd64 update

2021-07-23 Thread Christian Britz




Ivan Krylov wrote:

Does anyone have any hints on how to diagnose this further?


Switching to the old kernel version for some days?



Problems with an X220 potentially related to linux-4.9.0-16-amd64 update

2021-07-23 Thread Ivan Krylov
Hi!

A few days ago I've installed the linux-4.9.0-16-amd64 update on my
Stretch machine, a Lenovo X220 laptop. _After_ that (not yet sure
whether _because_ of that) the system started misbehaving, including:

 - hanging with backtraces on shutdown, once with enough of a working
   kernel for Alt-SysRq-EISUB to work, and once a complete hang
 - files on / suddenly turning out to be damaged (e.g. Firefox starts
   up well in the morning, then, without any updates, crashes in the
   afternoon and keeps crashing on startup; debsums -c shows 2 damaged
   *.so)
 - scary-looking error messages in dmesg, including "general protection
   fault", "swap_free: Bad swap file entry", "BUG: Bad page map in
   process", "BUG: Bad rss-counter state", "Bad pagetable". (Logs
   available if needed.)

I was going to blame this on the RAM or the SSD (the latter had been
bought in 2016), but I cannot get a conclusive proof of either being at
fault. Last night I ran 10 hours of memtest, then booted
linux-4.9.0-15-amd64 with "memtest" parameter added (no errors found
either way), ran everything I could think of (badblocks -n of the SSD
swap partition, `stress` with -c/-i/-m, some computations I usually
work on), but was unable to reproduce any problems.

I also tried hibernating and resuming the laptop, which gave me "Uhhuh.
NMI received for unknown reason 3c on CPU 0". Not sure if it's related
to the current bunch of problems, because I've always been getting it
from time to time, usually after resuming.

Does anyone have any hints on how to diagnose this further?

-- 
Best regards,
Ivan



Re: USB audio device no longer showing up

2021-07-23 Thread Thomas Amm
On Thu, 2021-07-22 at 16:25 +0100, Tom Yates wrote:


> i note in passing this is another great use for USB hubs.  recently
> when i 
> started having serious video camera problems, and having diagnosed a
> USB 
> socket on its way out, i ended up replacing a £20 hub with another
> £20 
> hub, instead of having to try, as you say, to repair a multi-hundred-
> euro 
> motherboard.
> 
> use a cheap hub for all your day-to-day connection and disconnection 
> needs, and save wear and tear on your fragile motherboard connectors.
> 

...and before the hub use a short USB-3 extension to keep your laptop
from being torn apart whenever you trip over the USB cable. But use a
hub - no matter what the vendor of your audio hardware say. They all
want their precious device to be directly connected - to avoid support
tickets by people using shitty hubs. So I can't agree to your "cheap"
argument. Not that I recommend expensive hubs in particular but they
should at least be based on a reliable chipset, bring a solid PSU and
no tacky connectors. 



Re: Debian avec info de debugging?

2021-07-23 Thread Basile Starynkevitch


On 7/23/21 1:52 PM, Gaëtan Perrier wrote:

Bonjour,

N'est ce pas le but des paquets *-dbg ?



Oui, mais où sont ceux pour


libc

gcc-10

g++-10

Qt5.


Quelle ligne ajouter dans /etc/apt/sources.list ?


Libremeent



Gaëtan

Le 23 juillet 2021 13:49:37 GMT+02:00, Basile Starynkevitch 
 a écrit :


Bonjour à tous,


Je cherche une variante de Debian (niveau testing au moins) ou Ubuntu
(21 ou mieux) dont tous les paquets codés en C ou en C++ ont été compilé
(en pratique) avec gcc -O2 -g ou g++ -O2 -g


Autrement dit, une variante de Debian avec un maximum d'info de
debugging (au format DWARF5)


Est-ce que ça existe, ou bien est-il possible de configurer mon
/etc/apt/sources.list


Librement


PS. Ca me sert aussi bien pour l'analyseur C & C++ Bismon en
https://github.com/bstarynk/bismon/    
que pour le projet RefPerSys en
http://refpersys.org/  


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

-- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez 
excuser ma brièveté.


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



Re: Debian avec info de debugging?

2021-07-23 Thread Roberto C . Sánchez
On Fri, Jul 23, 2021 at 01:49:37PM +0200, Basile Starynkevitch wrote:
> Bonjour à tous,
> 
> 
> Je cherche une variante de Debian (niveau testing au moins) ou Ubuntu (21 ou
> mieux) dont tous les paquets codés en C ou en C++ ont été compilé (en
> pratique) avec gcc -O2 -g ou g++ -O2 -g
> 
> 
> Autrement dit, une variante de Debian avec un maximum d'info de debugging
> (au format DWARF5)
> 
> 
> Est-ce que ça existe, ou bien est-il possible de configurer mon
> /etc/apt/sources.list
> 
> 
Chaque version de Debian a les paquets de déboguage.  Il faut juste
intaller les symboles et ensuite utiliser gdb:

https://wiki.debian.org/fr/HowToGetABacktrace

Salut,

-Roberto

-- 
Roberto C. Sánchez



Re : Debian avec info de debugging?

2021-07-23 Thread nicolas . patrois
Le 23/07/2021 13:52:13, Gaëtan Perrier a écrit :

> Bonjour,

> N'est ce pas le but des paquets *-dbg ?

> Gaëtan

Et tu peux en rajouter avec coredump pour systemd.
Ça te laisse une jolie trace rouge dans les journaux quand une application 
plante.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: Debian avec info de debugging?

2021-07-23 Thread Gaëtan Perrier
Bonjour,

N'est ce pas le but des paquets *-dbg ?

Gaëtan

Le 23 juillet 2021 13:49:37 GMT+02:00, Basile Starynkevitch 
 a écrit :
>Bonjour à tous,
>
>
>Je cherche une variante de Debian (niveau testing au moins) ou Ubuntu 
>(21 ou mieux) dont tous les paquets codés en C ou en C++ ont été compilé 
>(en pratique) avec gcc -O2 -g ou g++ -O2 -g
>
>
>Autrement dit, une variante de Debian avec un maximum d'info de 
>debugging (au format DWARF5)
>
>
>Est-ce que ça existe, ou bien est-il possible de configurer mon 
>/etc/apt/sources.list
>
>
>Librement
>
>
>PS. Ca me sert aussi bien pour l'analyseur C & C++ Bismon en 
>https://github.com/bstarynk/bismon/ que pour le projet RefPerSys en 
>http://refpersys.org/
>
>
>-- 
>Basile Starynkevitch  
>(only mine opinions / les opinions sont miennes uniquement)
>92340 Bourg-la-Reine, France
>web page: starynkevitch.net/Basile/
>

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma 
brièveté.

Debian avec info de debugging?

2021-07-23 Thread Basile Starynkevitch

Bonjour à tous,


Je cherche une variante de Debian (niveau testing au moins) ou Ubuntu 
(21 ou mieux) dont tous les paquets codés en C ou en C++ ont été compilé 
(en pratique) avec gcc -O2 -g ou g++ -O2 -g



Autrement dit, une variante de Debian avec un maximum d'info de 
debugging (au format DWARF5)



Est-ce que ça existe, ou bien est-il possible de configurer mon 
/etc/apt/sources.list



Librement


PS. Ca me sert aussi bien pour l'analyseur C & C++ Bismon en 
https://github.com/bstarynk/bismon/ que pour le projet RefPerSys en 
http://refpersys.org/



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



Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Greg Wooledge
On Fri, Jul 23, 2021 at 10:20:00AM +0300, Andrei POPESCU wrote:
> On the other hand, if the device would accept only firmware signed by 
> the manufacturer the code itself could be open sourced.
> 
> Users would still depend on the manufacturers to actually release 
> updates, but at least they would have a way to contribute improvements 
> to the code.

It would still fail any reasonable definition of "free software", though,
including Debian's DFSG.  The user is not free to make any changes to
the software, not even for their own personal use.  They're not even free
to rebuild the firmware and verify that it matches the official binary.
All they can do is look at the code and hope that the binary blob actually
matches it.

So, even in this hypothetical universe, the firmware would still be in
the non-free section.



RE: partial freeze when playing 3D games

2021-07-23 Thread Toni Casueps


Hi all,


When running 3D games (video players or 2D games work fine), at a random moment 
the image freezes. If I Alt-Tab out of the game window, as shown in the linked 
video below, the Alt-Tab dialog works and it actually switches to the other 
applications but they can't be seen, only their window borders. I can even do 
Alt+F2, type xterm, the application opens and I can type exit and xterm is 
closed. The only thing I can do is go back to text mode with Ctrl+Alt+F1, log 
in and kill the game process, then go back to Alt-F7 and everything works fine 
with the remaining open applications.


I checked Xorg.0.log and other files in /var/log and dmesg, but there is 
nothing there related to the freeze. How can I further debug this?


System: Debian 11 + LXDE, all updates applied


Linux 5.10.0-8-amd64 SMP


VGA compatible controller: Intel Corporation TigerLake GT2 [Iris Xe Graphics] 
(rev 01)


https://drive.google.com/file/d/164KJ1zUIgI7oNwIC5V1yhigyLcG1GLA2/view?usp=sharing




Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Andrei POPESCU
On Vi, 23 iul 21, 17:11:25, loushanguan2...@sina.com wrote:
> 
> Thanks, as most adapters require firmware, it's not handy for user to 
> supply them during installation
> can't debian do a better job? i care more about ease of use than 
> freeware philosophymany other distro just supply them

https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/
 
> these non-free firmware are same as software without source code??

Yes, in Debian's opinion[1]. Other entities consider that these should 
be treated specially, just because they don't run on the main processor 
of the computer.

[1] In as much as the Debian Project can have an opinion, within the 
project opinions vary as well.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Instalar firmware Ath9k en Nvidia Jetson Nano

2021-07-23 Thread Camaleón
El 2021-07-23 a las 02:49 -0700, Raúl Parada Medina escribió:

> El viernes, 23 de julio de 2021 a las 8:30:03 UTC+2, Camaleón escribió:

(...)

> > > No sé como debo hacer la instalación, se supone que al conectar el módulo 
> > > WiFi, se carga automáticamente el driver. Sin embargo, yo no sé como 
> > > activar la tarjeta o comprobar que realmente está cargado el 
> > > driver/firmware adecuado.
> > Lo primero es saber qué módulo tienes cargado. Ejecuta «lsmod» y busca 
> > el de la tarjeta inalámbrica. 
> > 
> > Si se trata de una tarjeta integrada (interna) debes tener el 
> > controlador ath9k que viene directamente con el kernel. 
> > 
> > Si es así, sigue con los pasos habituales para configurar la tarjeta, y 
> > a su vez, revisa los registros, son muy útiles para detectar problemas 
> > con el wifi (como root, ejecuta «tail -f /var/log/messages»). 

> Ejecutando lsmod | grep ath9k tengo la salida:
> ath9k 
> ath9k_common -> ath9k
> ath9k_hw -> ath9k, ath9k_common
> ath -> ath9k_hw, ath9k, ath9k_common
> mac80211 -> ath9k
> cfg80211-> mac80211, ath9k, ath, ath9k_common

Parece correcto.

> Ya he probado todas las configuraciones posibles típicas de configuración de 
> la tarjeta wifi. No existe ningún log. Y cuando ejecuto "sudo nmcli dev wifi 
> list", aparece vacío. Y con "sudo nmcli" aparece wlan0: disconnected. ¿Cómo 
> puedo hacer para que se muestren redes wifi? ¿O comprobar que el problema no 
> es de driver/firmware.

La configuración del wifi no es sencilla, y dependerá de qué 
herramientas uses, además de si es gráfica o por línea de órdenes:

https://wiki.debian.org/WiFi/HowToUse

Empieza con la orden más sencilla «ip link show».

En los portátiles, normalmente tienes un interruptor físico para 
apagar/encender el adaptador de red inalámbrica, pero en el jetson no 
creo que tengas ese botón. Tendrás que asegurare de que el adaptador 
esté activado (existe una herramienta por software que se llama rfkill, 
si mal no recuerdo, que hace las funciones del conmutador físico).

En fin, vete probando cosas y revsia siempre el registro (dmesg, 
/var/log/messages...) porque toda la actividad del adaptador 
inalámbrico y los mensajes de autentificación (WPA2) se registran ahí.

Saludos,

-- 
Camaleón 



partial freeze when playing 3D games

2021-07-23 Thread Toni Casueps
Hi all,


When running 3D games (video players or 2D games work fine), at a random moment 
the image freezes. If I Alt-Tab out of the game window, as shown in the linked 
video below, the Alt-Tab dialog works and it actually switches to the other 
applications but they can't be seen, only their window borders. I can even do 
Alt+F2, type xterm, the application opens and I can type exit and xterm is 
closed. The only thing I can do is go back to text mode with Ctrl+Alt+F1, log 
in and kill the game process, then go back to Alt-F7 and everything works fine 
with the remaining open applications.


I checked Xorg.0.log and other files in /var/log and dmesg, but there is 
nothing there related to the freeze. How can I further debug this?


System: Debian 11 + LXDE, all updates applied


Linux 5.10.0-8-amd64 SMP


VGA compatible controller: Intel Corporation TigerLake GT2 [Iris Xe Graphics] 
(rev 01)


https://drive.google.com/file/d/164KJ1zUIgI7oNwIC5V1yhigyLcG1GLA2/view?usp=sharing



Re: Instalar firmware Ath9k en Nvidia Jetson Nano

2021-07-23 Thread Raúl Parada Medina
Ejecutando lsmod | grep ath9k tengo la salida:
ath9k 
ath9k_common -> ath9k
ath9k_hw -> ath9k, ath9k_common
ath -> ath9k_hw, ath9k, ath9k_common
mac80211 -> ath9k
cfg80211-> mac80211, ath9k, ath, ath9k_common

Ya he probado todas las configuraciones posibles típicas de configuración de la 
tarjeta wifi. No existe ningún log. Y cuando ejecuto "sudo nmcli dev wifi 
list", aparece vacío. Y con "sudo nmcli" aparece wlan0: disconnected. ¿Cómo 
puedo hacer para que se muestren redes wifi? ¿O comprobar que el problema no es 
de driver/firmware.

Gracias, Raúl

El viernes, 23 de julio de 2021 a las 8:30:03 UTC+2, Camaleón escribió:
> El 2021-07-22 a las 22:38 -0700, Raúl Parada Medina escribió: 
> 
> > El jueves, 22 de julio de 2021 a las 16:20:03 UTC+2, Camaleón escribió:
> (...)
> > > > > > > > Tengo una Nvidia Jetson Nano development kit la cual tiene 
> > > > > > > > conectado un módulo Wifi con chipset Ath9k. Sin embargo, no 
> > > > > > > > consigo instalar el firm ware correctamente. 
> > > > > > > > 
> > > > > > > > ¿Alguien lo ha intentado? 
> > > > > > > ¿Y qué pasos has seguido? Si el sistema la detecta y ya sabes el 
> > > > > > > modelo 
> > > > > > > que es, sólo tendrás que instalar el driver y quizá el firmware 
> > > > > > > propietario: 
> > > > > > > 
> > > > > > > https://wireless.wiki.kernel.org/en/users/drivers 
> > > > > > > https://wiki.debian.org/ath9k_htc 
> > > > > > > https://elinux.org/Jetson_Nano 
> > > > > > He probado esto: 
> > > > > > https://wiki.debian.org/ath9k_htc/open_firmware 
> > > > > > Se detecta el modelo, pero no detecta redes wifi. No encuentro el 
> > > > > > firmware propietario: Qualcomm Atheros AR928X Wireless Network 
> > > > > > Adapter (PCI-Express) (rev 01) 
> > > > > > 
> > > > > > ¿Alguna idea? 
> > > > > Ese chipset necesita el firmware para funcionar (ojo, el firmware no 
> > > > > es 
> > > > > el driver). 
> > > > > 
> > > > > https://wireless.wiki.kernel.org/en/users/drivers/ath9k_htc#firmware 
> > > > > 
> > > > > Lo tienes en los repos non-free de Debian (firmware-atheros) y en los 
> > > > > del kernel. 
> > > > 
> > > > ¿Sabes si es compatible con AR928X? No veo ese modelo en el link 
> > > Eso interpreto: 
> > > 
> > > https://wireless.wiki.kernel.org/en/users/drivers/ath9k_htc#chipsets_supported
> > >  
> > > 
> > > Chipsets supported 
> > > 
> > > AR9271 
> > > AR7010 USB-PCIe bridge with AR928x wireless chips 
> > > ^ 
> > > 
> > > Pero ojo, si el adaptador es integrado (no USB) también puedes probar 
> > > con el driver «ath9k», según la wiki de Debian ese sería el controlador 
> > > adecuado a cargar por el kernel y no necesita firmware adicional: 
> > > 
> > > https://wiki.debian.org/ath9k 
> > > 
> > > Supported Devices 
> > > PCI: 168C:002A Qualcomm Atheros AR928X Wireless Network Adapter 
> > > (PCI-Express) 
> >
> > No sé como debo hacer la instalación, se supone que al conectar el módulo 
> > WiFi, se carga automáticamente el driver. Sin embargo, yo no sé como 
> > activar la tarjeta o comprobar que realmente está cargado el 
> > driver/firmware adecuado.
> Lo primero es saber qué módulo tienes cargado. Ejecuta «lsmod» y busca 
> el de la tarjeta inalámbrica. 
> 
> Si se trata de una tarjeta integrada (interna) debes tener el 
> controlador ath9k que viene directamente con el kernel. 
> 
> Si es así, sigue con los pasos habituales para configurar la tarjeta, y 
> a su vez, revisa los registros, son muy útiles para detectar problemas 
> con el wifi (como root, ejecuta «tail -f /var/log/messages»). 
> 
> Saludos, 
> 
> 
> 
> 
> -- 
> Camaleón



Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread tomas
On Fri, Jul 23, 2021 at 05:11:25PM +0800, loushanguan2...@sina.com wrote:
> 
> Thanks, as most adapters require firmware, it's not handy for user to supply 
> them during installation
> can't debian do a better job? i care more about ease of use than freeware 
> philosophymany other distro just supply them
> 
> these non-free firmware are same as software without source code??

But that's exactly why I love Debian: it doesn't hide those things
from me. I, as a user, get to make a decision every time Debian
installs a piece of non-free software on my box.

I really appreciate it this way, even if it is more work.

Cheers
 - t


signature.asc
Description: Digital signature


Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Dan Ritter
loushanguan2...@sina.com wrote: 
> 
> Thanks, as most adapters require firmware, it's not handy for user to supply 
> them during installation
> can't debian do a better job? i care more about ease of use than freeware 
> philosophymany other distro just supply them

If all distros were the same, why would we have more than one?

Debian cares enough about software freedom to make you jump
through a hoop on this issue, but not so much that finding the
hoop is impossible.

In this case, activating the non-free repository in /etc/apt/sources.list 
is the hoop.
 
> these non-free firmware are same as software without source code??

They aren't the complete driver, but rather a chunk of software that
runs on the device itself. The manufacturer does not supply the source
code for that, but allows the binary object to be distributed. It is
called firmware because it is between software and hardware.

-dsr-



Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread loushanguan2015

Thanks, as most adapters require firmware, it's not handy for user to supply 
them during installation
can't debian do a better job? i care more about ease of use than freeware 
philosophymany other distro just supply them

these non-free firmware are same as software without source code??


journal upgrade

2021-07-23 Thread elguero eric
bonjour à tous,

je suis passé récemment à la version 10
en utilisant la commande
apt full-upgrade
et maintenant j'ai des petits dysfonctionnements.

la procédure d'upgrade m'a posé des questions
auxquelles j'ai répondu un peu au pif et je 
soupçonne que les problèmes viennent de là.
Et évidemment je n'ai rien noté.
Est-ce qu'il existe un journal de cette procédure
ou une trace quelconque de mes réponses
à ces questions?

Eric Elguero



Re: where can i find a list of wireless adapter that debian support

2021-07-23 Thread Andrei POPESCU
On Jo, 22 iul 21, 04:33:09, Gene Heskett wrote:
> On Thursday 22 July 2021 00:58:23 loushanguan2...@sina.com wrote:
> 
> > Thank Georgi!
> > the tricky part of my search for ideal adapter(needn't non-free
> > firmware) isthat many vendors claim they support linux, but i'm afraid
> > they require non-free firmware is there some easy way to find out if
> > it requires non-free firmware?
> 
> I'll repeat why you will find there is a 100% need for sealed blobs of 
> firmware. Because the FCC requires that the frequencies used be limited 
> to the assigned band for this service, and the power outputs are also 
> limited, these are options for software radios, must be enforced with 
> with code whose limits are not accessable to the user. So all code that 
> manages this, is by the rules, sealed code, and the radio doesn't work 
> w/o it.

Sure.

On the other hand, if the device would accept only firmware signed by 
the manufacturer the code itself could be open sourced.

Users would still depend on the manufacturers to actually release 
updates, but at least they would have a way to contribute improvements 
to the code.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Instalar firmware Ath9k en Nvidia Jetson Nano

2021-07-23 Thread Camaleón
El 2021-07-22 a las 22:38 -0700, Raúl Parada Medina escribió:

> El jueves, 22 de julio de 2021 a las 16:20:03 UTC+2, Camaleón escribió:

(...)

> > > > > > > Tengo una Nvidia Jetson Nano development kit la cual tiene 
> > > > > > > conectado un módulo Wifi con chipset Ath9k. Sin embargo, no 
> > > > > > > consigo instalar el firm ware correctamente. 
> > > > > > > 
> > > > > > > ¿Alguien lo ha intentado? 
> > > > > > ¿Y qué pasos has seguido? Si el sistema la detecta y ya sabes el 
> > > > > > modelo 
> > > > > > que es, sólo tendrás que instalar el driver y quizá el firmware 
> > > > > > propietario: 
> > > > > > 
> > > > > > https://wireless.wiki.kernel.org/en/users/drivers 
> > > > > > https://wiki.debian.org/ath9k_htc 
> > > > > > https://elinux.org/Jetson_Nano 
> > > > > He probado esto: 
> > > > > https://wiki.debian.org/ath9k_htc/open_firmware 
> > > > > Se detecta el modelo, pero no detecta redes wifi. No encuentro el 
> > > > > firmware propietario: Qualcomm Atheros AR928X Wireless Network 
> > > > > Adapter (PCI-Express) (rev 01) 
> > > > > 
> > > > > ¿Alguna idea? 
> > > > Ese chipset necesita el firmware para funcionar (ojo, el firmware no es 
> > > > el driver). 
> > > > 
> > > > https://wireless.wiki.kernel.org/en/users/drivers/ath9k_htc#firmware 
> > > > 
> > > > Lo tienes en los repos non-free de Debian (firmware-atheros) y en los 
> > > > del kernel. 
> > >
> > > ¿Sabes si es compatible con AR928X? No veo ese modelo en el link
> > Eso interpreto: 
> > 
> > https://wireless.wiki.kernel.org/en/users/drivers/ath9k_htc#chipsets_supported
> >  
> > 
> > Chipsets supported 
> > 
> > AR9271 
> > AR7010 USB-PCIe bridge with AR928x wireless chips 
> > ^ 
> > 
> > Pero ojo, si el adaptador es integrado (no USB) también puedes probar 
> > con el driver «ath9k», según la wiki de Debian ese sería el controlador 
> > adecuado a cargar por el kernel y no necesita firmware adicional: 
> > 
> > https://wiki.debian.org/ath9k 
> > 
> > Supported Devices 
> > PCI: 168C:002A Qualcomm Atheros AR928X Wireless Network Adapter 
> > (PCI-Express) 
> 
> No sé como debo hacer la instalación, se supone que al conectar el módulo 
> WiFi, se carga automáticamente el driver. Sin embargo, yo no sé como activar 
> la tarjeta o comprobar que realmente está cargado el driver/firmware adecuado.

Lo primero es saber qué módulo tienes cargado. Ejecuta «lsmod» y busca 
el de la tarjeta inalámbrica.

Si se trata de una tarjeta integrada (interna) debes tener el 
controlador ath9k que viene directamente con el kernel. 

Si es así, sigue con los pasos habituales para configurar la tarjeta, y 
a su vez, revisa los registros, son muy útiles para detectar problemas 
con el wifi (como root, ejecuta «tail -f /var/log/messages»).

Saludos,




-- 
Camaleón