2022-07-16
00:20Catyre has joined #asahi
00:28Catyre has quit [Ping timeout: 480 seconds]
00:28_alice has quit [Server closed connection]
00:29_alice has joined #asahi
00:30klange has quit [Server closed connection]
00:30klange has joined #asahi
00:48robher has quit [Server closed connection]
00:49robher has joined #asahi
01:00___nick___ has quit []
01:01ptudor has joined #asahi
01:16msteffen has quit [Server closed connection]
01:16msteffen has joined #asahi
01:17adamjm has quit [Server closed connection]
01:17adamjm has joined #asahi
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi
01:28sjg1 has quit [Server closed connection]
01:28sjg1 has joined #asahi
01:32dviola has left #asahi [WeeChat 3.5]
01:41rann has quit [Server closed connection]
01:41rann has joined #asahi
01:55millenialhacker has joined #asahi
02:03millenialhacker has quit [Ping timeout: 480 seconds]
02:04Catyre has joined #asahi
02:08eric_engestrom has quit [Server closed connection]
02:08eric_engestrom has joined #asahi
02:09qyousef_ has joined #asahi
02:12Catyre has quit [Ping timeout: 480 seconds]
02:17nkaretnikov has quit [Server closed connection]
02:17nkaretnikov has joined #asahi
02:23jluthra has quit [Remote host closed the connection]
02:33Simonx22 has quit [Server closed connection]
02:33Simonx22 has joined #asahi
02:44geerlingguy has quit [Server closed connection]
02:44geerlingguy has joined #asahi
02:56PhilippvK has joined #asahi
02:59phiologe has quit [Ping timeout: 480 seconds]
03:14Catyre has joined #asahi
03:16marvin24_ has joined #asahi
03:17millenialhacker has joined #asahi
03:18derzahl has joined #asahi
03:20marvin24 has quit [Ping timeout: 480 seconds]
03:25millenialhacker has quit [Ping timeout: 480 seconds]
03:33nehsou^ has quit [Ping timeout: 480 seconds]
03:34kov has quit [Quit: Coyote finally caught me]
03:48Catyre has quit [Remote host closed the connection]
03:49Catyre has joined #asahi
03:53doggkruse has joined #asahi
03:57Catyre has quit [Ping timeout: 480 seconds]
03:58Catyre has joined #asahi
04:01doggkruse has quit [Ping timeout: 480 seconds]
04:05Catyre has quit [Remote host closed the connection]
04:06Catyre has joined #asahi
04:09peac has quit [Server closed connection]
04:09peac has joined #asahi
04:11daniels has quit [Server closed connection]
04:11daniels has joined #asahi
04:32eta has quit [Server closed connection]
04:32eta has joined #asahi
04:40millenialhacker has joined #asahi
04:41Catyre has quit [Remote host closed the connection]
04:42Catyre has joined #asahi
04:46kode54 has joined #asahi
04:48millenialhacker has quit [Ping timeout: 480 seconds]
04:50Catyre has quit [Ping timeout: 480 seconds]
05:01chadmed has joined #asahi
05:12Catyre has joined #asahi
05:24ptudor_ has joined #asahi
05:29ptudor has quit [Ping timeout: 480 seconds]
05:31Catyre has quit [Remote host closed the connection]
05:32Catyre has joined #asahi
05:40Catyre has quit [Ping timeout: 480 seconds]
05:44Glanzmann has joined #asahi
05:45Glanzmannjannau: Now, that Linus Torvalds has ordered an M2 air, can you tell me which branches of u-boot, m1n1 and kernel Leif Liddy (the other Fedora asahi contributor) and I need to make him seemless entry possible?
05:47Glanzmannnicolas17: It was a private email to me, abxoe, marcan, sven, Jannau, Mark and Joey. A reply to when I tried to pitch the m1 to him a few months back ...
05:49chadmedGlanzmann: if you pick the commits indicated in the PKGBUILDs repo for the kernel, u-boot and m1n1 they should be the most stable m2 support at the moment
05:50sorear_ has quit [Server closed connection]
05:50sorear_ has joined #asahi
05:50chadmedthe latest tagged m1n1 works, the releng/installer-release branch of u-boot works and the commit tagged as asahi-5.19-rc5-6 for the kernel works too
05:50Glanzmannchadmed: I see, thanks. I have no macbook M2 air, but a friend of mine has. I'll be on a sailing trip with him in 2 weeks, so I'll test it.
05:53Glanzmannpogo 12.50. So mono. But today I'm going on a cat https://www.ebay-kleinanzeigen.de/s-anzeige/katamaran-eagle-20-hf-carbon/2113814941-211-6170 (but the foils broke yesterday, so we are eiher using C daggerboards) or my cat (Narca 17 with C daggerboards).
05:55chadmedthe most impressive ive managed is getting a nautitech open 46 up to 18kts through a squall i really should not have gone through :P
05:56Glanzmannchadmed: The pogo is easier to handle than the rcv type sailing boats due to two ruddes. Unless you want to go backward with the motor. Than you need one boats length until you have any feedback from the boat to the rudder ...
05:57GlanzmannWith the pogo 12.50 you can go 8 knots upwind and 14 downwind (without the geannaker out). But this will be a familiy trip, so we're not going to push it. :-)
05:57Z751 has quit [Server closed connection]
05:57Z750 has joined #asahi
05:58risk has quit [Server closed connection]
05:58risk has joined #asahi
05:59Glanzmannchadmed: That was the pogo12.50 (mono). With the nacra 17 I have upto 19 knots going upwind (but with a light crew - 130kg total).
06:02millenialhacker has joined #asahi
06:05steev has quit [Server closed connection]
06:05chadmedit's not so bad in calm waters with light winds or if youre not trying to set any speed records
06:05nicolas17 has quit [Quit: Konversation terminated!]
06:06steev has joined #asahi
06:06chadmedcruising the whitsundays on 40-50' sailing cats for a week at a time is something i am truly grateful to be able to do semi-regularly
06:07chadmedchugging along at 6-12kts hopping from one island to the next depleting the world's supply of shiraz
06:09mpsI concluded that understanding wind need a lot of learning and experience, at least for me. I saw and talked with people who are perfect at these things
06:10chadmedyeah it takes practice and isn't for everyone especially if you want to become "good" at it
06:10Ry_Darcy has joined #asahi
06:10chadmedim not ashamed to say im quite reliant on my instruments and chartplotter and could never effectively do what Glanzmann does in that video to any degree of competency
06:12NekomimiScience has quit [Server closed connection]
06:12NekomimiScience has joined #asahi
06:12millenialhacker has quit [Ping timeout: 480 seconds]
06:37x56_ has quit [Server closed connection]
06:38x56 has joined #asahi
07:11kallsyms has quit [Server closed connection]
07:11kallsyms has joined #asahi
07:11Catyre has joined #asahi
07:13Catyre has quit [Remote host closed the connection]
07:13Catyre has joined #asahi
07:18tpw_rules has quit [Server closed connection]
07:18tpw_rules has joined #asahi
07:22krbtgt has quit [Server closed connection]
07:22krbtgt has joined #asahi
07:24tmlind has quit [Server closed connection]
07:24tmlind has joined #asahi
07:36rossy has quit [Server closed connection]
07:37rossy has joined #asahi
07:47Catyre has quit [Remote host closed the connection]
07:47millenialhacker has joined #asahi
07:48djorz has quit [Server closed connection]
08:00the_lanetly_052__ has quit [Remote host closed the connection]
08:00millenialhacker has quit [Ping timeout: 480 seconds]
08:03reillyeon has joined #asahi
08:10millenialhacker has joined #asahi
08:24millenialhacker has quit []
08:27the_lanetly_052 has joined #asahi
08:35Catyre has joined #asahi
08:43Catyre has quit [Ping timeout: 480 seconds]
09:10BlueIn2Red has joined #asahi
09:33the_lanetly_052 has quit [Remote host closed the connection]
09:38Catyre has joined #asahi
09:39BlueIn2Red has quit [Ping timeout: 480 seconds]
09:40saintdev_ has quit [Server closed connection]
09:40saintdev_ has joined #asahi
09:44philpax__ has quit [Server closed connection]
09:45philpax__ has joined #asahi
09:46Catyre has quit [Ping timeout: 480 seconds]
09:49jbowen has quit [Server closed connection]
09:49jbowen has joined #asahi
10:04the_lanetly_052 has joined #asahi
10:16mustache_ride____ has quit [Server closed connection]
10:16mustache_ride____ has joined #asahi
10:19sa1 has quit [Server closed connection]
10:19sa1 has joined #asahi
10:21ovf has quit [Server closed connection]
10:21ovf has joined #asahi
10:26tardyp has quit [Server closed connection]
10:26tardyp has joined #asahi
10:28aeroraptor has quit [Server closed connection]
10:28aeroraptor has joined #asahi
10:29maennich has quit [Server closed connection]
10:29maennich has joined #asahi
10:35chadmed has quit [Remote host closed the connection]
10:39chadmed has joined #asahi
10:42AdamTuby[m] has joined #asahi
10:46AdamTuby[m]Hey, I'm currently trying to disable System Integrity Protection over the Asahi Linux volume in my mac, but after running `csrutil disable` and picking Asahi Linux, it always returns an error claiming: `you must start up from the copy of macOS Recovery that is paired to your startup disk`. I'm confused as to what I should be doing in that case.
10:46AdamTuby[m]Adam.
10:46AdamTuby[m]Would appreciate any type of help/guidance,
10:49jannauor use the boot picker and pres the option key, the button text should change to "use always"
10:51jannauGlanzmann: the firmware handling for touchpad is a little troublesome. modules need to be in the initramfs to work reliable but they can't be in the initramfs provided by the installer since it's non-redistributable
10:52AdamTuby[m]chadmed: gotcha, will try that. I actually tried that a few hours ago but I got into a boot loop after not booting Asahi for a long time so I'm now reinstalling it to retry.
11:03svenGlanzmann: fwiw, last time he only wanted to use "at most a few downstream patches" (which makes sense because he wants to test the patches he pulls) and i'm not sure we're there yet
11:05MajorBiscuit has joined #asahi
11:16n1ghtmare has quit [Server closed connection]
11:16nameless has joined #asahi
11:18tdmm has joined #asahi
11:20d4ve has joined #asahi
11:21coder_kalyan has joined #asahi
11:47djorz has joined #asahi
11:51MajorBiscuit has quit [Ping timeout: 480 seconds]
11:56Kintsugi[m] has joined #asahi
12:00nehsou^ has joined #asahi
12:02MajorBiscuit has joined #asahi
12:05AdamTuby[m]<AdamTuby[m]> "gotcha, will try that. I..." <- got it working! thank you very much jannau chadmed
12:10Major_Biscuit has joined #asahi
12:14AdamTuby[m]btw, just wondering, has anyone here been able to write a kernel module that interacts with system registers successfuly on Asahi? I'm wondering if I'm only the one who thinks it's not possible on Asahi.
12:14jochum has joined #asahi
12:19AdamTuby[m]sven: generally, the System Registers of the ARM architecture of the M1
12:20AdamTuby[m]for instance, the performance monitoring unit (PMU)'s registers - take for example PMCR0
12:20alethkit has joined #asahi
12:20AdamTuby[m]loaded a kernel module which always reads out 0 from that register, even if I write to that register one line of assembly prior to reading it
12:21AdamTuby[m]while on macOS I'm able to read/write from/to that register
12:21Chainsaw has joined #asahi
12:22kettenisjannau: so can't you delay the load until the root filesystem is mounted and load it from there?
12:23jannaukettenis: I think you can't initialize the keyboard only first and later then firmware is available load it and have a working touchpad
12:25jannauAdamTuby[m]: have you enabled the PMU? Mac OS does that but linux doesn't. There is a linux driver for the PMU
12:25kettenishmm, so that means if we want to support tke keyboard in u-boot, we'd have to load it there
12:26kettenisthat's going to be interesting, although I don't think there is anything fundamental that prevents us from loading the firmware from the ESP in u-boot
12:28dottedmagAnd macOS bootloader deals with it by not talking to keyboard at all, and only reacting to power button that is connected separately, right?
12:28AdamTuby[m]jannau: Interesting. I didn't know you have to enable it. Are you talking about the perf driver for the M1 PMU?
12:30babble has joined #asahi
12:31jannauAdamTuby[m]: you have to enable counting for the PMC registers: https://github.com/AsahiLinux/docs/wiki/HW:ARM-System-Registers#performance-counter-registers
12:32AdamTuby[m]yea, the PMCR0. I haven't been able to interact with it through the kernl
12:32AdamTuby[m]s/kernl/kernel/
12:33AdamTuby[m]loaded a kernel module which tries to read out its value and writes back to it with bit 30 enabled, but it always reads out as 0.
12:34janrinze has joined #asahi
12:34Ariadne has joined #asahi
12:35Major_Biscuit has quit [Ping timeout: 480 seconds]
12:35jannaudottedmag: there a discrete pins for the keys (not just power) the bootloader is interested
12:41babble has quit []
12:42kettenisjannau: speaking about upstreaming, is the dart series now derailed because of M2 support?
12:48jannauno, just delayed by Robin's review and lack of time on my part. I'm working on it right now
12:51kefu_ has joined #asahi
12:56AdamTuby[m]<jannau> "Adam Tuby: possibly aic (if..." <- I would assume some system registers are configured such that any access to the PMU pops an interrupt that is handled exclusively by the perf driver. Bummer, I hope it gets fixed.
12:59Ry_Darcy has quit [Remote host closed the connection]
13:15JTL has joined #asahi
13:16janrinzeSpecifically because of https://github.com/AsahiLinux/asahi-installer/commit/6ea8eb4445198c7ecb1e1e38fd96df9451dc7f79
13:20janrinzeAh.. i think i already found the answer. a few days ago Marcan already said: `curl -L https://alx.sh/dev | sh` and should support Mac Studio
13:32jochum_ has joined #asahi
13:33MajorBiscuit has quit [Ping timeout: 480 seconds]
13:35jochum has quit [Ping timeout: 480 seconds]
13:45Ry_Darcy has joined #asahi
13:46Catyre has joined #asahi
13:54janrinzeLovely.. the machine comes with 12.3.1 out of the box and the installer does not support 12.3.1..
13:55Catyre has quit [Ping timeout: 480 seconds]
14:04babble has joined #asahi
14:12VinDuvjanrinze: What did the installer say? From what I can tell, the version check should work even with the extra .1
14:14dottedmagjanrinze: For the fun I have tried to compile clang on M1 Max and on a pretty beefy desktop Threadripper, and it took them approximately the same time.
14:14Ry_DarcyUpgraded from macos 12.3 to 12.4 30 minutes ago. Running a Mac Mini M1 (Debian 5.19.0-rc5). No glitches. Worked.
14:22janrinzedottedmag: to be honest, I have been using ARM since 1991 and always knew that it was the future of desktop compute. The StrongARM was a great step towards that but it wasn't until the smartphones and Apple that ARM got a real big catchup with Intel/AMD
14:24dottedmagjanrinze: Yes, exciting times. Thought I never thought that desktop x86 will be threatened not by a radically better newcomer, but by a 35-year old ISA.
14:27janrinzedottedmag: the ISA isn't the one from 35 years ago.. Apple does not support tha 32bit ISA. 64 bit ISA was introduced much later.
14:28jannaujanrinze: the software update uses snapshots of the system partition. I suspect the installer might be confused if there's already snapshot for the update
14:32janrinzejannau: It's possible that it started downloading the upgrade already at first boot (tried the asahi dev installation on first boot)
14:35janrinzeMy mini was running at 2 GHz and to get it to run at 2.98 I updated m1n1 and u-boot. (not without a lot of trial and error)
14:36janrinzeon top of that the USB doesn't see the keyboard until the kernel has booted. So no access to u-boot or grub settings..
14:38janrinzeI used the commands from https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/HEAD:/bootstrap.sh
14:44turo has joined #asahi
14:56nehsou^ has quit [Remote host closed the connection]
15:03Ry_Darcy has quit [Remote host closed the connection]
15:06conradev8 has joined #asahi
15:12blevins has joined #asahi
15:18babble has quit [Remote host closed the connection]
15:18babble has joined #asahi
15:18babble has quit [Remote host closed the connection]
15:21babble has joined #asahi
15:24janrinzewhat i would like to do is to setup another entry in grub to boot with that partition. can setup Debian sid in that partition, copy firmware and modules etc. setup fstab and so on..
15:24vx has quit [Server closed connection]
15:25vx has joined #asahi
15:25babble has quit [Remote host closed the connection]
15:25babble has joined #asahi
15:26babble has quit [Remote host closed the connection]
15:26babble has joined #asahi
15:31joshheyse[m] has joined #asahi
15:33VinDuvjanrinze: https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet#physical-disk-layout-on-apple-silicon
15:35systwi has quit [Server closed connection]
15:35systwi has joined #asahi
15:43babble has quit [Remote host closed the connection]
15:43babble has joined #asahi
15:47dkh^ has joined #asahi
15:47janrinzemy preferred setup on 'experimental' systems is to have two rootfs partitions so that you can always revert to a known working system.
15:49hell__ has quit [Server closed connection]
15:49janrinzeBesides that, backup of a partition and restore is a breeze after that.. also testing other linux distributions. just keep one partition with a good working OS.
15:49hell__ has joined #asahi
15:50babble has quit [Remote host closed the connection]
15:50babble has joined #asahi
15:52enomem has quit [Server closed connection]
15:53enomem has joined #asahi
15:57babble has quit [Remote host closed the connection]
15:57babble has joined #asahi
16:12babble has quit [Remote host closed the connection]
16:13dkh^ has quit [Ping timeout: 480 seconds]
16:18marcanjanrinze: "unable to determine primary os" often happens when you have a *pending* update
16:19marcaneven Apple themselves get confused when that happens - my Mac Mini claims macOS 12.4 in the boot picker in recovery mode, but it's macOS 12.3 (with a pending update)
16:20marcanit has to do with the way updates work. the "live" snapshot remains the old version but the actual volume contents are partial, and the installer looks at that to determine versions, and sometimes there isn't even a version file at that point
16:20marcanwould be nice to figure out the magic recipe to determine the "live" snapshot version and mount that instead, that would fix the confusion
16:24dkh^ has joined #asahi
16:25jabashque has quit [Server closed connection]
16:25jabashque has joined #asahi
16:33MajorBiscuit has joined #asahi
16:46Manouchehri has quit [Server closed connection]
16:46Manouchehri has joined #asahi
17:00Catyre has joined #asahi
17:08MajorBiscuit has quit [Quit: WeeChat 3.5]
17:39Catyre has quit [Remote host closed the connection]
17:39Catyre has joined #asahi
17:48Catyre has quit [Ping timeout: 480 seconds]
17:55jleightcap has quit [Server closed connection]
17:55jleightcap has joined #asahi
18:08mrCyborg has quit [Server closed connection]
18:08mrCyborg has joined #asahi
18:10the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:21WhyNotHugo has quit [Server closed connection]
18:21WhyNotHugo has joined #asahi
18:32Catyre has joined #asahi
18:33keegans has quit [Server closed connection]
18:33keegans has joined #asahi
18:39janrinzeafter creating a second partition with debian I noticed that i apparently don't have the required firmware on that partition.. where do we store that?
18:40doggkruse has joined #asahi
18:47Catyre has quit [Remote host closed the connection]
18:51babble has joined #asahi
18:52doggkruse has quit [Ping timeout: 480 seconds]
18:54dkh^ has quit [Ping timeout: 480 seconds]
19:06babble has quit [Remote host closed the connection]
19:28yamii has quit [Quit: WeeChat 3.5]
19:40Catyre has joined #asahi
19:44wookey[m]OK. I'm in the same room as my macbook now. So, back to the prolem that running the asahi installer identifies my machine as being an intel one, because the test 'arch -arm64 ls' returns "Bad CPU type in executable". but 'arch' along says 'arm64', and 'arch -x86_64 ls' also says "Bad CPU type in executable". Anyone got any clues what's going on?
19:45yamii has joined #asahi
19:45wookey[m]some sugested that having 'brew' for the wrong arch installed might be the problem. How do I check?
19:46wookey[m]I'm trying to follow https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/ but have fallen at pretty-much the first hurdle. Assume I know plenty about Debian and nothing about macs
19:57dottedmagwookey[m]: disregard brew: it's in the real macos, not in this separate restricted recovery one.
19:59wookey[m]If I nobbled that test in the install.sh script it gets as far as trying to run main.py and then reports 'Killed: 9'
19:59babble has joined #asahi
20:00babble has quit [Remote host closed the connection]
20:00babble has joined #asahi
20:02VinDuvwookey[m]: I think your macOS version is too old. Can you check the contents of /System/Library/CoreServices/SystemVersion.plist?
20:03dkh^ has joined #asahi
20:05wookey[m]Ah yes OK. just found a line saying 'upgrade to 12.3 or later before runing the script'. That wasn't in the instructions I was following :-)
20:07MajorBiscuit has joined #asahi
20:11doggkruse has joined #asahi
20:12wookey[m]OK. Found the upgrade thing back in real macOS. It says it'll take about 5 hours. Guess I'll be back in a while if I get stuck again :-)
20:12Catyre has quit [Remote host closed the connection]
20:13Catyre has joined #asahi
20:15VinDuvbtw I don’t think you need to be in the recovery environment to run the installer. The standard Asahi installer doesn’t require it, at least
20:15doggkruse_ has joined #asahi
20:17wookey[m]They are Mr Glanzmann 's instructions. I presume there is a reason to do it this way? But yes a line at the top saying 'upgrade MacOS to at least 12.3' would be helpful.
20:17nicolas17 has joined #asahi
20:19doggkruse has quit [Ping timeout: 480 seconds]
20:21dottedmagwookey[m]: would you mind opening a ticket that installer fails to detect such an old macOS?
20:21Catyre has quit [Ping timeout: 480 seconds]
20:23babble has quit []
20:23babble has joined #asahi
20:24babble has quit [Remote host closed the connection]
20:43doggkruse has joined #asahi
20:45doggkruse_ has quit [Ping timeout: 480 seconds]
20:46doggkruse_ has joined #asahi
20:51doggkruse has quit [Ping timeout: 480 seconds]
20:59doggkruse has joined #asahi
21:01doggkruse_ has quit [Ping timeout: 480 seconds]
21:01Catyre has joined #asahi
21:09Catyre has quit [Ping timeout: 480 seconds]
21:20zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:22zzywysm has joined #asahi
21:52MajorBiscuit has quit [Ping timeout: 480 seconds]
21:59dkh^ has quit [Remote host closed the connection]
22:00Catyre has joined #asahi
22:16Catyre has quit [Remote host closed the connection]
22:22Catyre has joined #asahi
22:34Catyre has quit [Ping timeout: 480 seconds]
22:36wookey[m]OK. filed. Is there a version check you want me to test before I nuke this 11.0.1 installation?
22:47Catyre has joined #asahi
23:03Catyre has quit [Remote host closed the connection]
23:08nehsou^ has joined #asahi
23:49Catyre has joined #asahi
23:58Catyre has quit [Ping timeout: 480 seconds]