The officially official Devuan Forum!

You are not logged in.

#2376 Re: Hardware & System Configuration » [SOLVED] <Ascii/2> Standard reconfiguration - swappiness » 2017-12-07 14:29:35

It's a kernel feature. I don't think it has anything to do with the init system, but I'm not sure about what the rest of systemd does with it.

Did you notice any difference in performance after you changed it?

https://www.kernel.org/doc/Documentation/sysctl/vm.txt

swappiness

This control is used to define how aggressive the kernel will swap
memory pages.  Higher values will increase aggressiveness, lower values
decrease the amount of swap.  A value of 0 instructs the kernel not to
initiate swap until the amount of free and file-backed pages is less
than the high water mark in a zone.

The default value is 60.

vfs_cache_pressure
------------------

This percentage value controls the tendency of the kernel to reclaim
the memory which is used for caching of directory and inode objects.

At the default value of vfs_cache_pressure=100 the kernel will attempt to
reclaim dentries and inodes at a "fair" rate with respect to pagecache and
swapcache reclaim.  Decreasing vfs_cache_pressure causes the kernel to prefer
to retain dentry and inode caches. When vfs_cache_pressure=0, the kernel will
never reclaim dentries and inodes due to memory pressure and this can easily
lead to out-of-memory conditions. Increasing vfs_cache_pressure beyond 100
causes the kernel to prefer to reclaim dentries and inodes.

Increasing vfs_cache_pressure significantly beyond 100 may have negative
performance impact. Reclaim code needs to take various locks to find freeable
directory and inode objects. With vfs_cache_pressure=1000, it will look for
ten times more freeable objects than there are.

#2377 News & Announcements » eudev is now in ascii » 2017-12-07 14:11:30

fsmithred
Replies: 12

Subject says it. eudev is now in the main ascii repo, and you will get it by default on upgrade or new install*.  If you blink your eyes, you might not notice it.

*Right now a new install is only possible with debootstrap or live-sdk.

#2378 Re: Other Issues » Jessie & Huge Dirty Cow » 2017-12-06 14:41:28

Your link shows that so far, it's only fixed in sid. That means it's also fixed in ceres. It's only been about a week, so I guess the fix will be moving down to testing and stable soon. Whenever that happens in debian, it will happen in devuan a minute or two later. I hope they fix it in oldstable, too.

aptitude -t sid search linux-image-4.14
p   linux-image-4.14.0-1-amd64                           - Linux 4.14 for 64-bit PCs

aptitude show linux-image-4.14.0-1-amd64
Package: linux-image-4.14.0-1-amd64      
New: yes
State: not installed
Version: 4.14.2-1

apt-cache policy linux-image-4.14.0-1-amd64
linux-image-4.14.0-1-amd64:
  Installed: (none)
  Candidate: 4.14.2-1
  Version table:
     4.14.2-1 0
        100 http://pkgmaster.devuan.org/merged/ ceres/main amd64 Packages
         10 http://debian.csail.mit.edu/debian/ sid/main amd64 Packages

#2379 Re: Other Issues » booting Jessie: File system check failed. » 2017-12-05 21:50:13

If /dev/sda15 contains an encrypted filesystem, then fsck should not be trying to check it. Instead, it should be checking the decrypted filesystem, which would be /dev/mapper/sda15_crypt or some other label.

What's in your /etc/fstab and your /etc/crypttab?
What's the output of blkid?
Is devuan the only operating system on the computer?

#2380 Re: Installation » Trouble with install » 2017-12-05 14:57:39

Don't use debian mirrors in your sources.list (or in synaptic). Only use devuan.
Make sure you have non-free repos enabled.
Update (Reload? I forget what it says in synaptic)
Install firmware-iwlwifi

That one usually works for me without a reboot. Usually.

#2382 Re: Installation » Trouble with install » 2017-12-04 02:25:02

I've heard a few other people who had trouble with rufus. Try rawrite:
http://www.netbsd.org/~martin/rawrite32/

The wireless firmware package that you need is already installed in the live isos. What error message did you get, and what did you do to get that message?

Can you use a wire for the install instead of wireless? Sometimes it's easier to set up the wireless after you get the system installed.

#2383 Re: Hardware & System Configuration » Strange mounting problem with USB drive » 2017-12-03 20:09:18

Yeah, I see this frequently. I use pmount/pumount for removables. I think I get leftover directories under /media when I pull the usb out without unmounting it. It might be something else I'm doing, too. When it happens, I just delete the dir (as root.)

#2384 Re: Installation » Upgrading: Warning: The following essential packages will be removed » 2017-12-03 20:04:35

I just ran into this doing a debootstrap install of ascii. Here's a way around it. The needed packages are in ascii-proposed. When they move into the main ascii repo, this will no longer be a problem.

In chroot: add the following line to /etc/apt/sources.list (note that it's /devuan not /merged like the others.)

deb http://pkgmaster.devuan.org/devuan/ ascii-proposed main

Then run

apt-get update
apt-get -t ascii-proposed install util-linux libfdisk1

Then you can install other things. I have no idea what's missing in your system now. I had to do the above before I could install the kernel. You probably need to run upgrade and dist-upgrade again, maybe apt --fix-missing, or maybe you'll get other instructions.

#2385 Re: Installation » Upgrading: Warning: The following essential packages will be removed » 2017-12-03 13:13:26

You probably should have come here before anwering Yes to that. To fix it, you can boot a live CD or usb, chroot into the installed system and re-install or do whatever to get those packages back. There's not enough information in your post to know what caused the problem. How was that system different from the others you upgraded?

#2386 Re: Hardware & System Configuration » Clarity regarding eth0 device name » 2017-11-30 04:53:08

I have a partial answer to the original dilemma. I made a live usb of devuan ascii (and udev), with persistence. There's no 70-persistent-net.rules in the live isos by design, and there's none in my ascii anyway. Normally (jessie and older) with persistence, the one that gets created at boot sticks around, and you have to either delete it or change your settings to eth1, 2... or wlan1, 2 (I think I've gone up to 8 in the past.)

This particular system has wicd on it, and there are settings for default wired and wireless interfaces. They're set to eth0 and wlan0. I added net.ifnames=0 so that the old names will be used.

Booted one laptop and was automatically connected with the wire. Wicd saw the nearby wireless signals.
Booted another laptop and was automatically connected. Wicd worked, too.
In both cases, the only interfaces were eth0 and wlan0. They did not increment.

Explanation: Hand-waving-argument, magic. I don't know. But I think you'll be ok when you move your system to different hardware.

Bug me in a couple of weeks to see if I tried it with eudev yet.

#2387 Re: Off-topic » Firefox Quantum » 2017-11-26 14:02:15

greenjeans wrote:

Anybody hear of anyone re-compiling quantum with ALSA support (disable dependency on Pulse)?

Paging FSR.......;)

I think you overestimate my abilities. I've heard some talk about recompiling for alsa, and also that packaging firefox is difficult. After a quick look at the source package, I believe it. Doesn't apulse work anymore?

BTW, noscript is ready for 57. Support for noscript in firefox-esr52 will continue until June, when it will shift to 59.
https://noscript.net/getit

#2388 Re: Installation » 32 bit install on 64 PCs? possible? » 2017-11-25 21:32:46

Huh? What's missing? What extra stuff is disturbing you? I never noticed a difference.

To enable multi-arch:

dpkg --add-architecture i386

Then you should be able to install the i386 versions of packages.

#2389 Re: Desktop and Multimedia » [SOLVED] <Ascii> Conky ~ Errors in configuration file » 2017-11-25 21:12:32

I ran into similar problems when I tried to use my conkyrc from jessie on a new ascii install.

Add conky.config = {and put the rest in braces}
Add a space after the =
Add a comma at the end of each line except the last.
Values go in single quotes, booleans don't.

Do that much, and you'll probably get rid of most of the errors. Some of the options may have changed. Here's what's working for me:

conky.config = {
    alignment = 'bottom_left',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
	default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'DejaVu Sans Mono:size=10',
    gap_x = 4,
    gap_y = 4,
    minimum_height = 5,
	minimum_width = 10,
	maximum_width = 366,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    own_window_transparent = true,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}

#2390 Re: Desktop and Multimedia » Update fails - xserver-xorg-core "loses keyboard and mouse" » 2017-11-25 13:44:44

It's safer if you use codenames. Use "jessie" instead of "stable" and "ascii" rather than "testing." When ascii becomes the stable release, you can change sources.list to say "ascii" instead of "jessie." That way, you get to decide when you do the dist-upgrade instead of running into it when it happens.

#2391 Re: Hardware & System Configuration » Which AMD/ATI radeon firmware is being used....? RV710/M92 » 2017-11-25 13:37:22

To see what driver is in use, look in /var/log/Xorg.0.log or run 'lspci -k'.
To select which driver to use, create /etc/X11/xorg.conf with a Device section, where you list which driver to use.

For detailed instructions on configuration, look at debian. It's done the same way in devuan.

#2392 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2017-11-21 16:24:03

I call it the s/f rario, signal to fluff.  Only I include a level of doubt that not all fluff is innocent, and not all sheep is vegetarian.  I see sheep with sharp front teeth and saliva dripping.

I know we're drifting off topic here, but this is relevant to the drift and potentially very important:
https://yro.slashdot.org/story/17/11/20 … -keystroke

@golinux: I like the greens better than the roots.

#2393 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2017-11-21 02:44:03

Translation: Too much javascript.
(fungus obviously has a lower threshold than my limit of 4-5 allowances. I could see it fine once I unlocked a few doors.)

#2394 Re: Installation » Installation: mirror or DVD.iso? » 2017-11-19 19:29:38

All the installer isos must be used with auto.mirror.devuan.org (or some-country-code.mirror.devuan.org or packages.devuan.org). They do not have the signing key for amprolla3 (pkgmaster.devuan.org). If/when there's a point-release of jessie, that situation will be remedied.

#2395 Re: DIY » Conversion of simple systemd script to non-systemd » 2017-11-19 15:37:22

It looks like you could just replace the systemd commands with non-systemd commands. I don't know i3. How does it handle running those commands as root? Or does user have privilege for the shutdown and reboot commands? For hibernate and suspend, you can use 'pm-hibernate' and 'pm-suspend'.

Whenever I use a window manager without a diplay manager, I give my user sudo nopasswd permission for those commands.

It's also possible to let dbus manage the session, and then you can use dbus commands for shutdown, etc. I think that's been discussed somewhere on this forum. If you need that and can't find it, just say so.

This looks like the easy solution. No idea here if it works. (Note: Tags to put this in a code box are right above the message text box when you're composing.)

#!/bin/sh
lock() {
    i3lock
}

case "$1" in
    lock)
        lock
        ;;
    logout)
        i3-msg exit
        ;;
    suspend)
        lock && pm-suspend
        ;;
    hibernate)
        lock && pm-hibernate
        ;;
    reboot)
        reboot
        ;;
    shutdown)
        poweroff
        ;;
    *)
        echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
        exit 2
esac

exit 0

#2396 Re: Installation » Headless install on Raspberry Pi Zero » 2017-11-19 14:22:19

Instructions for putting the image on the device are in the README.txt found in the same directory as the images. But I will assume that you already know how to do that, because you did it with Debian. Say a little more about what you did and what doesn't work, and maybe someone will have a solution.

#2397 Re: Other Issues » Amprolla3 repositories - Jessie » 2017-11-19 13:07:41

Right. All the mirrors are mirroring packages.devuan.org, which is the original amprolla.
For now, amprolla3 is only on pkgmaster.devuan.org. I think there are a few more details to be worked out before all the mirrors use the amprolla3 repo.

#2398 Re: Other Issues » Wicd not auto connecting.. - Have to turn of/on/refresh to get list » 2017-11-18 23:21:25

'update-rc.d remove' will remove the symlinks. You do not need to remove the init script. I'm not sure if the symlinks will be regererated with normal updates, but. I just checked, and wicd is still installed here and turned off since I installed the system almost two years ago.

#2399 Re: Off-topic » Firefox Quantum » 2017-11-18 10:52:11

It’s over twice as fast as Firefox from 6 months ago

I think that's right around when i noticed that firefox suddenly became about half as fast (or twice as slow). I think they're pulling a "New Coke". (They added lemon, called it new, waited for complaints, then returned to "original" but replaced sugar with HFCS. The lemon phase was to get you to forget what it really tasted like.)

Last night someone told me that noscript will be ready for FF57 very soon. That's good news.

#2400 Re: Other Issues » Amprolla3 repositories - Jessie » 2017-11-17 11:40:14

Here's a bug report. I guess you can ignore the warning.
https://lists.debian.org/deity/2015/10/msg00085.html

Check your version of apt. It's supposed to be fixed in 1.1. Jessie has 1.0.9 and ascii should have 1.4.

dpkg -l apt

Board footer

Forum Software