#
✕ nick:snooze6214[m]
#asahi-dev · 2026-11-09 19:42
snooze6214[m]like i see the login screen lol \o/
#asahi-dev · 2026-11-09 19:42
snooze6214[m]sven: sorry i was afk. yes, i do have serial=3 in my boot args, removing that actually does take me further :0
#asahi-dev · 2026-11-09 18:00
snooze6214[m]yeah, i mean there was only one pair i think
#asahi-dev · 2026-11-09 17:58
snooze6214[m]ah, so ill have to walk the pagetables manually and translate?
#asahi-dev · 2026-11-09 17:57
snooze6214[m]should i be trying something more recent?
#asahi-dev · 2026-11-09 17:56
snooze6214[m]26.6.2
#asahi-dev · 2026-11-09 17:53
snooze6214[m]oh okay :0 i didn't see the early "Darwin" log in XNU logs, so i thought it was early in the boot
#asahi-dev · 2026-11-09 17:51
snooze6214[m]sven: hv on a18 pro: it seems to get stuck in a panic loop pretty early in the boot: https://termbin.com/0a3mn... (full message at <https://matrix.org/oftc/media/v1/media/download/Ae0D_OvRy_lizPWSYpfcuKelH4rN8Me8SrKAFe6Z8Agobyo4RT10A7rFzLU4VZv2NnBb4zcXY--RxuKphAeFdbxCeiCYkdYwAG1hdHJpeC5vcmcvUlFKYktXQkVZanFkbURQYkdwbGJxUnpY>)
#asahi-dev · 2026-11-09 08:55
snooze6214[m]Cool, thanks :)
#asahi-dev · 2026-11-09 08:54
snooze6214[m]Should I make a PR for that hack? Or is it too "hacky" to be in upstream m1n1?
#asahi-dev · 2026-11-09 08:53
snooze6214[m]sven: I saw that m5 hv got merged, does that include sk emulation? I can try on the a18 pro tonight :)
#asahi-dev · 2026-10-30 20:16
snooze6214[m]cool, thank you
#asahi-dev · 2026-10-30 20:11
snooze6214[m]gotcha thank you! also, why non-upstreamable?
#asahi-dev · 2026-10-30 20:06
snooze6214[m]do you mind sharing your repo please? and is there anything that i could work on?
#asahi-dev · 2026-10-30 20:04
snooze6214[m]hey, what branch in AsahiLinux/linux would have the most up to date device trees for the neo?
#asahi-dev · 2026-10-29 21:18
snooze6214[m]yep sure! thanks for all the help + all your work, this is sick :)
#asahi-dev · 2026-10-29 21:14
snooze6214[m]like a boot arg?
#asahi-dev · 2026-10-29 21:07
snooze6214[m]sven: okay... idk what happend last time but now, i ran run_guest again and this time there was no exception lol. no panics either :) seems like xnu is running, but the screen is still stuck at the loading screen. https... (full message at <https://matrix.org/oftc/media/v1/media/download/AaLMXmnvi6rC-rNp1n1p-H1EdHLL0hoOoz7GDsp-tWT32x2HnjEnTfY6C5Y16LJ203kOPOUh0HKLEdenkl0o0HZCeh0ZZvZgAG1hdHJpeC5vcmcvdXNYR3VVeXRWbUNzeU5ja2VjVFFUSkls>)
#asahi-dev · 2026-10-29 20:32
snooze6214[m]we no longer panic \o/ now i have a sync exception when another cpu starts, ill take a look
#asahi-dev · 2026-10-29 20:29
snooze6214[m]oops that my bad. i added alias for both, but i used HV_VREG_CTRR_D_LWR_EL1 for shadow for both :')
#asahi-dev · 2026-10-29 20:27
snooze6214[m]TTY> panic(cpu 5 caller 0xfffffe003d97b624): zalloc_ro_mut failed: source (0xfffffe0038ca5290, phys 0x1001b40d290) not from RO zone map (0xfffffe16dc000000 - 0xfffffe1976000000), current stack (0xfffffecdf39a8000 - 0xfffffecdf39ac000) or const memory (phys 0x10017dec000 - 0x10017decfff) @zalloc.c:6733
#asahi-dev · 2026-10-29 20:27
snooze6214[m]eyyyy! progress!!! still a panic, but progress xD i think that totally worked :)
#asahi-dev · 2026-10-29 20:21
snooze6214[m]makes sense, cool :)
#asahi-dev · 2026-10-29 20:21
snooze6214[m]ah so when HCR_EL2.E2H and you want to access the actual EL1 registerm you use the _EL12 registers?
#asahi-dev · 2026-10-29 20:17
snooze6214[m]oh right, my bad
#asahi-dev · 2026-10-29 20:17
snooze6214[m]aah makes sense, because sptm is expecting xnu to be running in el1?
#asahi-dev · 2026-10-29 20:14
snooze6214[m]sven: this seems shady no?... (full message at <https://matrix.org/oftc/media/v1/media/download/AXgXBRz1Kk8OaZclF3T-RNZfQMVWIt4W5vpSlSNEbSJkcyRhlp6pZIFhYkVwgdHLePz7mDCrvGaX6ODqgJVxOa9Ceh0WW49AAG1hdHJpeC5vcmcvaFRITkZha3VueFJnbFB3WnFaT21nb3Za>)
#asahi-dev · 2026-10-29 20:02
snooze6214[m]ack, makes sense
#asahi-dev · 2026-10-29 19:49
snooze6214[m]i see
#asahi-dev · 2026-10-29 19:48
snooze6214[m]honestly, not sure :( also is CTRR related to this: https://blog.siguza.net/KTRR/
#asahi-dev · 2026-10-29 19:41
snooze6214[m]Does anyone know how rorgn_begin and rorgn_end are set under SPTM? (referenced here https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/osfmk/kern/zalloc.c#L6518)... (full message at <https://matrix.org/oftc/media/v1/media/download/AZQLmArQASkYF-UWY0ViR_bPis2IW9NKVHoTeec1g13Uxbu0g0-FlCHZvCj58HdOqCvurwmpZLWi-v7l-BKGzyRCeh0UfI8wAG1hdHJpeC5vcmcvVllLcmhKTlhIVGpHRkNRRVpidEFVVUdh>)
#asahi-dev · 2026-10-27 09:17
snooze6214[m]Oh the existing driver on linux won't work on the neo?
#asahi-dev · 2026-10-27 09:12
snooze6214[m]hmm okay, thanks, I'll take a look
#asahi-dev · 2026-10-27 09:08
snooze6214[m]yuka: you mentioned device mode would work on the mb neo if it's using usb 3 right? how hard is it to implement this for someone who's new to this?
#asahi-dev · 2026-10-26 20:10
snooze6214[m]also am i allowed to refer OSS xnu code like https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/osfmk/kern/zalloc.c ?
#asahi-dev · 2026-10-26 20:08
snooze6214[m]disassembly at the caller address... (full message at <https://matrix.org/oftc/media/v1/media/download/AUsX8NGUwcnVVUVLsS8TVRD1cwJfzkc_bna-SLVaHgnVJGRjhcqwt14nmmlX8vV_ki4bgCj5N7zIRYew-tEBXSZCehwe1FvgAG1hdHJpeC5vcmcva211RGxlQ1llcnpURmtUZVlZT2htS2JB>)
#asahi-dev · 2026-10-26 20:04
snooze6214[m]i think it made progress 🥳... (full message at <https://matrix.org/oftc/media/v1/media/download/AQbcq6Jx4rhGd3kpSap4mPgqwBhQ4XXkChqBdJbtKML8G4clGFzft3bdYzn84EfE3pprp4c9RTcaiJWlzxPOqrJCehwelVWwAG1hdHJpeC5vcmcvdHhjZEpEcE90RHFVZE1GbkpmekVFUmN6>)
#asahi-dev · 2026-10-26 19:56
snooze6214[m]okay, i can try that
#asahi-dev · 2026-10-26 19:50
snooze6214[m]neat, thanks :)
#asahi-dev · 2026-10-26 19:49
snooze6214[m]sven: i added a printf in handle_vuart and it gives me xnu logs mixed with m1n1 logs (diff: https://termbin.com/hgp7)... (full message at <https://matrix.org/oftc/media/v1/media/download/AeI4Dyfcwu-wVqvJacK02RVXEe-BOZB7MbQTcXEZ-YEzqNE_fIkeiUf1bb7AKA_WfGNl-gXyQywkNhenX_YqLFpCehwdtlpwAG1hdHJpeC5vcmcvRm5iamdqVERTVkRIakx3RFVaSUt4WlZB>)
#asahi-dev · 2026-10-26 18:11
snooze6214[m]https://termbin.com/m91u
#asahi-dev · 2026-10-26 18:06
snooze6214[m]huh i see... why is there a random xnu debugger breakpoint tho :') that probably means something patched the code here no?
#asahi-dev · 2026-10-26 18:00
snooze6214[m]i see the same bytes here in m1n1 code, is it related? https://github.com/AsahiLinux/m1n1/blob/578600a163381ffcbad8620955226f29dc63d6dc/proxyclient/m1n1/hv/__init__.py#L796
#asahi-dev · 2026-10-26 17:58
snooze6214[m]hv_disassemble_at(0xfffffe003c9f3a84 - 5*4, 10 * 4)... (full message at <https://matrix.org/oftc/media/v1/media/download/AVmrDtBQedLbwQwzWQuDtYoOW1joY39axyvtW3QBGuD3rxUHABqtvyVr_KC4rpK850o-UQFzA79l7xlgDxAMrVBCehwXZQ9gAG1hdHJpeC5vcmcveUlwVW9JZnhwaWJWWWdMaWpsaExLZGpN>)
#asahi-dev · 2026-10-26 17:58
snooze6214[m]everything around that is an instruction (sorry, i should have sent the whole output)... (full message at <https://matrix.org/oftc/media/v1/media/download/AUqh_-XT0Ai19G8YVUntN3sC0Vgz4-b2HmdzwcBc_FoOQN9ACOkcdeo1pUBTecpKAGN9wo4jOY0uLOoUpVZk5q5CehwXXwXgAG1hdHJpeC5vcmcvcGFtVWRhckNHVWxxUFVacUdxS3htd1Z5>)
#asahi-dev · 2026-10-26 17:57
snooze6214[m]it was in ELR_EL12
#asahi-dev · 2026-10-26 17:52
snooze6214[m] fffffe003c9f3a84: e7ffdeff .inst 0xe7ffdeff ; undefined
#asahi-dev · 2026-10-26 17:52
snooze6214[m]>>> hv_disassemble_at(0xfffffe003c9f3a84, 10 * 4)
#asahi-dev · 2026-10-26 17:52
snooze6214[m]sven: the kernel panic seems to be at an unknown instruction
#asahi-dev · 2026-10-25 19:27
snooze6214[m]s/more/mode/

plus ›