Re: Debian 11 Cinnamon Lock Screen Issue

2022-08-23 Thread Ajay R
> https://github.com/mate-desktop/mate-screensaver/issues/231

This helps. Thank you.



Re: Bookworm: Firefox v102 seems to be hanging quite often

2022-08-23 Thread local10
Aug 22, 2022, 20:28 by geo...@nsup.org:

> local10 (12022-08-21):
>
>> Have upgraded to FF v102 a couple of days ago but it looks like
>> something isn't quite right with this version of FF. Have to restart
>> it once or twice a day because FF just stops responding. The issue
>> doesn't seem to be related to any particular site. Same hardware, same
>> Debian (Bookworm), same FF plugins.
>>
>> The previous FF version (v91, IIRC) was a lot more stable, practically
>> never crashed or hanged.
>>
>
> I had a similar issue, but rather with the previous version(s). It
> seemed related to opening tooltips. I have not had it since the last
> upgrade two days ago.
>

Interesting, thanks for your feedback.

Is there a way though to downgrade to the previous FF version (v91) in Bookworm?

Regards,



Re: Bookworm: Firefox v102 seems to be hanging quite often

2022-08-23 Thread Brad Rogers
On Tue, 23 Aug 2022 13:40:26 +0200 (CEST)
local10  wrote:

Hello local10,

>Is there a way though to downgrade to the previous FF version (v91) in
>Bookworm?

Debian doesn't support downgrading.

That said;

Delete FF and then use snapshot.debian to install an earlier version.

-- 
 Regards  _
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
I'll be the paint on the side if you'll be the tin
Love Song - The Damned


pgprAP0GyPA6i.pgp
Description: OpenPGP digital signature


Re: Bookworm: Firefox v102 seems to be hanging quite often

2022-08-23 Thread local10
Aug 23, 2022, 11:51 by b...@fineby.me.uk:

> Debian doesn't support downgrading.
>
> That said;
>
> Delete FF and then use snapshot.debian to install an earlier version.
>


Thanks



Bookworm : graphic glitches all over my screen after upgrade

2022-08-23 Thread rudu

Hi,

Coming back from holidays, I did a pretty huge upgrade of my Bookworm 
system on my aging desktop (2009).

After a reboot, what I could see is best described via this snapshot :
https://wtf.roflcopter.fr/pics/rVcN0HFu/vgQCGy7g.png

What I tried so far :
- replacing my nouveau driver by a proprietary one, but :
$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96C 
[GeForce 9400 GT] [10de:0641] (rev a1)


Checking card:  NVIDIA Corporation G96C [GeForce 9400 GT] (rev a1)
Your card is only supported by the 340 legacy drivers series, which is 
only available up to buster.


- installed the last kernel for testing :
$ dpkg -l linux-image-* | grep ^ii
ii  linux-image-5.18.0-4-amd64  5.18.16-1    amd64 Linux 5.18 
for 64-bit PCs (signed)
ii  linux-image-5.7.0-2-amd64   5.7.10-1 amd64 Linux 5.7 for 
64-bit PCs (signed)
ii  linux-image-5.7.0-3-amd64   5.7.17-1 amd64 Linux 5.7 for 
64-bit PCs (signed)
ii  linux-image-amd64   5.18.16-1    amd64 Linux for 
64-bit PCs (meta-package)

... no change.

- reconfigured window display management between lightdm/sddm/gdm3 :
Curiously, only sddm showed no sign of being affected, until I opened a 
graphic environment (LXDE, XFCE4, Gnome-Xorg/wayland, 
Plasma-Xorg/wayland) where the problem was always back.


- I looked into /var/log/apt/term.log resulting from my last upgrade and 
tried to find something relevant and I saw this :

cat /var/log/apt/term.log | grep xserver
Préparation du dépaquetage de .../38-xserver-common_2%3a21.1.4-1_all.deb ...
Dépaquetage de xserver-common (2:21.1.4-1) sur (2:21.1.3-2) ...
Préparation du dépaquetage de 
.../39-xserver-xorg-core_2%3a21.1.4-1_amd64.deb ...

Dépaquetage de xserver-xorg-core (2:21.1.4-1) sur (2:21.1.3-2+b1) ...
Préparation du dépaquetage de 
.../359-xserver-xephyr_2%3a21.1.4-1_amd64.deb ...

Dépaquetage de xserver-xephyr (2:21.1.4-1) sur (2:21.1.3-2+b1) ...
Paramétrage de xserver-common (2:21.1.4-1) ...
Paramétrage de xserver-xephyr (2:21.1.4-1) ...
Paramétrage de xserver-xorg-core (2:21.1.4-1) ...

I don't know what to do or where to look, my system is barely usable now 
and freezes regularly ...


Any help would be warmly appreciated
Rudu





no JAVA_HOME in the path

2022-08-23 Thread Amn
When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing, 
'echo $PATH' reports - 
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool: 
/usr/bin/libtool /usr/share/libtool /usr/share/man/man1/libtool.1.gz -
However if I type, 'java --version' I get - 
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool: 
/usr/bin/libtool /usr/share/libtool /usr/share/man/man1/libtool.1.gz -, 
which is correct.

Where is $JAVA_HOME set or how do I add it to the path permanently?

Thanks in advance.


Re: Bookworm: Firefox v102 seems to be hanging quite often

2022-08-23 Thread piorunz

On 22/08/2022 21:19, local10 wrote:


Have upgraded to FF v102 a couple of days ago but it looks like something isn't 
quite right with this version of FF. Have to restart it once or twice a day 
because FF just stops responding. The issue doesn't seem to be related to any 
particular site. Same hardware, same Debian (Bookworm), same FF plugins.



Nobody else having issues with Firefox v102?


I can confirm that previous and current versions are very stable for me
in Debian Bookworm (testing repos).
I use Firefox in firejail and it never hangs or crashes.

--
With kindest regards, Piotr.

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



Re: no JAVA_HOME in the path

2022-08-23 Thread Roberto C . Sánchez
On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:
>When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing,
>'echo $PATH' reports -
>
> /usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
>/usr/bin/libtool /usr/share/libtool /usr/share/man/man1/libtool.1.gz -
>However if I type, 'java --version' I get -
>
> /usr/local/[2]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
>/usr/bin/libtool /usr/share/libtool /usr/share/man/man1/libtool.1.gz -,
>which is correct.
>Where is $JAVA_HOME set or how do I add it to the path permanently?
> 
You have to set it yourself.

Options include /etc/bashrc, /etc/profile, /etc/profile.d,
/etc/environment, /etc/environment.d, and possibly others, for setting
it system-wide, and their per-user counterparts in $HOME for setting it
on a per-user basis.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: no JAVA_HOME in the path

2022-08-23 Thread Amn

Thank you for your prompt response.
Adding Java to the $PATH variable requires me to know the location where 
Java was installed, which I don't know. Is there a way to find out where 
Java was installed?



On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote:

On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:

When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing,
'echo $PATH' reports -

/usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
/usr/bin/libtool /usr/share/libtool /usr/share/man/man1/libtool.1.gz -
However if I type, 'java --version' I get -

/usr/local/[2]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
/usr/bin/libtool /usr/share/libtool /usr/share/man/man1/libtool.1.gz -,
which is correct.
Where is $JAVA_HOME set or how do I add it to the path permanently?


You have to set it yourself.

Options include /etc/bashrc, /etc/profile, /etc/profile.d,
/etc/environment, /etc/environment.d, and possibly others, for setting
it system-wide, and their per-user counterparts in $HOME for setting it
on a per-user basis.

Regards,

-Roberto





Re: no JAVA_HOME in the path

2022-08-23 Thread tomas
On Tue, Aug 23, 2022 at 09:49:10AM -0400, Amn wrote:
> Thank you for your prompt response.
> Adding Java to the $PATH variable requires me to know the location where
> Java was installed, which I don't know. Is there a way to find out where
> Java was installed?

Wait. I think you are confusing two things: PATH is where your shell goes
to look for your binaries. Has *nothing* to do with java. JAVA_HOME is
where your java installation finds its things. If you are using the
java installation provided by your distribution, it shouldn't be necessary
to set it.

You only have to set it when you have an alternative java installation
which *you* have installed yourself and your distribution doesn't know
about. But then you know what you are doing and know how to set that
variable.

HTH
-- 
t


signature.asc
Description: PGP signature


Re: no JAVA_HOME in the path

2022-08-23 Thread rudu

On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote:

On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:
    When I type echo $JAVA_HOME, Debian 11's Konsole displays ... 
nothing,

    'echo $PATH' reports -
/usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
    /usr/bin/libtool /usr/share/libtool 
/usr/share/man/man1/libtool.1.gz -

    However if I type, 'java --version' I get -
/usr/local/[2]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
    /usr/bin/libtool /usr/share/libtool 
/usr/share/man/man1/libtool.1.gz -,

    which is correct.
    Where is $JAVA_HOME set or how do I add it to the path permanently?


You have to set it yourself.

Options include /etc/bashrc, /etc/profile, /etc/profile.d,
/etc/environment, /etc/environment.d, and possibly others, for setting
it system-wide, and their per-user counterparts in $HOME for setting it
on a per-user basis.

Regards,

-Roberto



Le 23/08/2022 à 15:49, Amn a écrit :

Thank you for your prompt response.
Adding Java to the $PATH variable requires me to know the location 
where Java was installed, which I don't know. Is there a way to find 
out where Java was installed?





Maybe this could help :

$ java -version
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1, mixed mode, 
sharing)


$ update-alternatives --config java
Il existe 6 choix pour l'alternative java (qui fournit /usr/bin/java).

  Sélection   Chemin Priorité  État

  0    /usr/lib/jvm/java-11-openjdk-amd64/bin/java   
mode automatique
  1    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java 53    mode 
manuel
  2    /usr/lib/jvm/java-10-openjdk-amd64/bin/java 1101  
mode manuel
* 3    /usr/lib/jvm/java-11-openjdk-amd64/bin/java   
mode manuel

  4    /usr/lib/jvm/java-6-sun/jre/bin/java 63    mode manuel
  5    /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081  
mode manuel
  6    /usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/java 
318   mode manuel


Appuyez sur  pour conserver la valeur par défaut[*] ou 
choisissez le numéro sélectionné :


(Sorry, it's french)

Rudu




at wits end

2022-08-23 Thread gene heskett

printers will be the end of me yet...

bullseye, up to date as of an hour ago.

I have 2 printers here; both Brothers, one is a newer Hll2320D
a black & white laser, does duplex flawlessly.

And an older brother MFC-J6920DW which has two paper src trays.
This is a BIG MFC ink jet, capable of printing and scanning of tabloid 
paper.
cups can make it do whatever I want, including test pages on duplex 
paper in tray 2,

the bottom tray.

Trying to rebuild a 3d printer, I need to print data from some of those 
web sites.


But I cannot, something in the browser (FF) or "system" is over riding 
the tray choice
and demanding it can only use tray 1, which I've emptied since tray one 
is normally
loaded with dollar a sheet foto paper. The system dialog did at one time 
access the
drivers ppd's to obtain its capabilities, but that has ceased, reported 
by the system

dialog as "not available".

ipp everywhere does NOT work, _never_ has for this printer and this has 
been true, but cups-browsed
overrides any attempt to use the drivers brother supplies. They are 
excellent drivers
so it was removed back in the spring, but now its single mindedness has 
returned and it has
NOT been reinstalled. But tray 2 is not accessible from any print dialog 
now.


How can "I" regain control?

How can I invoke a debug trace that might show where this is being 
filtered out?


Thanks all.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: no JAVA_HOME in the path

2022-08-23 Thread Markus Schönhaber

23.08.22, 15:49 +0200, Amn:


Thank you for your prompt response.
Adding Java to the $PATH variable requires me to know the location where
Java was installed, which I don't know. Is there a way to find out where
Java was installed?


As Tomas wrote, the more interesting question than *how* to set 
JAVA_HOME, is *why* you want to set it in the first place.


That said, on Linux package managers often install JVMs in a 
subdirectory of /usr/lib/jvm.
To find out what the java binary in your PATH thinks about where it's 
home is, you can do, for example


java -XshowSettings:properties -version 2>&1 > /dev/null | grep 'java.home'

On debian

update-alternatives --display java

should show you the Java installations the system knows about.

And, of course, a tool like dpkg could be used to show which files are 
installed by the package manager...


--
Regards
  mks



An aside on having . in PATH, Re: no JAVA_HOME in the path

2022-08-23 Thread David Wright
On Tue 23 Aug 2022 at 16:33:40 (+0200), rudu wrote:
> On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote:
> > > On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:
> > > >     When I type echo $JAVA_HOME, Debian 11's Konsole
> > > > displays ... nothing,
> > > >     'echo $PATH' reports -
> > > > /usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
> > > >     /usr/bin/libtool /usr/share/libtool
> > > > /usr/share/man/man1/libtool.1.gz -
> > > >     However if I type, 'java --version' I get -
> > > > /usr/local/[2]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:
> > > >     /usr/bin/libtool /usr/share/libtool
> > > > /usr/share/man/man1/libtool.1.gz -,
> > > >     which is correct.
> > > >     Where is $JAVA_HOME set or how do I add it to the path permanently?
> > > > 
> > > You have to set it yourself.
> > > 
> > > Options include /etc/bashrc, /etc/profile, /etc/profile.d,
> > > /etc/environment, /etc/environment.d, and possibly others, for setting
> > > it system-wide, and their per-user counterparts in $HOME for setting it
> > > on a per-user basis.
> > > 
> > > Regards,
> > > 
> > > -Roberto
> > > 
> > 
> > Le 23/08/2022 à 15:49, Amn a écrit :
> > > Thank you for your prompt response.
> > > Adding Java to the $PATH variable requires me to know the
> > > location where Java was installed, which I don't know. Is
> > > there a way to find out where Java was installed?
> > > 
> > > 
> 
> Maybe this could help :
> 
> $ java -version
> openjdk version "11.0.16" 2022-07-19
> OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1)
> OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1, mixed mode,
> sharing)
> 
> $ update-alternatives --config java
> Il existe 6 choix pour l'alternative java (qui fournit /usr/bin/java).
> 
>   Sélection   Chemin Priorité  État
> 
>   0    /usr/lib/jvm/java-11-openjdk-amd64/bin/java  
> mode automatique
>   1    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java 53    mode
> manuel
>   2    /usr/lib/jvm/java-10-openjdk-amd64/bin/java 1101 
> mode manuel
> * 3    /usr/lib/jvm/java-11-openjdk-amd64/bin/java  
> mode manuel
>   4    /usr/lib/jvm/java-6-sun/jre/bin/java 63    mode manuel
>   5    /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
> 1081  mode manuel
>   6    /usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/java
> 318   mode manuel
> 
> Appuyez sur  pour conserver la valeur par défaut[*] ou
> choisissez le numéro sélectionné :
> 
> (Sorry, it's french)

Not as bad as the OP's use of HTML. I've looked at that post in its
text version, the raw HTML, as rendered by lynx, and in firefox,
and it looks as though the PATH ends with a colon.

So I'll just point out that if you want the current directory in
your PATH, then make it explicit with a period, as in:

  … … …games:/usr/games:/snap/bin:libtool:.

and if you don't, then remove the final colon, as in:

  … … …games:/usr/games:/snap/bin:libtool

If ever you want to run, say, foo in your current directory,
then just type:

$ ./foo

But in view of the newish semantics for su, I'd strongly advise
against having PATH include the directory that you just happened
be in at the moment.

Cheers,
David.



Re: at wits end

2022-08-23 Thread David Wright
On Tue 23 Aug 2022 at 10:53:22 (-0400), gene heskett wrote:
> printers will be the end of me yet...
> 
> bullseye, up to date as of an hour ago.
> 
> I have 2 printers here; both Brothers, one is a newer Hll2320D
> a black & white laser, does duplex flawlessly.
> 
> And an older brother MFC-J6920DW which has two paper src trays.
> This is a BIG MFC ink jet, capable of printing and scanning of tabloid
> paper.
> cups can make it do whatever I want, including test pages on duplex
> paper in tray 2,
> the bottom tray.
> 
> Trying to rebuild a 3d printer, I need to print data from some of
> those web sites.
> 
> But I cannot, something in the browser (FF) or "system" is over riding

Eliminate the effect of firefox by printing the page to a PDF file,
then print that?

FF's ability to print has improved a lot recently. Not perfect, mind.

Cheers,
David.



Re: at wits end

2022-08-23 Thread gene heskett

On 8/23/22 11:22, David Wright wrote:

On Tue 23 Aug 2022 at 10:53:22 (-0400), gene heskett wrote:

printers will be the end of me yet...

bullseye, up to date as of an hour ago.

I have 2 printers here; both Brothers, one is a newer Hll2320D
a black & white laser, does duplex flawlessly.

And an older brother MFC-J6920DW which has two paper src trays.
This is a BIG MFC ink jet, capable of printing and scanning of tabloid
paper.
cups can make it do whatever I want, including test pages on duplex
paper in tray 2,
the bottom tray.

Trying to rebuild a 3d printer, I need to print data from some of
those web sites.

But I cannot, something in the browser (FF) or "system" is over riding

Eliminate the effect of firefox by printing the page to a PDF file,
then print that?

FF's ability to print has improved a lot recently. Not perfect, mind.

Cheers,
David.

.

And how do I print the resulting .pdf?

system printer, xfce system, shows 4 choices, one for pdf, 2 for this 
brother
depending on tray choice in the profile cups shows, and one for the 
HLL2320D.


I made the 4 page pdf, but lp -d can't find anything to print to. The 
printer,
or class, does not exist regardless of how carefully I copy/paste the 
destination
device from the output of /usr/sbin/lpinfo -v.(and, why is that not in 
my $PATH?)


Thank you David.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Bookworm : graphic glitches all over my screen after upgrade

2022-08-23 Thread piorunz

On 23/08/2022 14:13, rudu wrote:

Hi,

Coming back from holidays, I did a pretty huge upgrade of my Bookworm
system on my aging desktop (2009).
After a reboot, what I could see is best described via this snapshot :
https://wtf.roflcopter.fr/pics/rVcN0HFu/vgQCGy7g.png


Only one thing I can think of is nouveau driver issue.
If I am not mistaken, Bookworm has libdrm-nouveau2 and
xserver-xorg-video-nouveau packages to provide nouveau driver.
Only libdrm-nouveau2 has seen new upstream release landing in bookworm
recently.

See in your apt logs if these packages were part of the upgrade you
undertaken recently? For me, history.log shows upgrade entry on
2022-08-03 (20 days ago): libdrm-nouveau2:amd64 (upgrade from version
2.4.110-1 to version 2.4.112-3).

Also please show output of
inxi -G
command in terminal. Install inxi if you haven't already.

--
With kindest regards, Piotr.

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



Re: at wits end

2022-08-23 Thread Brian
On Tue 23 Aug 2022 at 12:26:53 -0400, gene heskett wrote:

> I made the 4 page pdf, but lp -d can't find anything to print to. The
> printer, or class, does not exist regardless of how carefully I
> copy/paste the destination device from the output of /usr/sbin/lpinfo
> -v.(and, why is that not in my $PATH?)

lpinfo is entirely the wrong command to employ when using lp. Give

  lpstat - l -e
  lpstat -a

-- 
Brian.



Re: at wits end

2022-08-23 Thread Brian
On Tue 23 Aug 2022 at 10:19:04 -0500, David Wright wrote:

> FF's ability to print has improved a lot recently. Not perfect, mind.

Perhaps you would expand on this? Previous drawbacks? Improvements?

-- 
Brian.



Softraid & partclone

2022-08-23 Thread Testler Test
Hello

I am using soft raid. I want to clone the system with "dd". Normally I
can take backups of partitions such as sda1, sda2. I can run it
without any problem. But I've never done it with softraid. What tool
would you recommend for cloning?

-% Disk_parttition:

NAMEMAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda   8:00 238,5G  0 disk
├─sda18:1016G  0 part
│ └─md0   9:0016G  0 raid1 [SWAP]
├─sda28:20   512M  0 part
│ └─md1   9:10   511M  0 raid1 /boot
└─sda38:30   222G  0 part
  └─md2   9:20 221,9G  0 raid1 /
sdb   8:16   0 238,5G  0 disk
├─sdb18:17   016G  0 part
│ └─md0   9:0016G  0 raid1 [SWAP]
├─sdb28:18   0   512M  0 part
│ └─md1   9:10   511M  0 raid1 /boot
└─sdb38:19   0   222G  0 part
  └─md2   9:20 221,9G  0 raid1 /



Re: Softraid & partclone

2022-08-23 Thread Nicolas George
Testler Test (12022-08-23):
> I am using soft raid. I want to clone the system with "dd". Normally I
> can take backups of partitions such as sda1, sda2. I can run it
> without any problem. But I've never done it with softraid. What tool
> would you recommend for cloning?

Read the device that contains the data, /dev/mdX. Or add your new drive
to the RAID, wait for synchronization, then remove it.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Softraid & partclone

2022-08-23 Thread Testler Test
> Read the device that contains the data, /dev/mdX. Or add your new drive
> to the RAID, wait for synchronization, then remove it.

Postgresql is installed on the system.  Disk states are healthy.
However, the tables in the database are giving an error. I can't get a
backup. Error while backing up. The oldest tow is damaged. So I want
to clone. I want to go back to a different system and repair the
database there. I can't use "dd" or "partclone" because it's softraid.
Or can I use it?

Nicolas George , 23 Ağu 2022 Sal, 22:39 tarihinde şunu yazdı:
>
> Testler Test (12022-08-23):
> > I am using soft raid. I want to clone the system with "dd". Normally I
> > can take backups of partitions such as sda1, sda2. I can run it
> > without any problem. But I've never done it with softraid. What tool
> > would you recommend for cloning?
>
> Read the device that contains the data, /dev/mdX. Or add your new drive
> to the RAID, wait for synchronization, then remove it.
>
> Regards,
>
> --
>   Nicolas George



Re: how to change device number in RAID array

2022-08-23 Thread Andy Smith
Hi Gary,

On Mon, Aug 22, 2022 at 10:00:34AM -0400, Gary Dale wrote:
> I'm running Debian/Bookworm on an AMD64 system. I recently added a second
> drive to it for use in a RAID1 array.

What was the configuration of the array before you added the new
drive? Was it a RAID-1 with one missing device?

Please show us the exact commands you used to add the new drive.

> However I'm now getting regular messages about "SparesMissing
> event on...".
> 
> cat /proc/mdstat shows the problem: active raid1 sda1[0] sdb1[2] - the newly
> added drive is showing up as [2] instead of [1]. Apparently mdadm thinks
> there should be another drive sitting around as a spare.

Not necessarily. The device numbers don't have to be contiguous. It
just means that at some point it thinks a device went away and a new
one appeared. Once you sort out whatever the issue is, the devices
in your array will likely remain as IDs 0 and 2.

> Is there a simple way to fix this?

It should be easy, but before I guess I would like to see the
output of:

$ cat /proc/mdstat

For the future, here's some information that people like to see when
helping with Linux MD RAID questions:

https://raid.wiki.kernel.org/index.php/Asking_for_help

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Softraid & partclone

2022-08-23 Thread Andy Smith
Hi Testler,

On Tue, Aug 23, 2022 at 10:43:46PM +0300, Testler Test wrote:
> > Read the device that contains the data, /dev/mdX. Or add your new drive
> > to the RAID, wait for synchronization, then remove it.
> 
> Postgresql is installed on the system.  Disk states are healthy.
> However, the tables in the database are giving an error. I can't get a
> backup. Error while backing up.

You didn't mention anything about damage in your original email,
even though filesystem or device error seems to be your primary
problem. So that was a very unhelpful way for you to start out.

The next entirely unhelpful thing you did was to say there is an
error without showing us the exact text of that error.

Further, you say "disk states are healthy", but you don't SHOW US
that. So we have no wya to know by what means you have determined
that the "disk states are healthy" and no way to know what further
to suggest to you in that area.

You are making it very hard for anyone to help you.

Let's see some of these error texts.

Let's see the output of "smartctl -A" for every device in your
RAIDs.

Let's see the output of "cat /proc/mdstat".

Then we might be able to get you closer to your goal of being able
to back up the postgres tables you have in a database that is stored
on an MD array. If that is indeed your goal.

There might be further questions.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Bookworm : graphic glitches all over my screen after upgrade

2022-08-23 Thread Sven Joachim
On 2022-08-23 15:13 +0200, rudu wrote:

> Coming back from holidays, I did a pretty huge upgrade of my Bookworm
> system on my aging desktop (2009).
> After a reboot, what I could see is best described via this snapshot :
> https://wtf.roflcopter.fr/pics/rVcN0HFu/vgQCGy7g.png
>
> What I tried so far :
> - replacing my nouveau driver by a proprietary one, but :
> $ nvidia-detect
> Detected NVIDIA GPUs:
> 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96C
> [GeForce 9400 GT] [10de:0641] (rev a1)
>
> Checking card:  NVIDIA Corporation G96C [GeForce 9400 GT] (rev a1)
> Your card is only supported by the 340 legacy drivers series, which is
> only available up to buster.
>
> - installed the last kernel for testing :
> $ dpkg -l linux-image-* | grep ^ii
> ii  linux-image-5.18.0-4-amd64  5.18.16-1    amd64 Linux 5.18
> for 64-bit PCs (signed)
> ii  linux-image-5.7.0-2-amd64   5.7.10-1 amd64 Linux 5.7
> for 64-bit PCs (signed)
> ii  linux-image-5.7.0-3-amd64   5.7.17-1 amd64 Linux 5.7
> for 64-bit PCs (signed)
> ii  linux-image-amd64   5.18.16-1    amd64 Linux for
> 64-bit PCs (meta-package)
> ... no change.
>
> - reconfigured window display management between lightdm/sddm/gdm3 :
> Curiously, only sddm showed no sign of being affected, until I opened
> a graphic environment (LXDE, XFCE4, Gnome-Xorg/wayland,
> Plasma-Xorg/wayland) where the problem was always back.
>
> - I looked into /var/log/apt/term.log resulting from my last upgrade
>   and tried to find something relevant and I saw this :
> cat /var/log/apt/term.log | grep xserver
> Préparation du dépaquetage de .../38-xserver-common_2%3a21.1.4-1_all.deb ...
> Dépaquetage de xserver-common (2:21.1.4-1) sur (2:21.1.3-2) ...
> Préparation du dépaquetage de
> .../39-xserver-xorg-core_2%3a21.1.4-1_amd64.deb ...
> Dépaquetage de xserver-xorg-core (2:21.1.4-1) sur (2:21.1.3-2+b1) ...
> Préparation du dépaquetage de
> .../359-xserver-xephyr_2%3a21.1.4-1_amd64.deb ...
> Dépaquetage de xserver-xephyr (2:21.1.4-1) sur (2:21.1.3-2+b1) ...
> Paramétrage de xserver-common (2:21.1.4-1) ...
> Paramétrage de xserver-xephyr (2:21.1.4-1) ...
> Paramétrage de xserver-xorg-core (2:21.1.4-1) ...
>
> I don't know what to do or where to look, my system is barely usable
> now and freezes regularly ...

Seems you are experiencing bug #1017499[1], for which no solution
currently exists.  Try downgrading your installed packages from
src:mesa.

Good luck,
  Sven


1. https://bugs.debian.org/1017499



Re: at wits end

2022-08-23 Thread gene heskett

On 8/23/22 15:37, Brian wrote:

lpstat - l -e

And the output of either works a treat. Thank you very much,

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: still blue

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

> # Minimum brightness for blue to be perceivable
> blue_base=64
>
> # Minimum advantage of blue over (red + green)/2
> blue_advantage=64

Thanks a lot, this is what I had in mind exactly!

Is this a correct implementation?

(defalias '** #'expt)

(defun blue-p (r g b)
  (let*((min-adv (** 2 6))
(rg  (ceiling (/ (+ r g) 2.0)))
(diff(- b rg)) )
(<= min-adv diff) ))

;; (blue-p   0   0  64) ; t
;; (blue-p   1   0  64) ; nil
;; (blue-p 191 191 255) ; t
;; (blue-p 191 192 255) ; nil

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



USB WiFi Adapter

2022-08-23 Thread Timothy M Butterworth
All,

Can anyone recommend a USB WiFi adapter that will work without binary blob
proprietary drivers?

Thanks

Tim

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


Re: USB WiFi Adapter

2022-08-23 Thread Jude DaShiell
Atheros is what thinkpenguin.com uses to avoid proprietary blobs.


Jude 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.

On Tue, 23 Aug 2022, Timothy M Butterworth wrote:

> All,
>
> Can anyone recommend a USB WiFi adapter that will work without binary blob
> proprietary drivers?
>
> Thanks
>
> Tim
>
>



Re: USB WiFi Adapter

2022-08-23 Thread basti

https://elinux.org/RPi_USB_Wi-Fi_Adapters#Working_USB_Wi-Fi_Adapters

Am 24.08.22 um 01:55 schrieb Timothy M Butterworth:

All,

Can anyone recommend a USB WiFi adapter that will work without binary 
blob proprietary drivers?


Thanks

Tim

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




Re: USB WiFi Adapter

2022-08-23 Thread Timothy M Butterworth
On Tue, Aug 23, 2022 at 8:47 PM Jude DaShiell  wrote:

> Atheros is what thinkpenguin.com uses to avoid proprietary blobs.
>
> Think Penguin is pricey. They want $50 for a USB 802.11N adapter. When you
need it you need it so I ordered one.


>
> Jude 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
>
> .
>
> On Tue, 23 Aug 2022, Timothy M Butterworth wrote:
>
> > All,
> >
> > Can anyone recommend a USB WiFi adapter that will work without binary
> blob
> > proprietary drivers?
> >
> > Thanks
> >
> > Tim
> >
> >
>


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


Re: USB WiFi Adapter

2022-08-23 Thread basti

https://elinux.org/RPi_USB_Wi-Fi_Adapters#Working_USB_Wi-Fi_Adapters

Am 24.08.22 um 01:55 schrieb Timothy M Butterworth:

All,

Can anyone recommend a USB WiFi adapter that will work without binary 
blob proprietary drivers?


Thanks

Tim

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




Re: Softraid & partclone

2022-08-23 Thread Testler Test
> Let's see the output of "cat /proc/mdstat".

The raid status is as follows. No problem appears.

# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sdb3[1] sda3[0]
  232623424 blocks super 1.2 [2/2] [UU]
  bitmap: 1/2 pages [4KB], 65536KB chunk

md1 : active raid1 sdb2[1] sda2[0]
  523264 blocks super 1.2 [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
  16759808 blocks super 1.2 [2/2] [UU]


> Further, you say "disk states are healthy", but you don't SHOW US
> that. So we have no wya to know by what means you have determined
> that the "disk states are healthy" and no way to know what further
> to suggest to you in that area.

-% Sda:

=== START OF INFORMATION SECTION ===
Model Family: Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model: Crucial_CT256MX100SSD1
Serial Number:14300CC6CD95
LU WWN Device Id: 5 00a075 10cc6cd95
Firmware Version: MU02
User Capacity:256.060.514.304 bytes [256 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate:Solid State Device
Form Factor:  2.5 inches
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Wed Aug 24 07:53:15 2022 +03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

-% sdb
=== START OF INFORMATION SECTION ===
Model Family: Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model: Crucial_CT256MX100SSD1
Serial Number:14300CC6C22B
LU WWN Device Id: 5 00a075 10cc6c22b
Firmware Version: MU02
User Capacity:256.060.514.304 bytes [256 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate:Solid State Device
Form Factor:  2.5 inches
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Wed Aug 24 07:53:34 2022 +03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED






Andy Smith , 23 Ağu 2022 Sal, 23:08 tarihinde şunu yazdı:
>
> Hi Testler,
>
> On Tue, Aug 23, 2022 at 10:43:46PM +0300, Testler Test wrote:
> > > Read the device that contains the data, /dev/mdX. Or add your new drive
> > > to the RAID, wait for synchronization, then remove it.
> >
> > Postgresql is installed on the system.  Disk states are healthy.
> > However, the tables in the database are giving an error. I can't get a
> > backup. Error while backing up.
>
> You didn't mention anything about damage in your original email,
> even though filesystem or device error seems to be your primary
> problem. So that was a very unhelpful way for you to start out.
>
> The next entirely unhelpful thing you did was to say there is an
> error without showing us the exact text of that error.
>
> Further, you say "disk states are healthy", but you don't SHOW US
> that. So we have no wya to know by what means you have determined
> that the "disk states are healthy" and no way to know what further
> to suggest to you in that area.
>
> You are making it very hard for anyone to help you.
>
> Let's see some of these error texts.
>
> Let's see the output of "smartctl -A" for every device in your
> RAIDs.
>
> Let's see the output of "cat /proc/mdstat".
>
> Then we might be able to get you closer to your goal of being able
> to back up the postgres tables you have in a database that is stored
> on an MD array. If that is indeed your goal.
>
> There might be further questions.
>
> Cheers,
> Andy
>
> --
> https://bitfolk.com/ -- No-nonsense VPS hosting
>



Re: USB WiFi Adapter

2022-08-23 Thread gene heskett

On 8/23/22 20:50, Jude DaShiell wrote:

Atheros is what thinkpenguin.com uses to avoid proprietary blobs.
By law here in the USA, the power and frequency controls for an rf 
radiating device MUST

not be user accessible.

Hence the locked down read only blobs, which they won't work without. 
This is to assure
that the maker of such a device is following the the rules and 
regulations as set by the FCC.
Otherwise some hacker could design a 10 kw output device operating in 
the blue tooth

assigned frequencies.

Many other countries have similar laws.


Jude 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.

On Tue, 23 Aug 2022, Timothy M Butterworth wrote:


All,

Can anyone recommend a USB WiFi adapter that will work without binary blob
proprietary drivers?

Thanks

Tim



.



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page