2021-11-17
00:12torstenvl has joined #asahi
00:51torstenvl has quit [Remote host closed the connection]
00:52marcanit should be configurable, but I'd say default to disarm since we can't assume the kernel has that driver built in / enabled
01:04INTL has quit []
01:07torstenvl has joined #asahi
01:08yuyichao_ has joined #asahi
01:11torstenv_ has joined #asahi
01:12yuyichao has quit [Ping timeout: 480 seconds]
01:13torstenv_ has quit [Remote host closed the connection]
01:15torstenvl has quit [Ping timeout: 480 seconds]
01:19yuyichao has joined #asahi
01:23yuyichao_ has quit [Ping timeout: 480 seconds]
01:41hendry1 has joined #asahi
01:41yuyichao has quit [Ping timeout: 480 seconds]
01:47hendry has quit [Ping timeout: 480 seconds]
02:23marcangoing to stream a bit working on idevicerestore; I need to add Monterey support (I already have a PoC that relies on some manual steps; I just need to integrate it)
02:23marcansince my Max is coming in today and I want to make sure all that works fine on the new machines too
02:30aidenfoxivey has quit [Quit: aidenfoxivey]
02:30aidenfoxivey has joined #asahi
02:35aidenfoxivey has quit [Quit: aidenfoxivey]
02:36aidenfoxivey has joined #asahi
02:42yuyichao has joined #asahi
02:46aidenfoxivey has quit [Quit: aidenfoxivey]
02:46aidenfoxivey has joined #asahi
02:49bgb_ has joined #asahi
02:51bgb has quit [Ping timeout: 480 seconds]
03:09c10l has quit [Ping timeout: 480 seconds]
03:28aquijoule_ has joined #asahi
03:35richbridger has quit [Ping timeout: 480 seconds]
03:41aidenfoxivey has quit [Quit: aidenfoxivey]
03:41aidenfoxivey has joined #asahi
03:44PhilippvK has joined #asahi
03:45aquijoule_ is now known as richbridger
03:45kov has quit [Quit: Coyote finally caught me]
03:47torstenvl has joined #asahi
03:47torstenvl has quit [Remote host closed the connection]
03:48torstenvl has joined #asahi
03:48torstenvl has quit [Remote host closed the connection]
03:48torstenvl has joined #asahi
03:48torstenvl has quit [Remote host closed the connection]
03:49torstenvl has joined #asahi
03:57torstenvl has quit [Ping timeout: 480 seconds]
04:45marvin24_ has joined #asahi
04:53marvin24 has quit [Ping timeout: 480 seconds]
05:45robinp[m] has joined #asahi
05:51aidenfoxivey has quit [Quit: aidenfoxivey]
05:52aidenfoxivey has joined #asahi
05:53robinp[m] has quit [Ping timeout: 480 seconds]
06:58chamomile has quit [Ping timeout: 480 seconds]
07:09marcanit also lets me know when I receive a package in the shared lockers next to the mailboxes
07:11marcanfun fact: the brand is "aiPhone". Yes, really. This company had the trademark in Japan before Apple.
07:13marcanthen in 2015 apparently they started selling doorbells that link up with iPhones :-) (my apartment is too old for that)
07:21aidenfoxivey has quit [Quit: aidenfoxivey]
07:22aidenfoxivey has joined #asahi
07:23torstenvl has joined #asahi
07:41bgb has joined #asahi
07:42bgb_ has quit [Ping timeout: 480 seconds]
07:56bgb has quit [Quit: WeeChat 3.3]
08:22chamomile has joined #asahi
08:59torstenvl has quit [Remote host closed the connection]
09:00linearcannon has joined #asahi
09:01torstenvl has joined #asahi
09:09torstenvl has quit [Ping timeout: 480 seconds]
09:47aidenfoxivey has quit [Quit: aidenfoxivey]
09:47aidenfoxivey has joined #asahi
10:13sailorek1234 has joined #asahi
10:21yuyichao has quit [Ping timeout: 480 seconds]
11:03aidenfoxivey has quit [Quit: aidenfoxivey]
11:03aidenfoxivey has joined #asahi
11:06yuyichao has joined #asahi
11:24nkaretnikov has quit [Read error: Connection reset by peer]
11:25nkaretnikov has joined #asahi
11:27sjg1 has quit [Ping timeout: 480 seconds]
11:28sjg1 has joined #asahi
11:32torstenvl has joined #asahi
11:32aleasto has joined #asahi
11:35jabashque has quit [Read error: Connection reset by peer]
11:36jabashque has joined #asahi
11:38the_lanetly_052 has joined #asahi
11:38the_lanetly_052 has quit [Remote host closed the connection]
11:39the_lanetly_052 has joined #asahi
11:40torstenvl has quit [Ping timeout: 480 seconds]
12:13tmlindfyi, plans to drop armv6 from omap2plus_defconfig by default and to make armv6 depend on !smp being discussed on the #armlinux, this to support vmap stack
12:27chadmednothing as complex as parcel delivery notifications though, couriers and auspost workers usually just dump the boxes in the foyer and we rely on human decency for them to not be stolen
12:28kettenismarcan: autostarting the watchdog timer has been the u-boot default since forever and this seems to be standard practice in the "embedded" world
12:30kettenisbut there is a config option, so we could opt out for Apple Silicon systems if we think that is the right thing
12:41X-Scale has joined #asahi
12:46X-Scale` has quit [Ping timeout: 480 seconds]
12:46kettenisto be honest, I think it would be silly to build a linux kernel without the watchdog driver
12:46[X-Scale] has joined #asahi
12:51X-Scale has quit [Ping timeout: 480 seconds]
12:56sveneven afterwards i don't really see a reason to skip it given how small the watchdog driver is
13:40mazmarcan: I'm collecting PCIe fixes. I remember that you have a patch fixing some clock stuff, so if you want me to carry it, let me know.
13:43aidenfoxivey has quit [Quit: aidenfoxivey]
13:43aidenfoxivey has joined #asahi
13:45gladiac is now known as Guest6113
13:45gladiac has joined #asahi
13:49Guest6113 has quit [Ping timeout: 480 seconds]
13:52mpsin Developer-Quickstart I read in Step: 2 'Install macOS in the stub partition' part about "Reinstall macOS Big Sur"
13:52gladiac is now known as Guest6116
13:52gladiac has joined #asahi
13:54marcanmaz: do you want the speculative CGDIS thing too? https://github.com/AsahiLinux/linux/commit/3a623fc4d1bb996e9412f19d322703e98679077c
13:55opticronre dual ANEs on the max: if it really is for binning, I wonder if they're just throwing away the M1Ps that have a dead ANE
13:55marcansame as they have to throw away the M1Ps that have a dead anything else there's only one of
13:56opticronyeah...just seems like a waste if the ANE is the only thing that's bad, but then again they don't have a secondary market for those chips like Intel or AMD
13:57marcanideally do it from 1TR, but it will also work from macOS (for now; Apple can break that at any time)
13:57Guest6116 has quit [Ping timeout: 480 seconds]
13:58marcanyou don't *need* it but I don't recommend spending 5 minutes to go through 1TR to flash a new m1n1 with a burned in kernel every time you want to try something, when using another machine makes it 10 seconds :p
13:58marcan(and you need another machine for any kind of interactive experimentation including the hypervisor)
13:59mpsI tested usb connection with old chromebook over usb cable, it works fine, so I have usb 'console' ready
14:00chamomile has quit [Ping timeout: 480 seconds]
14:02mazmarcan: if you are confident that it does something useful and doesn't break existing stuff, I'll take it!
14:02mpsthank you all for explantion and help, going to make archive first and then try about script
14:03mazmarcan: I have a patch that allows the kernel to survive u-boot (as expected, we're missing the tickling of #PERST).
14:03marcanmaz: I'm not confident that it does something useful, I just have a spidey sense that it might matter and shouldn't hurt (and macOS sets those bits too)
14:03marcanCGDIS sounds like clockgate disable which sounds like clearing those bits would enable some form of dynamic clock gating
14:31the_lanetly_052 has quit [Remote host closed the connection]
14:34mazmarcan: btw, is there a way to get m1n1 to do the same thing as cpu_pstates.py by default? somehow, that doesn't play well with a chainloaded u-boot.
14:34balrogmarcan: is it possible that the ane that appears is determined by firmware and calibration data, so it remaps the device to ane0 regardless of which one it really is?
14:36gladiac has quit [Ping timeout: 480 seconds]
14:37marcanso they'd somehow transplant ane1 into ane0 in the devicetree, including those points, and end up with mismatched names...
14:37marcanand there's no way they have hardware to make ANE1 "show up" as ANE0 in addresspace, PMGR, etc
14:42mazmarcan: works perfectly, thanks a lot. now only one step away from being able to permanently use u-boot!
14:43[X-Scale] has quit [Ping timeout: 480 seconds]
14:46X-Scale has joined #asahi
14:57gladiac has joined #asahi
15:05yuyichao has quit [Ping timeout: 480 seconds]
15:19marcanmaz: btw, let me know if you notice any magical speed improvements with m1n1 as of yesterday
15:20mazmarcan: Debian still installs in 2.23, so no changes so far. but I'm chainloading, so I don't know if I would see it.
15:20aidenfoxivey has quit [Quit: aidenfoxivey]
15:20aidenfoxivey has joined #asahi
15:22mazI mean, this is already 30% faster than the best KVM/arm64 host. anything faster would just be illegal.
15:22chamomile has joined #asahi
15:24marcansimplefb if you build that, simpledrm if you build that instead, and/or alyssa's DCP driver once that's merged
15:25marcansimpledrm is new, the fixes I just sent make it work like simplefb does (otherwise it regresses since you can only have one or the other)
15:26mpsyes, simpledrm made some issue with newly upgraded kernel for alpine linux on some users machines (that is why I asked)
15:28yuyichao has joined #asahi
15:29leo60228 has quit [Ping timeout: 480 seconds]
15:29sailorek1234 has quit []
15:32leo60228 has joined #asahi
15:32marcanalso lol, turns out the DRM guys made a major change to the format helpers a week ago... so now I'm going to have to rebase/rewrite half the series I just sent out
15:44FireFox317so i have a usb-c hub with 2 usb 3.0 ports, does this work with the current dwc3 bindings that we have?
15:46_jannau_it works with usb2 speeds if you have dwc3 bindings (mainline for M1 has none). hotplug at the hub should work too
15:48mpsmarcan: 'curl -L https://mrcn.st/alxsh | sh' failed when downloading one of big files with 404, restarted and it says it don't have anything to do
15:48FireFox317_jannau_, yeah okay that makes sense. thanks i'm gonna try that :)
15:53marcanthis isn't the first time it fails due to a bad network for someone; I should add retries...
15:53marcanwell, if you had trouble downloading ~1GB using this installer, I think you're going to have more trouble downloading 15GB using the quickstart method :p
15:55FireFox317mps, yeah i think it also failed for me one time, and i tried again and it worked :D
15:55brentr123[m]Is there a way to easily switch back between Linux and MacOS yet? Even though not everything works, I wanna try for shits and giggles
15:55brentr123[m]Ah and I have to go into 1tr for that? And enter some commands or do I go into a multi boot screen
15:55marcan(as long as you don't go around telling people to *replace* their macOS kernel with Linux like corellium did... but we never did that here :p)
15:56brentr123[m]Ah ok
15:56marcanthis is why I've been telling people to do a whole second macOS install in the quickstart, so dual-boot works properly
15:57brentr123[m]There’s no risk to bricking with this right?
15:58brentr123[m]oh i need to resize macos
15:58brentr123[m]not sure how to do that
15:58brentr123[m]ah ok
15:59brentr123[m]sorry and uh... where is said quickstart guide:
15:59brentr123[m]s/:/?/
16:00marcanstop after resizeContainer, then just boot into 1TR and run curl -L https://mrcn.st/alxsh | sh
16:00marcanyou don't have to make it 200GB, but you need at least 2.5GB for the bootloader plus whatever space you want to have free to create linux partitions
16:01brentr123[m]at least it seems easier then windows disk management 😛
16:01FireFox317you can also decide to use a usb stick for the linux rootfs, then you only need the 2.5G for the m1n1 stuff
16:03marcanmine was "aaaa" until I enabled SSH the other day on stream and realized everyone saw my IPv6 pass by :p
16:05brentr123[m]im just gonna wait until the installer does everything lol, too nervous
16:05_jannau_chadmed: no, 12.0.1 was the official monterey realease everything except 2021 macbook pros. i.e. it caused the problem for me
16:08FireFox317marcan, i guess for initial testing and stuff it doesnt matter if the m1n1 os still has 11.x firmware?
16:12_aliceisn't that the usual thing to do if you don't want random hosts to prod at your stuff with IPv6? (since you don't have NAT to obfuscate your network anymore)
16:12FireFox317marcan, yeah okay that makes sense
16:13marcanif you don't want random hosts to prod at your stuff... don't have random stuff with open ports accepting connections from the internet
16:15marcanI think the only thing I have explicitly blocked at the router is my printer, because yes, the silly thing does IPv6 and doesn't block things properly
16:16_alicehmm, fair, I just thought it was better to block it from the firewall-level since you can't always trust non-Linux hosts and such to not listen on things randomly
16:17marcanany machine on my normal wifi is going to be a machine liable to be on any other random wifi and better not have dangerous open ports, v4 or v6
16:20WhyNotHugo has quit [Remote host closed the connection]
16:20handlerug has quit [Remote host closed the connection]
16:20aidenfoxivey has quit [Quit: aidenfoxivey]
16:21aidenfoxivey has joined #asahi
16:22_alicein my case, it's mostly just not having the energy to audit that every device is adequately secure in terms of random listening ports ><
16:22WhyNotHugo has joined #asahi
16:22handlerug has joined #asahi
16:23_alicealthough, it doesn't help that macOS still uses password authentication for SSH by default (and changes to sshd_config are reverted on OS updates due to SSV)
16:27svenyeah, I have everything incoming blocked in my router just because I don’t want to spend my energy auditing random devices like my printer
16:31aidenfoxivey has quit [Quit: aidenfoxivey]
16:31aidenfoxivey has joined #asahi
16:36_alicehmm, maybe it's the behaviour with the read-only system volume then (before they did APFS sealing of the root volume)
16:46marcanSSV/read-only SV stuff doesn't behave like that; it stops you from modifying it outright (and reverts changes to the snapshot on every boot)
16:50_aliceiirc Read Only SV just mounts the root filesystem as read-only, and has firmlinks (which are basically bi-directional symlinks) that 'overlay' the /private/etc and similar directories on top of /, from the data volume (/System/Volumes/Data)... I remember you used to be able to run commands in recovery or w/e to simply mount the root filesystem as read-write and have your changes persist... but Sealed/Signed SV is replacing the / mount with a
16:51marcan/etc/ssh/sshd_config.d is apparently a thing now, maybe if you drop a config file there it won't get deleted/reverted on updates
16:52_alicehmm, maybe this is just the updater blindly over-writing the root filesystem to make it consistent with the contents of / after the update, and the unintended consequence is that it clobbers changes
16:53torstenvl has joined #asahi
16:53_alicenow if they could add a way to make changes to /etc/pam.d/sudo for Touch ID, and /etc/auto_master for NFS, then I'd have all of my use cases covered ><
17:06torstenvl has quit [Remote host closed the connection]
17:40chamomile has quit [Ping timeout: 480 seconds]
18:01mpsafter upgrade to 12.0.1 axlsh script worked, but when trying to boot from linux disk boot process fails, repeating few times reboot and then goes to macos asking to reinstall it
18:04FireFox317sometimes i get a 'usb: tps6598x_powerup failed for /arm-io/i2c0/hpmBusManager/hpm0' 'usb: failed to init hpm0' error message in m1n1, and then m1n1 is not recognized by my linux laptop. is this a known bug?
18:04brentr123[m]<marcan> "https://www.apple.com/newsroom/2..." <- Would that benefit asahi in any way? I figured not but maybe I’m wrong
18:15roxfan has quit [Remote host closed the connection]
18:15pg12_ has joined #asahi
18:16roxfan has joined #asahi
18:16pg12 has quit [Read error: Connection reset by peer]
18:29svenmarcan: just pushed a small change for the t6000 dart changes (of_device_get_match_data instead of open-coding it). if that still works on the pro/max i'll submit that series as well
18:31jannaufirefox317: see https://github.com/AsahiLinux/m1n1/issues/101 - which m1 device do you use? I can't reproduce it on a mac mini
19:01bpalmer4[m] has joined #asahi
19:04darkapex1 has joined #asahi
19:05pg12 has joined #asahi
19:06pg12_ has quit [Ping timeout: 480 seconds]
19:09___nick___ has joined #asahi
19:10darkapex has quit [Ping timeout: 480 seconds]
19:10___nick___ has quit []
19:11___nick___ has joined #asahi
19:26Palaver has joined #asahi
19:28Palaver has quit [Remote host closed the connection]
19:28palmer_ has joined #asahi
19:31palmer_ has quit [Remote host closed the connection]
19:32palmer_ has joined #asahi
19:34palmer_ is now known as remlap
19:35remlap has quit [Remote host closed the connection]
19:36bpalmer4[m] has left #asahi [#asahi]
19:37palmer_ has joined #asahi
19:37palmer_ has quit [Remote host closed the connection]
19:39palmer_ has joined #asahi
19:39palmer_ has quit [Remote host closed the connection]
20:03chamomile has joined #asahi
20:15povik has quit [Ping timeout: 480 seconds]
20:28aidenfoxivey has quit [Ping timeout: 480 seconds]
20:30aleasto has quit [Remote host closed the connection]
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:14FireFox317jannau, its a m1 macbook air. will see if i get a repro tomorrow
22:10jannauradnic: permanently? select options in recovery and then "Startup disk" from the apple menu
22:14radnicI am a bit confused aobut what I did when I booted m1n1, so maybe someone can dispel the confusion in my mind. When I ran curl buildmachine.lan:8000/m1n1.macho > m1n1.macho I got the file compiled on the build machine. And then I told it "kmutil configure-boot -c m1n1.macho -C -v /Volumes/Linux"
22:27radnicHmm, now I tried to set bootpoloty back to m1n1 but it says code unknown bootpolicy error: 17
22:41radnicSooo, now I get the I2C hpm0 error terribly consistently. My GF is totally annoyed by the mac booting sound by this point.
22:53jannauwhich hardware? if a laptop is a charger connected? what happens if connect or disconnect the charger?
22:57kettenis has quit [Read error: Connection reset by peer]
22:57kettenis has joined #asahi
23:02minecrell has quit [Quit: Ping timeout (120 seconds)]
23:02minecrell has joined #asahi
23:04artemist has joined #asahi
23:27kettenis_ has joined #asahi
23:27kettenis has quit [Read error: Connection reset by peer]
23:53radnicSo, when I run kmutil does that copy the .macho in a different location where it boots from?
23:55radnicI hoped that I could just copy the new one on top of the old one so I could avoid running 2 commands.