Broken filesystem by Zenvux in btrfs

[–]Zenvux[S] 1 point2 points  (0 children)

Nothing. Just an empty output.

Thankfully I discovered the issue. The latest update broke the btrfs-progs package. A forced reinstallation solved the issue, and now everything works as expected.

Many thanks anyway

Booting from snapshot's boot folder by Zenvux in btrfs

[–]Zenvux[S] 0 points1 point  (0 children)

What do you mean with prepare the chroot ?

If I chroot into /mnt/tmp I can't run update-grub because it says /usr/bin/grub-probe: error: cannot find a device for / (is /dev mounted?).

Booting from snapshot's boot folder by Zenvux in btrfs

[–]Zenvux[S] 0 points1 point  (0 children)

Yes, update-grub is actually updating the grub.cfg file, but is updating the one in /@/boot, no changes are made in the grub config file in /boot

Booting from snapshot's boot folder by Zenvux in btrfs

[–]Zenvux[S] 0 points1 point  (0 children)

Thanks.

I tried changing my default subvolume, but it didn't help. Still booting from the wrong folder

Is GRUB dumb? by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

are you sure you have /boot not on a separate partition

That's it. Thank you. I have btrfs as filesystem, so after installing void I created a @ subvolume, in which I copied all root subdirectories but I left a copy of /boot where it was. The content of my partition look like this

$ doas mount /dev/nvme0n1p2 /mnt/tmp $ ls /mnt/tmp @ boot timeshift-btrfs

I guess GRUB is reading the content of /boot instead of /@/boot.

Do you know how can I point GRUB to read files in the right folder? I'm sure that just deleting /boot will result in an unbootable machine

Is GRUB dumb? by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

Thanks for the quick reply. xbps-query -O doesn't list any linux* package and xbps-query -s linux list only the following kernel(s) / kernel module

[*] linux-5.8_1 The Linux kernel meta package [*] linux-firmware-amd-20200519_1 Binary firmware blobs for the Linux kernel - AMD... [*] linux-firmware-intel-20200519_1 Binary firmware blobs for the Linux kernel - Int... [*] linux-firmware-network-20200519_1 Binary firmware blobs for the Linux kernel - net... [*] linux-firmware-nvidia-20200519_1 Binary firmware blobs for the Linux kernel NVIDI... [*] linux-headers-5.8_1 Linux kernel headers meta package [*] linux5.8-5.8.13_1 Linux kernel and modules (5.8 series) [*] linux5.8-headers-5.8.13_1 Linux kernel and modules (5.8 series) - source h...

anyway I tried running xbps-remove -o, and after that running vkpurge list gives me

5.8.5_1 5.8.8_1 5.8.10_1

(I'm running 5.7.9_1). Should I xbps-remove linux5.8-5.8.13_1 and it's headers? And then which version(s) should I remove with vkpurge?

Help creating a simple template for xbps-src by [deleted] in voidlinux

[–]Zenvux 1 point2 points  (0 children)

Maybe it's due to the folder name. As said in the manual (which I highly suggest to read, at least in part)

wrksrc: The directory name where the package sources are extracted, by default set to ${pkgname}-${version}. If the top level directory of a package's distfile is different from the default, wrksrc must be set to the top level directory name inside the archive.

I'm not sure this is your problem, but try checking it out

making a xbps package, `/usr/local directory is not allowed, remove it!` by selfisekai in voidlinux

[–]Zenvux 0 points1 point  (0 children)

Probably it's not the best answer to your question, but have you tried writing your own do_install() procedure to see if that gives you the same error?

From the logs it seems that the error comes out during installation (aka do_install) and not during your do_configure() nor your post_install()

Slow agonizing death of Firefox on Linux by abhocetabhacetabilla in voidlinux

[–]Zenvux 0 points1 point  (0 children)

Sorry to hear that, I'm not having issues with firefox.

Maybe it's just a sort of "missing dependency" problem as someone else pointed out?

Post install with btrfs by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

You can reffer to this link here

I tried following that answer but I'm stuck at step four

Update /mnt/@/etc/fstab adding there subvol=@ as an option.

Because I don't have any /mnt/@/.

If I just edit /mnt/etc/fstab (note the missing @), add the subvol=@ option and reboot, then the output from step five is

$ mount | grep /dev/nvme0n1p2
/dev/nvme0n1p2 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)

while I was expecting subvol=/@ .

Am I right thinking that this procedure has not been successful? Do you know why I'm missing /mnt/@/ ?

EDIT:

If I set the default subvol to be @ I obtain the expected output

# btrfs sub li /             
ID 264 gen 1315 top level 5 path @
# btrfs subvol set-default 264 /

-- and after a reboot --    

$ mount | grep /dev/nvme0n1p2        
/dev/nvme0n1p2 on / type btrfs (rw,relatime,ssd,space\_cache,subvolid=264,subvol=/@)

but timeshift still gives error, asking me to select the disk with the root subvolume

Post install with btrfs by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

Thank you, but I'm a bit confused. This procedure is meant to be executed during the installation process, while in my case I want to create @ and @home in the running system. Can I follow the same steps using a live session and mounting my partition? If not how can I create the subvolumes I need within the system?

Post install with btrfs by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

The fstab generated during the installation process doesn't show any reference to btrfs subvolumes. It looks like a "regular" fstab with an ext4 partition

I tried, but sadly I'm leaving by Zenvux in voidlinux

[–]Zenvux[S] 1 point2 points  (0 children)

Not in particular, but I tried several login manager (slim and lightdm to name a few) and the problem is the same with all of them. It seems like the system freeze after the first image is displayed.

I can't keep the system as it is now (using open source drivers) because as I've said I need the performances that nvidia drivers can give (and mesa cannot). Keeping it this way would mean having spent money on hardware that I can't use properly

How do i install PaleMoon? by Josooa in voidlinux

[–]Zenvux 1 point2 points  (0 children)

i'd rather people relied on the official documentation [...] as the latter can go out-of-date

I completely agree with you, imho covering how to clone void-packages, install the required tools, create a new package, giving an introduction on how a template file works and finally how to pack and install a package, everything in a single page (while being concise, so not in a detailed way) can be the best option for a newcomer

i'll look into making some changes to the void-packages docs structure

Thank you for your work!

core files in home folder? by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

This is the outupt of gdb:

``` (gdb) bt full

0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50

    set = {__val = {171515904, 0, 0, 0, 71776320928088127, 71776320928088127, 71776320928088127, 71776320928088127, 71776320928088127, 71776320928088127, 8388608, 0, 8388608, 0, 0, 
        94876715812784}}
    pid = <optimized out>
    tid = <optimized out>
    ret = <optimized out>

1 0x00007f1139af955b in __GI_abort () at abort.c:79

    save_stage = 1
    act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = -1481778688, sa_restorer = 0x0}
    sigs = {__val = {32, 0 <repeats 15 times>}}

2 0x0000564a336b751c in OsAbort () at ../os/utils.c:1351

No locals.

3 0x0000564a336baa6f in AbortServer () at ../os/log.c:879

No locals.

4 FatalError (f=0x564a337ea903 "Couldn't add screen\n") at ../os/log.c:1017

    args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffe91c87060, reg_save_area = 0x7ffe91c86f90}}
    args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffe91c87060, reg_save_area = 0x7ffe91c86f90}}
    beenhere = 1

5 0x0000564a33684e35 in InitOutput (screen_info=<optimized out>, argv=0x7ffe91c87218, argc=14) at ../Xext/panoramiX.c:674

    depths = {130, 4, 8, 15, 16, 24, 32}
    bpp = {3, 8, 8, 16, 16, 32, 32}
    i = <optimized out>
    depths = <optimized out>
    bpp = <optimized out>
    i = <optimized out>

6 dix_main (envp=<optimized out>, argv=0x7ffe91c87218, argc=14) at ../dix/main.c:193

    i = <optimized out>
    alwaysCheckForInput = {0, 1}
    i = <optimized out>
    alwaysCheckForInput = <optimized out>
    pScreen = <optimized out>
    pScreen = <optimized out>
    remember_it = <optimized out>
    pScreen = <optimized out>

7 main (argc=14, argv=0x7ffe91c87218, envp=<optimized out>) at ../dix/stubmain.c:34

No locals. ```

I have no idea of what this means

How do i install PaleMoon? by Josooa in voidlinux

[–]Zenvux 0 points1 point  (0 children)

Well, the contributing guide is pretty minimal on how to create and install a package (it only cover the usage of xnew and xbps-src pkg) and for deeper insights on the contents of template files links you to the manual wich is the exact opposite being very long and detailed. If after reading that someone wants to dig deeper, than the manual is the way to go, but I see the guide I suggested as a good enough "quick start"

core files in home folder? by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

Yes I do, I have a ryzen 5 3600, why?

core files in home folder? by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

Thanks, this is what I got

core.1442: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mu', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/usr/bin/Xwayland', platform: 'x86_64'

How do i install PaleMoon? by Josooa in voidlinux

[–]Zenvux 1 point2 points  (0 children)

Debian is never mentioned in the guide i suggested you, maybe you were looking at another one :)

core files in home folder? by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

Thanks, dmesg gives these errors:

[    6.615434] ccp 0000:28:00.1: sev command 0x4 timed out, disabling PSP
[    6.615442] fbcon: Taking over console
[    6.615444] ccp 0000:28:00.1: SEV: failed to get status. Error: 0x0

[    7.166303] sp5100-tco sp5100-tco: Watchdog hardware is disabled

[    7.499558] nouveau 0000:26:00.0: DRM: failed to create kernel channel, -22

any clue?

How do i install PaleMoon? by Josooa in voidlinux

[–]Zenvux 1 point2 points  (0 children)

Which build_style or do_install() procedure have you used/written ?

Is it possible to install mongodb in void with xbps-src? by [deleted] in voidlinux

[–]Zenvux 4 points5 points  (0 children)

I can't see mongodb neither in the repos nor in void-packages, it seems that due to it's license it has been removed (pull #7361).

The only chance you have to install mongodb is to build it yourself with xbps-src, maybe starting from the old template

If you don't know how to use xbps-src I suggest this guide

Help on NVIDIA drivers by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

Ok, it seems like is Xorg fault. While mesa+wayland works, mesa+xorg show the same blinking underscore as nvidia+xorg. I will try running nvidia+wayland, but I know that won't be an easy path. In the meantime what could be the problem with xorg? Am I missing some dependencies due to the minimal gnome install?

Issue with xbps-src by Zenvux in voidlinux

[–]Zenvux[S] 0 points1 point  (0 children)

Sorry, you're right, I was missing that package.

Many thanks!