Re: sudo echo 1 > /proc/sys/net/ipv4/ip_forward [was: How to run automatically a script as soon root login]

2024-05-13 Thread Christian Groessler

On 5/13/24 18:52, to...@tuxteam.de wrote:


Now share your ideas :-)



$ su -
Password:
# echo 1 > /proc/sys/net/ipv4/ip_forward
# ^D
logout
$


I don't need no stinkin' sudo :-)

regards,
chris



Re: magazine linux et obtention de debian stable 12 X86 gnome

2024-04-13 Thread Christian Gaudin
Le Sat, 13 Apr 2024 09:10:01 +0200, jc gucci a écrit :

> je suis en wifi, en bande passante limité , j'ai donc pensé qu'il
> etait possible d'obtenir le dvd via un magazine. dans quels magazines est
> ou sera inclus le prochain debian sinon comment l'obtenir (envoi par ups,
> poste , lug ?).
> merci.

il y a une page sur le site Debian:

https://www.debian.org/CD/vendors/

5.99€ le DVD che GetLinux

-- 
Christian



Re: Bookworm: Where are the ImageMagick binaries other than `convert`?

2024-04-01 Thread Christian Gelinek

Thank you all for your responses.

On 2/4/24 12:41, Greg Wooledge wrote:
> On Mon, Apr 01, 2024 at 10:06:40PM -0400, e...@gmx.us wrote:
>
> The command-line equivalent is "dpkg -L", to list the files that belong
> to an installed package.

I should note that down somewhere... I'm sure I've come across it before.

> In any case, there is no command named "magick".

Thanks, I was interested in the `magick identify` command referred to 
[here][0] which becomes just `identify` in this case.


[0]: https://stackoverflow.com/a/73406928/897968



Bookworm: Where are the ImageMagick binaries other than `convert`?

2024-04-01 Thread Christian Gelinek

Hi,

I have ImageMagick installed, but only the `convert` binary is in my path.

Other binaries like `magick` are not. Where can I find them, why aren't 
they installed?


Thanks,
Christian



Re: su su- sudo dont work

2024-02-02 Thread Christian Lorenz
Yes,

He/She is back again.

In my opinion no serious request intended by this "person".

Same approach as last time (and the issues before)

* crying for help (destroyed OS)
* no real answers to questions
* repeating the same complain frequently


Some possibilities

1. Shity AI
2. Troll
3. Bored child
4. 
5. ...

I think best thing: ignore it latest after the first fail response to a clear 
quedtion.



--- 
Mit freundlichen Grüßen / Best Regards

**Christian Lorenz**

mailto:cl.debian.mail...@t-online.de
--- 

Am 20. Januar 2024 15:34:16 MEZ schrieb David Wright :
>On Sat 20 Jan 2024 at 09:14:30 (-0500), Greg Wooledge wrote:
>> On Sat, Jan 20, 2024 at 01:26:06PM +, Schwibinger Michael wrote:
>> > Good afternoon.
>> > Root terminal is fine.
>> > What do I do wrong?
>> > What did I destroy?
>> > 
>> > PC does have only one user=admin.
>> > 
>> > Regards Sophie
>> > Is it the rescue mode?
>> 
>> Explain, please.
>> 
>> Your Subject: header says "su su- sudo dont work".  What does this MEAN?
>> 
>> Please show us your attempts to USE each of these commands, and the
>> results that you got.  This means, run the commands in a terminal
>> window, and then PASTE the contents of that terminal window into the
>> body of your next email.  Show us the shell prompt, the command as you
>> typed it, and the full output.
>> 
>> In other words, show us WHAT IS WRONG, or at least what appears wrong.
>> 
>> In addition, please give basic background information -- what version
>> of Debian you are running, what desktop environment if any, how you
>> logged in (*especially* if it isn't just a "standard graphical login
>> for your desktop environment"), and anything else you can think of
>> that might be relevant.
>> 
>> How does "rescue mode" factor into the problem?
>> 
>> When you installed Debian, did you give a root password, or did you
>> leave it blank?
>> 
>> Finally, it would be helpful for you to run the "id" command (with no
>> arguments), in the same terminal session as your failed su or sudo
>> command(s), and include that command and its output in your paste.
>
>Welcome to the world of déjà vu.
>
>  https://lists.debian.org/debian-user/2022/07/msg00601.html
>
>Cheers,
>David.
>



Re: Bookworm: Analog audio disappeared

2024-01-11 Thread Christian Gelinek

On 20/12/23 16:31, glasswings wrote:

> DG2 sounds like an Intel GPU and HDMI, so it's also something I would 
ignore for now.
Indeed, I can confirm now that the "DG Audio Controller Pro" device at 
PCI address 04:00.0 is the Intel i950 GPU and HDMI controller and I am 
able to use my screen's headphone output as a workaround for listening 
and the USB webcam's mic as an input. Still like to get the built-in 
analog controller at PCI address 00:1f.3 working though.


> My next steps would be
>
> * reboot into the firmware menu and poke around, just in case there's 
a new option


OK, so I'm not sure that option is new, but I found a switch that allows 
me to enable/disable the "Intel HD Audio Controller".


Here is the full `sudo dmesg` output after disabling it: 
https://pastebin.com/rMeKuyC7


And after re-enabling it: https://pastebin.com/xLm2CjQt

Here are some differences I found noteworthy:

```
[0.308734] pci :00:1f.3: [8086:7a50] type 00 class 0x040300
[0.308775] pci :00:1f.3: reg 0x10: [mem 
0x420142-0x4201423fff 64bit]
[0.308826] pci :00:1f.3: reg 0x20: [mem 
0x420130-0x42013f 64bit]

[0.308926] pci :00:1f.3: PME# supported from D3hot D3cold
```

and

`[4.567449] snd_hda_intel :00:1f.3: no codecs found!`

appears in the `sudo dmesg` output only when enabled.

The `sudo lspci -v` output only contains

```
00:1f.3 Audio device: Intel Corporation Device 7a50 (rev 11)
DeviceName: Onboard - Sound
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 9e02
Flags: bus master, fast devsel, latency 32, IRQ 159, IOMMU group 10
Memory at 420142 (64-bit, non-prefetchable) [size=16K]
Memory at 420130 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
```

when enabled in the BIOS. Interestingly, `cat 
/etc/modprobe.d/alsa-base.conf` shows two `snd_hda_intel` entries when 
enabled but a single one when disabled, I'm guessing since the i950's 
DG2 Audio Controller is also an Intel device, it shows up in both cases.


At this point, I'm suspecting a problem with the loading of the 
snd_hda_codec_realtek hdaudioC1D0 driver, as the following block used to 
be in my boot log and disappeared, along with my analog audio:


```
Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0: 
autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0: 
speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0: 
hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0:mono: 
mono_out=0x0

Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0:inputs:
Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0: 
Front Mic=0x19
Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0:  Rear 
Mic=0x18
Dec 18 14:42:22 gar kernel: snd_hda_codec_realtek hdaudioC1D0: 
Line=0x1a

```

Is this what you were referring to when you said

> The big question in my mind is whether the correct Alsa module is
> being detected and loaded, or perhaps some idea of whether it's
> failing.
?

I'll look at your other comment as soon as I solve the "no codecs found" 
error and still don't get any sound:


> I also wonder whether the jack task assignment changed.  Many HDA
> devices can switch an analog jack between several kinds of input and
> output (line-level vs microphone with DC bias vs headphone out) and I
> could imagine those settings being changed.  hdajackretask, which I
> think is part of alsa-tools-gui, is the usual way to change those
> settings.

Thanks, Christian



Bookworm: Analog audio disappeared

2023-12-19 Thread Christian Gelinek
 18 15:27:43 gar Thunar[14751]: thunar-volman: Unsupported USB device 
type "snd-usb-audio".
Dec 18 15:27:43 gar Thunar[14755]: thunar-volman: Unsupported USB device 
type "snd-usb-audio".

-- Boot 04775633c9404c2397019b8c9f7096bf --
Dec 19 13:37:16 gar kernel: Linux version 6.1.0-15-amd64 
(debian-ker...@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU 
ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 
6.1.66-1 (2023-12-09)
Dec 19 13:37:16 gar kernel: snd_hda_intel :00:1f.3: enabling device 
( -> 0002)
Dec 19 13:37:16 gar kernel: snd_hda_intel :04:00.0: enabling device 
( -> 0002)
Dec 19 13:37:16 gar kernel: snd_hda_intel :04:00.0: bound 
:03:00.0 (ops i915_audio_component_bind_ops [i915])

Dec 19 13:37:16 gar kernel: snd_hda_intel :00:1f.3: no codecs found!
Dec 19 13:37:16 gar kernel: snd_hda_intel :04:00.0: Unknown capability 0
Dec 19 13:37:18 gar kernel: usbcore: registered new interface driver 
snd-usb-audio

-- Boot 8d6dfd16e4fe4f798897e0c0b251ffa0 --
```

suggest the `snd_hda_codec_realtek` module was loading when the sound 
was working but now isn't, even through the firmware is installed:


```
cgelinek@gar:/tmp$ apt list --installed |grep firmware

WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.


firmware-linux-free/stable,stable,now 20200122-1 all [installed,automatic]
firmware-misc-nonfree/stable,stable,now 20230210-5 all [installed]
firmware-realtek/stable,stable,now 20230210-5 all [installed]
firmware-sof-signed/stable,stable,now 2.2.4-1 all [installed]
```

As [mentioned on the Debian forums][2], I may need the 
/*/etc/modprobe.d/amd64-microcode-blacklist.conf*/ file as I already 
have /*/etc/modprobe.d/intel-microcode-blacklist.conf*/, which is in 
[amd64-microcode][4] and which I had not installed:


```
cgelinek@gar:/tmp$ apt list --installed |grep microcode

WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.


intel-microcode/stable,now 3.20231114.1~deb12u1 amd64 [installed]
```

But since `amd64-microcode` explicitly points to `intel-microcode` for 
Intel processors (which I use), I was hesitant to install it. [This Arch 
Linux thread][3] seems to be about a very similar problem, unfortunately 
it doesn't include a solution - I already have the realtek and sof 
firmware installed.


I also tried booting into a /*debian-live-12.4.0-amd64-xfce.iso*/ system 
but that has the same problem (no codecs found!), besides also not 
detecting any audio hardware except for the USB webcam.


Any other ideas what I missed or what else to try at this point would be 
highly appreciated.


Thanks for your time,
Christian


[1]: 
https://wiki.debian.org/PipeWire#pacmd_fails_with_.22No_PulseAudio_daemon_running.22

[2]: https://forums.debian.net/viewtopic.php?p=749659#p749659
[3]: https://bbs.archlinux.org/viewtopic.php?id=269291
[4]: https://packages.debian.org/bookworm/amd64/amd64-microcode/filelist


Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread Christian Groessler

On 10/23/23 07:29, Jeffrey Walton wrote:

On Mon, Oct 23, 2023 at 1:24 AM ghe2001  wrote:


How about a /29 or so, named "here.", hosts named 2 or 3 letter 
abbreviations of what you call the computers, with unroutable IPs, DNS'ed in /etc/hosts (with 
shortcuts).


Whatever you come up with for , ICANN can add to the
gTLD namespace; see .



Just register a daomain and use that.

regards,
chris



Debian on Ubiquiti Edgerouter Lite?

2023-09-12 Thread Christian Groessler

Hello Group,

is there a Debian version which could be installed on mentioned Edgerouter?

regards,
chris



Re: Not authorized to run synaptic

2023-08-29 Thread Christian Britz



Am 28.08.23 um 19:24 schrieb Joe:
> It's not obvious. I run synaptic from a standard menu launcher, where
> the command is just synaptic-pkexec. It then requests the root password
> before running. I'm on sid, which still ought to be very close to
> testing at the moment.

For me it asks for the user's password (user has sudo priviledges).
So it seems synaptic-pkexec can deal with both cases. No idea what is
going wrong in the original poster's case.


-- 
https://www.cb-fraggle.de



Re: Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

2023-08-28 Thread Christian Britz
On 28.08.23, 18:44, zithro wrote:
> On 27 Aug 2023 12:09, Mario Marietto wrote:
>> $ uname -a
>> Linux chromarietto 5.4.244-stb-cbe
>> #8 SMP PREEMPT Sat Aug 19 22:19:32 UTC 2023 armv7l GNU/Linux
> 
> Is it normal to get this "old" kernel on bookworm ARM ? No 6.x versions ?

This does not seem to be a Debian kernel at all. I get this on my
Raspberry Pi running bookworm:

$ uname -a
Linux raspberrypi 6.1.0-11-arm64 #1 SMP Debian 6.1.38-4 (2023-08-08)
aarch64 GNU/Linux

-- 
https://www.cb-fraggle.de



Re: Debian 11.7: huge rtorrent seeding problem

2023-08-23 Thread Christian Britz
Hello Jason,

maybe you need to configure your routing device to forward the bt ports
to your Debian box, not the Mac.
According to a quick Google search, you have to redirect ports
6881-6887, TCP and UDP.

Regards,
Christian

Am 23.08.23 um 08:07 schrieb Jason:
> Hi
> 
> I use Debian 11.7 and rtorrent.
> 
> I have a big seeding problem (the FW is disabled on Debian).
> 
> On the same network (OpenWrt router) with Transmission on MacBook 
> everything is OK. So it's not the network FW blocking.
> 
> Here is my rtorrent config
> https://paste.debian.net/1289781/
> 
> thanks
> Jason

-- 
https://www.cb-fraggle.de



Re: montages smb en rade suite upgrade

2023-08-15 Thread Christian Gaudin
Le Tue, 15 Aug 2023 22:20:01 +0200, Christian Gaudin a écrit :

> Le Tue, 15 Aug 2023 20:20:01 +0200, Th.A.C a écrit :
> 
>> Est-ce que tu as lu la réponse de lucifer2 le 13/08 8 minutes après ta
>> question sur fr.comp.os.linux.configuration?
> 
> non, elle n’apparaît pas chez moi.
> (serveur Free qui fait des siennes?)
> 
> mais grâce à toi j'ai pu lire sa réponse sur https://nnrp.alphanet.ch/
> 
> je vais voir ça.
> 
> Merci

répondu fcolc, ça marche
merci

je redonne le lien et la solution ici:

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

Un ajout ds /etc/samba/smb.conf :

client min protocol = NT1
server min protocol = NT1
#facultatif 
ntlm auth = ntlmv1-permitted

Redémarrage du service :

sudo systemctl restart smbd.service

Attention c'est moins sécurisé !
-----

-- 
Christian



Re: montages smb en rade suite upgrade

2023-08-15 Thread Christian Gaudin
Le Tue, 15 Aug 2023 20:20:01 +0200, Th.A.C a écrit :

> Est-ce que tu as lu la réponse de lucifer2 le 13/08 8 minutes après ta
> question sur fr.comp.os.linux.configuration?

non, elle n’apparaît pas chez moi.
(serveur Free qui fait des siennes?)

mais grâce à toi j'ai pu lire sa réponse sur 
https://nnrp.alphanet.ch/

je vais voir ça.

Merci

-- 
Christian



montages smb en rade suite upgrade

2023-08-15 Thread Christian Gaudin
Bonjour,

je viens de migrer ma Debian de la version 10 à 12.
(en passant par la 11 et le problème est apparu à ce moment)

Tout fonctionne bien sauf le montage smb de la clé USB branchée à 
l'arrière de ma box ainsi que celle sur mon imprimante qui reçoit les 
scans.

Elles apparaissent bien dans Thunar quand je parcours le réseau mais on 
voit dans la barre de statut en bas:
"USB | à monter"

Le fstab est celui d'origine avec juste les partitions du disque local.
Avant, ça marchait tout seul.

Pas d'erreur dans dmesg,
dpkg --audit ne renvoie rien,
systemctl status ne signale pas de service en berne.

Je ne vois pas trop où chercher.

Merci par avance de vos idées

-- 
Christian



Re: keybase upgrade / install fails

2023-08-10 Thread Christian Britz
This package is not part of debian, so you should probably try their
support channels.

Gary Dale wrote:
> I'm running Debian/Bookworm on an AMD64 system. For the last two or
> three weeks I've been getting messages like below when I use apt: The
> keybase package doesn't seem to configure properly so apt keeps trying,
> and failing, to finish the package installation. Removing it (not
> purging) then reinstalling doesn't help.
> 
> Setting up keybase (6.2.2-20230726175256.4464bfb32d) ...
> Autorestarting Keybase via systemd for 
> mkdir: cannot stat ‘/keybase’: Transport endpoint is not connected
> chown: cannot access '/keybase': Transport endpoint is not connected
> chmod: cannot access '/keybase': Transport endpoint is not connected
> dpkg:error processing package keybase (--configure):
> installed keybase package post-installation script subprocess returned
> error exit status 1
> Errors were encountered while processing:
> keybase
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Any suggestions?
> 

-- 
https://www.cb-fraggle.de



Re: Raspbian: After update from buster to bookworm,X11Forwarding in ssh connection stopped working

2023-08-07 Thread Christian Britz
gene heskett wrote:
> On 8/7/23 10:51, B.M. wrote:
>>> ssh -Y -C -l myUser otherHostname.local -v
>>>
> Is the @ sign between myUser and otherhostname now optional?

He uses option -l login_name, which can be used alternatively to
login_name@destination.



Re: Raspbian: After update from buster to bookworm, X11Forwarding in ssh connection stopped working

2023-08-07 Thread Christian Britz

Hi Bernd

B.M. wrote:

I just dist-upgraded my Raspberry Pi from buster to bookworm, and while


This might very well be the reason for your problems. You should never 
skip a release, bullseye in this case. Upgrading directly from 
oldoldstable to stable will get you unpredictable results.


BTW, Raspian is slightly offtopic here, they have some own packages and 
different configurations than pure Debian.


I would recommend you to do a fresh installation and give Debian a 
chance. https://wiki.debian.org/RaspberryPi and 
https://raspi.debian.net/ are good starting points. There is also an IRC 
support channel: #debian-raspberrypi on OFTC.


Regards,
Christian
--
https://www.cb-fraggle.de



Re: Bookworm: Why don't I get the latest version of firefox-esr?

2023-06-22 Thread Christian Gelinek

On 23/6/23 09:45, Greg Wooledge wrote:

Do an "apt-cache policy firefox-esr" to see more details.

Make sure you've got a bookworm-security source in your sources.list.

unicorn:~$ apt-cache policy firefox-esr
firefox-esr:
   Installed: 102.12.0esr-1~deb12u1
   Candidate: 102.12.0esr-1~deb12u1
   Version table:
  *** 102.12.0esr-1~deb12u1 500
 500 http://deb.debian.org/debian-security bookworm-security/main amd64 
Packages
 100 /var/lib/dpkg/status
  102.11.0esr-1 500
 500 http://ftp.us.debian.org/debian bookworm/main amd64 Packages



Thanks for that, indeed it's not there:

$ apt-cache policy firefox-esr
firefox-esr:
  Installed: 102.11.0esr-1
  Candidate: 102.11.0esr-1
  Version table:
 *** 102.11.0esr-1 500
500 http://ftp.au.debian.org/debian bookworm/main amd64 Packages
100 /var/lib/dpkg/status

$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux bookworm-DI-alpha2 _Bookworm_ - Official 
Alpha amd64 DVD Binary-1 with firmware 20230218-23:57]/ bookworm main 
non-free-firmware


deb http://ftp.au.debian.org/debian/ bookworm main non-free-firmware 
contrib non-free
deb-src http://ftp.au.debian.org/debian/ bookworm main non-free-firmware 
contrib non-free


...could this be an artefact from me having installed Bookworm while it 
was still in Testing?


$ echo 'deb http://deb.debian.org/debian-security/ bookworm-security 
main' |sudo tee -a /etc/apt/sources.list


$ sudo apt update
Hit:1 http://ftp.au.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease 
[48.0 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security/main amd64 
Packages [30.4 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main i386 
Packages [29.8 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main 
Translation-en [15.0 kB]

Fetched 123 kB in 0s (307 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
16 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ apt list --upgradable
Listing... Done
firefox-esr/stable-security 102.12.0esr-1~deb12u1 amd64 [upgradable 
from: 102.11.0esr-1]
gir1.2-javascriptcoregtk-4.0/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
gir1.2-javascriptcoregtk-4.1/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
gir1.2-webkit2-4.0/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
gir1.2-webkit2-4.1/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]

libgpod-common/stable 0.8.3-17+b1 amd64 [upgradable from: 0.8.3-17]
libjavascriptcoregtk-4.0-18/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
libjavascriptcoregtk-4.1-0/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
libjavascriptcoregtk-6.0-1/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
libwebkit2gtk-4.0-37/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
libwebkit2gtk-4.1-0/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
libwebkitgtk-6.0-4/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
libx11-6/stable-security 2:1.8.4-2+deb12u1 amd64 [upgradable from: 
2:1.8.4-2]
libx11-data/stable-security,stable-security 2:1.8.4-2+deb12u1 all 
[upgradable from: 2:1.8.4-2]
libx11-xcb1/stable-security 2:1.8.4-2+deb12u1 amd64 [upgradable from: 
2:1.8.4-2]
thunderbird/stable-security 1:102.12.0-1~deb12u1 amd64 [upgradable from: 
1:102.11.0-1]


Seems to be working, thank you very much!



Bookworm: Why don't I get the latest version of firefox-esr?

2023-06-22 Thread Christian Gelinek

Greetings!

I just checked my Firefox version and noticed that I don't seem to have 
the latest one available:


$ apt show firefox-esr 2>/dev/null |grep Version
Version: 102.11.0esr-1
$ curl https://packages.debian.org/bookworm/web/firefox-esr 2>/dev/null 
|grep 'Package'

Package: firefox-esr (102.12.0esr-1~deb12u1)
$ sudo apt update
Hit:1 http://ftp.au.debian.org/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
$ apt list --upgradable -a
Listing... Done
libgpod-common/stable 0.8.3-17+b1 amd64 [upgradable from: 0.8.3-17]
libgpod-common/now 0.8.3-17 amd64 [installed,upgradable to: 0.8.3-17+b1]

Can anyone enlighten me what is going on? Why doesn't apt see that 
there's a newer version available?


Thanks for your time,
Christian



Bookworm upgrade on AWS

2023-06-22 Thread Christian
Hi there,

I just upgraded my AWS Instance to bookworm. It went sort of seamless,
however the current kernel headers give an error.

DKMS make.log for amzn-drivers-ena-linux-1.1.3 for kernel 6.1.0-9-
cloud-amd64 (x86_64)
Do 22. Jun 15:43:22 CEST 2023
make: Verzeichnis „/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena“ wird betreten
make -C /lib/modules/6.1.0-9-cloud-amd64/build M=/var/lib/dkms/amzn-
drivers-ena-linux/1.1.3/build/kernel/linux/ena modules
make[1]: Verzeichnis „/usr/src/linux-headers-6.1.0-9-cloud-amd64“ wird
betreten
CC [M] /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.o
In file included from /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.h:44,
from /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.c:53:
/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/kcompat.h:42: warning:
"KERNEL_VERSION" redefined
42 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
In file included from /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.c:46:
./include/generated/uapi/linux/version.h:2: note: this is the location
of the previous definition
2 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) >
255 ? 255 : (c)))
|
/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.h: In function
‘ena_bp_unlock_napi’:
/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.h:387:28: error: ‘struct
napi_struct’ has no member named ‘gro_list’; did you mean ‘rx_list>
387 | if (rx_ring->napi->gro_list)
| ^~~~
| rx_list
compilation terminated due to -Wfatal-errors.
make[2]: *** [/usr/src/linux-headers-6.1.0-9-
common/scripts/Makefile.build:255: /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.o] Fehler 1
make[1]: *** [/usr/src/linux-headers-6.1.0-9-common/Makefile:2037:
/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/kernel/linux/ena]
Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-6.1.0-9-cloud-amd64“ wird
verlassen
make: *** [Makefile:19: all] Fehler 2
make: Verzeichnis „/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena“ wird verlassen

Any clue on what this could be?
System is running normal so far without any issues popping up.

Kind regards
  Christian


Re: Bookworm: IBus input method preferences frequently forgotten

2023-06-20 Thread Christian Gelinek

On 20/6/23 12:52, Byung-Hee HWANG (황병희) wrote:

Also i am using ibus under Debian 12. But my desktop is Gnome Wayland.

This may be not good reply, but just another opinion. Gnome is good with
ibus i think. How about using Gnome?


This would be an interesting experiment, but I'm not in a position to 
try it at the moment... Since IBus came with XFCE I believe (I certainly 
didn't install it manually), I would expect it to work without too much 
hassle I hope.


Thanks for your Time!
Christian



Bookworm: IBus input method preferences frequently forgotten

2023-06-19 Thread Christian Gelinek

Hi all,

I'm running the XFCE desktop on Bookworm.

Via the IBus Preferences ("ibus panel" under Status Tray Items) dialog 
under Input Method, I like to add the "English (intl., with AltGr dead 
keys)" input method as a default to use across the whole system. Also, 
to prevent accidental switching, I remove the default "English (US)" 
input method and on the General tab, I delete the "space" 
keyboard shortcut to switch input methods.


I have done this a number of times already but often after re-booting my 
system, the old settings are back, including the "English (US)" input 
method and the "space" keyboard shortcut.


How can I find out what the problem is and make my preferences "stick"?

Thanks for your time!

Christian



Re: Bookworm soft lockup

2023-05-30 Thread Christian Gelinek

On Wed, 17 May 2023 02:12:32 +0100, Philip Wyett wrote:


A little research shows that this is not that uncommon. A suggested 
workaround is to disable the

power management for the device as follows.

Create a file (such as): 
/etc/modprobe.d/snd-intel-disable-power-management.conf


Add the following line: options snd_hda_intel power_save=0

Reboot.

Hopefully this may assist.


I tried:

$ ls -l /etc/modprobe.d/snd-intel-disable-power-management.conf
-rw-r- 1 root root 36 May 23 10:01 
/etc/modprobe.d/snd-intel-disable-power-management.conf


$ sudo cat /etc/modprobe.d/snd-intel-disable-power-management.conf
options snd_hda_intel power_save=0

Nevertheless, this morning I arrived to the locked-up state. Journalctl 
output:


May 31 04:17:01 gar CRON[2175]: (root) CMD (cd / && run-parts --report 
/etc/cron.hourly)
May 31 04:17:01 gar CRON[2174]: pam_unix(cron:session): session closed 
for user root
May 31 05:12:00 gar kernel: snd_hda_intel :04:00.0: Unable to change 
power state from D3hot to D0, device inaccessible
May 31 05:12:03 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 31 05:12:03 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x>
May 31 05:12:07 gar kernel: INFO: NMI handler (perf_event_nmi_handler) 
took too long to run: 84.155 msecs
May 31 05:12:07 gar kernel: perf: interrupt took too long (657458 > 
2500), lowering kernel.perf_event_max_sample_rate to 250
May 31 05:12:07 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 31 05:12:07 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x>
May 31 05:12:11 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 31 05:12:11 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x>
May 31 05:12:15 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* gt: timed out waiting for forcewake ack to clear.
May 31 05:12:15 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x>
May 31 05:12:16 gar kernel: i915 :03:00.0: [drm] *ERROR* CT: 
Corrupted descriptor head=4294967295 tail=4294967295 status=0xf>
May 31 05:12:27 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 31 05:12:27 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x>
May 31 05:12:27 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* gt: timed out waiting for forcewake ack to clear.
May 31 05:12:27 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x>
May 31 05:12:27 gar kernel: watchdog: BUG: soft lockup - CPU#14 stuck 
for 26s! [kworker/14:2:2123]
May 31 05:12:27 gar kernel: Modules linked in: snd_seq_dummy snd_hrtimer 
snd_seq snd_seq_device nfsv3 nfs_acl rpcsec_gss_krb5 auth_r>
May 31 05:12:27 gar kernel:  intel_uncore wmi_bmof ee1004 pcspkr 
watchdog soundcore intel_vsec serial_multi_instantiate intel_pmc_co>
May 31 05:12:27 gar kernel: CPU: 14 PID: 2123 Comm: kworker/14:2 
Tainted: G U  W  6.1.0-9-amd64 #1  Debian 6.1.27-1
May 31 05:12:27 gar kernel: Hardware name: Micro-Star International Co., 
Ltd. MS-7E02/PRO B760M-P DDR4 (MS-7E02), BIOS 1.00 10/21/20>

May 31 05:12:27 gar kernel: Workqueue: pm pm_runtime_work
May 31 05:12:27 gar kernel: RIP: 0010:pci_mmcfg_read+0xb0/0xe0
May 31 05:12:27 gar kernel: Code: 5d 41 5e 41 5f c3 cc cc cc cc 4c 01 e0 
66 8b 00 0f b7 c0 89 45 00 eb dc 4c 01 e0 8a 00 0f b6 c0 89>

May 31 05:12:27 gar kernel: RSP: 0018:b5ce87b9bcc0 EFLAGS: 0286
May 31 05:12:27 gar kernel: RAX:  RBX: 0040 
RCX: 0ffc
May 31 05:12:27 gar kernel: RDX: 00ff RSI: 0004 
RDI: 
May 31 05:12:27 gar kernel: RBP: b5ce87b9bcfc R08: 0004 
R09: b5ce87b9bcfc
May 31 05:12:27 gar kernel: R10: 0004 R11: b19a70a0 
R12: 0ffc
May 31 05:12:27 gar kernel: R13:  R14: 0004 
R15: 
May 31 05:12:27 gar kernel: FS:  () 
GS:9c641fb8() knlGS:
May 31 05:12:27 gar kernel: CS:  0010 DS:  ES:  CR0: 
80050033
May 31 05:12:27 gar kernel: CR2: 7f78df2005c9 CR3: 00010571e005 
CR4: 00770ee0

May 31 05:12:27 gar kernel: PKRU: 5554
May 31 05:12:27 gar kernel: Call Trace:
May 31 05:12:27 gar kernel:  
May 31 05:12:27 gar kernel:  pci_bus_read_config_dword+0x46/0x80
May 31 05:12:27 gar kernel:  

Re: Weird behaviour on System under high load

2023-05-28 Thread Christian
>  Ursprüngliche Nachricht 
> Von: David Christensen 
> An: debian-user@lists.debian.org
> Betreff: Re: Weird behaviour on System under high load
> Datum: Sat, 27 May 2023 16:30:05 -0700
> 
> On 5/27/23 15:28, Christian wrote:
> 
> > New day, new tests. Got a crash again, however with the message
> "AHCI
> > controller unavailable".
> > Figured that is the SATA drives not being plugged in the right
> order.
> > Corrected that and a 3:30h stress test went so far without any
> issues
> > besides this old bug
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947685
> > 
> > Seems that I am just jumping from one error to the next...
> 
> 
> 3 hours and 30 minutes?  Yikes!  Please stop before you fry your 
> computer.  10 seconds should be enough to see a problem; 1 minute is 
> more than enough.
> 
Sadly not always. My crashes before would occur between a few minutes
and 1 hour load. Now I hope everything is stable. Crashes are gone,
only the network error seems to be unresolved (even though there is
some workaround).

With the undervolting / overclocking on 12 core stress test, the system
stays below 65°C (on Smbusmaster0) so should be no risk of damage.

Thanks for the help!
> 
> David
> 
> 
> 



Re: Weird behaviour on System under high load

2023-05-27 Thread Christian
>  Ursprüngliche Nachricht 
> Von: David Christensen 
> An: debian-user@lists.debian.org
> Betreff: Re: Weird behaviour on System under high load
> Datum: Fri, 26 May 2023 18:22:17 -0700
> 
> On 5/26/23 16:08, Christian wrote:
> 
> > Good and bad things:
> > I started to test different setups (always with full 12 core stress
> > test). Boot from USB liveCD (only stress and s-tui installed):
> > 
> > - All disks disconnected, other than M2. Standard BIOS
> > - All disks disconnected, other than M2. Proper Memory profile for
> > timing
> > - All disks disconnected, other than M2. Memory profile,
> undervolted
> > and overclocked with limited burst to 4ghz
> > - All disks connected. Memory profile, undervolted and overclocked
> > with
> > limited burst to 4ghz
> > 
> > All settings so far are stable. :-/
> > Will see tomorrow any differences in non-free firmware and kernel
> > modules and test again.
> > 
> > Very strange...
> 
> 
> If everything is stable, including undervoltage and overclocking, I 
> would consider that good.  I think your hardware is good.
> 
> 
> When you say "USB liveCD", is that a USB optical drive with a live
> CD, a 
> USB flash drive with a bootable OS on it, or something else?  If it
> is 
> something that can change, I suggest taking a image of the raw blocks
> with dd(1) so that you can easily get back to this point as you
> continue 
> testing.
> 

New day, new tests. Got a crash again, however with the message "AHCI
controller unavailable".
Figured that is the SATA drives not being plugged in the right order.
Corrected that and a 3:30h stress test went so far without any issues
besides this old bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947685

Seems that I am just jumping from one error to the next...

> 
> AIUI Debian can include microcode patches (depending upon processor).
> If you are using such, I suggest adding that to your test agenda
> first.
> 
> 
> Firmware and kernel modules seem like the right next steps.
> 
> 
> David
> 
> 



Re: Weird behaviour on System under high load

2023-05-26 Thread Christian
>  Ursprüngliche Nachricht 
> Von: David Christensen 
> An: debian-user@lists.debian.org
> Betreff: Re: Weird behaviour on System under high load
> Datum: Sun, 21 May 2023 15:04:44 -0700
> 
> 
> > > > > What stresstest are you using?
> 
> > ... the package and command "s-tui" and "stress"
> > s-tui gives you an overview on power usage, fan control, temps,
> core
> > frequencies and core utilization on the console
> > 
> > stress is just producing load on selected # of cpus, it can be
> > integrated in s-tui.
> 
> 
> Thanks -- I like tools and will play with it:
> 
> https://packages.debian.org/bullseye/s-tui
> 
> 
> > > Okay.  Put my Perl script on your liveUSB.  Also put some tool
> for
> > > monitoring CPU temperature, such as sensors(1).
> > 
> > Will have time again in a few days and check.
> 
> 
> Please let us know what you find.
> 
Good and bad things: 
I started to test different setups (always with full 12 core stress
test). Boot from USB liveCD (only stress and s-tui installed):

- All disks disconnected, other than M2. Standard BIOS
- All disks disconnected, other than M2. Proper Memory profile for
timing
- All disks disconnected, other than M2. Memory profile, undervolted
and overclocked with limited burst to 4ghz
- All disks connected. Memory profile, undervolted and overclocked with
limited burst to 4ghz

All settings so far are stable. :-/
Will see tomorrow any differences in non-free firmware and kernel
modules and test again.

Very strange...



Re: Bookworm soft lockup

2023-05-22 Thread Christian Gelinek
It happened again (see journal entries below), so I'm going to try your 
workaround and see if that helps.


On Wed, 17 May 2023 02:12:32 +0100, Philip Wyett wrote:

A little research shows that this is not that uncommon. A suggested 
workaround is to disable the

power management for the device as follows.

Create a file (such as): 
/etc/modprobe.d/snd-intel-disable-power-management.conf


Add the following line: options snd_hda_intel power_save=0

Reboot.

Hopefully this may assist.


Thanks for the suggestion.

Journal of the most recent lockup below:

May 19 23:17:01 gar CRON[1902]: pam_unix(cron:session): session opened 
for user root(uid=0) by (uid=0)
May 19 23:17:01 gar CRON[1903]: (root) CMD (cd / && run-parts --report 
/etc/cron.hourly)
May 19 23:17:01 gar CRON[1902]: pam_unix(cron:session): session closed 
for user root
May 19 23:19:00 gar kernel: snd_hda_intel :04:00.0: Unable to change 
power state from D3hot to D0, device inaccessible
May 19 23:19:03 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 19 23:19:03 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 19 23:19:07 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 19 23:19:07 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]

May 19 23:19:09 gar kernel: hrtimer: interrupt took 252466511 ns
May 19 23:19:11 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 19 23:19:11 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 19 23:19:15 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* gt: timed out waiting for forcewake ack to clear.
May 19 23:19:15 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 19 23:19:16 gar kernel: i915 :03:00.0: [drm] *ERROR* CT: 
Corrupted descriptor head=4294967295 tail=4294967295 status=0x

-- Boot 4540f787dd2341cea70a75aac62b1843 --
May 23 09:24:43 gar kernel: Linux version 6.1.0-9-amd64 
(debian-ker...@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU 
ld (GNU Binutils for Debian) 2.40) #1 SMP P>


Thank you for your time!

Christian



Re: Weird behaviour on System under high load

2023-05-21 Thread Christian
>  Ursprüngliche Nachricht 
> Von: David Christensen 
> An: debian-user@lists.debian.org
> Betreff: Re: Weird behaviour on System under high load
> Datum: Sun, 21 May 2023 14:22:22 -0700
> 
> On 5/21/23 06:31, Christian wrote:
> > David Christensen Sun, 21 May 2023 03:11:43 -0700
> 
>  >>> David Christensen Sat, 20 May 2023 18:00:48 -0700
> 
> > > Please use inline posting style and proper indentation.
> > 
> > Phew... will be quite hard to read. But here you go.
> 
> 
> It is not hard when you delete the portions that you are not
> responding to.
> 
> 
> > > > > Have you cleaned the system interior, filters, fans,
> heatsinks,
> > > > > ducts,
> > > > > etc., recently?
> 
> > As written in OP, the system is new. Only PSU is used. So it is
> clean
> 
> 
> Okay.
> 
> 
> > What is a thermal solution?
> 
> 
> Heat sinks, heat pipes, water blocks, radiators, fans, ducts, etc..
> 
It is quite simple 
- Noctua NH-L9a-AM4 for CPU
- Chassis 12cm fan
- PSU Integrated fans
> 
> > > What stresstest are you using?
> > > 
> > stress running in s-tui
> 
> 
> Do you mean "in situ"?
> 
> https://www.merriam-webster.com/dictionary/in%20situ
> 
No, it is the package and command "s-tui" and "stress"
s-tui gives you an overview on power usage, fan control, temps, core
frequencies and core utilization on the console

stress is just producing load on selected # of cpus, it can be
integrated in s-tui.

> I prefer a tool that I can control.  That is why I wrote the
> previously 
> attached Perl script.  It is public domain; you and everyone are free
> to 
> use, modify, distribute, etc., as you see fit.
> 
> 
> > > > > Have you tested the power supply recently?
> 
> > It was working before without issues, so not explicitly tested.
> 
> > I am not building regularly, so would need to borrow such equipment
> > somewhere
> 
> 
> Understand that an ATX PSU has multiple stages that produce +12 VDC,
> +5 
> VDC, +5 VDC standby, +3.3 VDC, and -12 VDC ("rails").  It is common
> for 
> one or more rails to fail and the others to continue working. 
> Computers 
> exhibit "weird behaviour" when this happens.
> 
> 
> Just spend the US$20.
> 
> 
> > > > > Have you tested the memory recently?
> 
> > > Did you do multi-threaded/ stress tests?
> > > 
> > Yes, stress is running multiple threads. Only on 2 threads it was
> > stable so far. However it takes longer for the errors to come up
> when
> > using less threads. might be that I did not test long enough.
> 
> 
> I use Memtest86+ 5.01 on a bootable USB stick.  In the
> "Configuration" 
> menu, I can choose "Core Selection".  It appears the default is 
> "Parallel (all)".  Other choices include "Round Robin" and
> "Sequential". 
>   Memtest 5.01 also displays the CPU temperature.  Running it an
> Intel 
> Core i7-2600S with matching factory heat sink and fan for 30+
> minutes, 
> the current CPU temperature is 50 C.  This leads me to believe that
> the 
> memory is loaded to 100%, but the CPU is less (perhaps 60%?).
> 
> https://memtest.org/
> 
> 
> I recommend that you run Memtest86+ in parallel mode for at least one
> pass.  I have seen computers go for 20+ hours before encountering a 
> memory error.
> 
> 
> > > Did you see the problems when running Debian stable OOTB, before
> > > adding
> > > anything?
> 
> > I would need to do this with a liveUSB, to have it run OOTB
> 
> 
> Okay.  Put my Perl script on your liveUSB.  Also put some tool for 
> monitoring CPU temperature, such as sensors(1).

Will have time again in a few days and check.

> 
> 
> David
> 
> 



Re: Weird behaviour on System under high load

2023-05-21 Thread Christian
>  Ursprüngliche Nachricht 
> Von: David Christensen 
> An: debian-user@lists.debian.org
> Betreff: Re: Weird behaviour on System under high load
> Datum: Sun, 21 May 2023 03:11:43 -0700
> 
> On 5/21/23 01:14, Christian wrote:
> 
> > >  Ursprüngliche Nachricht 
> > > Von: David Christensen 
> > > An: debian-user@lists.debian.org
> > > Betreff: Re: Weird behaviour on System under high load
> > > Datum: Sat, 20 May 2023 18:00:48 -0700
> > > 
> > > On 5/20/23 14:46, Christian wrote:
> > > > Hi there,
> > > > 
> > > > I am having trouble with a new build system. It works normal
> and
> > > > stable
> > > > until I put extreme stress on it, e.g. using all 12 cores with
> > > > stress
> > > > tool.
> > > > 
> > > > System will suddenly loose network connection and become
> > > > unresponsive.
> > > > Only a reset works. I am not sure what is going on, but it is
> > > > reproducible: Put stress on the system and it fails. It seems,
> > > > that
> > > > something is getting out of step.
> > > > 
> > > > Stuff below I found in the logs. I tried quite a bit, even
> > > > upgraded
> > > > to
> > > > bookworm, to see if the newer kernel works.
> > > > 
> > > > If anyone knows how to analyze this issue, it would be very
> > > > helpful.
> 
> 
> Please use inline posting style and proper indentation.

Phew... will be quite hard to read. But here you go.

> 
> 
> > > Have you verified that your PSU has sufficient capacity for the
> > > load on
> > > each and every rail?
> 
>  > Hi there,
>  >
>  > Lets go through the different topics:
>  > - Setup: It is a AMD 5600G
> 
> https://www.amd.com/en/products/apu/amd-ryzen-5-5600g
> 
> 65 W
> 
> 
>  > on a ASRock B550M-ITX/ac,
> 
> 
> https://www.asrock.com/mb/AMD/B550M-ITXac/index.asp
> 
> 
>  > powered by a BeQuiet SP7 300W
>  >
>  > - Power: From the specifications it should fit. As it takes 5-20
>  > minutes for the error to occur, I would take that as an
> indication,
>  > that the power supply is ok. Otherwise would expect that to fail
> right
>  > away? Is there a way to measure/test if there is any issue with
> it?
>  > I also tested to limit PPT to 45W which also makes no difference.
> 
> 
> If all you have a motherboard, a 65W CPU, and an SSD, that looks like
> a 
> good quality 300W PSU and I would think it should support long-term
> full 
> loading of the CPU.  But, there is no substitute for doing the
> engineering.
> 
> 
> I do PSU calculations using a spreadsheet.  This requires finding
> power 
> specifications (or making estimates) for everything in the system,
> which 
> can be tough.
> 
> 
> BeQuiet has a PSU calculator.  I suggest using it:
> 
> https://www.bequiet.com/en/psucalculator
> 
> 
> Measuring actual power supply output and system usage would involve 
> building or buying suitable test equipment.  The cost would be non-
> trivial.
> 
> 
> An easy A/B test would be to connect a known-good, high-quality PSU
> with 
> a higher power rating (say, 500-1000W).  I use:
> 
> https://www.fractal-design.com/products/power-supplies/ion/ion-2-platinum-660w/black/
> 
Used the calculator, however might be, that the onboard graphics is not
attributed properly for. Will see that I get a 500W PSU for testing.
> 
> > > Have you cleaned the system interior, filters, fans, heatsinks,
> > > ducts,
> > > etc., recently?
> 
> 
> ?
As written in OP, the system is new. Only PSU is used. So it is clean
> 
> 
> > > Have you tested the thermal solution(s) recently?
> 
>  > - Thermal: I am observing the temperatures on the stresstest. If I
> am
>  > correct in reading Smbusmaster0, Temps haven't been above 71°C,
> but
>  > error also occurs earlier, way below 70.
> 
> 
> Okay.
> 
> 
> What is your CPU thermal solution?
> 
What is a thermal solution?
> 
> What stresstest are you using?
> 
stress running in s-tui
> 
> > > Have you tested the power supply recently?
> 
It was working before without issues, so not explicitly tested.
> 
> I suffered a rash of bad PSU's recently.  I was able to figure it out
> because I bought an inexpensive PSU tester years ago.  It has saved
> my 
> sanity more than once.  I suggest that you buy something like it:
> 
> https://www.ebay.com/sch/i.html?_from=R40&_t

Re: Weird behaviour on System under high load

2023-05-21 Thread Christian
Hi there,

Lets go through the different topics:
- Setup: It is a AMD 5600G on a ASRock B550M-ITX/ac, powered by a
BeQuiet SP7 300W

- Power: From the specifications it should fit. As it takes 5-20
minutes for the error to occur, I would take that as an indication,
that the power supply is ok. Otherwise would expect that to fail right
away? Is there a way to measure/test if there is any issue with it?
I also tested to limit PPT to 45W which also makes no difference.

- Memory: Yes was tested right after the build with no errors

- Thermal: I am observing the temperatures on the stresstest. If I am
correct in reading Smbusmaster0, Temps haven't been above 71°C, but
error also occurs earlier, way below 70.

- OS: I was running Debian stable in quite a minimal configuration
(fresh install as most services are dockerized) when first observed the
error. Now moved to Debian 12/Bookworm to see if it makes any
difference with higher kernel (it does not). Also exchanged r8169 for
the r8168. It changes the error messages, however system instability
stays.

I could disconnect the disks and see if it makes any difference.
However when reproducing this error, disks other than system where
unmounted. So would guess this would be a test to see if it is about
power?

 Ursprüngliche Nachricht 
Von: David Christensen 
An: debian-user@lists.debian.org
Betreff: Re: Weird behaviour on System under high load
Datum: Sat, 20 May 2023 18:00:48 -0700

On 5/20/23 14:46, Christian wrote:
> Hi there,
> 
> I am having trouble with a new build system. It works normal and
> stable
> until I put extreme stress on it, e.g. using all 12 cores with stress
> tool.
> 
> System will suddenly loose network connection and become
> unresponsive.
> Only a reset works. I am not sure what is going on, but it is
> reproducible: Put stress on the system and it fails. It seems, that
> something is getting out of step.
> 
> Stuff below I found in the logs. I tried quite a bit, even upgraded
> to
> bookworm, to see if the newer kernel works.
> 
> If anyone knows how to analyze this issue, it would be very helpful.
> 
> Kind regards
>    Christian
> 
> 
> 2023-05-20T20:12:17.054224+02:00 diskstation kernel: [ 1303.236428] -
> --
> -[ cut here ]
> 2023-05-20T20:12:17.054234+02:00 diskstation kernel: [ 1303.236430]
> NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 0 timed out
> 2023-05-20T20:12:17.054235+02:00 diskstation kernel: [ 1303.236437]
> WARNING: CPU: 5 PID: 2411 at net/sched/sch_generic.c:525
> dev_watchdog+0x207/0x210
> 2023-05-20T20:12:17.054236+02:00 diskstation kernel: [ 1303.236442]
> Modules linked in: eq3_char_loop(OE) rpi_rf_mod_led(OE) ledtrig_timer
> ledtrig_default_on xt_MASQUERADE nf_conntrack_netlink xfrm_user
> xfrm_algo xt_addrtype br_netfilter bridge stp llc overlay ip6t_rt
> nft_chain_nat nf_nat xt_set xt_tcpmss xt_tcpudp xt_conntrack
> nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables
> ip_set_hash_ip ip_set binfmt_misc nfnetlink nls_ascii nls_cp437 vfat
> fat amdgpu iwlmvm btusb intel_rapl_msr btrtl intel_rapl_common btbcm
> btintel edac_mce_amd btmtk mac80211 snd_hda_codec_realtek bluetooth
> snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi gpu_sched
> kvm_amd drm_buddy libarc4 snd_hda_intel drm_display_helper
> snd_intel_dspcfg snd_intel_sdw_acpi iwlwifi kvm cec snd_hda_codec
> jitterentropy_rng irqbypass rc_core snd_hda_core cfg80211 snd_hwdep
> drm_ttm_helper snd_pcm ttm drbg wmi_bmof rapl ccp snd_timer
> ansi_cprng
> drm_kms_helper sp5100_tco snd pcspkr ecdh_generic rng_core
> i2c_algo_bit
> watchdog soundcore k10temp rfkill hb_rf_usb_2(OE) ecc
> 2023-05-20T20:12:17.054240+02:00 diskstation kernel: [ 1303.236494]
> generic_raw_uart(OE) acpi_cpufreq button joydev evdev sg nct6775
> nct6775_core drm hwmon_vid fuse loop efi_pstore configfs efivarfs
> ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 btrfs
> blake2b_generic xor raid6_pq zstd_compress libcrc32c crc32c_generic
> dm_crypt dm_mod hid_generic usbhid hid sd_mod crc32_pclmul
> crc32c_intel
> ahci ghash_clmulni_intel sha512_ssse3 libahci xhci_pci sha512_generic
> xhci_hcd r8169 nvme realtek libata aesni_intel nvme_core t10_pi
> crypto_simd mdio_devres usbcore scsi_mod crc64_rocksoft_generic
> cryptd
> libphy crc64_rocksoft crc_t10dif i2c_piix4 crct10dif_generic
> crct10dif_pclmul crc64 crct10dif_common usb_common scsi_common video
> wmi gpio_amdpt gpio_generic
> 2023-05-20T20:12:17.054241+02:00 diskstation kernel: [ 1303.236534]
> CPU: 5 PID: 2411 Comm: stress Tainted: G   OE  6.1.0-9-
> amd64 #1  Debian 6.1.27-1
> 2023-05-20T20:12:17.054241+02:00 diskstation kernel: [ 1303.236536]
> Hardware name: To Be Filled By O.E.M. B550M-ITX/ac/B550M-ITX/ac, BIOS
> L2.62 01/31/2023
> 2023-05-20T20:12:17.

Weird behaviour on System under high load

2023-05-20 Thread Christian
Hi there,

I am having trouble with a new build system. It works normal and stable
until I put extreme stress on it, e.g. using all 12 cores with stress
tool.

System will suddenly loose network connection and become unresponsive.
Only a reset works. I am not sure what is going on, but it is
reproducible: Put stress on the system and it fails. It seems, that
something is getting out of step.

Stuff below I found in the logs. I tried quite a bit, even upgraded to
bookworm, to see if the newer kernel works.

If anyone knows how to analyze this issue, it would be very helpful.

Kind regards
  Christian


2023-05-20T20:12:17.054224+02:00 diskstation kernel: [ 1303.236428] ---
-[ cut here ]
2023-05-20T20:12:17.054234+02:00 diskstation kernel: [ 1303.236430]
NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 0 timed out
2023-05-20T20:12:17.054235+02:00 diskstation kernel: [ 1303.236437]
WARNING: CPU: 5 PID: 2411 at net/sched/sch_generic.c:525
dev_watchdog+0x207/0x210
2023-05-20T20:12:17.054236+02:00 diskstation kernel: [ 1303.236442]
Modules linked in: eq3_char_loop(OE) rpi_rf_mod_led(OE) ledtrig_timer
ledtrig_default_on xt_MASQUERADE nf_conntrack_netlink xfrm_user
xfrm_algo xt_addrtype br_netfilter bridge stp llc overlay ip6t_rt
nft_chain_nat nf_nat xt_set xt_tcpmss xt_tcpudp xt_conntrack
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables
ip_set_hash_ip ip_set binfmt_misc nfnetlink nls_ascii nls_cp437 vfat
fat amdgpu iwlmvm btusb intel_rapl_msr btrtl intel_rapl_common btbcm
btintel edac_mce_amd btmtk mac80211 snd_hda_codec_realtek bluetooth
snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi gpu_sched
kvm_amd drm_buddy libarc4 snd_hda_intel drm_display_helper
snd_intel_dspcfg snd_intel_sdw_acpi iwlwifi kvm cec snd_hda_codec
jitterentropy_rng irqbypass rc_core snd_hda_core cfg80211 snd_hwdep
drm_ttm_helper snd_pcm ttm drbg wmi_bmof rapl ccp snd_timer ansi_cprng
drm_kms_helper sp5100_tco snd pcspkr ecdh_generic rng_core i2c_algo_bit
watchdog soundcore k10temp rfkill hb_rf_usb_2(OE) ecc
2023-05-20T20:12:17.054240+02:00 diskstation kernel: [ 1303.236494] 
generic_raw_uart(OE) acpi_cpufreq button joydev evdev sg nct6775
nct6775_core drm hwmon_vid fuse loop efi_pstore configfs efivarfs
ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 btrfs
blake2b_generic xor raid6_pq zstd_compress libcrc32c crc32c_generic
dm_crypt dm_mod hid_generic usbhid hid sd_mod crc32_pclmul crc32c_intel
ahci ghash_clmulni_intel sha512_ssse3 libahci xhci_pci sha512_generic
xhci_hcd r8169 nvme realtek libata aesni_intel nvme_core t10_pi
crypto_simd mdio_devres usbcore scsi_mod crc64_rocksoft_generic cryptd
libphy crc64_rocksoft crc_t10dif i2c_piix4 crct10dif_generic
crct10dif_pclmul crc64 crct10dif_common usb_common scsi_common video
wmi gpio_amdpt gpio_generic
2023-05-20T20:12:17.054241+02:00 diskstation kernel: [ 1303.236534]
CPU: 5 PID: 2411 Comm: stress Tainted: G   OE  6.1.0-9-
amd64 #1  Debian 6.1.27-1
2023-05-20T20:12:17.054241+02:00 diskstation kernel: [ 1303.236536]
Hardware name: To Be Filled By O.E.M. B550M-ITX/ac/B550M-ITX/ac, BIOS
L2.62 01/31/2023
2023-05-20T20:12:17.054242+02:00 diskstation kernel: [ 1303.236537]
RIP: 0010:dev_watchdog+0x207/0x210
2023-05-20T20:12:17.054242+02:00 diskstation kernel: [ 1303.236540]
Code: 00 e9 40 ff ff ff 48 89 df c6 05 ff 5f 3d 01 01 e8 be 79 f9 ff 44
89 e9 48 89 de 48 c7 c7 c8 16 9b a8 48 89 c2 e8 09 d2 86 ff <0f> 0b e9
22 ff ff ff 66 90 0f 1f 44 00 00 55 53 48 89 fb 48 8b 6f
2023-05-20T20:12:17.054243+02:00 diskstation kernel: [ 1303.236541]
RSP: :a831c345fdc8 EFLAGS: 00010286
2023-05-20T20:12:17.054243+02:00 diskstation kernel: [ 1303.236543]
RAX:  RBX: 91a3c141 RCX: 
2023-05-20T20:12:17.054243+02:00 diskstation kernel: [ 1303.236544]
RDX: 0103 RSI: a893fa66 RDI: 
2023-05-20T20:12:17.054244+02:00 diskstation kernel: [ 1303.236545]
RBP: 91a3c1410488 R08:  R09: a831c345fc38
2023-05-20T20:12:17.054244+02:00 diskstation kernel: [ 1303.236546]
R10: 0003 R11: 91aafe27afe8 R12: 91a3c14103dc
2023-05-20T20:12:17.054245+02:00 diskstation kernel: [ 1303.236547]
R13:  R14: a7e2e7a0 R15: 91a3c1410488
2023-05-20T20:12:17.054245+02:00 diskstation kernel: [ 1303.236548] FS:
7f169849d740() GS:91aade34() knlGS:
2023-05-20T20:12:17.054246+02:00 diskstation kernel: [ 1303.236550] CS:
0010 DS:  ES:  CR0: 80050033
2023-05-20T20:12:17.054246+02:00 diskstation kernel: [ 1303.236551]
CR2: 55d05c3f4000 CR3: 000103cf2000 CR4: 00750ee0
2023-05-20T20:12:17.054246+02:00 diskstation kernel: [ 1303.236552]
PKRU: 5554
2023-05-20T20:12:17.054247+02:00 diskstation kernel: [ 1303.236553]
Call Trace:
2023-05-20T20:12:17.054247+02:00 diskstation kernel: [ 1303.236554] 

2023-05-20T20:12:17.054248+02:00 diskstation kernel: [ 1303.236557]  ?
pfifo_fast_reset

Re: Bookworm soft lockup

2023-05-16 Thread Christian Gelinek

On Mon, 15 May 2023 09:48:12 +0100, piorunz  wrote:

On 15/05/2023 02:13, Christian Gelinek wrote:

It seems to be an issue with the i915 driver, potentially triggered by
snd_hda_intel.


Yes indeed that looks like it, to my untrained eye.
Does it happen on Debian Stable (bullseye) also?
I have one laptop with Intel CPU, Intel integrated graphics, on Debian
Stable (bullseye), and it's ok, never crashes. Probably using same
driver as you, i915 on that one.


Interesting. I'm using an Intel ARC 750 discrete graphics card and 
couldn't get it to work properly with bullseye, which is why I'm using 
bookworm. (In bullseye, the kernel and the firmware-misc-nonfree 
packages weren't recent enough).


Since it happened just twice in the last (almost) 3 months, I think I'd 
need to manually trigger the cause of this lockup - any suggestions are 
welcome.


Thanks for your time!



Re: Bookworm soft lockup

2023-05-16 Thread Christian Gelinek

On Mon, 15 May 2023 18:30:31, David wrote:

On Mon, 2023-05-15 at 11:17 +0300, Anssi Saari wrote:

Christian Gelinek  writes:

> Is anyone else seeing a similar problem? What can I do to avoid
> this?
> Do we need anything else to narrow it down further?

Only time I've seen a soft lockup was from a bad CPU. There were a
bunch
of them and eventually the computer hung. Going back to the slow
plodding Celeron fixed all issues. Except CPU performance of course.


It's happened to me a couple of times, but only since I switched from
stable to testing, over the last month.
As I don't think everybody is running a Dell 980 desktop, or the same
desktop environment, it's probably not a hardware/software mismatch.
We'd be looking at strictly software, I suspect.


I have the same hunch. I got that PC new on Feb 20th, so I hope it's not 
the CPU.  It also happened just twice since then, even though I keep it 
running pretty much 24/7.  Not doing very much when I'm not there, which 
was the case both times.


And for both times, the journalctl log looks suspiciously similar, 
starting with the snd_hda_intel entry.


First time:

Apr 10 07:36:07 gar systemd[1]: anacron.service: Deactivated successfully.
Apr 10 07:50:01 gar kernel: snd_hda_intel :04:00.0: Unable to change 
power state from D3hot to D0, device inaccessible
Apr 10 07:50:03 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
Apr 10 07:50:03 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]

...

Second time:

May 14 00:17:01 gar CRON[2929]: pam_unix(cron:session): session closed 
for user root
May 14 00:54:00 gar kernel: snd_hda_intel :04:00.0: Unable to change 
power state from D3hot to D0, device inaccessible
May 14 00:54:03 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 14 00:54:03 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]

...

To reproduce it, I'd probably have to somehow trigger the condition 
manually, any ideas?


Thanks for your time!



Bookworm soft lockup

2023-05-14 Thread Christian Gelinek

Hi,

I encountered my Debian frozen this morning. This is the 2nd time this 
happened, the 1st one was on April 10, with very similar symptoms: The 
PC was still running, but moving the mouse or typing didn't wake up my 
screens and I couldn't connect to it via SSH.


After force-rebooting, I had a look at journalctl and these are the 
messages before the reboot:


May 14 00:00:09 gar systemd[1]: Starting cups.service - CUPS Scheduler...
May 14 00:00:09 gar audit[2912]: AVC apparmor="DENIED" 
operation="capable" profile="/usr/sbin/cupsd" pid=2912 comm="cupsd" 
capability=12  capname="net_admin"

May 14 00:00:09 gar systemd[1]: Started cups.service - CUPS Scheduler.
May 14 00:00:09 gar kernel: audit: type=1400 audit(1683988209.079:32): 
apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=2912 
comm="cupsd" capability=12  capname="net_admin"
May 14 00:00:09 gar systemd[1]: Started cups-browsed.service - Make 
remote CUPS printers available locally.

May 14 00:00:09 gar systemd[1]: logrotate.service: Deactivated successfully.
May 14 00:00:09 gar systemd[1]: Finished logrotate.service - Rotate log 
files.
May 14 00:17:01 gar CRON[2929]: pam_unix(cron:session): session opened 
for user root(uid=0) by (uid=0)
May 14 00:17:01 gar CRON[2930]: (root) CMD (cd / && run-parts --report 
/etc/cron.hourly)
May 14 00:17:01 gar CRON[2929]: pam_unix(cron:session): session closed 
for user root
May 14 00:54:00 gar kernel: snd_hda_intel :04:00.0: Unable to change 
power state from D3hot to D0, device inaccessible
May 14 00:54:03 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 14 00:54:03 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 14 00:54:07 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 14 00:54:07 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]

May 14 00:54:11 gar kernel: hrtimer: interrupt took 252466383 ns
May 14 00:54:11 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 14 00:54:11 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 14 00:54:16 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* gt: timed out waiting for forcewake ack to clear.
May 14 00:54:16 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 14 00:54:17 gar kernel: i915 :03:00.0: [drm] *ERROR* CT: 
Corrupted descriptor head=4294967295 tail=4294967295 status=0x
May 14 00:54:26 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* render: timed out waiting for forcewake ack to clear.
May 14 00:54:26 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 14 00:54:26 gar kernel: [drm:fw_domains_get_with_fallback [i915]] 
*ERROR* gt: timed out waiting for forcewake ack to clear.
May 14 00:54:26 gar kernel: i915 :03:00.0: [drm:add_taint_for_CI 
[i915]] CI tainted:0x9 by fw_domains_get_with_fallback+0x20c/0x230 [i915]
May 14 00:54:26 gar kernel: watchdog: BUG: soft lockup - CPU#15 stuck 
for 26s! [kworker/15:1:233]
May 14 00:54:26 gar kernel: Modules linked in: snd_seq_dummy snd_hrtimer 
snd_seq snd_seq_device nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 
dns_resolver nfs lockd grace fscache netfs rfkill qrtr sunrpc 
binfmt_misc nls_ascii nls_cp437 vfat fat snd_sof_pci_>
May 14 00:54:26 gar kernel:  intel_uncore ee1004 pcspkr watchdog snd 
soundcore intel_vsec serial_multi_instantiate acpi_pad intel_pmc_core 
acpi_tad mei_me sg mei evdev parport_pc ppdev lp parport fuse loop 
efi_pstore configfs efivarfs ip_tables x_tables autof>
May 14 00:54:26 gar kernel: CPU: 15 PID: 233 Comm: kworker/15:1 Tainted: 
G U  W  6.1.0-8-amd64 #1  Debian 6.1.25-1
May 14 00:54:26 gar kernel: Hardware name: Micro-Star International Co., 
Ltd. MS-7E02/PRO B760M-P DDR4 (MS-7E02), BIOS 1.00 10/21/2022

May 14 00:54:26 gar kernel: Workqueue: pm pm_runtime_work
May 14 00:54:26 gar kernel: RIP: 0010:pci_mmcfg_read+0xb0/0xe0
May 14 00:54:26 gar kernel: Code: 5d 41 5e 41 5f c3 cc cc cc cc 4c 01 e0 
66 8b 00 0f b7 c0 89 45 00 eb dc 4c 01 e0 8a 00 0f b6 c0 89 45 00 eb cf 
4c 01 e0 8b 00 <89> 45 00 eb c5 e8 66 a2 78 ff c7 45 00 ff ff ff ff b8 
ea ff ff ff

May 14 00:54:26 gar kernel: RSP: 0018:a9d000947cc0 EFLAGS: 0286
May 14 00:54:26 gar kernel: RAX:  RBX: 0040 
RCX: 0ffc
May 14 00:54:26 gar kernel: RDX: 00ff RSI: 0004 
RDI: 
May 14 00:54:26 gar kernel: RBP: a9d000947cfc R08: 0004 
R09: a9d000947cfc

Bookworm lockup: Report bug?

2023-04-11 Thread Christian Gelinek
 10 07:50:28 gar kernel: CR2: 7f5020400010 CR3: 000107d60006 
CR4: 00770ee0

Apr 10 07:50:28 gar kernel: PKRU: 5554
Apr 10 07:50:28 gar kernel: Call Trace:
Apr 10 07:50:28 gar kernel:  
Apr 10 07:50:28 gar kernel:  pci_bus_read_config_dword+0x46/0x80
Apr 10 07:50:28 gar kernel: pci_find_next_ext_capability+0x82/0xe0
Apr 10 07:50:28 gar kernel:  ? pci_conf1_read+0x9b/0xf0
Apr 10 07:50:28 gar kernel:  pci_restore_state.part.0+0x5d/0x3a0
Apr 10 07:50:28 gar kernel:  pci_pm_runtime_resume+0x41/0xe0
Apr 10 07:50:28 gar kernel:  ? pci_pm_restore_noirq+0xc0/0xc0
Apr 10 07:50:28 gar kernel:  __rpm_callback+0x41/0x170
Apr 10 07:50:28 gar kernel:  ? pci_pm_restore_noirq+0xc0/0xc0
Apr 10 07:50:28 gar kernel:  rpm_callback+0x5d/0x70
Apr 10 07:50:28 gar kernel:  ? pci_pm_restore_noirq+0xc0/0xc0
Apr 10 07:50:28 gar kernel:  rpm_resume+0x5df/0x820
Apr 10 07:50:28 gar kernel:  pm_runtime_work+0x6c/0xa0
Apr 10 07:50:28 gar kernel:  process_one_work+0x1c4/0x380
Apr 10 07:50:28 gar kernel:  worker_thread+0x4d/0x380
Apr 10 07:50:28 gar kernel:  ? _raw_spin_lock_irqsave+0x23/0x50
Apr 10 07:50:28 gar kernel:  ? rescuer_thread+0x3a0/0x3a0
Apr 10 07:50:28 gar kernel:  kthread+0xe6/0x110
Apr 10 07:50:28 gar kernel:  ? kthread_complete_and_exit+0x20/0x20
Apr 10 07:50:28 gar kernel:  ret_from_fork+0x1f/0x30
Apr 10 07:50:28 gar kernel:  

Is there anything useful in this which I should report as a bug?

Regards,
Christian



Trying to find the source iso's for debian buster and bookworm

2023-03-04 Thread Keith Christian
Several versions back, we could download the source code
on various iso files for previous and current releases.

Where can those be found for Buster and Bookworm?  Several searches
turned up nothing.

Thanks.



Bizzare bug: Systemd-logind session creation and prometheus-node-exporter systemd collector fail with message "Failed to activate service 'org.freedesktop.systemd1': timed out "

2022-09-29 Thread Christian Kuntz
systemd1'

Then after this, systemd-logind and prometheus-node-exporter stop failing
with the timeout message, but something interesting happens; systemd-logind
loses the ability to fully close
the new sessions being opened, and eventually the once-a-minute login
process causes the node to max out on user sessions.
You can sort of see this in the logs, since no longer are sessions removed
after the "Waiting for processes to exit message";
Aug 07 13:48:50 nosferatu systemd-logind[4042]: New session 136763 of user
rsync-user.
Aug 07 13:48:50 nosferatu systemd-logind[4042]: Session 136763 logged out.
Waiting for processes to exit.
Aug 07 13:49:50 nosferatu systemd-logind[4042]: New session 136764 of user
rsync-user.
Aug 07 13:49:50 nosferatu systemd-logind[4042]: Session 136764 logged out.
Waiting for processes to exit. <-8192 total user sessions active here
Aug 21 21:12:51 nosferatu systemd-logind[4042]: Power key pressed. <- When
I rebooted the machine over IPMI so I could log in :(
Aug 21 21:12:51 nosferatu systemd-logind[4042]: Powering Off...

I know from other instances that performing `start-stop-daemon --stop
--quiet --pidfile ` causes systemd to reload with the same
message in dbus of
"Successfully activated service"..., so I imagine this resurrection
occurred due to some nightly service, though what exactly I cannot tell,
since logs had been rotated before I started to look at the system.

Of additional though maybe spurious interest is the fact that login
sessions increment oddly; scanning the logs, the session number goes up by
2 for every new connection,
except on the 10th connection or so, where it goes up by 3.

I have tried checking for session leaks with loginctl, bus connection leaks
with busctl, confirmed that the OOM killer wasn't active, confirmed that
CPU util was within reason,
 and most other common-sense checks. The systems are otherwise healthy, and
so far this hasn't happened on the same machine twice.

As you may imagine, I'm thoroughly flummoxed by this issue, and insofar
I've been unable to reproduce it by doing things like increasing the
interval of the prometheus collector or the rsync service.  Normally, I'd
just update
and presume that'd solve the issue, but without knowledge of *why *this
issue is occuring I'm hesitant to call anything a fix.

Does this ring any bells to anyone? Any known bugs I'm hitting here with
some subcomponent? Does anyone have any advice for useful debug steps that
could get me closer to a solution?
I've also got many, many, more logs available if there's anything that may
be of use.

Cheers, and thanks ever so much for your time and attention!
Christian


Re: Installing on Rock Pi 4

2022-07-19 Thread Christian Britz
Thank you, very interesting!

>> I would call it semi-official. Gunnar Wolf is a respected Debian
>> developer and the debian.net domain is a property of the project. I
>> would prefer an official-official installer though.
> 
> This was briefly touched on during a livestreamed discussion between
> the relevant Debian developers at Debconf less than 24 hours ago.
> I think it was this one:
>   https://debconf22.debconf.org/talks/44-debian-installer-and-images-team-bof/
> I think it is usual practice for this kind of video to become
> available for viewing
> on demand in the near future.
> 
> My recollection of the discussion is that Gunnar's work is welcomed
> by the installer team. And it is hoped and expected by all parties to move
> towards becoming official as a next step with the passage of time.
> However this move is not an immediate priority, as there are other
> changes under discussion regarding the installer, that are currently
> considered to be more important.
> 

-- 
http://www.cb-fraggle.de



Re: Installing on Rock Pi 4

2022-07-19 Thread Christian Britz



Am 19.07.22 um 17:16 schrieb Nicolas George:
> Christian Britz (12022-07-19):
>> If this device really can boot the Debian installer, at least it's boot
>> system is fundamentally different to an out of the box Raspberry Pi.
> 
> IIRC, no two ARM systems have the same boot system.
> 
> The RC1 announcement of Debian installer says this system is supported.
> Debian provides images specifically for this system:
> https://deb.debian.org/debian/dists/bullseye/main/installer-arm64/current/images/netboot/SD-card-images/

I do not doubt that. I just wanted to point out that at least the boot
system is not so similar. You called your device "similar to and mostly
compatible with the Raspberry Pi 4". At least for the installation
process that is not true.

> So it is at least supposed to work.

Yes.

> Why would Debian provide images that do not work?

Would not make sense.


> Note that there are in this directory no images for the plain RPi.

I know.

>> As far as I know, it is only possible to use the Debian installer if you
>> modify the Raspberry to provide it an EFI system.
> 
> Not here, the images that succeed to boot do not have EFI boot, even
> though they look like it.

My comment was specific to the Raspberry Pi.


>> The common way to install Debian on a Raspberry Pi is using one of the
>> images provided at raspi.debian.net. Once you got it installed, it is a
>> Debian system like others using the standard repositories.
> 
> IIRC, debian.net is third-party. Since Debian says it supports this
> hardware, I would really like to avoid using third-party files.

I would call it semi-official. Gunnar Wolf is a respected Debian
developer and the debian.net domain is a property of the project. I
would prefer an official-official installer though.

Anyway, raspi.debian.net is intended solely for original Raspberry Pi
devices. I doubt that the images would work with your device.

-- 
http://www.cb-fraggle.de



Re: Installing on Rock Pi 4

2022-07-19 Thread Christian Britz
Hi Nicolas,

Am 19.07.22 um 16:03 schrieb Nicolas George:
> Hi. I am trying to install Debian on a Rock Pi 4 (v1.73). It is a
> system-on-chip similar to and mostly compatible with the Raspberry Pi 4
> but with an on-board SSD.

[...]

> 
> I have tried the procedure described on:
> https://deb.debian.org/debian/dists/bullseye/main/installer-arm64/current/images/netboot/SD-card-images/README.concatenateable_images
> 
> zcat firmware.rock-pi-4-rk3399.img.gz partition.img.gz | /usr/bin/pv -s 
> $[16777216+136822784] > /dev/mmcblk0
> 
> I have checked that the SD card has a partition that can be mounted and
> looks like a Debian installer.

If this device really can boot the Debian installer, at least it's boot
system is fundamentally different to an out of the box Raspberry Pi.

As far as I know, it is only possible to use the Debian installer if you
modify the Raspberry to provide it an EFI system.

The common way to install Debian on a Raspberry Pi is using one of the
images provided at raspi.debian.net. Once you got it installed, it is a
Debian system like others using the standard repositories.

-- 
http://www.cb-fraggle.de



Re: Debian 11: How to disable IPv6

2022-07-09 Thread Christian Britz



Am 09.07.22 um 16:14 schrieb Andy Smith:

> Sounds like you have a misconfiguration that should be fixed, rather
> than disabling IPv6 to work around it.
> 

I do not know about this case, but there are still situations where
applications have problems with IPv6. For example the proprietary Citrix
client if you go online using the mobile phone.

> That directory exists for me on all of my Debian 11 machines, so I

On mine too.


-- 
http://www.cb-fraggle.de



Re: Debian 11: How to disable IPv6

2022-07-09 Thread Christian Britz



Am 09.07.22 um 15:52 schrieb Roger Price:

> because directory /proc/sys/net/ipv6 doesn't exist. What is the new way of 
> disabling IPv6?

I did it recently just in the way you described on Debian 11.

-- 
http://www.cb-fraggle.de



Re: nft newbie

2022-07-06 Thread Christian Britz



Am 07.07.22 um 00:50 schrieb gene heskett:

> I was just locked up by what may have been a ransomware attack by a link 
> from pocket,
> part of firefox's default screen. I did a power down, and had quite a 

I doubt that. This would be such a security desaster for FireFox that it
would have been published on all major news sites by now.

-- 
http://www.cb-fraggle.de



Re: Printing the old way

2022-06-15 Thread Christian Groessler

On 6/14/22 23:11, Klaus Singvogel wrote:

Additional you needed printer specific drivers, if you don't have a
PostScript capable printer.



You could use ghostscript as filter if you didn't have a PS capable 
printer. (Which was normal because they were expensive).



regards,
chris




Re: [HS] MySQL: valeur par défaut [RESOLU]

2022-05-26 Thread Christian Quentin
Cette requête devrait aussi faire le job, je pense :

SELECT 
  IF(COUNT(*) > 0, macolonne2, 'ABC')
FROM ma_table
  WHERE macolonne1 = 123
  AND macolonne2 IS NOT NULL
LIMIT 1 

Bonne journée

Le mercredi 25 mai 2022 à 08:49 +0200, Olivier a écrit :
> Voici la réponse de Dethegeek:
> 
> CREATE TABLE `ma_table` (
> `id` INT(10) NOT NULL,
> `macolonne1` INT(10) NOT NULL,
> `macolonne2` VARCHAR(50) NULL DEFAULT NULL
> PRIMARY KEY (`id`)
> );
> 
> SELECT
> if (
> (
> SELECT
> COUNT(*)
> FROM
> ma_table
> WHERE
> macolonne1 = 123
> AND NOT ISNULL(macolonne2)
> ) = 0,
> 'ABC',
> (
> select
> macolonne2
> from
> ma_table
> where
> macolonne1 = 123
> and not isnull(macolonne2)
> )
> )
> 
> 
> > > 


Re: dlna server for roku?

2022-05-15 Thread Christian Britz
I can recommend MiniDLNA. It streams without problems from my Raspberry
Pi. I do not have a Roku device, but it have tested it with 3 other
devices successfully.


On 2022-05-14 19:29 UTC+0200, Lee wrote:
> I'd like to watch my own video files on a Roku; apparently what I need
> is DLNA software on my server..
> 
> I found this note:  https://support.roku.com/article/208754908
>   Roku Media Player has been tested to work with the following DLNA servers:
>   MiniDLNA/ReadyDLNA/ReadyMedia
>   -- and a few others that I'm not about to bother trying
> 
> I haven't read anything really good about
> MiniDLNA/ReadyDLNA/ReadyMedia, so before I spend who knows how much
> time tring to get it working, is there some other DLNA server software
> that I should be looking at?
> 
> Thanks
> Lee
> 

-- 
http://www.cb-fraggle.de



Running Sky Go on Debian

2022-05-11 Thread Christian Britz
Greetings,

this might be slightly OT, on the other hand it might be of some
interest to others, so please excuse me.

For years I am trying to find a way to use the Sky Go PayTV service on
Debian, I don't like booting Windows for that. For a short time, they
had a good web player, but they replaced it with a crappy app which is
only available for Android, Windows and MacOS.

Here is what I tried over the years:
- Windows VM: Works, but video performance is unaccepatble (tested with
KVM/libvirt, VirtualBox, VMWare Player).
- Wine: No chance.
- Anbox / Waydroid: App complaining about non-supported/rooted device (IIRC)
- Genymotion with GApps installed: I can login, but the app refuses to
work and complains about Geo location. I turned on virtual GPS, but this
did not help.

Do you have any idea for me? (Yes, I am already planing to switch
completely to more decent streaming services, but I cannot fully replace
Sky / SkyGo / Sky Ticket, because I want to watch some football games.)

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: "Disabling IRQ #9" - how to check for impact

2022-05-03 Thread Christian Britz
Problem seems to be gone with latest Debian stable kernel update! I
don't see the message anymore with 5.10.113.

On 2022-04-28 10:34 UTC+0200, Christian Britz wrote:
> Hello Ilya,
> 
> thank you for sharing so many interesting details!
> 
> On 2022-04-28 02:53 UTC+0200, IL Ka wrote:
> 
>> This is a known kernel
>> bug: https://bugzilla.kernel.org/show_bug.cgi?id=207749
>> <https://bugzilla.kernel.org/show_bug.cgi?id=207749> 
> 
> I was almost sure the messages first appeared after the firmware update,
> but the kernel bug is much older. I will definitely follow this thread.
> 
>> As we see from stacktrace, this handler is "acpi_irq" (you can also
>> check it by reading /proc/interrupts):
> 
> There is a high number on CPU1:
> 
>9:  0  819113116  0  0  0  0
>  0  0  IR-IO-APIC9-fasteoi   acpi
> 
> Should I be worried about that?
> 
>> Many hardware things in laptops use ACPI: Brightness buttons, FN
>> buttons, volume buttons, lid etc.
> 
> They seem to work.
>> If everything works as expected (you see no problem with lid, buttons
>> etc) simply ignore it.
> 
> It seems so.
> 
>> If no, try to install the latest kernel and file a bug to Debian (I
> 
> Latest kernel from backports did not help.
> 
>> You can also add "irqpoll" kernel param which will ask the kernel to
> 
> I think I have read somewhere that this can make the machine very slow.
> 
> So far I notice no impact of the bug, luckily. I guess I will live with
> it and hope for a fix in a kernel of a later Debian release.
> 
> Best Regards,
> Christian
> 

-- 
http://www.cb-fraggle.de



Re: Dual booting Debian on an Windows machine.

2022-04-30 Thread Christian Britz
Generally it is easier to install Windows first, then Debian, but of
course it is possible the other way round. The Debian boot manager can
be configured to respect the Windows installation, the Windows boot
manager does not know anything about other operating systems, so you
should leave that to Debians tools, usually GRUB. You can also select
the OS to be booted in most (?) UEFI settings implementations.

The Debian installer is capable of resizing existing Windows
installations, to make room for Debian.

You should keep a Debian Live USB stick around, because Windows still
sets the MS boot manager as default under some circumstances.
Alternative would be to select the boot device from UEFI settings as
mentioned and then fix the problem from the installed Debian.

To get GRUB to know about Windows OS, you need the package os-prober. I
am not sure if this is automatically installed by the installer, if it
detects Windows. If not, install it later. Note that os-prober will
probably get deactivated in the next Debian release for some security
concerns, AFAIK it is not yet decided, how this will be finally handled
and if there will be an alternative mechanism.

If you can choose between UEFI and BIOS (legacy) mode, I would recommend
UEFI, it simplifies booting and has probably other advantages too. I use
UEFI with disabled secure boot. It is possible to use secure boot with
Debian, but you have to actively care for key handling and signing of
kernels and modules which you compile yourself then.

Another alternative to your plan might be to run the Windows
installation in one of the many available VM solutions. This works very
well, except for accelerated video (no option if you want to play games
or use special streaming software which is only available for Windows).

Hope that helps,
Christian



On 2022-04-30 13:50 UTC+0200, Richard Owlett wrote:
> I will be setting up a Windows laptop to dual boot Debian.
> If the machine has legacy BIOS, no problem as I've done that before.
> 
> If it is a UEFI machine (possibly with secure boot, what should I be 
> reading.
> 
> TIA
> 

-- 
http://www.cb-fraggle.de



Re: Net install installer fails to access any mirror...........

2022-04-29 Thread Christian Britz



On 2022-04-29 13:54 UTC+0200, Charlie wrote:

> On both of these the installer does not find any mirror I select, for
> the last 3 days.

Can you give more details of the error message? Have you tried the CDN
deb.debian.org as mirror? That is usually the best option.

> No error messages that the Ethernet cable is a problem.

And it goes successfully through the network configuration steps?
Often the network gets automatically configured via DHCP, the installer
should tell you about what it does.

> They are located at the end of a 15 metre cat 6 cable, but it works,
> because I have updated a couple of laptops at the end of that cable
> just to see it works all right.

I do not think the problem is related to this.

Regards,
Christian


-- 
http://www.cb-fraggle.de



Re: Can an NAS appliance be used as a regular computer?

2022-04-28 Thread Christian Britz



On 2022-04-28 12:42 UTC+0200, Tom Browder wrote:
> All I want is a small PC able to host multiple drives for redundant
> storage. Can a typical NAS appliance be used for that?

As suggested by me and others before, I would look for a cheap device
like the Raspberry Pi for home use. You can configure and install
everything like you want and you are not limited by the use cases
intended by the manufacturer.

I replaced an older Synology NAS myself this year with a Raspi based
solution and I am totall happy with it. For file serving I use sshfs,
which better fits my needs than SMB or NFS. I think there are also
clients available for Windows and Mac (if you need that).

I use it completely headless, but - if you wish so - you can also use it
as a low-end ARM based desktop PC.

If you have any questions regarding setup, please come back.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: "Disabling IRQ #9" - how to check for impact

2022-04-28 Thread Christian Britz
Hello Ilya,

thank you for sharing so many interesting details!

On 2022-04-28 02:53 UTC+0200, IL Ka wrote:

> This is a known kernel
> bug: https://bugzilla.kernel.org/show_bug.cgi?id=207749
> <https://bugzilla.kernel.org/show_bug.cgi?id=207749> 

I was almost sure the messages first appeared after the firmware update,
but the kernel bug is much older. I will definitely follow this thread.

> As we see from stacktrace, this handler is "acpi_irq" (you can also
> check it by reading /proc/interrupts):

There is a high number on CPU1:

   9:  0  819113116  0  0  0  0
 0  0  IR-IO-APIC9-fasteoi   acpi

Should I be worried about that?

> Many hardware things in laptops use ACPI: Brightness buttons, FN
> buttons, volume buttons, lid etc.

They seem to work.
> If everything works as expected (you see no problem with lid, buttons
> etc) simply ignore it.

It seems so.

> If no, try to install the latest kernel and file a bug to Debian (I

Latest kernel from backports did not help.

> You can also add "irqpoll" kernel param which will ask the kernel to

I think I have read somewhere that this can make the machine very slow.

So far I notice no impact of the bug, luckily. I guess I will live with
it and hope for a fix in a kernel of a later Debian release.

Best Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Crucial SSDs and Debian Bullseye

2022-04-27 Thread Christian Britz



On 2022-04-27 14:46 UTC+0200, Tom Browder wrote:

> And for future reference, what brand of SSDs (and memory) do you use?

Currently I use what is built in to my laptop, a SK Hynix SSD. The Raspi
home server is connected to a traditional hard disk.

In the past I had a Samsung EVO SSD for home use. It worked out of the
box. I do not know if fit your needs for the commercial grade server
which you want to install.

I can not give any current recommendations for memory, sorry.

-- 
http://www.cb-fraggle.de



Re: Crucial SSDs and Debian Bullseye

2022-04-27 Thread Christian Britz



On 2022-04-27 14:22 UTC+0200, Christian Britz wrote:
> 
> 
> On 2022-04-27 13:57 UTC+0200, Tom Browder wrote:
>> On Wed, Apr 27, 2022 at 06:42 Christian Britz > <mailto:cbr...@t-online.de>> wrote:
>> ...
>>
>> I have seem some indications on the web though, which suggest there
>> might be an ISO image for updating the drive too. What is the exact
>> model name?
>>
>>
>> Crucial MX500 1000GB 2.5-INCH SOLID STATE DRIVE
> 
> 
> They don't seem to offer the ISO image anymore, at least I did not find
> it on their support site, even though it is mentioned several times.
> What a shame! You should really get rid of that thing if possible.
> 


I found it. https://www.crucial.com/support/ssd-support/mx500-support,
there seem to be two versions. Click on the appropriate blue button, a
zip file will be downloaded which contains the ISO. Apparently this can
not be written to USB.

-- 
http://www.cb-fraggle.de



Re: Crucial SSDs and Debian Bullseye

2022-04-27 Thread Christian Britz



On 2022-04-27 13:57 UTC+0200, Tom Browder wrote:
> On Wed, Apr 27, 2022 at 06:42 Christian Britz  <mailto:cbr...@t-online.de>> wrote:
> ...
> 
> I have seem some indications on the web though, which suggest there
> might be an ISO image for updating the drive too. What is the exact
> model name?
> 
> 
> Crucial MX500 1000GB 2.5-INCH SOLID STATE DRIVE


They don't seem to offer the ISO image anymore, at least I did not find
it on their support site, even though it is mentioned several times.
What a shame! You should really get rid of that thing if possible.

-- 
http://www.cb-fraggle.de



Re: Crucial SSDs and Debian Bullseye

2022-04-27 Thread Christian Britz



On 2022-04-27 13:06 UTC+0200, Tom Browder wrote:

> drive. From what I can find at Crucial, I need to install their Storage
> Executive program on a Windows host, hook up the SSD to a USB/SATA
> connector on that host, and configure or install the firmware onto the SSD.

Sounds really crappy. A drive which must be preconfigured by a
Windows-only tool before first use? If possible, return it to the dealer.

I have seem some indications on the web though, which suggest there
might be an ISO image for updating the drive too. What is the exact
model name?

-- 
http://www.cb-fraggle.de



Re: Recommendations for a home server running Debian Bullseye (11)?

2022-04-26 Thread Christian Britz



On 2022-04-26 15:28 UTC+0200, Stefan Monnier wrote:

> As a Debian user who considers current computer hardware should have a life
> expectancy of at least 10 years, my main question w.r.t to those beasts
> is what part of the hardware is supported by the vanilla Linux kernel
> (since that's generally the best guarantee around of long term support).
> 
> IIUC RK3339 is fairly well supported (thanks in large part to some
> Chromebooks, IIRC), right?  What about the wifi/BT?

I can only talk about the Raspi 4B, which is well supported by the
kernel in Debian stable, I don't use Wifi/BT, but they are supposed to
work. See also https://wiki.debian.org/RaspberryPi4. Hardware
accelerated 3D seems to be missing, I personally don't need it on my
headless home server, it has never been attached to a display. There is
a friendly community in #debian-raspberrypi on IRC. AFAIK there is work
ongoing to support 3D acceleration. As a starting point for
installation, I can recommend the images provided at
http://raspi.debian.net.

Christian

-- 
http://www.cb-fraggle.de



Re: Recommendations for a home server running Debian Bullseye (11)?

2022-04-26 Thread Christian Britz



On 2022-04-26 10:49 UTC+0200, Jeremy Ardley wrote:

> I also use a fanless home server, but it's definitely no slouch.
> 
> My one is a NanoPi M4V2 usingRockchip RK3399 64-bit Dual Core Cortex-A72 + 
> Quad Core Cortex-A53 It 
[...]
> snappy. It gets 12.47 seconds in the hardinfo n-queens test which is 
> slightly slower than an Intel Core-2 Duo T7250 @ 2GHz What does the 
> RPi4B get on hardinfo? -- 

12.06 - not too bad compared to the 7.33 of the Intel Core i5-1035G1 of
my IdeaPad! :-)

-- 
http://www.cb-fraggle.de



"Disabling IRQ #9" - how to check for impact

2022-04-26 Thread Christian Britz
Hello Debianists,

some days ago I updated the BIOS of my Lenovo IdeaPad S145-15IIL (had to
boot a certain proprietary OS for this). I think since then there is a
new error in the kernel log. I never noticed it before.

[9.967601] irq 9: nobody cared (try booting with the "irqpoll" option)
[9.967607] CPU: 1 PID: 981 Comm: sddm-greeter Tainted: G
OE 5.10.0-13-amd64 #1 Debian 5.10.106-1
[9.967608] Hardware name: LENOVO 81W8/LNVNB161216, BIOS DKCN54WW
01/27/2022
[9.967608] Call Trace:
[9.967615]  dump_stack+0x6b/0x83
[...]
[9.967636] handlers:
[9.967639] [<872fa119>] acpi_irq
[9.967640] Disabling IRQ #9

This IRQ seems to be related to ACPI on this machine. I am unsure, what
exactly gets diabled and what might be the impact. So far I notice no
problems with performance or overheating, compiling a small tool went as
always I would say.

Do you have any hints for me about what I should/could check?

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Debian 11 bullseye - will it work on 12th gen core i3-12100?

2022-04-26 Thread Christian Britz



On 2022-04-25 19:16 UTC+0200, Georgi Naplatanov wrote:

> Debian 11 was released almost 1 year ago. For new hardware you will need
> Debian testing. For Debian 11 (current stable) you'll need second hand
> hardware.

Or a kernel from backports. There was a discussion on this list recently
about how to integrate a backported kernel into the installer. I did not
try it out though.

-- 
http://www.cb-fraggle.de



Re: Recommendations for a home server running Debian Bullseye (11)?

2022-04-26 Thread Christian Britz



On 2022-04-25 23:58 UTC+0200, Stefan Monnier wrote:

> That's quite vague.  I myself use a BananaPi as home server with good
> results (for my use case anyway), but I'm pretty sure that it wouldn't
> cover half the needs of some other people's notion of "home server".

I agree with Stefan. I am using myself a fanless Raspberry PI 4B as a
home server and it is perfectly able to serve DLNA, files, low traffic
web and an IRC proxy, most of the times it is idling.

The "commercial grade" beast which you describe sounds very different to
a "normal" home server use case, so you should maybe better describe the
scenario for the operation of the server. If it is supposed to host high
traffic websites, your home internet connection might be the limiting
factor anyway, not the hardware specs.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Changing from Debian 9.13 to Debian 11.3

2022-04-21 Thread Christian Britz



On 2022-04-21 16:34 UTC+0200, Richard Owlett wrote:

> My browser is a SeaMonkey stand alone executable.

There is such a thing? The SeaMonkey I know, consists of many different
files in a directory, not one "stand alone executable".
And it will store it's settings and stuff in a profile directory under
/home.

-- 
http://www.cb-fraggle.de



Re: how to register a system service

2022-04-21 Thread Christian Britz



On 2022-04-21 10:13 UTC+0200, Henrik S wrote:

> Given I have a program, I want to make it start/stop as the normal 
> system service such as postfix.
> 
> How can I setup this?

The man page for systemd.service contains examples for simple service
files. Even I was able to create one and that does mean something. ;-)

If you have specific questions, please come back.

-- 
http://www.cb-fraggle.de



Re: After upgrade to bullseye, tty1-6 not working

2022-04-20 Thread Christian Britz
Hello Hobie,

On 2022-04-20 12:13 UTC+0200, hobie of RMN wrote:
> Hi, Folks -

> With buster, I had done some tweaking to the boot command line in order to
> have a certain font size come up in the plain text console windows. 
> Should I suspect that's still present in grub and is for some reason
> problematic under bullseye?  Any tips, hints, suggestions, wild-eyed
> speculations would be appreciated. :)
Wild-eyed speculation: The tweaks are probably still present in
/etc/default/grub. Remove them to see if the problems are related.

-- 
http://www.cb-fraggle.de



Re: Debian installer with a newer kernel

2022-04-14 Thread Christian Britz
Thank you for your good hints, Andrew. My approach is different.

I am in the lucky position that the question is of theoretical interest
to me this time only, in the past I had cases where I had to use
testing, because the kernel of the installer was too old to support
basic functions of my hardware.

On IRC I was recommended to build a custom image of the d-i. This was
actually provided as a service in the past at
https://kmuto.jp/debian/d-i/ but has been discontinued since long.

I found a short description for changing the d-i kernel at
https://wiki.debian.org/DebianInstaller/Modify/CustomKernel. I guess it
should work, as long as the kernel is not too new for the rest of the
system.

I think it would be great to provide such a (semi-)official support for
backported kernels in the installer again. There is probably a
significant number of users which use testing, just because they can't
install stable on their systems.

Regards,
Christian

On 2022-04-14 12:00 UTC+0200, Andrew M.A. Cater wrote:
> On Thu, Apr 14, 2022 at 11:16:00AM +0200, Christian Britz wrote:
>> Hello dear Debianists,
>>
>> if a new system has at least basic hardware support by the kernel
>> provided by the Debian installer, you can solve many hardware problems
>> by installing a newer kernel from backports after the system setup.
>>
>> Is there a solution for the case where the installer kernel is too old
>> for core components like storage system support? Is there a way to use
>> the installer itself with a backports kernel?
>>
>> Regards,
>> Christian
>> -- 
>> http://www.cb-fraggle.de
>>
> 
> This is a hard one: the kernel, initial ram disk and firmware are all fairly
> closely aligned in the install medium.
> 
> If you can get through much of the installer with the d-i kernel:
> 
> You may be able to drop down to a shell in the target environment - edit 
> /etc/apt/sources.list to add the backports repository.
> 
> At the end, just before you exit - drop to the target shell once again and apt
> install the new kernel and newer firmware.
> 
> Rerun the grub-install step just to check - then exit.
> 
> As you reboot, so the backports kernel should be first.
> 
> If graphics card configuration/firmware is an issue: text mode expert install
> may well help - the text mode install tries to find compatible VESA modes.
> 
> In some sense: this is the issue of very new hardware - for any distribution -
> and there's no good clear answer. Debian - on a two year release cycle now,
> more or less - is at least ahead of Red Hat where the distribution may have
> to be kept stable in kernel version and ABI but  current for ten years
> afterwards.
> 
> All the very best, as ever,
> 
> Andy Cater
> 

-- 
http://www.cb-fraggle.de



Debian installer with a newer kernel

2022-04-14 Thread Christian Britz
Hello dear Debianists,

if a new system has at least basic hardware support by the kernel
provided by the Debian installer, you can solve many hardware problems
by installing a newer kernel from backports after the system setup.

Is there a solution for the case where the installer kernel is too old
for core components like storage system support? Is there a way to use
the installer itself with a backports kernel?

Regards,
Christian
-- 
http://www.cb-fraggle.de



Re: Help settings up sound card on Debian stable

2022-04-14 Thread Christian Britz



On 2022-04-13 09:28 UTC+0200, Yvan Masson wrote:

> I have no idea of what you could do to make it work on stable, sorry. 
> But did you try running testing? It would be probably simpler, and 
> testing generally runs great.

It seems to be more or less consent that you are not advised to run
Debian Testing on a productive system, one of the reasons is security
support. Is this system so new that it requires a kernel from testing?
bullseye-backports has kernel 5.16.12, the  kernel in testing is also a
5.16.x release.
It will probably not take too much time until 5.17.x or 5.18.x will
appear in bullseye-backports.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Debian "Bookworm" Installation

2022-04-14 Thread Christian Britz



On 2022-04-14 01:07 UTC+0200, Peter Hillier-Brook wrote:

> I've just attempted to Install "Bookworm" to a USB stick and it went 
> mostly to plan, apart from the fact that it won't boot. However that's 
> not the issue at hand: I can't find a way to persuade  the installer's 
> partitioner to use GPT instead of the MS-DOS partitioning scheme.

The installer should choose UEFI or BIOS mode depending on the settings
of your firmware. Do you have previous experiences with a non-usb storage?

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Running Steam Proton Games with primusrun

2022-03-31 Thread Christian Britz
Could be some 32 bit NVIDIA files missing, steam is 32 bit.

Regards,
Christian

On 2022-03-27 13:03 UTC+0200, Jonathan Marquardt wrote:
> Hi!
> 
> I have a Dell XPS 15 with a dedicated NVIDIA GPU and I have a working
> bumblebee setup. It works with all kinds of games, except for steam ones.
> I'm trying to run Proton games with primusrun but it somehow doesn't work.
> Here's an example with Battlefield V:
> 
> Game process added : AppID 1238810 "primusrun 
> /home/parckwart/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch 
> AppId=1238810 -- 
> '/home/parckwart/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point
>  --verb=waitforexitandrun -- 
> '/home/parckwart/.steam/debian-installation/steamapps/common/Proton 
> 7.0'/proton waitforexitandrun  
> 'link2ea://launchgame/1238810?platform=steam=bfv'", ProcID 30792, IP 
> 0.0.0.0:0
> chdir /home/parckwart/.steam/debian-installation/steamapps/common/Battlefield 
> V
> ERROR: ld.so: object 
> '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so'
>  from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object 
> '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so'
>  from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object 
> '/home/parckwart/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so'
>  from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
> GameAction [AppID 1238810, ActionID 1] : LaunchApp changed task to 
> WaitingGameWindow
> with ""
> GameAction [AppID 1238810, ActionID 1] : LaunchApp changed task to Completed 
> with ""
> ERROR: ld.so: object 
> '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so'
>  from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object 
> '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so'
>  from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> ERROR: ld.so: object 
> '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so'
>  from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
> pid 30807 != 30804, skipping destruction (fork without exec?)
> primus: fatal: failed to load any of the libraries: 
> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/x86_64-linux-gnu/libGL.so.1:/usr/lib/i386-linux-gnu/libGL.so.1
> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: 
> No such
> file or directory
> /usr/lib/i386-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No 
> such file or directory
> /usr/lib/x86_64-linux-gnu/libGL.so.1: cannot open shared object file: No such 
> file or directory
> /usr/lib/i386-linux-gnu/libGL.so.1: cannot open shared object file: No such 
> file or directory
> Game process removed: AppID 1238810 "primusrun 
> /home/parckwart/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch 
> AppId=1238810 -- 
> '/home/parckwart/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point
>  --verb=waitforexitandrun -- 
> '/home/parckwart/.steam/debian-installation/steamapps/common/Proton 
> 7.0'/proton waitforexitandrun  
> 'link2ea://launchgame/1238810?platform=steam=bfv'", ProcID 30792
> ThreadGetProcessExitCode: no such process 30805
> ThreadGetProcessExitCode: no such process 30804
> ThreadGetProcessExitCode: no such process 30795
> 
> 
> This happens regardless if I run Steam with primusrun or set the launch
> options of the game itself in Steam to use primusrun.
> 
> I don't really know why Steam is complaining about these missing shared
> object files since two of them clearly exist on my system:
> 
> $ ls -al /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 
> /usr/lib/i386-linux-gnu/nvidia/libGL.so.1 
> /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so.1
> ls: cannot access '/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1': No such file 
> or directory
> ls: cannot access '/usr/lib/i386-linux-gnu/nvidia/libGL.so.1': No such file 
> or directory
> lrwxrwxrwx 1 root root 48 Mar 23 13:06 /usr/lib/i386-linux-gnu/libGL.so.1 -> 
> /etc/alternatives/glx--libGL.so.1-i386-linux-gnu
> lrwxrwxrwx 1 root root 50 Mar 23 12:49 /usr/lib/x86_64-linux-gnu/libGL.so.1 
> -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
> 
> Can someone tell me a solution?
> 
> Thank you very much!
> 

-- 
http://www.cb-fraggle.de



Re: QEMU/KVM doesn't open new window - Access only via vnc viewer

2022-03-31 Thread Christian Britz
Hello Dieter,

unfortunately I have no answer for this specific problem, but I can
strongly recommend the virt-manager solution which utilizes qemu (and
kvm if available).

Regards,
Christian

On 2022-03-31 10:44 UTC+0200, Dieter Rohlfing wrote:
> Hi,
> 
> I'm just about to install Debian11/Bullseye on a host. There are several
> VMs running under QEMU/KVM to set up.
> 
> With Debian9/Stretch I created a new VM via command line:
> 
> /usr/bin/kvm -drive
> file=/qemu/win-70/win-70.jessie.raw,if=virtio,media=disk,cache=none,format=raw
> -name Win-70 -vga std -m 3072 -enable-kvm -rtc base=localtime -boot order=c
> 
> As a result QEMU/KVM opened a new window with the output of the VM.
> 
> With Debian11/Bullseye QEMU/KVM doesn't open a new window, but a message
> appears, telling me to access the output via a vnc viewer. With the vnc
> viewer I can see this output: the VM started correctly.
> 
> How can I get back the output of the VM in a window (like in Debian9)?
> 
> My researches in the internet delivered no results. I always found
> statements like "open a window with the option '-vga std'". Is this no
> more valid for Debian11?
> 
> Dieter
> 

-- 
http://www.cb-fraggle.de



Re: installing on Lenovo Ideapad 3

2022-03-29 Thread Christian Britz


On 2022-03-29 19:20 UTC+0200, Paul Scott wrote:

>> Which ISO?
> debian-11.2.0-amd64-netinst.iso

This could be the root cause for the networking problems. Try the
"unofficial" ISO which supports binary blobs.

If this seems unethical to you, buy an ethernet adapter which does not
need a proprietary binary blob. For WiFi, there is probably no such
solution available.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: installing on Lenovo Ideapad 3

2022-03-29 Thread Christian Britz
Hello,

I use an older IdeaPad myself, so maybe I can help a little bit.

On 2022-03-29 19:11 UTC+0200, Paul Scott wrote:
>>> I have disabled Trusted Platform Module and Secure Boot.

Should not be needed. I actually used TPM for aw hile for a virtualized
Windows and Debian supports Secure Boot. Personally I have choosen UEFI
without secure boot, to avoid problems with unsigned kernel modules.

> I did forget to mention that the USB stick was ignored.

>> Try holding F12 while booting.
> 
> Thank you!  I hadn't seen documentation for the F12 boot menu.

Your IdeaPad should have a button or a punch hole too to access options.
Please see the documentation.

> Unfortunately now the install doesn't detect an Ethernet card and gives 
> me a long list of driver choices and I will have to figure out which one 
> this laptop needs.

Maybe a binary module is missing? Did you try an "unofficial" image with
non-free components?

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: OT: Which browser does jwz use? (Was Re: Does this happen often with sid?)

2022-03-28 Thread Christian Britz



On 2022-03-28 19:14 UTC+0200, Andy Smith wrote:
> Hello,
>
> On Mon, Mar 28, 2022 at 06:16:23PM +0200, Christian Britz wrote:
>> I would have been definitely interested which browser [jwz]
>> recommends / uses these days.
>
> Ten years ago it was Safari:
>
> https://www.jwz.org/blog/2012/04/why-i-use-safari-instead-of-firefox/
>
> It seems likely it will still be Safari:
>
> https://www.jwz.org/blog/2021/04/stupid-safari/
>
> Cheers,
> Andy

Interesting indeed. :-O

I feel that there might be one or two reasons more why he does not use a
Mozilla browser...

Personally I tried a Mac for half a year and it felt like PITA,
especially regarding browsers.

-- 
http://www.cb-fraggle.de



Re: Does this happen often with sid?

2022-03-28 Thread Christian Britz



On 2022-03-28 17:17 UTC+0200, Andrew M.A. Cater wrote:

> Meh - it's been a very long day so far. My mistake - Chuck is not jwz - but
> the general warning about Sid still stands 

That's sad. I would have been definitely interested which browser he
recommends / uses these days.

-- 
http://www.cb-fraggle.de



Re: Does this happen often with sid?

2022-03-28 Thread Christian Britz



On 2022-03-28 16:52 UTC+0200, Andrew M.A. Cater wrote:

> Hi Chuck,
> 
> [The xscreensaver person, I presume - \o/ ]

Do you think jwz is a debian user and takes part here with a pseudonym?
:-O Then he could maybe help with bug #1006199.

-- 
http://www.cb-fraggle.de



kwallet does not remember password anymore

2022-03-25 Thread Christian Britz
Hello Debianists,

Since some days, I am using KDE Plasma again sometimes on Debian Stable.
The kwallet utility does not remember my password anymore. The reason
might be that I uninstalled one package too much previously. Any idea?

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: its been done again. No network

2022-03-24 Thread Christian Britz



On 2022-03-24 16:27 UTC+0100, Curt wrote:

> On 2022-03-24, Andrew M.A. Cater  wrote:

>> I'd strongly suggest that you use Gunnar Wolf's images that then give you 
>> something that is as near as anything vanilla Debian. Raspberry Pi folks are 
>> really not too interested in sorting out Debian-type problems.
>>
>> Take care
>>
>> Andy Cater
>>
> 
> That's these images here, I guess, of which you are speaking:
> 
> https://raspi.debian.net/tested-images/
I can really recommend them. I switched to them from Raspbian about 2
weeks ago, and the image runs really nice on my RasPi 4 B. There is a
slight difference in the temperature which is reported by lm-sensors,
otherwise no problems yet.

I switched because Raspian (Raspberry Pi OS, how it is called now) did
not deliver security fixes for their custom kernel in time. And I prefer
running pure Debian whenever possible.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Simple and secure blogging software for nginx

2022-03-11 Thread Christian Britz
Thank you for your thoughts, Russel,

On 2022-03-11 18:40 UTC+0100, Russell L. Harris wrote:
> Christian is talking about three different projects, each of which is
> demanding of time.
> 
> Securing and maintaining a web server is a difficult matter.  But when
> you can purchase hosting for US$4 per month, is it worth your while?

Absolutely true. I do it on my own for fun and learning. If I only
wanted the diary, I would contract a hoster.

> Maintaining a blogging engine is a wholly different matter.  And most people 
> are
> looking for an engine which is requires little or no maintenance
> (Blosxom, for example) and is simple and natural to use.  WordPress

I will look into this.

> began as a blogging engine, but quickly morphed into an all-consuming
> religion.  

:-)

> Writing a public diary about moving to a new town is yet another
> matter, and should not be constrained by either the blogging engine
> or the web server.  That task can easily consume all of your time.  

I don't hope so! I want to enjoy the new town! :-) (Actually I will live
there for only half a year, at least that is the plan). The diary is for
me, my friends and my family.

> You need to decide on your primary goal and focus upon that.

Running and writing the blog. At the moment I tend to a static
generator, which would probably also make archival easier?!

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: evince has died a horrible death. Sob...

2022-03-11 Thread Christian Britz



On 2022-03-11 17:28 UTC+0100, gene heskett wrote:
> Thats been the most complete pdf viewer I've ever used. But I just tried 
> to look at a doc I have looked at hundreds of times over he last years, 
> and it got all upset all over itself, while I was logged into that 
> machine with an ssh -Y login.
> 
> What its its feature complete replacement in a buster install? This 
> machine is bullseye, the logged into machine is buster.

What is the actual problem? How does an "upset" PDF viewer behave?

-- 
http://www.cb-fraggle.de



Re: Wayland vs X

2022-03-11 Thread Christian Britz



On 2022-03-11 12:47 UTC+0100, Nate Bargmann wrote:

> I have used Gnome on Wayland since late 2018.  It improved a lot with
> the release of Bullseye.  I use this setup on two machines, a laptop and
> a desktop that has two monitors.  So far I have not had any issues with

And what is the practical _advantage_ over a X11 setup?

The question is serious. Everytime I tried Wayland, something was not
working as expected, uncomfortable to use and so on. Yes, Wayland
support has improved a lot, but I still do not really see what I miss
because I stick to X11. I know that Wayland has a cleaner design, but
that bothers me not too much as a user.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Simple and secure blogging software for nginx

2022-03-11 Thread Christian Britz



On 2022-03-11 06:06 UTC+0100, Russell L. Harris wrote:

> Life is too short to mess around with a markup language other than
> LaTeX.  Work always in LaTeX.
Next topic on my learning agenda. :-)

-- 
http://www.cb-fraggle.de



Re: Simple and secure blogging software for nginx

2022-03-10 Thread Christian Britz



On 2022-03-10 22:16 UTC+0100, Dan Ritter wrote:

> nginx is just a web server, apache is just a web server. Nearly
> any blog can be set up with either one of them, or a number of
> other servers. Static sites don't need language support in the
> server at all.

Sure, I think I was not precise in my posting. I am willing to add
something dynamic, and I was not sure if Apache and nginx support the
same toolkits.

You and others brought in several static content generators, I will
consider that option too.

-- 
http://www.cb-fraggle.de



Re: Simple and secure blogging software for nginx

2022-03-10 Thread Christian Britz



On 2022-03-10 22:28 UTC+0100, Greg Wooledge wrote:
> On Thu, Mar 10, 2022 at 10:06:34PM +0100, Christian Britz wrote:
>> I am looking for recommendations for setting up a blog with nginx web
>> server. What I have so far: nginx-light with static pages.
>>
>> What would I need to be able to host a blog?
> 
> A text editor, to create the static pages.

Haha, very funny, I used to create sites that way back in the HTML 3.2
era on my Commodore Amiga, but my hope was to find something more
comfortable which looks neat out of the box.

-- 
http://www.cb-fraggle.de



Re: Simple and secure blogging software for nginx

2022-03-10 Thread Christian Britz



On 2022-03-10 22:09 UTC+0100, Kevin Exton wrote:
> You need a blogging CMS like WordPress, or alternatively some kind of
> static site generator like GatsbyJS. Not sure what is or isn't in the
> Debian repositories though... 

Thank you, I allow my self to reply on the list.
I heard that WordPress is very common, but I fear it might be oversized
for my public diary about moving to a new town, which I plan to write.
And it is very often in the news with security holes... Don't want some
bad person to manipulate my cute tiny Raspi, now that it has finally
moved to pure Debian. ;-)

I want the solution to be in the repository to benefit from
unattended-upgrades.



Simple and secure blogging software for nginx

2022-03-10 Thread Christian Britz
Dear community,

I am looking for recommendations for setting up a blog with nginx web
server. What I have so far: nginx-light with static pages.

What would I need to be able to host a blog? I search something as
simple and secure as possible, there will be very low traffic. It should
be available directly from the Debian stable repository. From what I
understand, nginx supports php like apache, so the solutions are
inter-changeable (if I would choose something php-based)?

Thank you,
Christian

-- 
http://www.cb-fraggle.de



11.2 sometimes wrong /etc/resolv.conf

2022-03-10 Thread Christian Groessler

Hi,

when I boot my laptop with Debian 11.2 and LAN cable connected, I'm 
sometimes getting a wrong /etc/resolv.conf.


The resolv.conf is not in fact wrong, but it's the one from the Wifi 
network. But when booting with network cable connected I want to have 
the resolv.conf of the cabled network.


Can I somehow force this? That the "cabled-network-nameserver" is used 
when the cable is connected?


regards,
chris



Re: Installing/Preparing Debian on a headless system

2022-03-09 Thread Christian Britz



On 2022-03-10 08:35 UTC+0100, Christian Britz wrote:
> ...and this is not the latest kernel available in pure Debian. It is
This is what I got directly from Debian: Linux raspberrypi
5.10.0-12-arm64 #1 SMP Debian 5.10.103-1 (2022-03-07) aarch64 GNU/Linux

-- 
http://www.cb-fraggle.de



Re: Installing/Preparing Debian on a headless system

2022-03-09 Thread Christian Britz
Hi Keith,

On 2022-03-10 08:12 UTC+0100, Keith Bainbridge wrote:

> uname :
> Linux rasp14 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 
> aarch64 GNU/Linux

...and this is not the latest kernel available in pure Debian. It is
missing important security fixes. Since last night an image from
raspi.debian.net is running on my headless Pi. :-) It took me very few
time, to get my web, file and dlna services running again. I guess I
don't need the proprietary optimisations of Raspberry Pi OS.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Installing/Preparing Debian on a headless system

2022-03-09 Thread Christian Britz
I just modified an image from raspi.debian.net and was able to login via
ssh. Thank you all for the input. :-)

On 2022-03-09 15:57 UTC+0100, Christian Britz wrote:
> Hello,
> 
> after learning that the Debian-based RaspberryPi OS does not get
> security fixes always in time (see dirty-pipe), I am considering
> installing pure Debian on my system. It seems not all proprietary
> components are supported, but I don't need video acceleration anyway,
> for example. My Pi acts as a home server.
> 
> The thing is, the Pi is headless, it was never connected to a monitor or
> keyboard, all configuration was done via SSH on a pre-built Raspberry PI
> OS image. I do not even have an USB keyboard and the Pi has obviously no
> PS/2 connectors.
> 
> Do you have some ideas for me, how I could prepare a minimal Debian
> image on my notebook which is able to boot on the Pi and has already an
> user and SSH configured? Everything else I would setup remotely.
> 
> Thank you,
> Christian
> 

-- 
http://www.cb-fraggle.de



Re: Installing/Preparing Debian on a headless system

2022-03-09 Thread Christian Britz



On 2022-03-09 18:57 UTC+0100, Andrew M.A. Cater wrote:

> Which Raspberry Pi model - Pete Batard has a version of UEFI that works on
> a Pi 4 and can boot enough to then use the Debian installer. Essentially,
> you put UEFI and the raspberry pi firmware package in the ESP on a USB stick
> or disk.

I have model 4 B. Sounds interesting, although the preferred solution
would be something, which does not involve attaching a USB keyboard.

> Otherwise, you can probably use one of Gunnar Wolf's images which will
> allow you to ssh in as root initially. See his pages on the Wiki.

OK, I have to see that again, sounds good. From what I saw on
raspi.debian.org, I understood that SSH is enabled, but not for root.

> All the very best, as ever,
Wish you the same,
Christian

-- 
http://www.cb-fraggle.de



Re: Wayland vs X

2022-03-09 Thread Christian Britz



On 2022-03-09 18:15 UTC+0100, Nicholas Geovanis wrote:
> Here's something about the X ecosystem that I don't understand anymore.
> I've read the statement
> that "X isn't developed anymore, only XFree86". In other words, X source
> was re-based to Xfree86
> a long time ago. So it must be that in the XFree86-based X Windows, only
> the X server is under active
> development, nothing more than that. Is that accurate?
That statement is wrong, you are confusing some things. XFree86 was the
important free implementation of the X11 stack for many years. XFree86
as a whole software stack was forked by some of it's developers under
the umbrella of X.org, when they became unhappy with the project leader.

X.org has the only relevant X11 implementation today (XFree86 does not
exist anymore), but it's development seems to have slowed down very much
in the last years, probably in favour of Wayland. Recently the project
showed some activity again, as far as I have heard.

My personal opinion: X11 may have some design flaws, but I can live with
them very well, I especially like the network transparency of it, which
Wayland does not offer, AFAIK. I would prefer to see the development
resources invested into X11, instead of Wayland.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Installing/Preparing Debian on a headless system

2022-03-09 Thread Christian Britz



On 2022-03-09 16:53 UTC+0100, Christian Britz wrote:
> 
> 
> On 2022-03-09 16:50 UTC+0100, Brian wrote:
>> The short answer is that you use the network-console udeb. To do that,
>> I preseed wirh
>>
>>   d-i anna/choose_modules string network-console
>>
>> I boot with  a netinst using hd-media and pressed from a file.
> That sounds very interesting, can you please give a little bit more of
> details? I never have worked with preseeding before.
Re-thinking about it, I probably can't use the Debian installer on the
Raspi (it does not support UEFI). I probably need to modify one of the
images at https://raspi.debian.net/



Re: Installing/Preparing Debian on a headless system

2022-03-09 Thread Christian Britz



On 2022-03-09 16:50 UTC+0100, Brian wrote:
> The short answer is that you use the network-console udeb. To do that,
> I preseed wirh
> 
>   d-i anna/choose_modules string network-console
> 
> I boot with  a netinst using hd-media and pressed from a file.
That sounds very interesting, can you please give a little bit more of
details? I never have worked with preseeding before.
-- 
http://www.cb-fraggle.de



Installing/Preparing Debian on a headless system

2022-03-09 Thread Christian Britz
Hello,

after learning that the Debian-based RaspberryPi OS does not get
security fixes always in time (see dirty-pipe), I am considering
installing pure Debian on my system. It seems not all proprietary
components are supported, but I don't need video acceleration anyway,
for example. My Pi acts as a home server.

The thing is, the Pi is headless, it was never connected to a monitor or
keyboard, all configuration was done via SSH on a pre-built Raspberry PI
OS image. I do not even have an USB keyboard and the Pi has obviously no
PS/2 connectors.

Do you have some ideas for me, how I could prepare a minimal Debian
image on my notebook which is able to boot on the Pi and has already an
user and SSH configured? Everything else I would setup remotely.

Thank you,
Christian

-- 
http://www.cb-fraggle.de



Re: Wayland vs X

2022-03-09 Thread Christian Britz
Hi Kevin,

On 2022-03-08 23:01 UTC+0100, Kevin Exton wrote:
> I tried Wayland some years ago now (might have been when they first
> trialled it in Ubuntu) but decided not to stick with it.
> 
> Since more desktop environments are beginning to choose Wayland as the
> default display protocol, I was wondering if others think there's
> significant user benefits to making the change?

I had it running for a while recently with KDE Plasma, because I wanted
to try out waydroid, which only supports Wayland. My impression was,
that it has improved a lot and is in a somewhat usable state, but I
quickly changed back to X.

I felt that programs designed for X and programs designed for Wayland
don't interact well (copy/paste and so on) and Plasma support for
Wayland is not as mature as for X. The worst experience was the
proprietary Citrix client, which I need to use on a daily basis for my
work. They say they don't support Wayland at all. Well it did somehow
work but it was absolutely not satisfying (again copy/paste, alt+tab
behaviour and so on).

I came to the conclusion that I don't really need or want Wayland at
this point of time. It might be technically better, but X does all I
need these days. And I like the X forwarding feature of SSH.

My biggest concern is that we will see over the next years a big
division of the GUI application eco system. Some programs will stay
optimised for X, some will even require Wayland, like the mentioned
waydroid. Hopefully a full transparency can somehow be achieved.

Regards,
Christian

-- 
http://www.cb-fraggle.de



Re: Problems with custom install of MATE

2022-03-08 Thread Christian Britz



On 2022-03-08 15:50 UTC+0100, Richard Owlett wrote:

> I have SeaMonkey launched from "Internet" sub-menu of "Applications" 
> menu. IIRC it was only a couple of mouse clicks to get it there.

If you don't have some Debian/Snap/Flatpak package from some source
available, I know no other way to integrate it into the menu, than
creating a .desktop file manually (which is not that hard). Last time I
used SeaMonkey, it didn't have any installer on Linux, exactly like it's
sibbling FireFox.

-- 
http://www.cb-fraggle.de



Re: Problems with custom install of MATE

2022-03-08 Thread Christian Britz



On 2022-03-08 14:11 UTC+0100, Richard Owlett wrote:
> 4. I'll be installing SeaMonkey but have forgotten how to have it appear
> on appropriate Applications sub-menu.

As there is no Debian package for SeaMonkey, you will probably extract
the binaries from seamonkey-project.org somewhere. To make it appear in
the applications menu, you will have to create a .desktop file in
/usr/share/applications.

For reference, this is what my firefox.desktop file looks like:

[Desktop Entry]
Name=Firefox
Comment=Web Browser
Exec=/opt/firefox/firefox %u
Terminal=false
Type=Application
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Actions=Private;

[Desktop Action Private]
Exec=/opt/firefox/firefox --private-window %u
Name=Open in private mode

You should create a similar seamonkey.desktop file.

HTH,
Christian

-- 
http://www.cb-fraggle.de



Re: Legacy Dell 760 apt-get updates?

2022-03-08 Thread Christian Britz
On 2022-03-08 09:20 UTC+0100, cono...@panix.com (John Conover) wrote:
> Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_09.bin
> for module i915
> 
> The machine seems to run fine, but do I need to add something?

Yes, you want to install package firmware-misc-nonfree.

And I have learned from Thomas that it is nicer to tell you how I found
it out:

$ apt-file search /lib/firmware/i915/icl_dmc_ver1_09.bin
firmware-misc-nonfree: /lib/firmware/i915/icl_dmc_ver1_09.bin

Greetings,
Christian
-- 
http://www.cb-fraggle.de



Re: linux kernel and nvidia - never ending story

2022-03-07 Thread Christian Britz
Hello Hans,

I understand your frustration, I was also frustrated sometimes back when
I used nVidia, but IMO Debian is not to blame here, the situation is
completely the responsibility of nVidia.

0. After reading your post again, I realize that sections 1 to 4 of my
reply do not really apply to your situation. I leave them in my text
though, because in my opionion they describe the general problem with
nvidia quite well.

1. You are probably not talking about Debian stable and the kernel that
ships with it. I have not checked, but the binary nVidia packages almost
certainly have not disappeared from Debian stable non-free within a
release cycle. Nothing should have broken with the latest dot kernel
update. If you have problems, please specify further. Testing/unstable
may break at any time, you have to deal with that, especially when using
non-free software, which can only be fixed to a certain amount by the
maintainers.

2. If you are talking about kernels newer than the one in Debian stable,
the problem is a problem by design that can and will happen with every
Linux distribution. The reason is simply that the kernel interfaces
which nVidia uses are not stable and were never intended to be used by
non-free software. Eventually, nVidia will adapt their interface module
and release a new driver package. Eventually, this will be integrated in
Debian non-free. It is a race between the kernel developers and the
nvidia developers, which nvidia never can win. If at all, you can blame
Linus and the developers for not providing a stable interface for
proprietary non-free software. I fear they will laugh at you, at best.
Some kernel developers even have the opinion that it is a GPL violation
what nvidia does.

3. If you are not satisfied how fast updated nvidia drivers are
integrated into testing/unstable, you could always install the drivers
manually from the website of nvidia. It is not very hard to do if you
are used to Linux.

4. Given the circumstances, I feel the nvidia integration in Debian
quite smooth, on stable it works almost out of the box (if your card is
not too new, but that is a general issue with the stable concept of Debian).

5. I only now realize that your card is actually too OLD, sorry. What
should I say, the latest release of the 340 branch from nvidia is dating
back to 2019.12.23. If they dont support their older products anymore
themselves, do you expect Debian to hack their closed source driver?

6. If nvidia would only be a little bit more cooperative, nouveau would
be in a much better state. I found it usable for older cards, although
the prorietary driver is of course much better in terms of performance
and power saving.

7. Intel (what I use these days) and AMD support Linux in a much cleaner
way, avoiding many of the problems with the nvidia blob.

8. If you buy a system with the goal to use it over many years, I can
only reccomend to choose hardware components wich can be well supported
by free drivers. Please support companies that support Linux well, like
Intel and AMD.

Best Regards,
Christian



On 2022-03-07 19:49 UTC+0100, Hans wrote:
> Dear list,
> 
> how find the correct words, without being upset or stepping on someones feet.
> But I believe, debian hates Nvidia, and debian does not want, to use Nvidia.
> 
> I am now for a long time using debian and also using nvidia graphic cards for 
> almost the same long time. 
> 
> But whenever debian ships a new kernel version, the proprietrary nvidia 
> kernel 
> modules can not be built. If lucky, there is a patch for it after months.
> 
> Yes, modern Nvidia cards are supported, but using an older notebook you can 
> not change the graphics card. 
> 
> But this is not a problem of Nvidia, not IMO it is a problem with the kernel 
> developers. Suddenly, with a  kernel the gcc was updated, oh, now the kernel 
> module does not want it any more. Wtf? Or, with the new kernel, the kernel 
> module crashes during building, but builds perfectly at the older kernel.
> 
> And suddenly the kernel modul of nvidia disappears completely from the repo, 
> problems solved? Get lost, you foolish users with old hardware, buy new 
> hardware! What???
> 
> Oh, and when someone says: Hey, use the nouveau driver, then tell him, 
> nouveau 
> is not working.
> 
> I have several older notebooks, that my customers use. They worked perfectly 
> with the proprietrary driver from Nvidia. But after update to bullseye, it 
> was 
> hardly get them running again. And why? They have an old graphics card in 
> their notebooks, and they use Nvidia cards, specially the legacy 340xx.
> 
> But: 
> 
> 1. no problem, Install nvidia kernel 340xx, oh no, it is no more in the repo, 
> but 
> 
> 2. no problem, hey, use nouveau, oh no, nouveau crashes and freezes X, but
> 
> 3. no problem, build just the downloaded 340xx from buster, oh no, do

  1   2   3   4   5   6   7   8   9   10   >