2023-01-03
00:21jess has joined #asahi
00:25jnn has joined #asahi
00:25jn has quit [Read error: Connection reset by peer]
00:27Zopolis4 has joined #asahi
00:32jnn has quit [Remote host closed the connection]
00:34jn has joined #asahi
01:04hertz_ has joined #asahi
01:09hertz has quit [Ping timeout: 480 seconds]
01:21possiblemeatball has joined #asahi
01:36jeffmr has joined #asahi
01:47Gosux has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
01:58julio7359 has quit [Remote host closed the connection]
01:58julio7359 has joined #asahi
02:02jeffmr has quit [Remote host closed the connection]
02:10Brainium has quit [Quit: Konversation terminated!]
02:37Zopolis4 has quit [Quit: Connection closed for inactivity]
02:46eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
03:14eroc1990 has joined #asahi
03:18possiblemeatball has quit [Quit: Leaving]
03:20possiblemeatball has joined #asahi
03:29Zopolis4 has joined #asahi
03:34rvalue has joined #asahi
04:11possiblemeatball has quit [Quit: Leaving]
04:12julio7359 has quit [Ping timeout: 480 seconds]
04:45possiblemeatball has joined #asahi
04:58marvin24 has joined #asahi
05:00c10l has quit [Quit: Bye o/]
05:01c10l has joined #asahi
05:02marvin24_ has quit [Ping timeout: 480 seconds]
05:06possiblemeatball has quit [Quit: Leaving]
05:18jluthra has quit [Remote host closed the connection]
05:18jluthra has joined #asahi
05:22ec0 has quit [Ping timeout: 480 seconds]
05:30whomst has joined #asahi
05:39ec0 has joined #asahi
06:33chadmed_ has joined #asahi
06:33zrides has joined #asahi
06:37zrides has quit [Remote host closed the connection]
06:52SSJ_GZ has joined #asahi
07:06pthariensflame has joined #asahi
07:08Telessia has joined #asahi
07:10pthariensflame has quit []
07:11guillaume_g has joined #asahi
07:14rvalue has quit [Remote host closed the connection]
07:15rvalue has joined #asahi
07:21bps has joined #asahi
07:26CyrinuxTramtrist OK thx for the test, to dig deeper. Do you have libinput to the last version also maybe? A requirement on libinput version?
07:38chadmed_ has quit [Ping timeout: 480 seconds]
07:38bps has quit [Ping timeout: 480 seconds]
07:39Telessia has quit [Remote host closed the connection]
07:40Telessia has joined #asahi
07:53chadmed_ has joined #asahi
07:57Zopolis4 has quit [Quit: Connection closed for inactivity]
07:58Telessia has quit [Quit: Telessia]
08:20SSJ_GZ has quit [Remote host closed the connection]
08:29chadmed has quit [Ping timeout: 480 seconds]
08:33cylm_ has joined #asahi
08:46amarioguy has quit [Remote host closed the connection]
08:46llrcombs has quit []
08:46amarioguy has joined #asahi
08:47rcombs has joined #asahi
08:52Zopolis4 has joined #asahi
08:59bps has joined #asahi
09:08chadmed_ has quit [Ping timeout: 480 seconds]
09:27whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:28maria has quit [Ping timeout: 480 seconds]
09:50bps has quit [Ping timeout: 480 seconds]
09:59chadmed has joined #asahi
10:00maria has joined #asahi
10:16eric_engestromefi vars are supposed to be supported, right? I'm getting a crash in `efivarfs_file_write()` when running `bootctl install`: https://photos.app.goo.gl/yfDgkriGRCLJ45tC6
10:20mazeric_engestrom: I don't think they are. there is no firmware to actually handle the storage, AFAIK.
10:20chadmedefi vars arent supported but bootctl install shouldnt fail, i am running systemd-boot right now
10:25eric_engestromchadmed: "shouldn't fail" is a bit confusing; should it fallback to something else? or should it silently ignore the failure? (the latter doesn't sound right)
10:26chadmedfor me it just threw a warning about efi vars not being writeable but still dumped BOOTAA64.efi to EFI/BOOT just fine (which is all we need since this is what u-boot looks for)
10:27eric_engestromah right, so I guess I need to read up on u-boot to see how it works
10:29eric_engestromfor context I'm trying to get my main asahi install luks-encrypted, but I'm failing at getting the boot chain "connected" in the right way
10:30eric_engestromignoring the efivarfs crash, I'm at this point: https://photos.app.goo.gl/4NEpNrCpoL1qMByR9
10:31thansen has quit [Quit: The Lounge - https://thelounge.github.io]
10:32eric_engestromeverything before the initramfs takes over is basically a mystery to me :]
10:32jannaueric_engestrom: so /EFI/BOOT/BOOTAA64.efi is still grub, try `bootctl --no-variables install`
10:33eric_engestromdoing something else, I'll try that in a few minutes
10:33thansen has joined #asahi
10:33jannausee https://gist.github.com/marcan/eac6bf00d5edc37d6ccbeffda382d30c for converting standard asahi install to sd-boot
10:37eric_engestromjannau: thx; that's exactly what I did (although from a chroot, and minus the loader.conf except the first line which is the only one I have, and loglevel=3 which I don't have)
10:38kujeger has joined #asahi
10:57Telessia has joined #asahi
11:05MajorBiscuit has joined #asahi
11:13Telessia has quit [Ping timeout: 480 seconds]
11:27bps has joined #asahi
12:00chengsun_ has joined #asahi
12:00chengsun has quit [Read error: Connection reset by peer]
12:17c10l has quit [Ping timeout: 480 seconds]
12:54Chai-T-Rex has quit [Quit: Chai-T-Rex]
13:01c10l has joined #asahi
13:02chadmed has quit [Remote host closed the connection]
13:11roxfan2 is now known as roxfan
13:13possiblemeatball has joined #asahi
13:20djorz has joined #asahi
13:36systwi has quit [Ping timeout: 480 seconds]
13:40systwi has joined #asahi
13:44eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
13:45eroc1990 has joined #asahi
13:49hightower3 has joined #asahi
13:50___nick___ has joined #asahi
13:51___nick___ has quit []
13:53___nick___ has joined #asahi
13:54Mudb0y has joined #asahi
13:54Mudb0y has quit [Read error: Connection reset by peer]
13:54Mudb0y has joined #asahi
13:56hightower4 has quit [Ping timeout: 480 seconds]
13:57Mudb0y has quit []
14:01marvin24_ has joined #asahi
14:02ChaosPrincessmarcan: wrt your recent mastodon post - kryszstof really pissed me off recently. He read v1, v2, i even have his r-by on one of the patches, but then posts comments on v5 on stuff that was unchanged since v1.
14:03ChaosPrincessI probably would be less angry if it was gitlab or sth and not mail, where the times between submissions are that long.
14:04ChaosPrincessAnd im kinda dumb and not 100% understand what he meant in his comment, so its an extra v0v
14:04marvin24 has quit [Ping timeout: 480 seconds]
14:05marcanI had the SD driver maintainer complain that I aligned a block of #defines after adding one more that pushed the tabstop. ended up having to leave it unaligned.
14:05marcannow the nvmem maintainer is asking me *not* to fix a bug that is naturally fixed by the minor refactor involved in fixing the bug I was trying to fix
14:06marcan(after he ignored my patch long enough that another developer found and submitted a fix for the same issue, whom he is now also nitpicking - I guess he wants us to fix to see who fixes all the nitpicks first?)
14:07marcanmeanwhile the Broadcom developer literally answered "who knows" to some of my questions about what devices are out in the wild
14:08marcan*I* certainly can't divine out of a crystal ball what silicon revisions you've shipped with what revision ID mappings so we can actually do firmware requests properly
14:10svenor the company is so dysfunctional that it doesn't even know which devices are out in the wild :D
14:14bpsmarcan, I think part of the problem is the broadcom/cypress split. not sure if Arend will even be able to find out with absolute certainty what chip revision IDs are out there in the wild, as cypress may have done something different. and cypress developers hardly participate at all upstream...
14:15marcanwhich I now have to fix because judging by what the Broadcom guy is saying, the Cypress patch is wrong
14:16marcanbut if the Cypress chips now have the same chip IDs as Broadcom chips but are actually not the same chip, now we have a bigger problem
14:16Mudb0y has joined #asahi
14:17marcanthat commit branded the BCM4355 as CC89459, and a PCI ID that already has a Broadcom device sub-name as a Cypress one
14:17bpsyeah it really is a disaster. cypress are the main offender here I think. have you seen that they maintain their own out-of-tree brcmfmac release?
14:18bpshttps://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2022-12-23/td-p/389610
14:19bpsyou might find some more coherence here. generally what has happened is that they have half-arsed the upstreaming process and other people have sometimes submitted some of their patches independently (myself included). I think they basically gave up on upstreaming now. but the code is GPL so it's possible that whatever ended up in mainline was inconsistent
14:19bpsapparently they don't haev time to upstream, but they have time to "rebrand" firmware filenames
14:20marcanmeanwhile my job now is to port features from bcmdhd to brcmfmac because Broadcom only have <20% of one employee working on it
14:21marcan(other than firmware selection, all the Apple platform support stuff is just implementing missing features already in bcmdhd)
14:21Mudb0y has quit []
14:21bpsit's so stupid because brcmfmac is a much more well written driver, despite its shortcomings
14:22bpswell, when you have worked with wifi vendors as much as I have, you learn that they are all crooks :)
14:23marcansupport for the new PCIe core revisions, sleep state mailbox over the ring buffer, new scan interface stuff, etc are just the required ones to make Apple chips work properly
14:29bcrumb has joined #asahi
14:29bpswell, fwiw the newer wpa modes will probably not be required for some time as APs retain backward compatibility. but yeah, really sad that all the work is going on in bcmdhd
14:30bpsit's the same story with marvell (now NXP)... they put all their effort into their shitty out-of-tree driver and neglect upstream mwifiex
14:31c10l has quit [Quit: Bye o/]
14:31bcrumberic_engestrom: for me, basehook stuff didn't work at all so I opted to use systemd in the kernel hooks with my LUKS setup... https://github.com/b-crumb/PKGBUILDs.asahi-scripts this installs the systemd units and so on, also check the following readme on my asahi-scripts fork https://github.com/b-crumb/asahi-scripts/blob/main/README.md
14:32selfi has joined #asahi
14:32bcrumbthis is how I did the LUKS setup originally, but now the hooks are broken and need to be replaced with above, so this is just to have some context, but above is actually working, the following breaks as mentioned https://github.com/b-crumb/asahi-notes/blob/main/ASAHILUKS.md ... i need to really updated he text but it is an absolute pain to write it
14:34bcrumb has quit []
14:34bpsthanks anyway marcan for your work, I admire your persistence and attention to detail. and I hope your brcmfmac nighmare ends soon :)
14:35bcrumb has joined #asahi
14:36c10l has joined #asahi
14:38Mudb0y has joined #asahi
14:39bcrumb has quit []
14:46Mudb0y has quit []
14:50marvin24 has joined #asahi
14:51selfi has quit [Quit: Leaving]
14:53marvin24_ has quit [Ping timeout: 480 seconds]
15:04BPCZd has quit [Ping timeout: 480 seconds]
15:05c10l has quit [Quit: Bye o/]
15:08delsol has joined #asahi
15:15hightower3 has quit [Ping timeout: 480 seconds]
15:21MajorBiscuit has quit [Quit: WeeChat 3.6]
15:22MajorBiscuit has joined #asahi
15:24MajorBiscuit has quit []
15:24c10l has joined #asahi
15:34c10l has quit [Quit: Bye o/]
15:35as400guys, need some help. I borked my ESP partition and had to create new one. Now the 1 stage m1n1 does not find 2 stage one because partition uuid has changed. How do I fix this ?
15:40marcanchange the UUID to the original one, manually reinstall m1n1 stage 1 with an edited UUID at the tail of the binary, or just delete your APFS+ESP partitions again and reinstall in UEFI mode and then put back the ESP contents.
15:52LinuxM1 has joined #asahi
15:54c10l has joined #asahi
15:55balrog has quit [Quit: Bye]
16:02bcrumb has joined #asahi
16:04bcrumberic_engestrom: So here you can read my total notes on LUKS for December 2022 https://github.com/b-crumb/asahi-notes/blob/main/December%202022/notes.md
16:05bcrumbThis can be useful for anyone who is interested in how I'm building my distro with LUKS, I guess.
16:06bcrumbCyrinux: sorry, this was your tag. Also, I pushed more rules on apparmor.d a couple of days ago. It works.
16:07bcrumb(Meaning, when running with install-disabled, you can boot and do normal things, including firefox, apparmor enforced).
16:08bcrumbThe rules are maybe relatively in some cases lax but I'm doing an OK job of porting rules conservatively. This could be of _general_ interest maybe to the guys organizing firmware or devices or however stuff is organized, because it kind of highlights where we are deviating with the /dev/ structure from other architectures.
16:09bcrumb has quit [Quit: WeeChat 3.7.1]
16:11balrog has joined #asahi
16:11Zopolis4 has quit [Quit: Connection closed for inactivity]
16:24eric_engestrombcrumb: thanks! I'll read those in a bit; did the error you were hitting look like this? https://photos.app.goo.gl/PEKbPsuXmLxeQTZM6
16:25bcrumb has joined #asahi
16:27eric_engestrom(that 8460... uuid is the alx.sh-generated /boot/efi partition that I turned into my /boot, so that NotFound is puzzling)
16:29bcrumberic_engestrom: yes I think that is one of the console log types I've hit when setting up LUKS, it was easier for me to write the systemd workaround rather than go in fixing that because I've got no points where I can go from to look into it
16:29eric_engestromjannau: no, but $esp/efi/m1n1/boot.bin does
16:30eric_engestrom(with $esp=/boot)
16:30eric_engestromyup :0
16:31bcrumbso if luks is setup on that part and that now works i'm roping, it should freeze at some other log that should not indicate that it has anything to do with encrypt
16:31eric_engestromrebooting to check if that helps, but I'll be away for half an hour after that
16:32bcrumbjannau: why / instead of /esp ? shouldn't does stage 1 have some kind of $PATH that also has '/' prepended for ESP?
16:35possiblemeatball has quit [Quit: Leaving]
16:35* eric_engestromis away now
16:36possiblemeatball has joined #asahi
16:38hightower2 has joined #asahi
16:39jannaueric_engestrom: looks like boot.bin has no u-boot appended or the appended u-boot payload was not gzip compressed. do you have a boot.bin.old? does the file size differ
16:49julio7359 has joined #asahi
16:50cylm_ has quit [Ping timeout: 480 seconds]
16:54bps has quit [Ping timeout: 480 seconds]
16:58LinuxM1 has quit [Quit: Leaving]
17:01nopeslide1 has joined #asahi
17:07nopeslide has quit [Ping timeout: 480 seconds]
17:08bcrumb has quit [Quit: WeeChat 3.7.1]
17:12guillaume_g has quit []
17:25hightower2 has quit [Ping timeout: 480 seconds]
17:26SSJ_GZ has joined #asahi
17:28eric_engestromjannau: good catch, boot.bin.old is 2.8M while boot.bin is 832K
17:28eric_engestrom`cp boot.bin.old boot.bin` and rebooting
17:32eric_engestromhmm, so now it boots all the way to the luks password prompt, but the keyboard seems to not be recognized
17:32eric_engestromchecking my mkinitcpio.conf to make sure I got the hooks in the right order
17:35eric_engestromyeah, `keyboard` is way before `encrypt`
17:35eric_engestrombcrumb is this something you came across before?
17:37jannaueric_engestrom: make sure modules required for the keyboard are in the initrd. you need at least apple_dockchannel, dockchannel_hid, hid_apple
17:38eric_engestromah, that's what I'm missing then
17:38eric_engestromthanks!
17:39jannauapple_rtkit_helper, apple_rtkit, apple_mailbox as well. the later two should be already included, the first is probably not
17:39jeffmr has joined #asahi
17:42eric_engestromthe first 3 were enough to get the keyboard working for the password; thanks!
17:42eric_engestromnow getting another error, but I've reached the parts where I'm confortable and can (try to) do the rest of debugging myself :)
17:43eric_engestromthanks a lot for the help everyone o/
17:51hightower2 has joined #asahi
17:57ten157237 has quit [Remote host closed the connection]
17:57ten157237 has joined #asahi
17:58jeffmr has quit [Remote host closed the connection]
18:01bps has joined #asahi
18:01bcrumb has joined #asahi
18:02bcrumberic_engestrom: what is the last error you didn't mention right now? also, on topic of the error before the last one, yes i encounter that, before fixing it, did it actually give you a password prompt, or was it just black and you assumed it was the prompt?
18:04eric_engestrombcrumb: I saw the password prompt, but key inputs were ignored (fixed by adding the first 3 modules jannau mentioned)
18:04eric_engestromthe current error is not finding the partition by its uuid
18:05eric_engestromI'm doing multiple things at the same time so I haven't gotten to it yet, but I'm pretty sure systemd is getting that from the fstab so I'll check that
18:05eric_engestromand ack for posting my configs once I got everything working
18:06eric_engestromit's not the root partition, it's the /boot that it fails to mount
18:06eric_engestromok hold on, having a look at that now
18:06Telessia has joined #asahi
18:08bcrumbin my case i don't get a password prompt at all... my suspicion was that keyboard input worked, but i didn't know about the above modules fix, so i'll check it out hopefully soon and see if that can finally set me back on track to the base hook
18:08eric_engestromm2 air
18:09eric_engestromalso, the uuid in my fstab was wrong, but the first 2 chars were the same and the next two were close enough that I missed it when looking at one then the other
18:09eric_engestromtesting
18:10ten157237 has quit [Remote host closed the connection]
18:11ten157237 has joined #asahi
18:11eric_engestromwoohoo, everything works!
18:12eric_engestromI'll post a write-up tonight
18:12eric_engestromthanks guys!
18:12jannaubcrumb: on m1 / m1 pro/max laptops you'll need spi_apple, spi_hid_apple, spi_hid_apple_of and hid_apple instead
18:14bcrumb has quit [Quit: WeeChat 3.7.1]
18:20eric_engestromhmm, ok, not everything works: no network, and no mouse
18:20eric_engestromrebooting to -edge
18:20eric_engestromgrmbl, `reboot` takes me back to macos... how does one configure which os to boot by default? is that the `bless` thing?
18:25bcrumb has joined #asahi
18:25bcrumberic_engestrom: just in the offcase you're not using standalone iwd right you're using NetworkManager right? because iwd standalone does not work for me
18:26bcrumb has quit []
18:28pthariensflame has joined #asahi
18:28eric_engestromthanks, changed it through the "startup disk" in the "option" of the boot picker
18:28eric_engestromI'm using iwd, no nm involved (not even installed; just checked, but libnm is installed)
18:29eric_engestrombut rebooting in -edge fixed everything, I got a mouse (not that I use it much xD) and networking
18:29eric_engestrompasting you the configs you wanted
18:29pthariensflame has quit []
18:36jannaueric_engestrom: if you hold the option key in the initial boot disk selection screen the button changes to "always use"
18:36eric_engestromjannau: oh, I misunderstood, I thought you were talking about the "options" entry in the boot picker
18:37eric_engestromthanks :)
18:41bcrumb has joined #asahi
18:44delsol has quit [Remote host closed the connection]
18:47bcrumb has quit [Quit: WeeChat 3.7.1]
18:49eric_engestrommarcan: that charge_control_end_threshold patch of yours, is it pushed somewhere? I'm interested in trying it
18:50eric_engestromis that what -edge tracks?
18:50* eric_engestromlooks at the PKGBUILD
18:52eric_engestromah ok
18:52eric_engestromsame mirror, just [asahi-dev] instead of [asahi] for the repo name?
18:57hertz_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:58eric_engestromok, and it's the same packages names, overshadowing the ones from [asahi]
18:58julio7359 has quit [Remote host closed the connection]
18:58eric_engestromjust installed 6.1.asahi3-1, I'll boot into that next time, but right now I have to go
18:58eric_engestromthanks again!
19:20as400marcan: thx, changin uuid worked. Although I didn't expect it's so complicated under macos. Had to download and use gdisk. Maybe it would be worth to include m1n1 "fix" mode in advanced options in installer ? Just an idea.
19:27ten157237 has quit [Remote host closed the connection]
19:28ten157237 has joined #asahi
19:44whomst has joined #asahi
19:54ten157237 has quit [Remote host closed the connection]
19:54ten157237 has joined #asahi
19:57ktz has joined #asahi
20:01hertz has joined #asahi
20:08ktz has quit [Quit: WeeChat 3.7.1]
20:10jamespmorgan has joined #asahi
20:23ktz has joined #asahi
20:26lewurm has quit [Ping timeout: 480 seconds]
20:34c10l has quit [Quit: Bye o/]
20:35giskard has joined #asahi
20:35c10l has joined #asahi
20:35lewurm has joined #asahi
20:48lewurm has quit [Ping timeout: 480 seconds]
20:50jamespmorgan has quit [Remote host closed the connection]
20:51jamespmorgan has joined #asahi
20:57BPCZ has joined #asahi
20:58psykose_ has quit [Remote host closed the connection]
20:58psykose has joined #asahi
21:00lewurm has joined #asahi
21:03ktz has quit [Quit: WeeChat 3.7.1]
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:09ktz has joined #asahi
21:15jeffmr has joined #asahi
21:15lewurm has quit [Ping timeout: 480 seconds]
21:15Telessia has quit [Ping timeout: 480 seconds]
21:20ktz has quit [Quit: WeeChat 3.7.1]
21:23jeffmr has quit [Quit: jeffmr]
21:25hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:28rvalue has quit [Quit: ZNC - https://znc.in]
21:31blazra has joined #asahi
21:32rvalue has joined #asahi
21:45possiblemeatball has quit [Quit: Leaving]
21:51lewurm has joined #asahi
21:52rvalue has quit [Quit: ZNC - https://znc.in]
21:52Telessia has joined #asahi
21:54rvalue has joined #asahi
22:08rvalue has quit [Quit: ZNC - https://znc.in]
22:10jeffmr has joined #asahi
22:10ChaiTRex has joined #asahi
22:13Telessia has quit [Quit: Telessia]
22:14chadmed has joined #asahi
22:14jamespmorgan has quit [Remote host closed the connection]
22:20jeffmr has quit [Read error: No route to host]
22:21jeffmr has joined #asahi
22:22rvalue has joined #asahi
22:26SSJ_GZ has quit [Ping timeout: 480 seconds]
22:48eroux has quit [Ping timeout: 480 seconds]
22:51rvalue has quit [Quit: ZNC - https://znc.in]
22:54jeffmrapple in the shape of a puffer fish with mouth open and leaf on top, clever developers lol
23:13Zopolis4 has joined #asahi
23:26jeffmr has quit [Quit: jeffmr]
23:32possiblemeatball has joined #asahi
23:32blazra has quit [Remote host closed the connection]
23:34bps has quit [Ping timeout: 480 seconds]
23:34blazra has joined #asahi
23:35Brainium has joined #asahi