The officially official Devuan Forum!

You are not logged in.

#1026 Re: Other Issues » Runit » 2021-03-23 21:29:42

I don't know how runit works, but for the " in a VM window, so I can't switch tty" part of the problem I would suggest that you start qemu with -serial mon:stdio so that the qemu monitor is available in the start terminal. Then use ^C a to "activate" it, and thereafter use verbatim commands like sendkey ctrl-altl-f2 (literally like that) for keys and key combinations that are not avialabable from the keyboard.

Or, you might want to use -serial mon:unix:/tmp/myvm instead to have the console available on the socket /tmp/myvm which you'd connect to with socat - unix-connect:/tmp/myvm or nc -u /tmp/myvm and then operate the qemu monitor through that (in the same way).

#1027 Re: Hardware & System Configuration » [SOLVED] USB 3.0 card, external drive and unknown algorithms » 2021-03-23 20:52:18

Did you try using the USB "address"? The above example shows bus 2 device 7 funciton 0 (well, the last is not shown but my guess).

#1028 Re: Hardware & System Configuration » [SOLVED] USB 3.0 card, external drive and unknown algorithms » 2021-03-22 04:37:18

A PCI "adddress" has format "bus : device . function" so I would guess on

-b 0x04 -d 0x00 -f 0x00

The USB codes are vendor and product and those would not be the ones to use here, a neither the bus and device indices for the USB sub system.

#1029 Re: Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-19 22:00:50

There's also the possibillity that the filenames are "urlencoded" by the file manager. It would mean that spaces have been replaced with "%20" (and a bit more).

You might try adding the following function:

urldecode() {
    bash -c "printf '%b' '$(echo "$1" | sed 's|%%| |g;s|%|\\x|g;s| |%|g')'"
}

to your /bin/sh script, and then use

convert "$(urldecode $1)" ...

TL;DR; In detail, that urldecode function for dash processes its given argument with sed to replace all %NN with \xNN except for occurrences  of %% which instead are replaced with single %. The resulting string is printed with bash printf using the %b format which makes all \xNN into characters of hexadecimal ASCII code NN.

Note that the sed processing uses space temporarily to make the %%-to-% translation bypass the  %NN-to-\xNN translation. It therefore misbehaves for an input that already has space characters.

#1030 Re: Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-18 23:18:00

Perhaps double quotes around %f makes a difference? and around %d as well, probably.

#1031 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-16 00:20:33

That's good information. Only the s* were interesting and in particular the sda* and sdb* entries which are adapters for SATA devices and their partitions. Apparently there is one "drive", sda, with 4 partitions and another, sdb, with 1 partition.

This kind of presents the same hardware picture as your post #34 execpt that it has sda4 instead of sda6.

That difference is probably the cause of your problem... and now we need @fsmithred to draw conclusions smile

#1032 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 23:18:57

Well, there should be less than 20 s* entries in /dev so a little bit of eye-to-hand copying would work for me smile

#1033 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 21:32:06

No worries. If you have a camera nearby you could take a picture and then refer to that...

Only those starting with "s" to begin with.

#1034 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-15 21:09:42

Ok, let's start with those starting with "s" other than "snapshot", "stderr", "stdin" and "stdout" (irrelevant if they are there or not).

#1036 Re: Desktop and Multimedia » [SOLVED] Nvidia error at boot » 2021-03-15 12:35:51

Hmm I think your last postsand my edit crossed in time; please confirm again while I go and get coffee ...

#1037 Re: Desktop and Multimedia » [SOLVED] Nvidia error at boot » 2021-03-15 11:59:29

Thanks. Maybe the support team has improved the feature beyond useful again... I'll have a word with them...

EDIT: there is the possibility the feature has just appeared. Perhaps you, @Altoid, could give it a try.

#1038 Re: Desktop and Multimedia » [SOLVED] Nvidia error at boot » 2021-03-15 11:47:41

If you look carefully you'll see a "Mark SOLVED" link near the top and one near the bottom of the page. Try "pushing" one of those.

#1039 Re: Other Issues » (Unattended-upgrades) Apparently I'm running Debian... Again. » 2021-03-15 10:45:34

The steps for a bug report are almost as simple as your fixing of that file:

  1. find out which package is concerned (unattended-upgrades)

  2. find out which version of that package you'r using (1.11.2)

  3. send an email to submit@devuan.org with a useful subject, and the body starting "formally" with 2 lines:

    Package: unattended-upgrades
    Version: 1.11.2

    then followed by a polite and useful treatise outlining the issue and preferrably including a patch that resolves it.

In this particular case, the "bug" is lack of maintaner effort to upgrade the fork of unattended-upgrades. Therefore beowulf got committed with the debian package version.

Your patch will go part of the way towards upgrading the forked package, which also needs any other changes since the last fork version, 0.93.1+vua2.0, including any adaption to the current package building pipline.

As it happens, the maintainer role for that forked package is currently vacant.

#1040 Re: Hardware & System Configuration » [SOLVED] Strange gparted situation » 2021-03-15 03:28:54

interesting.

I would have thought they would be made by udev but then it would be originating from /sys (or somwhere else?) unless something has blessed the system with some special udev rules; then likely in /etc/udev/rules.d rather than /lib/udev/rules.d.
Or possibly there's some residue from some past "journey" in /etc/fstan?

#1041 Re: Hardware & System Configuration » [SOLVED] Strange gparted situation » 2021-03-15 01:15:15

Maybe there are some dangling links in some /dev/disk/by-* directory?

#1042 Re: Installation » I just installed Devuan 3.1.0 Beowulf and it's cool » 2021-03-13 05:26:42

How do you test that your system is using TLS to connect to the DNS providers?

DNS over TLS has the standard port 853 rather than port 53 for "traditional DNS", so you might verify with tcpdump or similar.

#1043 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-13 01:34:52

Note that those are two quite different machine emulations. You should both add the -serial mon:stdio argument pair so that you can operate the qemu monitor and inspect the emulation. The monitor is then connected to stdin/out of the temrinal where you typed the qemu-system-x86_64 ... command, and you will "wake it up" by the C-A c sequence, which gives you the qemu monitor prompt.

At there, @dice would see, by the info block command, that the emulated hardware includes a disk (hd0), a cdrom (cd0) without media, a floppy reader (fd0) without media and an sd card drive (sd0) without media, whereas @fsmithred would instead not see any hard disk, but cd0 with media and fd0 and sd0 without media.

Going back to to OP case, I am guessing that the hardware seen by that boot is as per @dice, which would mean that the boot USB gets set up as the primary disk rather than as a cdrom (which the live-boot expects).

#1044 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-12 23:48:57

Ok. You'll need some disk reflection tool... mabe blkid or lsblk are included in the initrd, or I suppose an ls /dev would tell something ... all being tried at the (initramfs) prompt.

The deal is that at that time, the kernel has been loaded with the initrd as root file system, and then the init scripting cannot find the device where the "real live filesystem" is (that we know to be on the USB). This means in particular that the system has booted so far as to load the kernel and then, eventually, come to run the /bin/sh (typciallly a dash shell) of the initrd.

Since you can come that far, you should be able to recreate the USB with more utilities in the initrd; a task I'm hoping @fsmithred can guide you to...

EDIT: .. just saw the above post... you might follow @fsmithred's lead first; mine is more of fumbling in the dark.

#1045 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-12 22:49:39

Yes, that's right.

Basically I suspect that that kernel sees a slightly different device enumeation than the live-boot preparation code expected, and wrote in into the initrd boot procedure.

#1046 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-12 22:31:24

Hmm .. maybe I misunderstood, but isin't that what you refer to at post #25; it's where you come when you try to boot from your iso?

#1048 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-12 22:07:11

If you can come to the (initramfs) you're doing well: that prompt comes from having loaded the boot kernel and set up the initrd. That means that the machine has booted from the USB but it now runs into problems for "pivoting", i.e., on the attempt to transition the root file system point.

So at that prompt, you might be able to do soome "machine inspection" to figure out what is wrong. You might even create a fatter boot initrd to have more tools, eventually if necessary.

The first thing to do is to get an idea of the boot kernel's picture of the disks. Use df and fdisk -l for that.

Btw, you should be able to inspect that initrd init script on the system before (or when) writing the USB. It should be originating from the file /usr/share/initramfs-tools/init (or similar, if different with live-tools installed; @fsmithred might know)

#1049 Re: Installation » [SOLVED] Permissions for script in cron » 2021-03-08 20:18:43

Normally you'd need root permissions to put scripts there, and it will, if executable, run by cron as root.

However, the PATH is a common cause of issues, see e.g. man 5 crontab.

#1050 Re: Off-topic » A problem on my monitor » 2021-02-27 05:41:42

Have you tried replacing the monitor cable?

Board footer

Forum Software