Posts
3461
Following
207
Followers
344
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.

Back in 1982, I was pouring over these adverts..

1
2
1

Jarkko Sakkinen

gotta love #tiktok
0
0
0
Edited 7 months ago

Ok, the fact that the "AI" (NPU) chip controller inside Intel's new Meteor Lake CPUs uses SPARC instruction set (from 1990?) was not on my bingo cards for this year. https://chipsandcheese.com/2024/04/22/intel-meteor-lakes-npu/

5
8
1

Jarkko Sakkinen

never get bored to richard cheese :-) always gets you into good mood https://www.youtube.com/watch?v=JrMjvUzlohY
0
0
0

Jarkko Sakkinen

Edited 7 months ago

@Andi Luckily I’ve recently tested SGX cgroups patches with Tumbleweed, i.e. know how to compile equivalent distro kernel (as it is made for OpenSUSE) for any possible kernel tree :-) So can easily try this out once the bandwidth is available.

It is maybe even easier than Ubuntu kernel (which has been easiest so far):

./scripts/install-git-hooks # not sure whether this is really required
./scripts/tar-up.sh 
export LINUX_GIT=~/work/linux-tpmdd # clean clone swithed to branch of your choice
./scripts/osc_wrapper kernel-source/kernel-default.spec

The packages land to /var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/RPMS/x86_64. And obviously needs to be signed with a MOK key if secure boot is turned on.

0
0
1

Jarkko Sakkinen

Edited 7 months ago

I get something like this constantly with Steam:

[38438.072899] x86/split lock detection: #AC: ChaosGate.exe/11646 took a split_lock trap at address: 0x6fffe5f51242
[38441.268772] x86/split lock detection: #AC: ChaosGate.exe/11852 took a split_lock trap at address: 0x6ffff6801001
[38446.628277] x86/split lock detection: #AC: Loading.Preload/11762 took a split_lock trap at address: 0x6ffff6a3aee0
[38494.104580] i915 0000:03:00.0: [drm] GPU HANG: ecode 12:1:84dfd7f7, in ChaosGate.exe [11646]
[38494.104588] i915 0000:03:00.0: [drm] ChaosGate.exe[11646] context reset due to GPU hang

Any ideas? This is now KDE6/X11 but the similar hang happens also with Wayland.

CPU is i9-13900k, GPU is ARC A770 and OS is Tumbleweed. Kernel is latest mainline but this has happened also few previous kernel versions.

Also this seems to happen with any possible game but all of them are Windows games running with Proton.

3
0
0

Jarkko Sakkinen

Edited 7 months ago
#electro from early 00's electroclash (i-f, miss kittin, the hacker, felix da housecat, legowelt, ural 13 diktators etc) era https://www.youtube.com/watch?v=xZpZWm5GRXo #polytron
0
1
0

Jarkko Sakkinen

Edited 7 months ago
Flying from Tampere to Tallinn late this week in order to attend #UNCLOUD Day. It is first visit to Estonia ever. lu.ma/uncloud. #tallinn #estonia
0
0
0

Jarkko Sakkinen

Love #bootlin toolchains but wish there was also #aarch64 hosted versions of each :-) https://toolchains.bootlin.com/
1
0
0

MICROSOFT GitHub comments abused to push malware via Microsoft repo URLs
https://www.bleepingcomputer.com/news/security/github-comments-abused-to-push-malware-via-microsoft-repo-urls/

There, fixed it for you, @BleepingComputer

1
2
0

Jarkko Sakkinen

Edited 7 months ago
#ChatGPT delivered me value for the first time ever :-) Asked what is the best 1000 W PSU on a budget.
0
0
1

Jarkko Sakkinen

Edited 7 months ago
Pilot episode of #Fallout watched. First Prime Video complained about region for no good reason. Then i cursed quite a lot (and loud) and tried to cancel Prime (which was on free trial). Then Amazon offered me additional free month and I accepted that, and also playback started working 🤷

Pilot was amazing tho... And yeah, 40 days of trial left.
0
0
1

Jarkko Sakkinen

Edited 7 months ago
With the right configuration and ntsync driver, wineasio and some other components you could make a "boot to wine" image perfected for audio. I.e. make better Windows than Windows for audio software.

These days even super proprietary things like iLok manager can be made to work in wine.
0
0
0

Jarkko Sakkinen

Is there generic probe style timeout in Linux kernel that you could pair with eBPF script? I.e. can you say somehow that "if a process context is stuck more than X seconds, please trigger this eBPF". I.e. then you could inspect location of PC, dump stack and whatnot.
1
0
1

Jarkko Sakkinen

Edited 7 months ago

Just wanted try out what I minimally need for qemu-system-x86_64 -kernel arch/x86/boot/bzImage:

#!/usr/bin/env bash

set -e

make defconfig
scripts/config --set-str CONFIG_INITRAMFS_SOURCE "initramfs.txt"
yes '' | make oldconfig

cat > initramfs.txt << EOF
dir /dev 755 0 0
nod /dev/console 644 0 0 c 5 1
nod /dev/loop0 644 0 0 b 7 0
dir /bin 755 1000 1000
slink /bin/sh busybox 777 0 0
file /bin/busybox initramfs/busybox 755 0 0
dir /proc 755 0 0
dir /sys 755 0 0
dir /mnt 755 0 0
file /init initramfs/init.sh 755 0 0
EOF

mkdir initramfs

curl -sSf https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/busybox-static-1.36.1-r25.apk | tar zx --strip-components 1
cp busybox.static initramfs/busybox

cat > initramfs/init.sh << EOF
#!/bin/sh
mount -t proc none /proc
mount -t sysfs none /sys
sh
EOF

“linux from scratch” in 32 lines :-)

#linux #kernel #alpine

3
3
2

Jarkko Sakkinen

Edited 7 months ago
Anyone know what different tools RISC-V provides for cache policy. I know e.g. that fence.i empties the icache but does it have something like MTRR on x86? I'm sort of in "not sure what I'm looking for" phase with this.

#riscv #x86 #mtrr
0
0
0

Jarkko Sakkinen

Edited 7 months ago
Do not use Kate but since Krita has been so successful could be a good move 🤷 I mean Krita has been successful to the point that people know Krita but do not necessarily know KDE.

https://cullmann.io/posts/kate-on-all-platforms-2024/
0
0
0

My B4 prototype, 15+ years old. Original battery. Still works and battery charging is no problem. Impressive little machine :)

6
4
2

Jarkko Sakkinen

Edited 7 months ago
I've been strongly opinionated that CPU vendors are not paying the price of getting their confidential computing technologies to upstream but just made up analogue what goes wrong.

Think of desktop Linux. It is not business at scale but it is still mandatory piece for enabling business at scale.

Think of the world where Linux would run only on data centers but all development could be done only in Windows, and for testing, even when just playing with an idea, you would need a server rack with four figure price.

This is the world of confidential computing.
0
0
2
Show older