The officially official Devuan Forum!

You are not logged in.

#301 Re: Desktop and Multimedia » Blender 2.8 freezes the system. » 2019-08-25 15:58:39

How thoroughly frozen is it?

Does ctrl-alt-f1 get you to a text console when it's hung?
Can you log on from another system (if you have one)? If it's only the GUI that's hung you should be able to investigate then. If that session hangs as well set it running top etc before starting blender and the last screenful should be readable on the other system.
Does pressing caps/num/scroll lock light up the LED on the keyboard.
Does ctrl-alt-del have any affect?
Does the reset button reboot the system? I'd not expect a software bug to stop that.

Chris

#302 Re: Other Issues » system hangs after exiting second tty » 2019-07-13 19:03:37

Can you log on to it from another system (eg via ssh)? If you can then try to use that session to gather data about what tasks are running before and after a hang. And try sudo shutdown -r now as a gentler way to reboot it than the power switch.

Chris

#303 Re: Hardware & System Configuration » Non-specific error message at boot from nVidia drivers » 2019-07-13 18:56:58

I think the number in "udevd[*number*]" is the PID of the udevd task. Run ps -ef | grep udev and see if the PID matches.

On my system /etc/modprobe.d/nvidia.conf contains

install nvidia modprobe -i nvidia-current $CMDLINE_OPTS

install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS

install nvidia-drm modprobe nvidia-current-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-uvm nvidia

# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias   pci:v000010DEd00000E00sv*sd*bc04sc80i00*        nvidia
alias   pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*        nvidia
alias   pci:v000010DEd*sv*sd*bc03sc02i00*               nvidia
alias   pci:v000010DEd*sv*sd*bc03sc00i00*               nvidia

But I've not rebooted it for a while and I can't remember if I got that message when I did.

Chris

#304 Re: Installation » KVM guest - kernel panic when running from P9 share root » 2019-07-07 16:16:35

That message might mean you have a symlink loop, eg file a is a symlink to file b, which is a symlink to file a. Try ls -ld /sbin/init to see if it's a symlink to somewhere. If not try searching for a loop in /etc/rc?.d/ (I don't think a hanging symlink would cause this problem).

Chris

#305 Re: Hardware & System Configuration » Passwordless root execution in scripts » 2019-07-06 19:58:54

You can set up entries in /etc/sudoers to let members of a given group (or specific individuals) run specific commands via sudo without asking for a password. See the man page for sudoers for examples (and caveats).

Note that it's often safer to let them run a script you've written as root since the script can do any necessary checks before doing anything dangerous.

Chris

#306 Re: Installation » Help with bootup info and stuff » 2019-06-16 16:17:28

To check if you have sudo set up correctly try sudo id (you should get something like):

chris@rigel:~/ggnfs/tests$ id
uid=1000(chris) gid=1000(chris) groups=1000(chris),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),103(netdev),114(lpadmin),116(scanner)

chris@rigel:~/ggnfs/tests$ sudo id
[sudo] password for chris: 
uid=0(root) gid=0(root) groups=0(root)

Chris

#307 Re: Other Issues » How do I upgrade to latest Devuan [SOLVED] » 2019-06-15 16:17:16

Also run the dist-upgrade with --simulate first (this tell you what it will do but does not do anything).

Chris

#308 Re: Installation » The most secure hardened kernel » 2019-06-15 16:13:03

If OpenBSD people say GNU sources have invisible backdoors just ask them to point out some of them that have been found (or provide other proof that they exist). If they can't provide any evidence you can safely assume they are just scare stories.

The beauty of having the source code is that it's almost impossible to hide a backdoor in it that no one can find. Admittedly the compiler could be rigged to insert a backdoor when certain programs are compiled, but even that can be found by disassembling the compiler or the backdoored program.

Chris

#309 Re: Other Issues » Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error] » 2019-05-15 16:40:11

I would advise you to truncate  /usr/lib/cups/notifier/error_log if it's getting too big:
>  /usr/lib/cups/notifier/error_log

rm will remove the directory entry, but won't free space if something still has the file open. You might be able to find it by looking in /proc (it will be in a directory of the PID of the task that has it open) and truncate it there. Otherwise restarting the task(s) will free the space (if all else fails a reboot restarts everything).

Chris

PS. I learnt that in the college of hard knocks.

#310 Re: Other Issues » Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error] » 2019-05-14 16:41:31

/proc isn't a real filesystem on disk and doesn't contain real files:

chris@rigel:~/bin$ df -k /proc/
Filesystem     1K-blocks  Used Available Use% Mounted on
proc                   0     0         0    - /proc

/proc/kcore will be your systems virtual storage mapped to a file. Don't worry about it (or anything else in /proc).

And in case it helps:
chris@rigel:~/bin$ ll /usr/lib/cups/notifier/dbus
-rwxr-xr-x 1 root root 14328 Jul 11  2018 /usr/lib/cups/notifier/dbus

Chris

#311 Re: Desktop and Multimedia » LXDE GDBus.Error woes » 2019-05-14 16:31:55

The ? means that polkitd isn't attached to a terminal. ps aux gives more information:

chris@rigel:~/bin$ ps aux | grep polkit
chris      360  0.0  0.0  12784   972 pts/2    S+   17:25   0:00 grep polkit
root      2787  0.0  0.1 297264  6992 ?        Sl    2018   0:00 /usr/lib/policykit-1/polkitd --no-debug

chris@rigel:~/bin$ ps aux | head -3
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  15812  1628 ?        Ss    2018   2:25 init [2]
root         2  0.0  0.0      0     0 ?        S     2018   0:05 [kthreadd]

The second command is just to show the column headings. The first column shows polkit runs as root which is why you need ps ax to show it.

Chris

#312 Re: Installation » Interested in installing devuan, couple questions before I do » 2019-05-12 16:01:27

Dutch_Master wrote:
crankypuss wrote:

IMO it's a disgrace that there's no linux distro that will start up in less than a second on some average mid-level machine.

Name me any OS that performs this from a cold start. roll

I had, for a time, a moderately spec'd desktop that could do a cold start in under 10 seconds, using an SSD, running Funtoo. This was with a Grub time-out period, so effectively it could boot in under 5 seconds. I'm still on the same hardware, but as I had to change OS due to Funtoo's inability to perform an intelligent update/upgrade w/o breaking virtually anything, switching to Devuan, it takes a little longer to boot, but still below 30 sec.

My Dragon 32 booted up in about half a second. But it's older than most of the people on the list (built in 1982 if I remember correctly). Boot up times are a nice example of Gates Law (Software gets slower faster than hardware gets faster).

Chris

#313 Re: Installation » The most secure hardened kernel » 2019-05-12 15:57:17

If you need to ask questions like that the three safest options are:

1: Keep it all in your head. And only discuss it face to face when safe from listening devices.

2: Only use pencil and paper etc, not computers.

3: Only use computers that are never connected to the internet at all. And be very careful if you need to copy data from the internet onto them, eg burn it to CD/DVD on an internet connected system, read it on the safe system, then destroy the disk to ensure data can't ever get out.

And think carefully about the threat model if you need to resort to any of the above options.

Chris

#314 Re: Hardware & System Configuration » [Solved] Webserver: connection refused » 2019-05-09 16:37:29

Could you log on to the new server any other way (eg ssh)? Did it respond to ping? Could you connect out from it to anywhere else (I assume it has a screen and keyboard)?

Chris

#315 Re: Hardware & System Configuration » Problematic wake-up, after sleep (ASCII). » 2019-05-09 16:32:44

If you have more than 1 system try ping, ssh, etc from another system to see if the hung system responds.

Does pressing caps/num/shift lock turn on the light on the keyboard?

Do any of the lights on the motherboard or NIC show anything significant (if the light's usually on when it's working and off when it's sleeping what does it show when the systems hung?)

Chris

#316 Re: Devuan Derivatives » Heads Distro » 2019-03-20 18:20:19

How is your ISP blocking you? I had one site I use falsely blocked in my IPS's DNS servers. I got round it by changing /etc/resolv.conf to use 1.1.1.1 as nameserver. That may be an easier way round.

But I'd be interested in knowing how to install tor. So I can access sites like washingtonpost.com without silly messages about GDPR compliance (in their case the button to click to say I want access doesn't work at all!)

Chris

#317 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2019-02-24 20:05:10

Pressing control-S just after the messages come out might enable you to read them (then control-Q to continue).

If that fails could you take a video of the console during shutdown, then play it back slowly?

Chris

#318 Re: Desktop and Multimedia » Software update notifications in XFCE » 2019-02-16 17:47:39

Seeing the cron log reminded me that cron tries to email output from cron jobs to the user it runs as. So if you don't want the emails just redirect the output to /dev/null (much as the output from the debian-sa1 job is). Or redirect it to a file so you can see it if you want.

Chris

#319 Re: Desktop and Multimedia » [SOLVED] Unable to install nvidia drivers » 2019-01-06 17:39:47

Hello,

I had a lot of "fun" getting CUDA working under Devuan. See the following threads for details:
https://dev1galaxy.org/viewtopic.php?id=2299
https://dev1galaxy.org/viewtopic.php?id=2259

And search the forum for keywords like CUDA, Nvidia, nouveau, etc.

Chris

#320 Re: Hardware & System Configuration » shutdown does not poweroff nor restart » 2018-12-29 17:11:26

How long did you wait before pressing the power button? I've heard of delays of a few minutes during shutdown, could that be happening here? That's a fairly easy thing to test.

Look in the BIOS to see if there are any options that might affect shutdown processing (or support for different OSes).

What make and model is your laptop? Search for reported problems with that make and model (and BIOS version).

Look in syslog etc to see if any interesting messages are there.

Chris

#321 Re: Devuan » A philosophical diatribe: How to avoid having users - and how not to » 2018-12-07 21:12:04

ESR is one of the better known figures in the UNIX world. You can read most of his writings at http://www.catb.org/~esr/ (several are well worth reading).

He made several good points about how to make Devuan easier to install. In particular having one and only one installer per architecture that then asks what sort of install you want to do and if you want to install non-free code. If you must keep old versions available then clearly label them as deprecated (and don't put them on the home page).

He could have been a bit more tactful but that's no reason to reject everything he said.

A magazine cover disk may need to be more specialized since space is limited (they may want to have more than 1 distro on a single DVD) and it should be usable to install on a system that does not have internet access. But the people building the cover disk should be more experienced than the average user.

Chris

#322 Re: Other Issues » Can't start UGENE » 2018-12-06 17:30:35

Try adding set-x as the second line of the script. That should produce tracing output from the script which will show what it's doing.

Chris

#323 Re: Hardware & System Configuration » Dmesg question [SOLVED]. » 2018-12-06 17:17:58

For messages coming out during the bootup try control-s to freeze screen output and control-q to restart it. That should stop them long enough to copy them down (or take a photo of the screen).

Chris

#324 Re: Other Issues » Can't start UGENE » 2018-12-05 17:44:39

It's probably the program invoked by the script that's causing the segfault.

Try making a copy of the script and changing line 68 to:
echo "$dirname/$appname" "${params[@]}" -style cleanlooks

Run that and it should tell you what program it's actually trying to run. Then try searching for problems with that program (start by running file against it, that will tell you what sort of program it is).

Chris

#325 Re: Other Issues » Apt-get: DNS problem » 2018-11-30 17:14:37

Check what /etc/nsswitch.conf says for hosts (see the man page for nsswitch.conf for what it means).
Check /etc/resolv.conf (that tells the system which DNS server(s) to use).

If there is more than 1 DNS server in there try commenting out all but one and checking if it works with that one.
If there is only one them comment it out and add nameserver 8.8.8.8 (that's google's nameserver).

Chris

Board footer

Forum Software