You are not logged in.
NVIDIA (nvidia-persistenced) issue in Beowulf Beta
Having checked on this (see https://docs.nvidia.com/deploy/driver-p … index.html) I found:
Persistence mode (and the persistenced daemon) is not required if NVIDIA is operating under X. However it could be useful if you want CUDA. So you may not need it at all.
It's just a harmless warning, you can ignore it.
As I've said try reinstalling the service.
If you are sure you don't need it, disable the service by running
update-rc.d nvidia-persistenced disable 2
I note that there is also a /lib/systemd/system/nvidia-persistenced.service, which is for systemd Debian. Would this be invoked on systend installation or is it just an example?
This file is just a few lines of text which are included in the package by nvidia. They are meant to be read by systemd (when it's present). This file does not, and can not, do anything on it's own when systemd is not there (as is the case in Devuan).
The reason these files are left on Devuan is probably because Devuan devs try to make as little changes to packages as possible so as not to break anything else in the process. Since these files are harmless and don't take much space they are left there. You can delete them on your own if you hate them so much or if a few kb of disk space matter.
Seems either Devuan or Debian should remove the recommend and/or correct /etc/init.d/nvidia-persistenced to make it work prperly.
Like I said, the warning message itself is harmless.
I want to repeat also that whenever I try to install nvidia proprietary drivers (and I've tried to do so on several distros), I almost always get some kind of warning or a rough edge that needs fixing. I believe even Linux Torvalds once commented something about nvidia regarding their attitude.
Try searching the internet for something like "linus nvidia f**k you"
NVIDIA (nvidia-persistenced) issue in Beowulf Beta
However nvidia-persistenced failed to install properly.
...
Has anyone else encountered this problem?
As I assume that it's a problem with other sysv distributions, not just Beowulf, how can I go about correcting this?
I think I remember having the exact same problem on an ASCII system and I've been able to solve it.
Nvidia almost always gives you at least SOME trouble when you install the drivers on linux.
Try stopping this service, purging it, reinstalling
service stop nvidia-persistenced
apt purge nvidia-persistenced
[maybe reboot here, if you do it after uninstalling service won't be running when you try to install again]
apt install nvidia-persistenced
Here's aptitude's info screen for zfsutils-linux. It shows it in an already installed state, after I pulled in insserv 1.18 from beowulf.
But you can see , under the line --\ insserv (< 1.18), all versions of insserv present in the official ascii repos, and the only one is 1.14,
which is not compatible with this version of zfsutils-linux.
i --\ zfsutils-linux 0.7.12-2+deb10 0.7.12-2+deb10
Description: command-line tools to manage OpenZFS filesystems
Homepage: http://www.zfsonlinux.org/
Tags: admin::configuring, admin::filesystem, interface::commandline, role::program, scope::utility, use::configuring
Priority: optional
Section: contrib/admin
Maintainer: Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@alioth-lists.debian.net>
Architecture: amd64
Compressed Size: 290 k
Uncompressed Size: 1,087 k
Source Package: zfs-linux
Origin: Devuan Backports:2.0.0/stable-backports [amd64]
Origin URI: http://deb.devuan.org/merged/pool/DEBIAN/contrib/z/zfs-linux/zfsutils-linux_0.7.12-2+deb10u1~bpo9+1_amd64.deb
--- Depends (11)
--- Recommends (3)
--- Suggests (3)
--\ Conflicts (6)
--\ insserv (< 1.18)
p 1.14.0-5.4+b1
--- insserv (< 1.18)
--- zfs
--- zfs-fuse
--- zfs-fuse
--- zfsutils-linux
--- Breaks (4)
--- Package names provided by zfsutils-linux (1)
--- Packages which depend on zfsutils-linux (16)
--\ Versions of zfsutils-linux (3)
p 0.6.5.9-5
p 0.7.3-3+devuan1
i 0.7.12-2+deb10u1~bpo9+1
ASCII: Can't install zfsutils-linux version 0.7.12-2+deb10u1~bpo9+1 from backports, due to missing dependency.
The package conflicts with package insserv (<1.18), but the highest version of insserv in ascii repositories is 1.14.0-5.4+b1.
Therefore it's not possible to install this newer version of zfsutils-linux without pulling in insserv 1.18.0-2 from beowulf.
Is it safe to use beowulf's insserv on ascii, and if so, why isn't it present in ascii repositories, making it impossible to install latest version of zfsutils-linux?
How to reproduce:
1 Have an ascii system running.
2 Enable backports
3 Install zfs-dkms 0.7.12-2 (from backports) and neccessary packages
4 Try to install zfsutils-linux 0.7.12-2 (from backports).
Some more feedback:
I've installed another test system from the live cd using debootstrap, and when I boot this message appears:
udev: group "kvm" not registered (or not found)
The system boots fine though.
After about 10 reboots I got the "... not registered after 100000 microsecs" message when booting that system from hard drive. It only happened once.
EDIT: It is of course possible that I've screwed the already installed to hd system by myself, I've been doing horrible things with it since it's a test drive.
About 5 reboots right after the install were ok, although it's a more complex setup with lvm, crypt, and zfs.
The system seems to be working fine overall, though there were some oddities.
Fri Mar 27 00:35:43 2020: WARNING: Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds.
Fri Mar 27 00:35:54 2020: WARNING: Device /dev/sda1 not initialized in udev database even after waiting 10000000 microseconds.
Fri Mar 27 00:36:04 2020: WARNING: Device /dev/sda2 not initialized in udev database even after waiting 10000000 microseconds.I've been informed that when you get these repeating messages, you can make them stop by switching to tty2 and then back to tty1.
Press
alt-F2 and then alt-F1
I've just tried this fix and it didn't work when I booted from real dvd. Caps lock works, but not alt-f1/f2. The console font didnt change.
After that I rebooted from the same image located on hdd, and it worked. The console font changed.
It SEEMS that the probability of encountering this error is much higher when booting from real physical dvd.
I am using the image that fsmithred posted in this thread named
devuan_beowulf_3.0.0_beta_2020-03-25_amd64_desktop-live.iso
It would be helpful if we had a few more datapoints here.
It's always possible that I've screwed something up on my own.
I DID check the sha256 sum and it matches.
Good morning ladies & gentleman's,
2. Why dividing "/" (root) from "/home" under "ZFS"?
In my opinion, if you're using ZFS (or BTRFS), there's one more reason to separate root and home partitions (besides the ones already mentioned):
If you make a snapshot of your root filesystem, and later want to rollback (maybe after you've broken something), they should be separate -
or else you will rollback your personal data (home) together with the system files on root file system. They should be decoupled.
3. Do I need an extra "/boot"-partition even if I have EFI?
I can't tell much about EFI, buy you almost never NEED, an extra /boot, but in my opinion it's always a good idea to have one - for example, grub doesn't support all filesystems that linux proper does, different versions of grub can or cannot read different filesystems, also you may boot a livecd for a rescue and have trouble unlocking your luks or importing zfs pool, so /boot should be a separate (smallish) partition, formatted with an fs that everyone can read. I recommend ext3 for /boot.
In early days of windows NT/XP, it was common practice to have a separate C: drive with a simple filesystem (FAT/FAT32), because not everyone could read NTFS back than.
The same logic applies today - it's generally more reliable if you have a separate /boot formatted with an fs everyone can read. But of course this depends on your particular needs and use case.
4. What sould be necessarily "snapshotted" with ZFS and what not?
Nothing is "necessarily" snapshotted with ZFS/BTRFS, you snapshot what you want.
I always snapshot the root filesystem after the first successful boot, and than before large upgrades or before making potentially breaking changes.
Since my /home is separate, I don't have to worry about my data/work being rolled back, and just operate on root.
[EDIT:] also keep in mind that if you do have extra /boot on a simple filesystem such as ext3, it's contents will NOT get snapshotted. You'll have to be careful with your boot files, or back the contents manually.
Debian based systems, including Devuan, do a good job of keeping an older, working copy of both your kernel and your initrd - thus there is seldom a need for backing up the full contents of /boot.
[End-EDIT]
If you're talking about a production server, there may be other specific cases where you must do snapshots.
5. ZFS don't need "Swap" but Devuan?. A "Swap-file" instead of partition? how do it? Ones ZFS up and runnig delete "Swap" and "entry" in "/etc/fstab"?
Good rule of a thumb is to make at least one swap partition, sized for example half of your ram. That will give you some breathing space.
I made another desktop-live iso with changes that I hope will address the udev delays. If anyone who was getting messages like the one below could test the new iso, it would be a big help. Thanks.
Downloading as we speak.
However I don't know how much help can I be, because the last few times I tried to boot the old iso from hdd the message did not get displayed and the system worked. The behaviour is non-deterministic.
Nevertheless, I'll get the iso and try booting from both hdd and a real dvd, we'll see what happens.
UPDATE:
Unfortunately error is still there.
I did 2 attempts - first, from hdd, worked ok.
Second - from a real dvd got me straight to the error message.
As during previous tries, when all goes ok, the font gets changed. When the font doesn't get changed, the error appears.
I've been running beowulf with static IP set in /etc/network/interfaces since the beginning of the year. Configure it in the interfaces file or use a network manager (like wicd) but don't do both - they may fight with each other.
Yes, I know that. I installed wicd just in case I wouldn't be able (for some reason) to write the correct interfaces file, but switching to dhcp worked.
If it works for you then it means that's MY problem, not a Beowulf problem.
Well, the beowulf installation I've been using for many months has one, my debian buster installation has one, my ubuntu 20.04 installation has one, plus another different one available in 'add to panel', so I don't know about that. In any case, I'd like to have one :-) We'll see how it shakes out...
Look for packages named something like mate-media-<something>, mate-applets-, mate-<something>-applet, mate-indicator-applets-, etc.
Possibly this one:
https://pkginfo.devuan.org/stage/beowul … 0.3-2.html
Another potentially interesting topic:
When I installed the system initially w/ debootstrap, I chrooted into it and copied the configuration for my eth<X> cards directly from my working jessie /etc/network/interfaces file. I did that through copy/paste, so a spelling error is out the question.
When I rebooted, I got error message, something about "missing attribute: address for card eth<X>", don't remember exactly, but I have checked the "address" attribute, and it was set to the static IP I wanted to use.
I then rebooted into stable jessie, chrooted into new beowulf sys, installed wicd with all kinds of it's clients (cli, gtk, etc.), and changed the content of /etc/network/interfaces file to use dhcp. After rebooting back into the beowulf install, the card configured itself properly through DHCP. I think without wicd, just by starting the networking service
I don't know if any of the packages which wicd brought in fixed the issue, OR whether there's a problem with parsing manually configured eth<X> cards.
If maybe someone tried a manual config (with static router, ip, gateway, etc. specified in /etc/network/interfaces) for eth<X> card, that could clarify if it was my misconfiguration, or a problem with one of the packages being unable to parse a perfectly valid config file.
WRT mate desktop:
I installed mate after the first boot into a working, cli only system, with network already configured as described above, by running tasksel in console, and selecting "devuan desktop env" and "mate" entries. It worked flawlessly, other than apt/dpkg on btrfs being SLOW AS MOLASSES.
EDIT: typo
dev-1-dash-1: Thanks for the feedback. We have our wizards working on it.
I'm glad if my feedback helps.
Do tell if I should run any more tests on my specific config.
In other news:
dpkg/apt on btrfs root is still SLOW AS MOLASSES. Using eatmydata helps a lot, but one should question the rationale behind running a cow fs when eatmydata is required for any serious workload.
Btrfs can take hours when other fs's take 15 min, and can take DAYS when other fs's take about an hour.
Sad! Many such cases.
Btrfs devs should get their act together.
Zfs, when you can get it to work, is orders of magnitude faster even on a system with not much ram.
"device /dev/sd<x> not available in udev database even after waiting for 1000000 microseconds.<another timeout>"
I've gotten this message trying to install grub in a chroot. It goes away in a couple minutes. I'm unable to reproduce it by booting the live-iso from usb.
Just tried a few more times:
Sometimes it boots immediately, and very quickly, without this message. In those cases, system seems to keep working for as long as I wish.
And sometimes the message gets displayed. For the cases when it does, waiting a couple of minutes (2 full circles) helps - the system boots. However, for the one case it did boot after this significant timeout, the system FROZE a couple of minutes into the live session. No caps-lock working, no soft reboot, just power off and reset helped.
One more thing I've noticed: when boot goes ok, the console font is changed from the bios font to the standard debian thin letters font.
When I get these timeout messages, the font on console is unchanged from the standard bios-vga font.
The font change happens(when it does) a couple of steps before the messages start appearing.
When the messages appear, it is always in the "Starting lvm volume groups" phase.
edit: typo
"device /dev/sd<x> not available in udev database even after waiting for 1000000 microseconds.<another timeout>"
I've gotten this message trying to install grub in a chroot. It goes away in a couple minutes. I'm unable to reproduce it by booting the live-iso from usb.
Well, if it's MINUTES I will probably try again and wait and see what happens.
In the meantime: I have installed a copy using beowulf's debootstrap .deb file.
Just unpack it manually and use DEBOOTSTRAP_DIR var to point to the extracted location, and specify beowulf as the suite.
The debootstrap .deb is got to be the smallest installation image available!
Some feedback:
The file /etc/devuan_version says beowulf/ceres.
The grub entry is titled "Debian GNU/Linux".
I am repeatedly getting this error in console & dmesg:
udevd[536]: failed to execute '/lib/udev/${exec_prefix}/bin/udevadm' '${exec_prefix}/bin/udevadm trigger -s block -p ID_BTRFS_
READY=0': No such file or directory
It mentions btrfs, so I will point out that this system is on a btrfs root.
Other than that, system in general SEEMS to be working fine.
I even got the Cinnabar theme!
PS NOTICE: all my feedback in this thread is about working on bare metal, NOT in a vm.
Thanks for your reply, fsmithred.
dev-1-dash-1: I don't know if you can use jessie to debootstrap beowulf. I would avoid using 'testing' because debian and devuan testing are not the same right now. It might cause problems.
I also don't know if you can install beowulf's debootstrap in jessie. Can't hurt to try.
I've downloaded beowulf's .deb file for debootstrap already. The only dependency seems to be wget.
But I don't know if I will install it. The reason I come so rarely to this forum with problem-posting is because I like to keep
strictly to the official release, not mixing any packages no matter how simple they seem to be.
There seems to be the option to use DEBOOTSTRAP_DIR env variable when running debootstrap, so it should be possible
to simply unpack the deb file into a separate location and use the aforementioned variable to launch the beowulf's version. I may try it out later.
I do know that all the devuan live isos have debootstrap installed. You could do it from a live session.
That has always been my understanding as well, that's why I tried to use the livecd.
However unfortunately I could not boot it, as described in an earlier post, despite being able to boot jessie, ascii, and debian10 live cd's with the same method.
Since I have succeeded booting a netinst beowulf image, maybe I'll use that if I decide to go on.
But it sure would be nice to be able to use a live iso.
I also have another question:
Is it possible to use jessie's debootstrap to grow the initial beowulf package tree?
There is no option to use beowulf in jessie's debootstrap, it will complain about missing /usr/share/debootstrap/scripts/... file,
but it's possible to use testing as the suite name.
Or should I download debootstrap .deb file from beowulf repo, and use that?
Thanks in advance.
Could not boot the desktop-live amd64 iso from hdd using grub.
Stuck on
"activating lvm volume groups... <timeout>"
than something like
"device /dev/sd<x> not available in udev database even after waiting for 1000000 microseconds.<another timeout>"
This second line is repeated for every hdd and partition sda,sda1,... sdb,sdb1,sdb2. ... loop0,loop1,
than goes back to the first device again and probably an infinite circle.
The grub cfg is as follows:
set root="hd<X>,<Y>"
set isofile="/devuan_beowulf_3.0.0_beta_amd64_desktop-live.iso"
loopback loop ($root)$isofile
linux (loop)/live/vmlinuz boot=live fromiso=/dev/sd<X+1><Y>$isofile username=devuan
initrd (loop)/live/initrd.img
x is hdd number(from 0 onward), y is partition number (from 1 onward).
I've used this method to boot jessie, ascii, and debian10 live isos succesfully many times in the past.
EDIT:
Corrected the error message - it's microseconds, not seconds.
Also burned the iso to a dvd, booted from there - same result.
Maybe if I wait for hours something will change, but I doubt it. Even ctrl-alt-del doesn't work.
Debian 10 live iso boots fine on this machine.
EDIT2:
The sha256 sum is correct.
I also tried the beowulf netinst image, and it booted correctly from hdd using grub.
No more jessie-backports or jessie-updates. Just jessie and jessie-security still work.
Thanks for clearing that up, fsmithred.
I understand that debian have also "archived" the jessie variant. However, it seems it's still possible to access the backports through archive.debian.org.
Is there a same thing for devuan?
It probably should be possible to add archive.debian.org to sources.list, than create a blacklist for all devuan-blacklisted or modified packages,
but I was wondering if there is an easier way.
I do realize that jessie is entering the "deprecated any day now" phase, but the reason backports may be needed is some jessie systems may still require something installed which is only available in backports. Zfs-dkms, to name just one example.
Please let me know if there's an"devuan-endorsed" way of still accessing jessie-backports.
If not, so be it, we are all eagerly awaiting the release of beowulf anyway.
EDIT: Please note, this is not an "emergency support request", everything's working as stable as is usual for devuan, security updates pulling in fine, etc.
Is jessie-backports no longer available?
I noticed I have lots of packages suddenly listed as "local" in apt/synaptic,
than after some inspection it seems most of them are from backports, which
seems to be no longer available.
For example zfs-dkms, originally from backports, now is shown as local
# apt search zfs-dkms
Sorting... Done
Full Text Search... Done
zfs-dkms/now 0.6.5.9-5~bpo8+1 all [installed,local]
OpenZFS filesystem kernel modules for Linux
Sources list for backports is:
# cat /etc/apt/sources.list.d/jessie-backports.list
deb http://auto.mirror.devuan.org/merged/ jessie-backports non-free contrib main
deb-src http://auto.mirror.devuan.org/merged/ jessie-backports non-free contrib main
Searching on pkginfo.devuan.org shows that zfs-dkms is not even present for jessie.
https://pkginfo.devuan.org/cgi-bin/d1pk … ase=jessie
zfs-dkms is just an example of a package which I am 100% sure I have not built locally but installed from backports. Same is happening to many other packages.
Is this expected behaviour due to jessie becoming deprecated,
or did I screw something up?
Updates for non-backported packages are coming in as expected.
edit: typo
This may be connected to your fonts and anti-aliasing settings.
Try changing fonts in firefox preferences, for example
use liberation sans, serif, and mono as safe defaults.
Turn on the option to prevent pages from using their own fonts.
If that doesn't help try to change fonts in your default desktop environment.
Try changing anti-aliasing settings as well.
Determine which of those options affects the output, and go from there.
It's alive!
Installing packages for ubuntu 18.04 did it for me.
They have all necessary patches applied to make it work with newer kernels.
No dependencies problems, libraries from ascii are of high enough versions, and it doesn't pull in any unnecessary stuff with it
Just download manually and install.deb files for these packages
oss4-base oss4-dkms oss4-gtk
from bionic beaver repos.
Sysv init scripts are included.
There are discussions on various forums about incompatibilities between some recent kernel versions and latest OSS versions.
Possibly OSS can not be run with latest kernels.
Another possible reason is perhaps recent patches to OSS could break the kernel module for my audio card.
Very unlikely, although theoretically possible, that this has to do with devuan itself.
Please report if anyone at all is using OSS4 successfully on ASCII.
Has anyone tried to use OSS4 as sound backend in ASCII?
I haven't been able to get any sound at all while running ASCII through OSS4. The default ALSA setup works ok.
Steps I've tried:
Install latest .deb from the OSS4 official site. Installs, compiles kernel modules, sound card model is identified correctly, but as soon as I try something as simple as 'osstest' I get a segfault and a stack trace in dmesg which goes around "audiopci_set_rate...".
The kernel modules are there, they are loaded and visible in 'lsmod', I even get an annoying 'beep' sound as soon as they get loaded, until I mute the input-channels through ossxmix, which does work. (Same behaviour on working jessie install) But no sound whatsoever.
The "forward-ported" .deb from jessie doesn't even get to compiling modules.
I tried compiling several versions from source (mostly later ones), but the best I can get is the same behaviour as described above.
I tried on two separate ascii test systems.
ALSA works ok on both systems, but OSS doesn't work and displays identical behaviour on both.
I am currenttly running jessie as my main system since march, OSS4 works perfectly, so I KNOW it's NOT a problem with my sound card. On the working jessie system, I am using official deb packages from jessie repos.
Would appreciate any insight.
The version of hd-media installer located at
https://pkgmaster.devuan.org/devuan/dis … n1/images/
confirmed to work with the current official ascii install cd as of the time of this writing.