The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » Grub is broken! » 2024-05-05 18:20:31

That appears to be corrrect. Perhaps your system does not have EFI selected as the default boot option. Some PCs support both EFI and legacy BIOS boot. That's the only other thing I can think of, as grub seems to be set up properly.

#2 Re: Forum Feedback » [SOLVED] Forum timeout while logged in » 2024-04-28 23:34:06

Wow, thirty minutes! I had no idea I was leaving my posts unfinished for that long. I often pause to look up references, test things in the terminal, etc. before posting, as I want to make sure my posts are accurate. It's easy to get sidetracked.

I understand the reasons for the time limit, and the desire to keep the site code simple. I wouldn't say it's a major inconvenience, I was just offering up another data point.

#3 Re: Other Issues » [SOLVED] Package name extension "t64" in excalibur » 2024-04-28 01:06:06

I went ahead and did the dist-upgrade on two systems, and everything seems OK so far. In both cases, only gdb was uninstalled without a replacement. It wasn't clear why. I was able to reinstall it immediately after the upgrade.

One system got up to 154 held packages before I ran the upgrade. That's almost 120 new packages released in less than 24 hours. It seems there's a big push going on right now to get the transition done, maybe before the end of the month. When I checked 24 hours ago, the dist-upgrade would have removed some really important applications, including LibreOffice. The list of removals was much shorter today. There's probably no harm in waiting a while longer if you aren't in a hurry to upgrade.

#4 Re: Other Issues » Grub is broken! » 2024-04-27 20:43:18

Devuan/Debian may not be set as the first entry in the EFI boot order. You can use efibootmgr to diagnose and fix this issue. Run 'efibootmgr' on the command line with no options to print the current configuration. You should see a line beginning with 'BootOrder:' followed by a list of numbers. There should also be a listing of boot entries, one per line, starting with 'Boot<number>* <name>'. Here's the output on my system, with only the entry for my main Devuan system shown: (The long string of x's is a censored UUID.)

$ efibootmgr
BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0007,0001,0003,0005,0006,0004,0000,2001,2002,2003
[...irrelevant boot entries trimmed...]
Boot0007* debian        HD(1,GPT,xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,0x800,0x100000)/File(\EFI\debian\shimx64.efi)
[...more irrelevant entries trimmed...]

One of the boot entries should be your Devuan system; it will probably appear similar to the entry shown above. Its number should be first in the BootOrder list. If it isn't, then you can fix it with the 'efibootmgr -o' option. (The manpage for efibootmgr explains how.) If your Devuan system is already the first boot option, then your problem unfortunately lies elsewhere.

#5 Re: Forum Feedback » [SOLVED] Forum timeout while logged in » 2024-04-26 21:20:39

It must be a Firefox issue then, as I'm having the same problem. I looked at the cookies in the Storage Inspector, but the "Expiration / Max-Age" is just set to "Session". There didn't seem to be any way to actually change the session length.

#6 Re: Other Issues » [SOLVED] Package name extension "t64" in excalibur » 2024-04-26 08:32:45

I came here to search for information on this issue because I noticed today that one of my Excalibur installations had 68 packages held back. Running a dist-upgrade would clear the holds, but would also remove dozens of packages without installing replacements. I'm not sure whether I should wait for this issue to be resolved, or run the dist-upgrade now before it gets any worse. Discussions around the web are confusing and contradictory. Some say to wait, while others say get it over with. Is anyone else dealing with this issue?

Update: The number of held back packages jumped to 120 today. If this continues, it may end up being easier to just reinstall these systems from scratch. I'm kind of surprised no one else is dealing with this issue. Maybe it's because I installed a lot of development libraries when I was building the latest version of GNUstep/libobjc2. I do have one system that has no held back packages at all, but there's almost nothing installed on it but the base system and a simple C+X11 toolchain.

#7 Re: Other Issues » backdoor targeting deb and rpm via systemd? » 2024-04-01 18:06:38

The avalanche of dependencies that occurs if you accept the "recommended" packages for ssh-server on Debian is truly mind-boggling. The exact list might change depending on your system, but it wanted to pull in an entire GNOME desktop on mine, and I didn't even have X installed! It was all because polkitd recommended a little GUI authentication widget.

#8 Re: Hardware & System Configuration » [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) » 2024-03-18 01:49:41

Now it seems that there is no such thing as /dev/dsp anymore.

PulseAudio can still emulate it, but virtually nothing uses it anymore. (I think NAS does, but NAS is itself a relic.) Pretty much every piece of Linux software written this millennium uses ALSA, either directly, or through an intermediary such as Pipewire or Jack.

#9 Re: Desktop and Multimedia » [SOLVED] Stupid music player tricks » 2024-03-09 04:23:29

The glitching sounds like it could be buffer underruns. The fact that it's happening on two different programs points to the audio system. There are different ways to adjust your buffer settings depending on which audio system/driver you're using for output; ALSA and PulseAudio both have ways to do it, for example. Unfortunately I haven't had to fiddle with that stuff for decades, so I can't give you any specifics, but at least it's a place to start.

#10 Re: Hardware & System Configuration » [SOLVED] no time service » 2024-03-09 04:04:13

ntpsec is the "default" time daemon that will be installed if you run 'apt install ntp'. There's also the aforementioned chrony, as well as openntpd, which comes from OpenBSD. I just install with ntpsec on my systems since it's the default, and I didn't have a pressing reason to use one of the others. IIRC setup was entirely automatic; I didn't need to edit any init scripts or config files. However, I did run 'dpkg-reconfigure tzdata' to set my correct time zone.

#11 Re: Hardware & System Configuration » apt update tries to delete /lib/init & /lib/lsb » 2024-03-06 21:51:30

I've already run usrmerge. Doesn't the below mean that the original /lib/init is already gone? So apt would have actually been trying to delete /usr/lib/init.

$ realpath /lib/init
/usr/lib/init
$ realpath /lib/init/init-d-script
/usr/lib/init/init-d-script

#12 Hardware & System Configuration » apt update tries to delete /lib/init & /lib/lsb » 2024-03-05 03:35:52

stultumanto
Replies: 3

I just ran an Excalibur upgrade and got these errors:

Preparing to unpack .../sysvinit-utils_3.08-7devuan1_amd64.deb ...
Unpacking sysvinit-utils (3.08-7devuan1) over (3.08-5devuan1) ...
dpkg: warning: unable to delete old directory '/lib/lsb/init-functions.d': Directory not empty
dpkg: warning: unable to delete old directory '/lib/lsb': Directory not empty
Setting up sysvinit-utils (3.08-7devuan1) ...
[...]
Preparing to unpack .../2-initscripts_3.08-7devuan1_all.deb ...
Unpacking initscripts (3.08-7devuan1) over (3.08-5devuan1) ...
dpkg: warning: unable to delete old directory '/lib/init': Directory not empty

I checked, and dozens of scripts in /etc/init.d still source the scripts in /lib/init. So it seems odd that an upgrade would try to delete it. Does anyone know what's going on here? Is this usrmerge related?

#13 Re: Off-topic » terminal title parameter » 2024-03-03 23:02:35

Not sure if this helps with your particular situation, but you can change the title of a window with the WM_NAME atom. I edited the previous version of this post because I provided a long example that did this with XSetWindowProperty(), but it turns out there's a dedicated function XFetchame() that does this much more easily. The documentation is here:
https://www.x.org/releases/current/doc/ … E_Property
If you first need to identify the windows that need their name changed, you can use XGetClassHint() to get the unaltered application name. (Terminals will usually update the title with the working directory, etc.)

#14 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-27 00:38:08

You need to install grub to the disk, not the partition, i.e., 'grub-install /dev/sda' not 'grub-install /dev/sda2'.

There are two versions of grub, grub-efi and grub-pc. The former is for UEFI systems, the latter for BIOS. I don't know how it works if you install Devuan with the automatic installer, but is it possible you got the wrong version?

You can find out whether the system is in UEFI mode by checking the contents of /sys/firmware/efi/efivars/. There should be a large number of files in there if the system is UEFI. If the efivars aren't there, it's not EFI. Some systems allow you to switch between UEFI and legacy BIOS boot in the BIOS setup menu.

Here's the full process for setting up a legacy BIOS boot partition: After creating the partition in gdisk (type EF02) enter the expert menu with the x command. Then issue the a (attributes) command, and select the BIOS partition number. An attribute menu will be printed. Select the 'hide from EFI' and 'legacy BIOS bootable' attributes (should be options 1 & 2.) Do not to format this partition.

#15 Re: Desktop and Multimedia » Firefox-esr Audio through ALSA Alone » 2024-02-26 02:10:13

Weird, I have Devuan and firefox-esr on four different systems now, and all of them work fine with bare ALSA. One thing I've noticed, though, is that the ALSA mixer on a new installation always starts out with deranged settings that give me no sound. Channels are muted, or set to zero, or multiple combinations thereof. On a new system, before I try to use audio, I add my user to the audio group, open alsamixer, max out everything, and make sure all switches are un-muted.

#16 Re: Hardware & System Configuration » wasted $ on multi function keyboard and mouse » 2024-02-26 00:52:17

Sometimes you can actually find a way to make those extra keys and buttons work yourself. I have an Alienware 18 laptop with a bunch of extra keys, and I was able to identify the keycodes with evtest. I then created a custom mapping at /etc/udev/hwdb.d/61-custom-keyboard.hwdb file to remap them to useful things, including keys the Alienware didn't include, such as SysRq. It's pretty easy once you get the keycodes. The hardest part is finding a keyboard definition that works, but you can usually manage by copying the definitions from the system files until you find one that works. It helps to use a lot of wildards. Mine looks something like this:

evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*
 KEYBOARD_KEY_92=sysrq       # macro key 1
 KEYBOARD_KEY_93=scrolllock  # macro key 2

Note, however, that the keycode assignments must be indented with exactly one space, just as you see above. A tab, or a different number of spaces will not work! Here's everyone's favorite developer addressing this totally sane requirement. wink
https://github.com/systemd/systemd/issues/5677

#17 Re: Freedom Hacks » Securing my/our computer systems » 2024-02-09 10:52:42

It's impossible to damage a modern CPU by disabling the fan. They have built-in thermal protection that will immediately throttle or completely shut down the device if a safe operating temperature is exceeded. It's one of the upsides of the spooky "management engine" they put in processors now. I've seen videos where people forget to apply thermal compound, a mistake that would have instantly killed older CPUs, but the only sign was that the system booted and ran extremely slowly. There is no known exploit that can disable this feature; it's beyond the control of the OS or BIOS, for good or ill.

I've never heard of a Linux remote exploit that could corrupt the NVRAM, but I suppose it's possible. However, anyone with sufficient knowledge to deploy such a sophisticated attack would almost certainly be aware that simply disabling the CPU fan would not cause any permanent damage. I would expect them to go after a softer target, like the hard disk.

I have had systems where the NVRAM because inexplicably corrupted, sometimes repeatedly and seemingly at random. In at least one instance, I'm positive it wasn't due to a remote exploit, as the machine had never been connected to the network. A power surge, static discharge, or bad motherboard component could be to blame. Intermittent BIOS faults are the worst, and almost impossible to diagnose. Often it's easier to just replace the motherboard. And I say that as someone who hates giving up!

#18 Re: DIY » Simple Countdown Timer » 2024-02-06 16:16:07

I think the problem is you put a '&' on the command line between setting the variable and executing your script. I tested it myself. I created a minimal test script:

#!/usr/bin/bash
xterm -e "bash -c \"echo $TIME; read\""

Then I ran it like this:

$ TIME=3 countdown.sh

and it opened an xterm window and printed the number '3'.
Then I ran it your way, like this:

$ TIME=3 & countdown.sh

And it opened an empty window. I think when you insert a '&' it breaks up the simple command and makes it into two commands, so the variable is no longer set in the environment for the second command. It shouldn't be a problem to take out the '&' because setting a variable is non-blocking.

#19 Re: Installation » all the new kernel disturb some old PC's! » 2024-02-06 12:40:40

In my case, perhaps this is a communication error between the Nvidia driver and DE (Trinity).

Oh, I've had this specific problem as well, and I think you're right. The brightness keys were working on XFCE with the nouveau driver, but stopped when I installed the nvidia driver. I think it's because the nvidia driver moves the brightness controls to a weird location. Most drivers have them under /sys/class/backlight/acpi_video0/, but nvidia puts them under /sys/class/backlight/nv_backlight/. Dedicated utilities such as brightnessctl and xbacklight have no trouble finding them there, but DEs don't seem to be coded as intelligently.

#20 Re: Installation » all the new kernel disturb some old PC's! » 2024-02-06 12:30:35

yes I have 4 rectangle speakers, but some of them must not be working like new.

Is it possible it has a setup like MacBooks, where the extra speakers are "bass speakers" on LFE channels? You could try running a surround speaker test, something like this works on my MacBooks to sound all speakers separately:

speaker-test -Dsurround21:PCH -c 4

If you get an error about the device name being wrong, check the output of `aplay -L`:

$ aplay -L | grep -i surround21
surround21:CARD=PCH,DEV=0

If you actually do have subwoofers, there may be a way to turn them on with regular output. The MacBook has a control called 'Bass Speaker Playback Switch' that, when turned on, routes regular output to all 4 speakers. You could try `amixer controls` and look for something similar. Here's how I would find the control on a MacBook, and then turn it on.

$ amixer controls | grep -i bass
numid=4,iface=MIXER,name='Bass Speaker Playback Switch'
numid=3,iface=MIXER,name='Bass Speaker Playback Volume'
$ amixer cset numid=4 on
numid=4,iface=MIXER,name='Bass Speaker Playback Switch'
  ; type=BOOLEAN,access=rw------,values=2
  : values=on,on

Maybe there's something similar on your laptop.

#21 Re: Installation » all the new kernel disturb some old PC's! » 2024-02-04 13:07:24

I have and use the Wacom tablet, mouse and pen 2d generation (after the one 1. generation I had connected with the Pentium) and it is a lot of years ago no problem at all!

USB tablets should still work, even if very old. Only tablets with a serial interface were deprecated, and only in post-2022 version of X11.

He has two identical NVIDIA® GeForce® GT 650M video cards, driver support has ended, the old ones work, but I couldn’t get the keyboard buttons that control brightness to work.

I've had similar problems on several different laptops. The keyboard backlight keys dodn't work, and evtest doesn't even show them emitting scancodes in the console. I suspect it might have something to do with the brightness_switch_enabled kernel setting, but I've never been able to figure it out. I always end up just binding my own custom hotkeys to scripts that set the backlight via brightnessctl. I find my own key bindings more convenient anyway!

#22 Re: Desktop and Multimedia » StartX doesn't work after a fresh install (segmentation fault 0x20) » 2024-02-02 02:44:51

Would be good if I can replicate the issue; there have been similar Xorg crash reports before and possibly there's a common cause.

Yes, I thought that log looked familiar. This post has an almost identical log, with X crashing out after loading the glamoregl driver. In the earlier thread, the radeon driver was next in the backtrace, but this user has the nouveau driver next. The other user seemed to be having issues with Mesa.

#23 Re: Off-topic » Show your desktop (rebooted) » 2024-01-31 02:32:34

@aluma hey, nice work! That's great memory usage, especially considering you've got some KDE stuff running. I looked up the ps_mem utility you guys are using, and it gave me a chance to try out installing a Python package with pipx. Here's what I get with basically nothing but an xterm window open. Not sure why my Xorg is so memory-hungry. Maybe lots of fonts?

ntpd is a surprise. Maybe I should have installed the OpenBSD ntp daemon instead. dunst is supposed to be a lightweight desktop notification server. I guess it's lightweight compared to GNOME. I have no idea what's going on with exim4, it must be misconfigured. I just installed it because cron said it needed a mail handler for system alerts, and it's supposed to be the "light" version!

Private  +   Shared  =  RAM used       Program

148.0 KiB + 112.5 KiB = 260.5 KiB       seatd
224.0 KiB + 122.5 KiB = 346.5 KiB       sh
176.0 KiB + 184.5 KiB = 360.5 KiB       init
424.0 KiB + 124.5 KiB = 548.5 KiB       cron
388.0 KiB + 221.5 KiB = 609.5 KiB       dbus-launch
  1.0 MiB +  36.5 KiB =   1.0 MiB       ssh-agent
748.0 KiB + 486.5 KiB =   1.2 MiB       su
636.0 KiB + 691.0 KiB =   1.3 MiB       dbus-daemon (2)
  1.2 MiB + 113.5 KiB =   1.3 MiB       udevd
920.0 KiB + 994.0 KiB =   1.9 MiB       getty (6)
  1.9 MiB + 107.5 KiB =   2.0 MiB       dhclient
  2.2 MiB + 133.5 KiB =   2.3 MiB       rsyslogd
  2.0 MiB + 655.5 KiB =   2.6 MiB       sshd
  1.5 MiB +   1.6 MiB =   3.1 MiB       bash (2)
  1.7 MiB +   1.7 MiB =   3.5 MiB       xdm (2)
  3.4 MiB +  97.5 KiB =   3.5 MiB       iwd
  5.8 MiB +   1.1 MiB =   6.9 MiB       xterm
  8.5 MiB +   5.1 MiB =  13.6 MiB       dunst
 15.7 MiB + 140.5 KiB =  15.8 MiB       exim4
 15.8 MiB + 971.5 KiB =  16.8 MiB       ntpd
 14.1 MiB +   6.2 MiB =  20.3 MiB       x-window-manage
 95.0 MiB +   2.0 MiB =  96.9 MiB       Xorg
---------------------------------
                        196.0 MiB
=================================

Edit: sorry, I didn't know this would post so big. I can remove this if it's too big for the thread, just let me know!

#24 Re: Installation » all the new kernel disturb some old PC's! » 2024-01-31 01:30:27

Today 03:10:53

This is a convertible laptop with a touch screen.
Judging by the Ubuntu forum, one of the most problematic devices. Mainly because of the keyboard and touch screen. This is despite the fact that Ubuntu 10.04 is recommended by Dell.

That's why I talked about drivers; rebuilding the kernel is unlikely to help; usually the standard kernel includes support for all possible hardware.

This is potentially an important point, especially with regard to tablet/touch PCs. For instance, the kernel still supports the Wacom serial tablet interface used in many older tablet PC displays. However, kernel support won't do you much good without X11 support, and the X11 devs removed support for these devices back in January of 2022. Many tablets sold in 2012 and earlier simply will not work with the versions of this driver bundled with the last few Debian/Devuan releases.

#25 Re: Hardware & System Configuration » merged /usr » 2024-01-29 18:51:02

dpkg: warning: This system uses merged-usr-via-aliased-dirs, going behind dpkg's
dpkg: warning: back, breaking its core assumptions. This can cause silent file
dpkg: warning: overwrites and disappearances, and its general tools misbehavior.
dpkg: warning: See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>.

I haven't seen this one before, is this new?  The phrase "going behind [one's] back" implies deception, which really crosses a line.

Board footer

Forum Software