<Glanzmann>
axboe: Is it that? In order to install Linux on a FileVault-enabled Mac run the installer from Recovery open Disk Utility > Expanding "Macintosh HD" > Selecting locked volume > click "Mount".
<Glanzmann>
axboe: You can also use your wifes macbook and use that to recover it. I did the same thing when I accidently deleted the recovery partition.
<tpw_rules>
then diskutil apfs createContainer disk0s2
<Glanzmann>
axboe: Btw, you can also paste stuff here: tg.st/p
<axboe>
tpw_rules: nice, that did it!
<axboe>
was already looking for an usb-c -> c cable
<tpw_rules>
you can use usb a to c
<axboe>
I hope I can resize that one post install
<axboe>
tpw_rules: none of them have usb-a...
<tpw_rules>
well idk by "old" i thought back to the halcyon days of like 2013 macbooks
<Glanzmann>
axboe: Btw. for the dfu restore you can use the usb-c to usb-c charger cable, no need for a superspeed cable. That is the one that I used.
<axboe>
I think I only have the macsafe one here
<axboe>
but looks like I won't need dfu after all if this works, it's doing the reinstall now
<Glanzmann>
Perfect.
<axboe>
we'll see if I can resize this thing afterwards...
<Glanzmann>
axboe: Resize, will be possible, don't worry.
<axboe>
I hope so :)
<Glanzmann>
I would keep 100 GB for the macos install but 70gb should also be enough to apply updates.
<axboe>
I had already resized it to 50g, but it claimed it was too small for reinstall
<axboe>
I'll just do the 100g, that's fine, that leaves me with ~850g for linux
<axboe>
I don't ever boot osx on these anyway
<Glanzmann>
axboe: Which Linux distribution are you going to install?
<axboe>
Glanzmann: debian
<axboe>
it's what I'm running on the other m1 that I'm typing this on
<Glanzmann>
I see. Debian should be in good shape, you shood be good to go.
<axboe>
I've been really happy with the current one, no issues
<Glanzmann>
The kernel is 4k pagesize with the iommu patch, but you're going to replace that anyway.
<Glanzmann>
axboe: Perfect.
<axboe>
yeah I run custom kernels on it anyway
<axboe>
and stick with 16k pages
MajorBiscuit has quit [Ping timeout: 480 seconds]
<Glanzmann>
axboe: Yes, I should do the same, but everytime I try to drop the 4k patch for debian a lot of people complain, so I stopped doing that. But I prefer 16k pages myself. Maybe I offer two options in the future.
<mps>
axboe: for me 70GB was ok
<axboe>
Glanzmann: at least chromium works now...
<axboe>
mps: noted! I went 1tb for the disk this time vs 512g last time, and I really don't use a lot of space on them anyway
<Glanzmann>
axboe: Yes it does, but I use firefox for a quiet a while.
<mps>
also I thought 1TB or 512GB but decided to buy 512GB, and I usualy don't use more than 100GB on internal disks
<mps>
but I used this money to buy 32GB ram
<axboe>
mps: same here :)
<axboe>
I went 1tb/32g/max mostly because I didn't have to pay for it...
<mps>
now kernel build take less than 3 minutes
<axboe>
I build kernels all the time, do a lot of vm testing
<axboe>
so the max was nice to add a bit more speed to that
<axboe>
went smallest on the gpu as I don't really care about that
<mps>
yes, also I don't care for gpu
<mps>
I want fast compile
<axboe>
exactly
<axboe>
main thing missing for me now is suspend/resume
<axboe>
kind of worked last time I tried, except for wifi...
<mps>
also for me
<mps>
and sometimes I would like to have brightness control
<axboe>
yeah that too
<axboe>
if I'm sitting outside it's a bit of a problem not to have it
<axboe>
I'd rank both of those over audio :)
<mps>
same do I
<Glanzmann>
axboe: I think m a r c a n will look at the suspend/resume thing because Linus also wanted that. So maybe we have that soonish.
<axboe>
Glanzmann: that was my hope ;)
<mps>
it become annoying when I go to garden and have to boot macos to change brightness
<axboe>
mps: yep
<mps>
and I like to drink coffee slowly in garden
<Glanzmann>
axboe: I hope the brightness control will come with the dcp driver which is actively worked on.
<axboe>
I'll see linus next month, I'll report if he's actually using the air or not :)
<axboe>
Glanzmann: seems so yes
<mps>
for now I use small usb-c audio dongle, works fine
<axboe>
2 min remaining, we'll soon now if this works or not...
<axboe>
qq on that, actually - picking 12.4 is the right choice even for 12.5, yes?
<mps>
axboe: I used 12.5 when i installed last week on m1pro
<mps>
didn't had any issue
<Glanzmann>
axboe: I would use the newest that is available, which is I think 12.4
<axboe>
mps: I mean in the installer, it lists 12.3 and 12.4 iirc
<mps>
ah, yes, I selected 12.4
<axboe>
Glanzmann: it did default to 12.4 indeed
<axboe>
ok
mia_ has joined #asahi
basketkase[m] has joined #asahi
<jannau>
use 12.3 unless it is a M2 based device
<axboe>
jannau: oh yeah?
<mps>
jannau: why
<jannau>
12.3 should be the default for M1 / M1 Pro/Max/Ultra
<jannau>
because we will not support the 12.4 firmware
<sven>
yeah, 12.3 should be used for m1 because we commit to supporting that stub version for these devices
<mps>
hmm, didn't noticed any problem with 12.4 on M1Pro macbook
<sven>
yet
<mps>
yet ;)
<jannau>
you're not yet using devices which see firmware changes
<sven>
things might start breaking once eg DCP support is there
<mps>
ah, good to note
<sven>
12.3 isn’t the default for m1 devices by accident
<mia_>
Does Apple update the firmware that often?
<jannau>
I thought marcan removed 12.4 from the choices for m1 based devices
<axboe>
good to know
<axboe>
jannau: pretty sure it defaulted to 12.4 for me
<axboe>
but I'll check once I get it going, this last "about a minute remaining" is taking forever
<Glanzmann>
jannau: I think it defaulted for me, too to 12.4 and I'm using the installer from marcan (debian installer actually uses marcans installer from the original location).
<mia_>
I've had no issues running it on M1Air 12.4 so far
<sven>
you shouldn’t need expert mode for uefi only iirc
<mps>
sven: I think expert mode is needed to select size of macos partition
<mia_>
Oh also might not be the place to mention this but since Apple Support and their forums will always try to gaslight me on this issue, has anyone else noticed some inconsistent noticeable ghosting on M1Air at times?
<Glanzmann>
sven: Btw. how do you plan on installing Debian. The Debian installer is currently not working, are you using the live system?
<Glanzmann>
s/sven/axboe/: ^
<sven>
i don’t use debian
<Glanzmann>
Oh, I see.
<axboe>
Glanzmann: was just going to use your installer again. and once up, I'll rsync from the other laptop
<Glanzmann>
I see.
<sven>
just from reading the installer code 12.3 should be the default in expert mode as well
<Glanzmann>
sven: let me try it.
<jannau>
I just tried and 12.3 is the default in expert mode
<Glanzmann>
jannau: On what device did you try?
<mps>
I stand corrected then
<jannau>
m1 max mbp 14"
<Glanzmann>
I could have sworn it is 12.4 but I try on the macbook air.
<mps>
tbh I forgot
surge9n has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
<Glanzmann>
jannau: It offers 12.4 and 12.3, but defaults to 12.3 for me as well.
<axboe>
it does default to 12.3 for me
<axboe>
I think I misremembered because of the ordering of them
<axboe>
much easier install than last time I did this :)
<mps>
axboe: you didn't tried before installer is made ;)
<axboe>
;)
<axboe>
I did not
<axboe>
oh guess I need the wifi fw
<mps>
but it wasn't problematic by following m_arcans instructructions
<Glanzmann>
/etc/rc.local will extact it automatically.
<Glanzmann>
axboe: Just edit /etc/wpa/wpa_supplicant.conf
<axboe>
Glanzmann: it's not there
<Glanzmann>
Put your ssid and psk and than run
<Glanzmann>
axboe: That is strange, than manually extract it.
<mps>
Glanzmann: debian doesn't use iwd by default?
<Glanzmann>
tar -C /lib/firmware/ -xf /boot/efi/vendorfw/firmware.tar
<Glanzmann>
axboe: and reboot (faster than unload reload the modules).
<Glanzmann>
mps: Nope, by default I use wpa_supplicant, because it works on more wifi access points compared to iwd. At least on debian.
<Glanzmann>
I recently also switched from iwd to wpa_supplicant because a wifi access point was not working in an airbnb rental.
<axboe>
ah maybe it is there, driver just complains about ones it can't find
<Glanzmann>
axboe: Okay, rc.local reloads the driver several times after exgtracting the firmware.
<Glanzmann>
So as long as you see the device
<Glanzmann>
ip a s
<Glanzmann>
Than you're good to go.
<mps>
hm, I didn't 'meet' AP which didn't worked with iwd for 3 years
<Glanzmann>
Just edit /etc/wpa/wpa_supplicant.conf
<axboe>
yep we're good, it did work
<Glanzmann>
and than do a: ifup wlp1s0f0
<Glanzmann>
Perfect.
<axboe>
sweet, now I just need to get it setup
<Glanzmann>
axboe: If you rsync, over you need to preserve the /etc/fstab and reinstall grub: grub-install --removable /boot/efi
<axboe>
yep
<axboe>
now we're in linux so I'm all set
<axboe>
it's just the osx bits that are not really my forte
<Glanzmann>
okay, if you run in any more issues, let me know.
surge9n has joined #asahi
<axboe>
thanks!
<axboe>
heading out of town shortly for the weekend, so will get back to this on Sunday
<Glanzmann>
mps: I had issues with my andriod hotspot before I changed the compatibility. And 3 weeks ago in an airbnb in greece. So I switched to wpa_supplicant which worked.
<Glanzmann>
axboe: Perfect. Glad you're all set up.
<axboe>
thanks!
surge9n has quit [Ping timeout: 480 seconds]
<mps>
Glanzmann: ok, understand
surge9n has joined #asahi
mia_ has quit [Remote host closed the connection]
mia_ has joined #asahi
surge9n has quit [Ping timeout: 480 seconds]
mia_ has quit [Ping timeout: 480 seconds]
<bluetail>
if I build a linux kernel on a m1 mac, will it be a kernel for m1? Or can I build a linux kernel and it doesnt even matter from what architecture I build it from?
<bluetail>
So that I can build it on the m1, but use from a amd64 arch
<j`ey>
bluetail: you can cross build the kernel, yes
<mps>
well, in my case it 10-20 times faster on m1pro than on neoverse n1
<mps>
ok, maybe only 10x but my perception is 20x
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
surge9n has joined #asahi
surge9n has quit [Ping timeout: 480 seconds]
the_lanetly_052 has quit [Ping timeout: 480 seconds]
jackhill has joined #asahi
jackhill has quit []
jackhill has joined #asahi
surge9n has joined #asahi
jackhill has quit []
jackhill has joined #asahi
Phorous has quit [Remote host closed the connection]
<Stroller>
oh, axboe, I'm so glad to have found you. I'm reading your discussion from 4 hours ago, and you seem to be thoroughly discussing the problem I've been lurking here a week to learn about
surge9n has quit [Ping timeout: 480 seconds]
___nick___ has quit [Ping timeout: 480 seconds]
<Stroller>
I have to run to the supermarket rn, but I'd be grateful if you could check back later or over the weekend, axboe, if I have any questions
Stroller has quit [Quit: Stroller]
mark4o has quit [Quit: mark4o]
<jackhill>
$work recently provided a new mac for me, and I just sucesfully used the Asahi installer! Thanks everyone. Now to figure out what's next in my journey and how I can help.
<jackhill>
The blog and documentation are great, so much to learn!
nicolas17 has joined #asahi
<axboe>
all up and running! typing on it now
<axboe>
6.0-rc1 kernel doesn't boot, but I'll look into that when I get back
<j`ey>
seems the 6.0rc1 kernel has only been tested/booted on the m1, not the pro versions
<axboe>
figured it was too fresh and hence didn't get a lot of testing yet
<mps>
yes, I tested it on m1 mbp and it works fine, and glanzmann tested on m1 air also
<mps>
but it doesn't show any sign on m1pro, last text on screen is grub message 'loading vmlinuz'
<mps>
and I can't test with hypervisor these days
surge9n has joined #asahi
mia_ has quit []
<axboe>
mps: yep exactly
Stroller has joined #asahi
nicolas17 has quit [Ping timeout: 480 seconds]
<jannau>
current asahi tip (6.0-rc1) boots for on the m1 max but the framebuffer is broken
<jannau>
looks like gpio backlight is missing
<jannau>
or the whole smc gpio controller
<mps>
jannau: on m1pro I tried to ping it from other computer but didn't got any reply, and machine reboots after about one minute
<sven>
sounds like the watchdog
<mps>
u-boot watchdog?
<mps>
hmm, no kernel, I made it in-kernel
<mps>
will try to find some time next week and test with HV
<sven>
no, the hardware watchdog
<mps>
aha, thought so
<jannau>
could be also smc's internal watchdog
<jannau>
no smc rtkit boot messages for me with the ventura beta 5 / public beta 3 firmware
<jannau>
if the we manage to crash smc with 12.x firmware it would trigger smc's watchdog
<mps>
hm, maybe I should downgrade stub to 12.3
<jannau>
mps: makes no difference. smc uses a single system firmware
<mps>
ok, then only test with HV makes sense
<jannau>
mps: if you have a usb network adapter try that pcie wifi will not work without smc
<mps>
jannau: I have one on usb-c hub, tested it works earlier
* povik
just booted 6.0-rc1 on m1pro
<povik>
# cat /sys/kernel/debug/devices_deferred
<povik>
gpio-bl
<povik>
103dfef2880.framebufferplatform: supplier gpio-bl not ready
<povik>
but this is 6.0-rc1 proper, not asahi, so not sure it's supposed to work
<jannau>
no smc driver in mainline so that's not supposed to work, framebuffer should work if you remove the backlight property
<jannau>
s/mainline/upstream/
<povik>
right
<povik>
indeed fb works then
<povik>
anyway back to audio...
<povik>
but for some reason pcie probes ~10s after everything else
<povik>
ha!
<povik>
look who i got to meet
<povik>
[ 12.435797] ALSA pcmC0D0p,0:: cannot preallocate for size 3145728