SteveTech

joined 2 years ago
[–] SteveTech@programming.dev 7 points 10 months ago

I hadn't restarted my serial logger after I rebooted my laptop, leaving me with no clue about what caused the crash.

Probably way too late now, but if it was a proper kernel panic, it should've saved the dmesg in the kernel's pstore which saves to either ACPI or EFI storage (depending on BIOS or UEFI), which systemd then extracts to /var/lib/systemd/pstore/ on next reboot.

[–] SteveTech@programming.dev 4 points 11 months ago

Oh damn, phoronix comments are usually bad, but they really got off the rails this time!

[–] SteveTech@programming.dev 8 points 11 months ago (1 children)

I've never tried it, but there's Waypipe.

[–] SteveTech@programming.dev 2 points 11 months ago

I've seen an S3 option in Smokeless_UMAF, so maybe you can enable real suspend, but I haven't tried on my Framework 13 AMD.

[–] SteveTech@programming.dev 4 points 11 months ago

It seems like it's fixed now, but if possible use one of the mirrors, so everyone's not hitting that one server all that hard, it's usually faster too.

Or even better, use the torrent.

[–] SteveTech@programming.dev 2 points 11 months ago

This format's from 2017 I'm pretty sure.

https://hepwori.github.io/execorder/

[–] SteveTech@programming.dev 2 points 1 year ago

Yes, but it doesn't look like KPROBES_ON_FTRACE is supported on arm64. I did find this patch though which implements it: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20191218140622.57bbaca5@xhacker.debian/

If you don't know how to apply a patch, you can either paste the link into b4, or download the mbox and apply it with git am.

[–] SteveTech@programming.dev 4 points 1 year ago (1 children)

Ahh okay, that description kinda sounds like floppy drive power, but it probably is a proprietary thing.

Floppy disk drive power connector

[–] SteveTech@programming.dev 2 points 1 year ago (1 children)

Could also be slimline sata.

A slimline sata adaptor and DVD drive with a slimline sata connector

[–] SteveTech@programming.dev 2 points 1 year ago

Probably a long shot, but if you live in Australia (or maybe also New Zealand), Jaycar often sells the Ender 3 V3 SE for AU$250, which seemed like a really good price compared to other places I found.

[–] SteveTech@programming.dev 16 points 1 year ago

I couldn't find a hard answer to whether this supports EPYC only, or Ryzen too; so I put together this script to read the CPUID to detect for INVLPGB support according to the AMD64 Programmer’s Manual, and my 7800X3D does not support INVLPGB.

(Let me know if I've made an error though!)

Code

#include <stdio.h>
#include <stdint.h>

int main() {
    uint32_t eax, ebx, ecx, edx;

    eax = 0x80000008;

    __asm__ __volatile__ (
        "cpuid"
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
        : "a" (eax)
    );

    printf("EBX: 0x%x\n", ebx);

    if (ebx & (1 << 3)) {
        printf("CPU supports INVLPGB\n");
    } else {
        printf("CPU does not support INVLPGB\n");
    }

    return 0;
}

[–] SteveTech@programming.dev 10 points 1 year ago

That's INVLPG which has been there since the 486. The AMD64 Programmer's Manual has some info on the differences between INVLPG, INVLPGA, and INVLPGB though.

view more: ‹ prev next ›