#
…

2022-06-10

00:24derzahlcould it be an issue with launching zfsbotmenu through grub? ill try to get some more verbose output but theres not much more I can tweak without hacking on zfsbootmenu, i dont think.
00:24derzahlalso unclear from the previous convo as to whether kexec is a deadend or if its worth investigating further
00:27psykose has quit [Ping timeout: 480 seconds]
00:29psykose has joined #asahi
01:03makkiato[m] has quit [Quit: Client limit exceeded: 20000]
01:04DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
01:04DarkShadow44 has joined #asahi
01:11psykose has quit [Remote host closed the connection]
01:12psykose has joined #asahi
02:35PhilippvK has joined #asahi
03:10marvin24_ has joined #asahi
03:14marvin24 has quit [Ping timeout: 480 seconds]
03:14opticron has quit [Read error: Connection reset by peer]
03:22opticron has joined #asahi
03:26pyropeter2 has joined #asahi
03:28pyropeter1 has quit [Ping timeout: 480 seconds]
03:46kov has quit [Quit: Coyote finally caught me]
04:32Graypup_ has quit [Quit: meow]
04:32Graypup_ has joined #asahi
04:36Graypup_ has quit []
04:36Graypup_ has joined #asahi
05:12jluthra has quit [Remote host closed the connection]
05:13jluthra has joined #asahi
05:16the_lanetly_052__ has joined #asahi
05:26the_lanetly_052___ has joined #asahi
05:32the_lanetly_052__ has quit [Ping timeout: 480 seconds]
05:41svenit’ll only work if no stage in between tries to start more cores, fixing that requires psci
06:10Ry_Darcy has joined #asahi
06:24millenialhacker has quit [Quit: Konversation terminated!]
06:45eroux has joined #asahi
07:28___nick___ has joined #asahi
08:03MajorBiscuit has joined #asahi
08:04___nick___ has quit []
08:06___nick___ has joined #asahi
08:06___nick___ has quit []
08:08___nick___ has joined #asahi
09:15bisko has joined #asahi
09:27Ry_Darcy has quit [Remote host closed the connection]
10:23bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:32anatomic has joined #asahi
10:45anatomic has quit [Quit: WeeChat 3.5]
11:04MajorBiscuit has quit [Quit: WeeChat 3.5]
11:08MajorBiscuit has joined #asahi
11:14MajorBiscuit has quit [Quit: WeeChat 3.5]
11:17johncena[m] has quit [Quit: Client limit exceeded: 20000]
11:27MajorBiscuit has joined #asahi
11:42kov has joined #asahi
12:04MajorBiscuit has quit [Quit: WeeChat 3.5]
12:06MajorBiscuit has joined #asahi
12:13al3xtjames9 has joined #asahi
12:13al3xtjames has quit [Read error: Connection reset by peer]
12:13al3xtjames9 is now known as al3xtjames
12:38eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:47bisko has joined #asahi
13:05Ry_Darcy has joined #asahi
13:19Ry_Darcy has quit [Remote host closed the connection]
13:21eroux has joined #asahi
13:58SethBrasile[m] has quit [Quit: Client limit exceeded: 20000]
14:10FLHerne has quit [Quit: There's a real world out here!]
14:11FLHerne has joined #asahi
14:16Namidairo has quit [Quit: ZNC - https://znc.in]
14:17Namidairo has joined #asahi
14:22mipi[m]Is anybody running vscode or vscodium on Asahi? Since Chromium 102 is out now, I had the hope that vscodium should also run. Unfortunately it does not. vscodium installed via package vscodium-bin returns the old bug which is related to the 16K thing. Package vscodium does not built 😒
14:25M1bn3mar[m] has quit [Quit: Client limit exceeded: 20000]
14:33eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:38eroux has joined #asahi
14:43firox263[m] has joined #asahi
14:51Gaspare has joined #asahi
15:03steevmipi[m]: electron is likely lagging behind chromium releases a bit
15:04Gaspare has quit [Quit: Gaspare]
15:07psykoseif i had to bet it will be 1-2 years before electron is 102
15:07psykoseand another 3 after until actual apps migrate to that electron version
15:10_jannau_electron 19 is based on chromium 102
15:12_jannau_vscode is still on electron 18
15:14jakebot6 has quit [Ping timeout: 480 seconds]
15:15jakebot6 has joined #asahi
15:24derzahli was attempting to backport the 16k page size patch to chromium 101 but gave up once there was an ungoogled PR for 102. i didnt seem like it should be that hard, i think my issues were mostly build env related rather than the 16k patch.
15:26MajorBiscuit has quit [Quit: WeeChat 3.5]
15:58eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:59guillaume_g has quit []
16:00eroux has joined #asahi
16:00eroux has quit []
16:05luxio_39[m]<mipi[m]> "Is anybody running vscode or..." <- I was able to build the vscodium aur package, just had to first build some make dependency (but it of course gives the same error as vscodium-bin).
16:13ar has quit [Ping timeout: 480 seconds]
16:13amarioguy has quit [Remote host closed the connection]
16:15ar has joined #asahi
16:16luxio_39[m]Does anyone know what the intended way is to get something in an aur pkgbuild changed? I wrote a comment a while ago but the maintainer has neither answered nor changed the line I asked him to.
16:16luxio_39[m](the package in question is 'text-engine' which is a dependence of extension-manager for gnome, where I also asked for the same change and the maintainer did it)
16:20the_lanetly_052__ has joined #asahi
16:26the_lanetly_052___ has quit [Ping timeout: 480 seconds]
16:30ar has quit [Quit: leaving]
16:30Glanzmann has joined #asahi
16:31Glanzmannmipi[m]: Until electron/vscode works, you could use the 4kb patch from sven. https://tg.st/u/0001-4k-iommu-patch-2022-03-11.patch
16:32GlanzmannAs a workaround.
16:33kettenisGlanzmann: old news (and other ARM cores that implement PAC are likely to be vulnerable as well)
16:33ar has joined #asahi
16:34Gaspare has joined #asahi
16:34Glanzmannkettenis: I thought so, but I at least have not read about it. :-)
16:39eroux has joined #asahi
16:47Gaspare has quit [Quit: Gaspare]
16:49osaka1990 has quit [Remote host closed the connection]
16:50Gaspare has joined #asahi
16:51osaka1990 has joined #asahi
16:52osaka1990_ has joined #asahi
16:52osaka1990 has quit []
16:52the_lanetly_052___ has joined #asahi
16:58mpsGlanzmann: full paper is not yet public afaik
16:58the_lanetly_052__ has quit [Ping timeout: 480 seconds]
17:19mazspeculation introduces leakage, news at 11.
17:20mpswell, speculation is always 'speculation' and as such risky
17:23Gaspare has quit [Quit: Gaspare]
17:30mazdefine risk. what risky in a given context may not be tyhat much of a problem in another. and after almost 5 years of spectre security theatre, it really shows that the whole industry doesn't care.
17:33mipi[m]@glanzmann: Thanks, I'll try the patch
17:35mpsmaz: risk is risk (sorry for tautology) and speculation means 'I'm not sure what to do' which is risk by definition (and sorry for my bad english in a hope you understand what I mean)
17:37mazmps: again, it is only a security risk if you environment is risk adverse.
17:37mazs/you/your/
17:38mpsmaz: yes, but I'm speaking about concept
17:38eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:39mazmps: I think you have the wrong concept. speculation is about hypothesis. risk is about potential danger.
17:39mpsno, I understand that
17:40mpsproblem is to use hypothesis (and many in same time) in real world
17:41mpsand ofc bad implementations in CPUs, but we are OT now
17:43mpspsydroid[m]: thanks
17:43psydroid[m]thanks to someone from another channel
17:45Glanzmann has quit [Quit: EOF]
17:55roxfanthat shows a snapsot of a 404 page
17:58povikj`ey: love the rejoicing lina in frame
18:04Gaspare has joined #asahi
18:14derzahl has quit [Quit: auf wiedersehen]
18:30ciggi has quit [Remote host closed the connection]
18:36ciggi has joined #asahi
18:51derzahl has joined #asahi
18:53ComradeMisato[m]<j`ey> "https://twitter.com/LinaAsahi/..." <- this is a pretty big deal ngl
18:56Dcow[m]lol, Vadim Yuryev replied to lina's tweet.
18:56Dcow[m]Waiting one more <del>shitty</del> video from him
18:59ComradeMisato[m]didnt knew he was a born again christian
19:00derzahlupdate on zfsbootmenu. Trying a kexec -d manually on kernel and initrd returns: "kexec_file_load failed: Device or resource busy"
19:02derzahlj`ey: whattaya think? thats all Ive been able to get so far mostly. before that there is a line "image_arm64_probe: Bad arm64 image header" but that it before it tries decompression so normal?
19:04derzahlwow, finally a mbair with magsafe again. my prayers have been answered
19:05steevye, i'm looking forward to the midnight one, with magsafe
19:06derzahlyaup. i now see a future where I can one day retire my 2017 mbair
19:07derzahlno usb-c on the righthand side tho...come on apple guise
19:07derzahlbut still headphone jack! ugh
19:08svenNote that kexec isn’t going to work if zfsbootmenu brings up the secondary cores (which it will if it’s really just a Linux kernel with a fancy userland that pretends to be a bootloader)
19:12jannauit could use 'maxcpus=1' as kernel parameter for itself
19:12sventrue, that at least gives it a chance then
19:13Tano70 has joined #asahi
19:15derzahlok, ill build it to use maxcpus=1 then, if its not already
19:16matqua[m] has quit [Quit: Client limit exceeded: 20000]
19:17derzahldoes that look like the error it would get if trying to use multiple cores?
19:18sventhat last line just says something return EBUSY which doesn’t help much
19:19svencan you check if dmesg contains anything else?
19:21j`ey"Can't kexec: CPUs are stuck in the kernel."
19:21derzahlok will give it a try now thanks
19:21j`eyjust before a return -EBUSY;
19:21j`eysoo it might be that
19:22the_lanetly_052___ has quit [Ping timeout: 480 seconds]
19:22derzahl has quit [Remote host closed the connection]
19:40derzahl has joined #asahi
19:55OfirRubenov[m] has joined #asahi
20:04derzahlso booting with maxcpus=1 doesnt seem to matter. kexec still fails and dmesg does infact show "can't kexec: CPUs are stuck in the kernel"
20:04derzahlanything else I can try?
20:04joske has joined #asahi
20:04joske has quit [Remote host closed the connection]
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:08j`eyderzahl: double check dmesg to see that mxcpus actually worked, and only one CPU comes up
20:09jannauyes, maxcpus will not work. the stuck in kernel check uses num_possible_cpus
20:10jannauit might be possible to build an uniprocessor kernel
20:11j`eynot for arm64
20:11svenlooks like someone needs to continue working on that psci stuff ;)
20:12* j`eywhistles
20:12derzahlj`ey: "SMP: Total of 1 processors activated"
20:15derzahlok, im building zfsbotmenu using my default kernel. so build a separate uniprocessor kernel to use with zfsbootmenu?
20:16derzahljust disable SMP and set max supported CPUs to 1?
20:17jannaukexec will not work on apple silicon (for now)
20:17derzahlas long as Im building kernels, does anyone have any power saving tweaks that arent enabled by default?
20:17j`eySMP is not an option you can disable normally with Kconfig for arm64
20:17j`ey(aka it's just always on)
20:18derzahlj'ey: oh, it was like 20 years ago:) I havent touched it since
20:18jannauand even if you set NR_CPUS to 1 in .config it will reconfigure. the minimum is 2 for arm64
20:18derzahljannau: so building non-SMP kernel is useless?
20:18jannauit's not possible on arm64
20:22jannauI wonder what pipcet did for pearl. I guess they removed the check
20:23j`eyi think they added cpu_ops for the apple specific stuff
20:25jannauderzahl: you could patch the kernel. replace num_possible_cpus() with num_online_cpus() in https://elixir.bootlin.com/linux/v5.18.3/source/arch/arm64/kernel/smp.c#L1102
20:25jannauuse that patched kernel only for zfsbootmanager and only with maxcpus=1
20:26poviki made kexec work for the petitboot build
20:26poviklet's see
20:27jannauI think that would work but please test it before trusting it with impoertant data
20:27povik^-- no warranty to it
20:44derzahlok. i will try it.
21:21Gaspare has quit [Quit: Gaspare]
21:25Gaspare has joined #asahi
21:33AoV has quit []
21:34Gaspare has quit [Ping timeout: 480 seconds]
21:39nsklaus_ has quit [Quit: Textual IRC Client: www.textualapp.com]
21:39derzahlis anyone kernel ricing? share your secret recipes!
21:40derzahlespecially anything to do with power savings
21:44ComradeMisato[m]is lina just marcan as a 3d anime girl 🤔
21:44j`eyderzahl: you could look at CPU governors, maybe powersave for example
21:45derzahlwould setting timer freq to 300hz like default Arch F anything up?
21:46derzahlj`ey: got all the governors enabled. was thinking more ricey
21:46derzahlwhos got their rice dial turned up to 11?
21:47derzahli take it 'Suspend to RAM and standby' is completely broken since its disabled?
21:48j`eyyes wifi/pci is causing an issue with suspend currently
21:48j`eyI doubt 300hz tick would mess anything up
21:49derzahlj'ey: oh, thats all? so is it safe to compile in suspend and just disable in systemd?
21:51j`eyprobably
21:51j`eyif it tries to suspend it will crash
21:52derzahlanyone aware of apple specific patches that arent in master? I pull in a few genral patches from https://github.com/ptr1337/kernel-patches/tree/master/5.18
21:53j`eymaster meaning asahi?
21:53j`eynothing I know of, thats not WIP
21:55derzahli patched the BORE scheduler ¯\_(ツ)_/¯
22:23nsklaus has joined #asahi
22:27derzahl has quit [Ping timeout: 480 seconds]
23:07calm_dolphin[m] has joined #asahi
23:07jakebot6 has quit [Ping timeout: 480 seconds]
23:17Tano70 has quit [Ping timeout: 480 seconds]
23:26derzahl has joined #asahi
…