Posts
3458
Following
207
Followers
343
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.

Jarkko Sakkinen

one of my favorite game themes: https://www.youtube.com/watch?v=ICX6hK3Se6k
0
0
0

Jarkko Sakkinen

Two weeks after this left at Tampere University working in https://sochub.fi/. Not that much is going to change to because I'm still happily stuck at my home and working on RISC-V peculiarities. It's a broken CPU architecture still in my opinion but that's why also fun to work with :-)
0
0
2

Ukrainaan kerätään läppäreitä, tablet-laitteita, puhelimia, latureita, jne. pelastuspalvelujen kautta.

https://intermin.fi/ukraina/materiaaliapu-ukrainaan/laptops-for-ukraine

0
2
1

ahh yes, the little known 3M Sandblaster Pro

4
7
1

Jarkko Sakkinen

I switched back to GNU screen from tmux :-) Color issues are gone in 5.0. I was using screen anyway all the time because it can do serial ports.
0
0
0

Jarkko Sakkinen

Edited 2 months ago

Cool, GNU Screen 5.0 is out [1].

Screen has its set of perks when compared to tmux:

  1. screen -L -dmS <session name> <command> (I’m aware of tmux pipe-pane but it is not atomic with the session creation).
  2. screen <serial port>
  3. Local layout for a session per client.

When doing kernel CI the first bullet can be sometimes particularly useful.

[1] https://lwn.net/Articles/987700/

#screen #tmux #lwn

1
2
4
Edited 2 months ago

OK, it's official. The next ER will be May 14-16 in Nice, France. -- https://embedded-recipes.org

0
13
2

This is why women cover their drinks when enters the room.

34
10
2

Jarkko Sakkinen

Edited 2 months ago

This was pretty cool:

❯ sudo bpftrace -e 'k:tpm_transmit { @start[tid] = nsecs; } kr:tpm_transmit { @[kstack, ustack, comm] = sum(nsecs - @start[tid]); delete(@start[tid]); } END { clear(@start); }'
Attaching 3 probes...
^C

@[
    tpm_transmit_cmd+46
    tpm2_flush_context+120
    tpm2_commit_space+197
    tpm_dev_transmit.constprop.0+137
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 2860677
@[
    tpm_dev_transmit.constprop.0+111
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/16:1]: 3890693
@[
    tpm_transmit_cmd+46
    tpm2_load_context+195
    tpm2_prepare_space+410
    tpm_dev_transmit.constprop.0+54
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 9058524
@[
    tpm_transmit_cmd+46
    tpm2_save_context+179
    tpm2_commit_space+314
    tpm_dev_transmit.constprop.0+137
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 11426260
@[
    tpm_transmit_cmd+46
    tpm2_load_context+195
    tpm2_prepare_space+318
    tpm_dev_transmit.constprop.0+54
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 14182972
@[
    tpm_transmit_cmd+46
    tpm2_save_context+179
    tpm2_commit_space+155
    tpm_dev_transmit.constprop.0+137
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 22597059
@[
    tpm_dev_transmit.constprop.0+111
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 1958500581

Gives me total ns time for each possible stack while bpftrace was running :-) Nothing spectacular but I believe this might be enough to get hold of a performance regression:

https://lore.kernel.org/linux-integrity/D43JXBFOOB2O.3U6ZQ7DASR1ZW@kernel.org/

I’m a total beginner with eBPF stuff, and not an expert in tracing and profiling, so any improvement suggestions are welcome.

#linux #kernel #bpftrace

0
1
2

Thorsten Leemhuis (acct. 1/4)

Is there anything you would like to ask the Foundation's TAB (Technical Advisory Board)?

Then come to the "ask us anything" session with the current TAB at the @linuxplumbersconf 2024, which is currently scheduled for 9:00 on Friday, September 20[1].

And if you can't be there, just tell me your questions: I'll try to bring a few of them forward if I get a chance.

[1] https://lore.kernel.org/all/87zforv3zc.fsf@trenco.lwn.net/

3
4
3

Jarkko Sakkinen

I needed to check if files went to a generated image and by accident noticed that 7z is actually quite nice ad-hoc tool for checking such thing:

❯ 7z l efi-part.vfat

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,32 CPUs 13th Gen Intel(R) Core(TM) i9-13900KF (B0671),ASM,AES-NI)

Scanning the drive for archives:
1 file, 33521664 bytes (32 MiB)

Listing archive: efi-part.vfat

--
Path = efi-part.vfat
Type = FAT
Physical Size = 33521664
File System = FAT16
Cluster Size = 2048
Free Space = 19079168
Headers Size = 90112
Sector Size = 512
ID = 2421383688

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-09-10 20:59:32 D....                            EFI
2024-09-10 20:59:32 ....A     14349312     14350336  bzImage
2024-09-10 20:59:32 D....                            loader
2024-09-10 20:59:32 D....                            loader/entries
2024-09-10 20:59:32 ....A          126         2048  loader/entries/buildroot.conf
------------------- ----- ------------ ------------  ------------------------
2024-09-10 20:59:32           14349438     14352384  2 files, 3 folders
0
0
0

Jarkko Sakkinen

Edited 2 months ago
BTW, the only "professional network" I used while looking for a new position was #Mastodon. There could not be a better environment to find new and interesting opportunities.
1
0
1

Jarkko Sakkinen

Edited 2 months ago
If I could decide, I would block all services from the EU region, which require smart phone to bind into them. That is the only real need for smart phone in my life and I'd really like to switch to a basic phone.

In my block list would be at least BookBeat, Signal, WhasApp and Telegram. We should just ban them until they fix the situation :-) I'm sure SMS based binding is doable.

I just hate smartphones so much...
0
0
2

Jarkko Sakkinen

Edited 2 months ago
After scanning ~40 pages of contract documents I just want to say that #GNOME Document Scanner rocks! No bullshit workflow, gets to job done. This is rare 👍
2
0
3

Jarkko Sakkinen

oops, went of the hook with this: https://lore.kernel.org/all/D400W37FR01S.CLFIKA98YWX7@kernel.org/

I think it would be pretty interesting idea to use BPF like this in kernel.
0
0
0

Jarkko Sakkinen

If #decentralized #services become a thing, I wonder if #mainframe 's make a strong comeback 🙂 They are machines made for transaction throughput.
1
0
0
Edited 2 months ago

Since there seems to be renewed interest in , I thought I'd have a look at the my CDE utilities from back then, which led me to my old Web page “Linux on a VAIO Z600LEK” http://dynalabs.de/mxp.old/vaio/index.html, because there's a screenshot of my work environment from back then. ⇢

1
2
1

Jarkko Sakkinen

Edited 2 months ago
So after reading around the Internet I got the picture that already GCC 14.1 could be able to compile Rust-Linux. Is this correct? Amazing progress if it is! I did not simply know this.

I'll give it a shot since 14.1 came out already at Spring if I recall correctly.

Update: I have now gccrs build ongoing, after that I'll just point it out to cargo with build.rustc-wrapper and see how it compiles user space code first. Very interesting and exciting ;-)

#linux #kernel #rust #gcc
1
1
2
Show older