millenialhacker has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
eric_engestrom has quit [Server closed connection]
eric_engestrom has joined #asahi
qyousef_ has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
nkaretnikov has quit [Server closed connection]
nkaretnikov has joined #asahi
jluthra has quit [Remote host closed the connection]
Simonx22 has quit [Server closed connection]
Simonx22 has joined #asahi
geerlingguy has quit [Server closed connection]
geerlingguy has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
marvin24_ has joined #asahi
millenialhacker has joined #asahi
derzahl has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
nehsou^ has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
doggkruse has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
peac has quit [Server closed connection]
peac has joined #asahi
daniels has quit [Server closed connection]
daniels has joined #asahi
eta has quit [Server closed connection]
eta has joined #asahi
millenialhacker has joined #asahi
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
kode54 has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
Catyre has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi
Catyre has joined #asahi
ptudor_ has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
Glanzmann has joined #asahi
<Glanzmann>
jannau: 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?
<nicolas17>
Glanzmann: ...got a mailing list link handy? :D
<Glanzmann>
nicolas17: 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 ...
<nicolas17>
ah okay
<nicolas17>
better that way tbh, mailing list post would turn into phoronix hype in 10ms
<chadmed>
Glanzmann: 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
sorear_ has quit [Server closed connection]
sorear_ has joined #asahi
<chadmed>
the 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
<Glanzmann>
chadmed: 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.
<chadmed>
oh thats actually awesome, ive never tried my hand at racing style vessels
<chadmed>
the most impressive ive managed is getting a nautitech open 46 up to 18kts through a squall i really should not have gone through :P
<chadmed>
that video is sick :D
<Glanzmann>
chadmed: 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 ...
<Glanzmann>
chadmed: The video is 21 knots downwind the fastest I have on record with my boat.
<chadmed>
thats impressive, id be too chicken to hang outboard like that tbh
<Glanzmann>
With 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. :-)
Z751 has quit [Server closed connection]
Z750 has joined #asahi
risk has quit [Server closed connection]
risk has joined #asahi
<chadmed>
thats pretty good upwind for a cat
<Glanzmann>
chadmed: That was the pogo12.50 (mono). With the nacra 17 I have upto 19 knots going upwind (but with a light crew - 130kg total).
<nicolas17>
>not a literal cat
<nicolas17>
disappointing
<chadmed>
ok thats even more impressive to me haha
millenialhacker has joined #asahi
* mps
just once tried to 'drive' (sail) vessel and never again, to risky and complicated for me
steev has quit [Server closed connection]
<chadmed>
it's not so bad in calm waters with light winds or if youre not trying to set any speed records
nicolas17 has quit [Quit: Konversation terminated!]
steev has joined #asahi
<chadmed>
cruising 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
<chadmed>
chugging along at 6-12kts hopping from one island to the next depleting the world's supply of shiraz
<mps>
I 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
<chadmed>
yeah it takes practice and isn't for everyone especially if you want to become "good" at it
Ry_Darcy has joined #asahi
<chadmed>
im 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
<mps>
yes, that what he does looks fantastic imo
NekomimiScience has quit [Server closed connection]
<chadmed>
yeah id love to have the guts to hang outboard and go that fast on a racing frame
NekomimiScience has joined #asahi
<mps>
I'm impressed
millenialhacker has quit [Ping timeout: 480 seconds]
x56_ has quit [Server closed connection]
x56 has joined #asahi
kallsyms has quit [Server closed connection]
kallsyms has joined #asahi
Catyre has joined #asahi
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
tpw_rules has quit [Server closed connection]
tpw_rules has joined #asahi
krbtgt has quit [Server closed connection]
krbtgt has joined #asahi
tmlind has quit [Server closed connection]
tmlind has joined #asahi
rossy has quit [Server closed connection]
rossy has joined #asahi
Catyre has quit [Remote host closed the connection]
millenialhacker has joined #asahi
djorz has quit [Server closed connection]
the_lanetly_052__ has quit [Remote host closed the connection]
millenialhacker has quit [Ping timeout: 480 seconds]
reillyeon has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit []
the_lanetly_052 has joined #asahi
Catyre has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
BlueIn2Red has joined #asahi
the_lanetly_052 has quit [Remote host closed the connection]
Catyre has joined #asahi
BlueIn2Red has quit [Ping timeout: 480 seconds]
saintdev_ has quit [Server closed connection]
saintdev_ has joined #asahi
philpax__ has quit [Server closed connection]
philpax__ has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
jbowen has quit [Server closed connection]
jbowen has joined #asahi
the_lanetly_052 has joined #asahi
mustache_ride____ has quit [Server closed connection]
mustache_ride____ has joined #asahi
sa1 has quit [Server closed connection]
sa1 has joined #asahi
ovf has quit [Server closed connection]
ovf has joined #asahi
tardyp has quit [Server closed connection]
tardyp has joined #asahi
aeroraptor has quit [Server closed connection]
aeroraptor has joined #asahi
maennich has quit [Server closed connection]
maennich has joined #asahi
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
AdamTuby[m] has joined #asahi
<AdamTuby[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.
<AdamTuby[m]>
Adam.
<AdamTuby[m]>
Would appreciate any type of help/guidance,
<chadmed>
boot into macos and select asahi as your startup disk
<chadmed>
the next time you boot into 1TR it will be inside the recovery paired to asahi
<jannau>
or use the boot picker and pres the option key, the button text should change to "use always"
<jannau>
Glanzmann: 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
<AdamTuby[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.
<sven>
Glanzmann: 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
MajorBiscuit has joined #asahi
n1ghtmare has quit [Server closed connection]
nameless has joined #asahi
tdmm has joined #asahi
d4ve has joined #asahi
coder_kalyan has joined #asahi
djorz has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
Kintsugi[m] has joined #asahi
nehsou^ has joined #asahi
MajorBiscuit has joined #asahi
<AdamTuby[m]>
<AdamTuby[m]> "gotcha, will try that. I..." <- got it working! thank you very much jannau chadmed
Major_Biscuit has joined #asahi
<AdamTuby[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.
jochum has joined #asahi
<sven>
uh, what do you mean with system registers?
<AdamTuby[m]>
sven: generally, the System Registers of the ARM architecture of the M1
<AdamTuby[m]>
for instance, the performance monitoring unit (PMU)'s registers - take for example PMCR0
alethkit has joined #asahi
<AdamTuby[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
<AdamTuby[m]>
while on macOS I'm able to read/write from/to that register
Chainsaw has joined #asahi
<kettenis>
jannau: the firmware is only needed for the touchpad isn't it?
<kettenis>
jannau: so can't you delay the load until the root filesystem is mounted and load it from there?
<jannau>
kettenis: I think you can't initialize the keyboard only first and later then firmware is available load it and have a working touchpad
<jannau>
AdamTuby[m]: have you enabled the PMU? Mac OS does that but linux doesn't. There is a linux driver for the PMU
<kettenis>
hmm, so that means if we want to support tke keyboard in u-boot, we'd have to load it there
<kettenis>
that'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
<jannau>
let's hope we find a way to reset it
<dottedmag>
And macOS bootloader deals with it by not talking to keyboard at all, and only reacting to power button that is connected separately, right?
<AdamTuby[m]>
jannau: Interesting. I didn't know you have to enable it. Are you talking about the perf driver for the M1 PMU?
<AdamTuby[m]>
yea, the PMCR0. I haven't been able to interact with it through the kernl
<AdamTuby[m]>
s/kernl/kernel/
<AdamTuby[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.
janrinze has joined #asahi
Ariadne has joined #asahi
Major_Biscuit has quit [Ping timeout: 480 seconds]
<jannau>
dottedmag: there a discrete pins for the keys (not just power) the bootloader is interested
<jannau>
AdamTuby[m]: possibly aic (if interrupts are enabled) and perf driver interferring
babble has quit []
<kettenis>
jannau: speaking about upstreaming, is the dart series now derailed because of M2 support?
<jannau>
no, just delayed by Robin's review and lack of time on my part. I'm working on it right now
<jannau>
m2 / dart-t8110 support doesn't really touch it
<kettenis>
cool
kefu_ has joined #asahi
<AdamTuby[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.
Ry_Darcy has quit [Remote host closed the connection]
JTL has joined #asahi
<janrinze>
how do i run the lastest installer? (v0.4pre4)
<janrinze>
Ah.. 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
<janrinze>
I'll be brave and try it out.
jochum_ has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
jochum has quit [Ping timeout: 480 seconds]
Ry_Darcy has joined #asahi
Catyre has joined #asahi
<janrinze>
Lovely.. the machine comes with 12.3.1 out of the box and the installer does not support 12.3.1..
Catyre has quit [Ping timeout: 480 seconds]
<janrinze>
Must be something with having a sub '.1' in the version string.
<janrinze>
upgrading to 12.4 now..
<janrinze>
on the bright side.. this mac is faster than all my arm boards combined :-)
babble has joined #asahi
<VinDuv>
janrinze: What did the installer say? From what I can tell, the version check should work even with the extra .1
<dottedmag>
janrinze: 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.
<Ry_Darcy>
Upgraded from macos 12.3 to 12.4 30 minutes ago. Running a Mac Mini M1 (Debian 5.19.0-rc5). No glitches. Worked.
<janrinze>
VinDuv: it said 'Unable to determine primary OS.'
<VinDuv>
weird… I don’t think it has something to do with the .1 version though
<jannau>
was the 12.4 update already downloaded?
<janrinze>
dottedmag: 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
<janrinze>
jannau: not sure what you mean.
<dottedmag>
janrinze: 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.
<janrinze>
dottedmag: the ISA isn't the one from 35 years ago.. Apple does not support tha 32bit ISA. 64 bit ISA was introduced much later.
<dottedmag>
ah, right
<jannau>
janrinze: the software update uses snapshots of the system partition. I suspect the installer might be confused if there's already snapshot for the update
<janrinze>
Ry_Darcy: when did you install your debian?
<janrinze>
I'm also on Debian but still at 5.18.0-asahi
<janrinze>
jannau: Could be. The upgrade is still busy..
<Ry_Darcy>
In March.
<janrinze>
jannau: It's possible that it started downloading the upgrade already at first boot (tried the asahi dev installation on first boot)
<Ry_Darcy>
You can download the 5.19-rc5 kernel from Asahi and compile it yourself.
<janrinze>
Ry_Darcy: do you also build your own m1n1 and u-boot?
<Ry_Darcy>
No, not necessary at this stage. That might change soon though.
<janrinze>
My 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)
<Ry_Darcy>
Thomas Glanzmann has some excellent Debian related documentation.
<janrinze>
on top of that the USB doesn't see the keyboard until the kernel has booted. So no access to u-boot or grub settings..
<Ry_Darcy>
How are you measuring your CPU frequencies?
<jannau>
no pcie support in u-boot -> no usb-a ports. usb-c ports work
<janrinze>
jannau: neither USB-C nor USB-A works for me on u-boot..
<janrinze>
Mac Studio says 8 minutes remaining..
<jannau>
try a different keyboard
<janrinze>
okay.. more coffee..
<janrinze>
jannau: tried 4 different keyboards! no such luck.
<janrinze>
even tried my trusty old USB 1.1 keyboard that i use with my FPGA projects
<jannau>
on one usb-c port?
<janrinze>
that ha a USB-A plug.. so I guess i could try something like a usb-c to A cable thingy
<janrinze>
the USB-C ports are 2.0 under Linux, right?
<jannau>
the usb-a ports will not work with current u-boot
turo has joined #asahi
<jannau>
yes, usb 2.0. The USB-A ports on the mac studio do not work in linux yet
<janrinze>
Okay, then I will check the old keyboard with a cable adapter.
<janrinze>
Oh.. this is on the mini. I haven't gotten Linux installed yet on the Stucio..
<janrinze>
Ooops Studio
<jannau>
yes, understood. I just wanted adjust the expectations for the studio
<janrinze>
thanks. that's kind of you.
<janrinze>
jannau: how does u-boot deal with USB hubs?
<jannau>
works here
<janrinze>
installing asahi linux now.. this will take a while.. be back later!
<jannau>
should be much faster than a mac os update
<janrinze>
haha.. probably
<janrinze>
so if i install 'minimal' then changing it to Debian would be simpler, right?
nehsou^ has quit [Remote host closed the connection]
<janrinze>
jannau: choose the firmware for boot .. 12.3 or 12.4 ?
<janrinze>
would this matter?
<jannau>
12.3, 12.4 is only for m2 and might not be supported
Ry_Darcy has quit [Remote host closed the connection]
conradev8 has joined #asahi
blevins has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
babble has quit [Remote host closed the connection]
<janrinze>
installation went flawless!!
<janrinze>
is it easy to add partitions? like using free space to setup a second partition?
<janrinze>
i would normally use fdisk or such. I'm unsure if that would work with asahi
babble has joined #asahi
<janrinze>
what 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..
vx has quit [Server closed connection]
vx has joined #asahi
babble has quit [Remote host closed the connection]
<janrinze>
I'm probably asking stuff that's been asked here before.. i'll see if i can find out.
babble has joined #asahi
babble has quit [Remote host closed the connection]
<janrinze>
already added an new partition. still wonder if I should have left some space.
babble has quit [Remote host closed the connection]
babble has joined #asahi
dkh^ has joined #asahi
<janrinze>
my preferred setup on 'experimental' systems is to have two rootfs partitions so that you can always revert to a known working system.
hell__ has quit [Server closed connection]
<janrinze>
Besides 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.
hell__ has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
enomem has quit [Server closed connection]
enomem has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
babble has quit [Remote host closed the connection]
dkh^ has quit [Ping timeout: 480 seconds]
<marcan>
janrinze: "unable to determine primary os" often happens when you have a *pending* update
<marcan>
so if it is already downloaded and partially installed
<marcan>
even 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)
<marcan>
it 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
<marcan>
would be nice to figure out the magic recipe to determine the "live" snapshot version and mount that instead, that would fix the confusion
dkh^ has joined #asahi
jabashque has quit [Server closed connection]
jabashque has joined #asahi
MajorBiscuit has joined #asahi
Manouchehri has quit [Server closed connection]
Manouchehri has joined #asahi
Catyre has joined #asahi
MajorBiscuit has quit [Quit: WeeChat 3.5]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
Catyre has quit [Ping timeout: 480 seconds]
jleightcap has quit [Server closed connection]
jleightcap has joined #asahi
mrCyborg has quit [Server closed connection]
mrCyborg has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
WhyNotHugo has quit [Server closed connection]
WhyNotHugo has joined #asahi
Catyre has joined #asahi
keegans has quit [Server closed connection]
keegans has joined #asahi
<janrinze>
after 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?
doggkruse has joined #asahi
Catyre has quit [Remote host closed the connection]
babble has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
dkh^ has quit [Ping timeout: 480 seconds]
babble has quit [Remote host closed the connection]
yamii has quit [Quit: WeeChat 3.5]
Catyre has joined #asahi
<wookey[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?
yamii has joined #asahi
<wookey[m]>
some sugested that having 'brew' for the wrong arch installed might be the problem. How do I check?
<wookey[m]>
(brew says 'command not found' here in the restrictied 'options' boot terminal.
<dottedmag>
wookey[m]: disregard brew: it's in the real macos, not in this separate restricted recovery one.
<wookey[m]>
OK. So the recovery environment is a whole separate mini MacOS?
<dottedmag>
yes
<wookey[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'
babble has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
<VinDuv>
wookey[m]: I think your macOS version is too old. Can you check the contents of /System/Library/CoreServices/SystemVersion.plist?
dkh^ has joined #asahi
<VinDuv>
(the version is indicated at the line after the <key>ProductVersion</key> line)
<wookey[m]>
11.0.1
<wookey[m]>
VinDuv: ^
<wookey[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 :-)
MajorBiscuit has joined #asahi
<wookey[m]>
Can I upgrade from in recoveryOS? I'm guessing not.
doggkruse has joined #asahi
<wookey[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 :-)
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi
<VinDuv>
btw 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
doggkruse_ has joined #asahi
<wookey[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.
nicolas17 has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
<dottedmag>
wookey[m]: would you mind opening a ticket that installer fails to detect such an old macOS?
Catyre has quit [Ping timeout: 480 seconds]
babble has quit []
babble has joined #asahi
babble has quit [Remote host closed the connection]