#asahi-dev · 2022-01-29 04:05
tpw_rulesi am sad because nix just gained the ability to bootstrap on 16k like yesterday...#asahi-dev · 2022-01-29 04:04
tpw_rulesJamie[m]1: well presumably upstream will fix it eventually. it's just that i think this will have to go to staging, and would be a bit of a hack#asahi-dev · 2022-01-29 04:01
tpw_ruleswhat is the timeline like on a 4k kernel? i found another big thing that is broken by 16k pages an am wondering if it's worth getting a patch in nixos...#asahi-dev · 2022-01-28 19:32
tpw_rulesmaybe 2ms just to be safe? how accurate is msleep#asahi-dev · 2022-01-28 18:32
tpw_rulesit seems to probe to me, just no sound comes out#asahi-dev · 2022-01-28 18:29
tpw_rulesi was on 12.0.1 so it must not#asahi-dev · 2022-01-28 18:29
tpw_rulesi didn't try to diagnose, but the problem isn't just you#asahi-dev · 2022-01-28 18:28
tpw_rulesi've noticed some sort of race condition too. i only get sound maybe one out of every 5 reboots#asahi-dev · 2022-01-28 18:28
tpw_rulesalyssa: what system?#asahi-dev · 2022-01-24 03:15
tpw_rulespovik: there is an unused variable in the apple MCA driver which breaks builds with -Werror, like NixOS (and apparently the kernel by default going forward): https://github.com/tpwrules/nixos-m1/blob/main/nix/kernel/fix-unused-sound-variable.patch#asahi-dev · 2021-12-30 02:48
tpw_rulessven: asahi-with-new-nvme survived compiling chromium and the kernel again so it's good in my books#asahi-dev · 2021-12-29 23:23
tpw_rulesit should work on both master and your branch#asahi-dev · 2021-12-29 23:21
tpw_ruleswell yeah. just wanted someone to verify the mailing list received it and i in fact sent it correctly this time. no one has replied to me about it yet#asahi-dev · 2021-12-29 23:19
tpw_ruleskettenis: did you have a chance to give v2 of my usb keyboard patch for u-boot a spin?#asahi-dev · 2021-12-29 23:06
tpw_rulesdo you plan to have it merged into the main asahi branch soon?#asahi-dev · 2021-12-29 22:29
tpw_ruleskettenis: sven: disabling the nvme in u-boot was the ticket. not sure if there's more changes to make to the asahi-with-new-nvme branch, but i'm planning to do a bunch more compilation to see if it's stable#asahi-dev · 2021-12-28 18:06
tpw_rulesi noticed there are new power management properties in the device tree#asahi-dev · 2021-12-28 17:54
tpw_rulessven: did you find anything wrong with the nvme driver? it works fine for me without uboot involved. i was going to sit down to debug it more later today or tomorrow#asahi-dev · 2021-12-23 23:54
tpw_rulesthat's totally fine. hopefully i'll have more concrete context. hope yours is enjoyable :)#asahi-dev · 2021-12-23 23:45
tpw_ruleslike i said this could be an interaction with u-boot so don't place too much faith in it#asahi-dev · 2021-12-23 23:44
tpw_rulesmac mini, with the device trees from that branch. http://pastebin.com/ZwTNRvnC#asahi-dev · 2021-12-23 23:42
tpw_rulesmaybe they are susceptible to problems under high sustained speed but certainly not random i/o#asahi-dev · 2021-12-23 23:41
tpw_rulesbut the current nvme drivers in the asahi branch seem quite robust, been compiling junk all day#asahi-dev · 2021-12-23 23:41
tpw_rulesif not, i'll debug more later#asahi-dev · 2021-12-23 23:41
tpw_rulesbut that is also with u-boot in the mix. just wondered if you had seen that in any configuration before#asahi-dev · 2021-12-23 23:40
tpw_rulessven: i'm not able to get your asahi-with-new-nvme branch working, but i didn't try all that hard. the nvme driver fails to identify the device, the rtkit driver tries to reset it, then rtkit crashes#asahi-dev · 2021-12-23 04:32
tpw_rulesrelatedly, the nvme stuff in linux-asahi is robust enough to handle a chromium build. maybe tomorrow i can try sven's branch and see if it's worse#asahi-dev · 2021-12-23 04:30
tpw_rulesi do have seccomp and namespaces enabled though#asahi-dev · 2021-12-23 04:28
tpw_ruleseh i'll try to build a bigger kernel tomorrow and see what happens. it would be nice to be able to say "make these changes and it will work"#asahi-dev · 2021-12-23 04:24
tpw_rulesmaybe the chrome people can weigh in#asahi-dev · 2021-12-23 04:23
tpw_rulesidk what config features would be missing to cause that#asahi-dev · 2021-12-23 04:23
tpw_ruleslike i said in the other channel i got it building by replacing a few cases of assuming 4k pages but it only works with flags that disable multiple processes. so idk if that's a deeper page related problem or some deficiency in another area of asahi#asahi-dev · 2021-12-23 04:21
tpw_rulesdo all arm64 systems support 16 and 64k kernels?#asahi-dev · 2021-12-23 04:20
tpw_rulesdoes it matter which one i file to? #asahi-dev · 2021-12-23 04:19
tpw_rulesi'm not a chrome user, but i can certainly explain how i tried it#asahi-dev · 2021-12-23 04:18
tpw_rulesdo you know if anyone has filed a bug yet though?#asahi-dev · 2021-12-23 04:18
tpw_ruleschrome deliberately chose to break it for "binary size reduction" so not sure how amenable they'll be to fixing it#asahi-dev · 2021-12-23 04:14
tpw_rulesand chrome#asahi-dev · 2021-12-22 21:15
tpw_ruleswhat is the status of the stuff necessary for running userspace with 4k pages?#asahi-dev · 2021-12-22 19:36
tpw_rulesyes, apparently#asahi-dev · 2021-12-22 19:36
tpw_rulesis wrapping the comment enough of a change to do v2? #asahi-dev · 2021-12-22 18:52
tpw_rulesshould i send it as v2? or reply to the existing one? or just notes for next time?#asahi-dev · 2021-12-22 18:50
tpw_rulesoh, it removed the spaces at the start of the lines#asahi-dev · 2021-12-22 18:47
tpw_ruleswhat is wrong with it?#asahi-dev · 2021-12-22 18:30
tpw_ruleskettenis: thanks for the review. even minor-er nit: the comment fits within 80 columns just fine if you use smaller tabs :) but i will reflow with 8 in mind next time.#asahi-dev · 2021-12-22 16:04
tpw_ruleshttps://patchwork.ozlabs.org/project/uboot/patch/6D9B1B2E-3C82-4614-A69A-09DB3B7FADA7@icloud.com/#asahi-dev · 2021-12-21 21:17
tpw_rulesi found a keyboard which runs into this problem: https://patchwork.ozlabs.org/project/uboot/patch/20200914023921.119630-3-jason.wessel@windriver.com/ but it looks like the patch never made it into u-boot#asahi-dev · 2021-12-21 20:18
tpw_rulesthere are several other ways to fix it but i'm not sure which will appease upstream#asahi-dev · 2021-12-21 20:04
tpw_rulesoh, i found it: https://marc.info/?l=u-boot&m=162574220520877&w=2#asahi-dev · 2021-12-21 19:59
tpw_rulesyeah all the relevant functions in the upstream tree don't seem to have been touched