The officially official Devuan Forum!

You are not logged in.

#376 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-12-25 02:44:49

liquibyte wrote:

If you are using an rt kernel, none of this works.  I've been struggling for 3 days now trying to get the kernel to boot efistub and couldn't figure out how in the world I was booting uefi but efivarfs wasn't mounting.  I use the rt kernel due to using my system for playing guitar.  Doing a diff on the kernel config files reveals that in the rt kernel, CONFIG_EFI_DISABLE_RUNTIME=y is set.  Is there a reason for this in rt vs. default?

Edit: Nevermind

https://www.kernelconfig.io/config_efi_disable_runtime

The EFI runtime services are disabled by default when PREEMPT_RT is
enabled, because measurements have shown that some EFI functions calls
might take too much time to complete, causing large latencies which is
an issue for Real-Time kernels.

I'd hack it! And test it on the machine (same hardware) and see if your system has any lockups.

It looks like a design flaw.
I wanted to run in real time for music (DAW) but could not use the graphics card memory or gpu because of the rt kernel and nVidia conflicts.
Sad really.

#377 Re: Desktop and Multimedia » Pipewire » 2022-12-15 22:15:27

Head_on_a_Stick wrote:
GlennW wrote:

I ended up using .xsession to start as HoaS suggested

For clarity: that should be ~/.xsessionrc.

Reference: https://wiki.debian.org/Xsession

Yes, that's right, ~/.xsessionrc, HoaS. Thanks.

I am experiencing a sound problem, the GUI starts with no ssound.

lsmod shows the snd-usb-audio(?) is loaded according to lsmod.

log out and back in connects the audio.

I tried to delay the .xsessionrc with sleep 12 to no avail.

Any ideas to smooth this loading out? I turned off wireplumer in rc-update (open-rc)

here is some confirmation...

glenn@GamesBox ~ $ LC_ALL=C pactl info | grep "Server Name"
Server Name: PulseAudio (on PipeWire 0.3.62)
glenn@GamesBox ~ $ 

regards Glenn

#378 Re: Desktop and Multimedia » Pipewire » 2022-12-14 05:22:21

Devarch wrote:
GlennW wrote:

My system is Devuan 5 Daedalus.

the hardware is discovered and used. works ok. Will be trying the bt headphones soon. :-) thank you

The installation is a bit different on daedalus - much simplier smile

Nice to hear that it works.

Thank you for the clear directions.

I ended up using .xsession to start as HoaS suggested.

I'm happily surprised bt headphones works on first attempt.

:-)

#379 Re: Desktop and Multimedia » Pipewire » 2022-12-13 10:09:46

Hi, thanks for your tips. I cleaned up my fumbles and went through the directions again.

One file I couldn't find was "99-pipewire-default.conf"
from this copy step... from examples

cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/

I found a same named file and copied it.
/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf

My system is Devuan 5 Daedalus.

the hardware is discovered and used. works ok. Will be trying the bt headphones soon. :-) thank you

#380 Re: Desktop and Multimedia » Pipewire » 2022-12-08 20:30:39

Devarch wrote:

Telegram also works.

If someone wants to repeate the steps above give me some time to test. I do not know if there are some bugs.

I tried it yesterday and got no sound devices listed.

I'll give it another shot sometime in the near future.

#381 Re: Installation » [SOLVED] Is it possible to exclude a mirror? » 2022-12-07 21:03:55

Hi, regarding /etc/hosts

I usually use 0.0.0.0 (any(?)) for the ip, not 127.0.0.1 (local host)

I'm using it to block certain  user "manual" sites that seem to only list tags, but no other info except adds and links to like-wise pages.

I hope this helps

#382 Re: Other Issues » Hdd CHS values... recover files » 2022-12-02 01:58:04

I found this website that does calculations...

https://www.deathwombat.com/diskgeometry.html

I have had a go at entering the lba sectors, but it still maxed out at a few gigabytes.

It's out of a portable hdd usb plugs.

#383 Re: Desktop and Multimedia » [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5 » 2022-12-02 01:49:11

I just upgraded today, and re-installed the nVidia proprietary module.

Kernel 6.0.0-5

Different hardware ... GeForce GTX 1060, NVIDIA-Linux-x86_64-520.56.06.run

All's working fine.

#384 Re: Installation » Installing from USB thumb drive » 2022-11-29 03:02:25

I'm sure you know how to get rid of the unwanted packages, ... I know it's tedius but worth the effort.

at boot I go the recovery route, and edit the "linux" line to say... (check for conflicts)

vga=794 modeset.nouveau=0

The main trick is to have all the dependants installed, edit the module blacklist and boot the machine without the nouveau module loading before the install.

#385 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-19 09:21:36

kde settings won't allow Capitals in usernames either, but probably just a GUI for a service.

#386 Re: Installation » Devuan: Existential issues. » 2022-11-19 09:02:40

devuanuser wrote:
GlennW wrote:

ok, fair enough.
There is a package called ...
accountsservice*.deb

query and manipulate user account information

hope this helps.

Hi Glenn,
AccountsService is a D-Bus service for accessing the list of user accounts and information attached to those accounts, so it wont be a gui for adding and configuring users.
I installed it anyway, but it is clearly not for that purpose.

KDE/Plasma has user controls in systemsettings, but only lets me choose admin or user.

should be able to buy one somewhere.

#387 Re: Installation » Devuan: Existential issues. » 2022-11-18 23:48:03

ok, fair enough.

There is a package called ...

accountsservice*.deb

query and manipulate user account information

in my repo, but I am using daedalus(5) not chimaera(4)...
but the names should be similar.

I havent used it, It's just me here on these machines. :-)

hope this helps.

#388 Re: Installation » Devuan: Existential issues. » 2022-11-18 23:21:29

Package name... adduser*.deb

I have not had to do this, but, and just in case you didn't know...

Would editing this line sort it.. ?

the file /etc/adduser.conf

# check user and group names also against this regular expression.
# Default: NAME_REGEX="^[a-z][-a-z0-9_]*\$?$"
#NAME_REGEX="^[a-z][-a-z0-9_]*\$?$"

I don't run servers, (so) you probably already know this stuff.

#389 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-16 22:11:04

deepforest wrote:
aluma wrote:

If we talk about the speed of different releases without systemd, then subjectively, the fastest, with the same version of DE , PCLinuxOS works for me.

It's not a competitor to Devuan, just a roling release, a rollback is possible if you took a snapshot before the update, but all the latest innovations appear in the repo immediately.

In general, if you are bored, it is quite possible to try. smile

I am offended at pclinuxos. I am somthing ask at their forum and they baned me without any reasons. My nick is Procenko on pclinuxos forum.

I had a browser setup just for pclinux forums, because it was so flakey (pc would generally fail to boot...

Well, well. Sad to say, but I also used pclinux for quite a few years and eventually I left because my computer would be hacked, broken, fail to start... corrupt bios... after a session at pclinux forums. (I haven't worked out how, I'm not hacking others) I always warn peeps about the trolls there.

I think there's some coward 7331's there who operate within the community only to destroy others efforts.

To all of those who know but allow it to continue, the future is yours, I hope you get your own back!

Anyhow, Devuan is a much better product.

:-)

#390 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-15 04:57:08

I like open-rc because it's faily simple to manage.

I don't know if it's faster or more customable, I have little experiences with runit and a few others.

#391 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-15 00:36:59

to get a list...

service --status-all

I use openrc init, so it may be different for you, but

show status...

rc-update

to edit a service's runlevel, to add, delete or modify the runlevel of each service

rc-update del ssh default
rc-update add ssh off

Be aware that service package updates may modify the runlevels, so you need to check periodically.

edit,  couldn't locate this.
The old way was with chkconfig... but I can't find it anymore... but here's some info (link) about it.
https://www.geeksforgeeks.org/chkconfig-command-in-linux-with-examples/

#392 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-13 23:40:59

One thing I do, and check from time to time is services that load at boot.

rc-update, I turn off as many server services as possible...

ie, sudo, squid, openvpn, ssh, savecache, nethack-common, haveged, fancontrol (stops error spam), exim4, dictd, avahi-daemon and bluetooth.

Because I tether my phone as a modem, squid and openvpn are started after I connect to the phone long after the boot processes are done...

:-)

#393 Other Issues » Hdd CHS values... recover files » 2022-11-13 23:03:57

GlennW
Replies: 4

Hi, I had a small hdd fail.

The mini/laptop sized 3 terrabytes was in a portable enclosure (retail store) with a usb interface.

Now, ...

When I check and see the CHS values when using dd(_)rescue the values lead to only about 4 Gb of space.

So, I figure... when I get the correct values I may be able to scrape some music files off it.

ST3000LM016-1N217V
Disk /dev/sde - 4142 MB / 3950 MiB - ST3000LM016-1N217V
     CHS 503 255 63 - sector size=512

There was only one partition on the disk. It was originally fat32, but I changed it to ext4 for my purposes.

The drive failed originally from a broken usb connector. Remove drive and use as sata.

From what I can figure out, the drive had 3 (three) platters = 6 heads(?)

I've tried to guess/estimate but haven't been able to get it just right.

Has anyone here any knowledge of what the chs values are?

I tried changing the superblock (the original error was "can't find superblock"), but none were productive.

I haven't tried photorec yet.

It seems like the chs setting of the drive have been changed (I don't know how).

Manuf date... 21July2016

Verifying with the serial number at seagate's website...

https://verify.seagate.com/verify/?bpid=657649689011
Sep 28, 2021

Bytes per Sector (logical/physical) 512/4096

https://hddfaqs.com/seagate-st3000lm016/
    Hard Disk Model: SEAGATE ST3000LM016
    Disk Family: Laptop HDD
    Form Factor: 2.5″
    Capacity: 3 TB (3 x 1 000 000 000 000 bytes)
    Number Of Disks: 3
    Number Of Heads: 6
    Rotational Speed: 5400 RPM
    Rotation Time: 11.11 ms
    Average Rotational Latency: 5.56 ms
    Disk Interface: Serial-ATA/600
    Buffer-Host Max. Rate: 600 MB/seconds
    Buffer Size: 131072 KB
    Average Seek Time: 12 ms
    Width: 69.85 mm (2.75 inch)
    Depth: 100.35 mm (3.95 inch)
    Height: 15 mm (0.59 inch)
    Weight: 200 grams (0.44 pounds)
    Required Power For Spinup: 1200 mA
    Power Required (Seek): 2.1 W
    Power Required (Idle): 1.9 W
    Power Required (Standby): 0.18 W
    Manufacturer: Seagate Technology

I have looked at LBA mode and smartctl but have no success.

Any advice appreciated.

#394 Re: Off-topic » Is wayland the new systemd ? » 2022-11-13 08:58:13

https://wiki.hyperbola.info/doku.php?id=en:project:downloads

"en/project/downloads.txt · Last modified: 2022/08/02 23:22 by emulatorman"

#395 Re: DIY » [SOLVED] make xstarfish randomize the names, » 2022-11-13 08:57:01

zapper wrote:

I bring this, wondering how many files in a folder would cause me the same problem I have when I read a /etc/hosts type adblock filterlist with 1 million, or one hundred thousand lines on it...

One million takes a bit to load,  on T430...
A lot Longer time on X230 but loadable.

hi, Have you seen a noticable difference with host addblock?

I had been using ...

# This MVPS HOSTS file is a free download from:            #
# http://winhelp2002.mvps.org/hosts.htm                          #

but unloaded it about 2 months ago and haven't really noticed a flood of adds. offtopic I know, but... ?

#396 Re: Devuan Derivatives » Install Exe GNU/Linux. » 2022-11-13 08:34:39

I only have .dbus session bus.

/home/glenn/.dbus/session-bus 

there is about 342 items... from june to now... looks like a file for each boot.

Probably safe to delete old files.

If it's the .dbus dir you mean, otherwise seek more advice .

#397 Re: Off-topic » Is wayland the new systemd ? » 2022-11-10 22:01:47

dcolburn wrote:
zapper wrote:

Hence why I usually don't use devuan and instead use Hyperbola which finally removed all this crud, wink

Actually, xorg and wayland while both being bad, have an alternative, its called xenocara.

I cannot find Hyperbola-BSD anywhere.

I do find Hyperbola-Linux.

Did the BSD version get canceled and they stayed with the Linux kernel after all?

I'm pretty sure I have test driven Hyperbol BSD...

I saw this just now... "The developers cite the Linux kernel's adoption of Digital Restrictions Management (DRM), use of the Rust programming language and forced adoption of features in common GNU/Linux components like PulseAudio and systemd as reasons for abandoning Linux and the ecosystem around it.

written by 윤채경 (Yoon Chae-kyung)  2012-12-24 - last edited 2019-12-26. © CC BY "
ref. https://linuxreviews.org/HyperBola_Linux_Ditches_Linux,_Goes_All-In_BSD

last edited 2019...

I like their direction... I've had FreeBSD-12.1 installed... but I ended up using proprietary drivers anyway and had kde5/Plasma looking and behaving the same as my Dev-1 system.

#398 Re: Desktop and Multimedia » [SOLVED] Chimaera: "apt purge slim" will remove "task-xfce-desktop*" +much more » 2022-11-10 20:45:44

I use Lightdm as well, but I just leave slim alone except for switching off slim at start time.

rc-update del slim default
rc-update add slim off

My system is single user, I set lightdm to auto login (kde5/Plasma).

When in "dependency-hell" I usually re-install all the removed packages if I can copy and paste the list of packages that were/are scheduled to be removed.

That way I can at least then I can begin the cull (of un-wanted packages) again.

This is where the "--no-suggests" may be handy with the apt command. (edited for clarity, GW)

#399 Re: Installation » Daedalus install into Virtualbox Q » 2022-11-07 01:55:47

I have a feeling the preview is a non-boot image. Or at least with ver 4 it may have been.

you may search these pages.

but here it is. all the best.

https://dev1galaxy.org/viewtopic.php?id=5114

(edit) After re-reading that post, I think the booting problem was solved.

#400 Re: Other Issues » Recovery after a badly failed update » 2022-11-07 01:45:18

Hi, in my experiences because it is a separate device it won't get hosed (deleted or formatted) unless you command it.

I think even a "set partitions automatically for..." depends on the device /dev/sda, /dev/sdb ,

I sometimes put an empty filename as a signal for similar devices. (edit hosed)

Board footer

Forum Software