#
#asahi-dev · 2026-05-25 02:29
StanfordAppliedCyber[m]and i haven't looked at all into the kernelcache to see what this means, so all i have is the raw panic string
#asahi-dev · 2026-05-25 02:29
StanfordAppliedCyber[m]the other hypothesis is that the addr values are correct and some routing thing is messed up because the target device is either power or clock gated, which would make some sense, but i'm really not sure
#asahi-dev · 2026-05-25 02:05
StanfordAppliedCyber[m]https://patents.google.com/patent/US9195291 i also found this patent on the dpe fabric (i'm sure this is known)
#asahi-dev · 2026-05-25 01:35
StanfordAppliedCyber[m]this is very late in iokit init btw, the actual control flow is we're in iokitbsdinit which is basically await all devices to init, after this it's mount root, execve("/sbin/launchd")
#asahi-dev · 2026-05-25 01:28
StanfordAppliedCyber[m]and there's two addresses 0x211059000 and 0x211059008 that we blackhole all writes to, but i highly doubt this have to do with the current problem (idk why but if we allow the writes we get serrors)
#asahi-dev · 2026-05-25 01:24
StanfordAppliedCyber[m]we intercept the uart writes because we want to use that
#asahi-dev · 2026-05-25 01:24
StanfordAppliedCyber[m]we block the cpustart writes and release the core from the spin table as usual
#asahi-dev · 2026-05-25 01:24
StanfordAppliedCyber[m]we basically dont touch mmio
#asahi-dev · 2026-05-25 01:12
StanfordAppliedCyber[m]i think i may have met my match on this issue because i'm banging my head against a wall and not making much progress
#asahi-dev · 2026-05-25 01:11
StanfordAppliedCyber[m]does anyone have an idea of 1. what exactly is going wrong here? and 2. any tips on how to debug this
#asahi-dev · 2026-05-25 01:11
StanfordAppliedCyber[m]like the addrhi/addrlo is suspicious because 0x0/0x0 doesn't look valid-- seems like something is trying to read from 0x0 --> obvious fault, but idk why that looks like that
#asahi-dev · 2026-05-25 01:10
StanfordAppliedCyber[m]2. ultimately the issue is something our hypervisor introduces that differs from bare metal boot, because i know this exact kernelcache works bare metal. i have no clue what this could be
#asahi-dev · 2026-05-25 01:09
StanfordAppliedCyber[m]1. because this is an opaque fabric, i have no clue how to go about debugging it. i looked through irc, and it looks like there's some addresses that look like some sort of config?
#asahi-dev · 2026-05-25 01:08
StanfordAppliedCyber[m]the issue is twofold
#asahi-dev · 2026-05-25 01:08
StanfordAppliedCyber[m]from the ADT, this corresponds to SOC_DPE MSG trying to access PCPM APCIE_SYS_GP
#asahi-dev · 2026-05-25 01:06
StanfordAppliedCyber[m] Ni6 PIOGW 0 ADDR_DECODE error (0x00000002) cmd:0x14 valid/type/tid:0x1/0x1/0x1c... (full message at <https://matrix.org/oftc/media/v1/media/download/ASuuhsuWl5UeCclRlwv4dT5PIaeCVJz54SfOYR1AVLuc8BDvYvI322ZFT-_sauWNtdotagWko5ulc9mu1EAwtI1CeepMQqqgAG1hdHJpeC5vcmcvc1VQWGhYQ3ZRUWpndU9SS2VFZ3N1allJ>)
#asahi-dev · 2026-05-25 01:06
StanfordAppliedCyber[m]tl;dr i'm getting the xnu panic
#asahi-dev · 2026-05-25 01:06
StanfordAppliedCyber[m]okay guys i need some help here, i've spent almost a week on this panic and haven't really made progress towards fixing it
#asahi-dev · 2026-05-24 23:59
hardy94i will later publish this public
#asahi-dev · 2026-05-24 23:59
hardy94this Repo contains 2 big parts the stack for usb device like cdc-acm an Mass storage, both works but unfortunable you have to restart your machine due policy restrictions. @yuka i think you should find everything you want in the repo ... i am on vacation the next week and would reply and contribute to your work (y)
#asahi-dev · 2026-05-24 23:57
hardy94i uploaded it on an private Repo and added you as an collobarateur.
#asahi-dev · 2026-05-24 23:10
yukaPlease do. I want to dump the usb-hub values in gadget mode.
#asahi-dev · 2026-05-24 23:09
hardy94i can upload it on a private github repo and give you access
#asahi-dev · 2026-05-24 23:08
yukaCan I find this kext anywhere?
#asahi-dev · 2026-05-24 23:08
hardy94i can also confirm the address on the i2c bus
#asahi-dev · 2026-05-24 23:07
hardy94yuka: as i wrote on https://oftc.catirclogs.org/asahi-dev/2026-05-04 macOS recognises Multiple USB ICs. you can use ioreg to get these devices. I implemented on the macOS a Kext which moves the left USB Port into Gadget Mode like a CDC-ACM device and mass storage
#asahi-dev · 2026-05-24 22:51
yukaThe diff to the dump I did under linux corresponds to applying tunable-vlf0 plus setting the vendor/product id
#asahi-dev · 2026-05-24 22:46
yuka05ac is the apple usb vendor id
#asahi-dev · 2026-05-24 22:46
yukahttps://yuyu.yuka.dev/public/j700-i2cdump2.txt
#asahi-dev · 2026-05-24 22:44
yukagot a dump from the usb hub!
#asahi-dev · 2026-05-24 22:27
yukaAlso, I got the m1n1 adt and pmgr code working in the kext, which makes the code much cleaner
#asahi-dev · 2026-05-24 22:26
yukaand realized the values are actually reasonable, just offset by one and the ones were nothing could be read are all following a 0
#asahi-dev · 2026-05-24 22:26
yukajust looked at my previous i2c dumping under mac os attempt again
#asahi-dev · 2026-05-24 20:15
maettu102i saw that there are some vulkan extensions left to do for honeykrisp on mesamatrix, not sure how hard that would be to do but i would like to give it a try it. What missing extension would be a good start to look into?
#asahi-dev · 2026-05-24 18:50
eschryn[m]Ooh thanks! I'll just install the udev rules because I'm stressed out by the 5 sec m1n1 gives me
#asahi-dev · 2026-05-24 18:46
chaos_princessyou don't really need them tbh, as you can point it at the tty device with M1N1DEVICE=/dev/ttyWhatever ...
#asahi-dev · 2026-05-24 18:45
eschryn[m]Good point - I haven't 😅 (didn't see those exist 😭)
#asahi-dev · 2026-05-24 18:45
chaos_princesshave you installed the udev rules?
#asahi-dev · 2026-05-24 18:44
eschryn[m]Arch Linux x86_64
#asahi-dev · 2026-05-24 18:44
chaos_princesswhich host os?
#asahi-dev · 2026-05-24 18:42
eschryn[m]I somehow can't get the tethered boot to work since my m3 Mac doesnt show up as m1n1-sec in /dev/ hmm
#asahi-dev · 2026-05-24 15:57
RZ302Is there any accessible way to test Asahi on an M3 MBP yet? Not sure how far development got on that
#asahi-dev · 2026-05-24 11:20
yukabeware, this is an absolute mess
#asahi-dev · 2026-05-24 11:20
yukahttps://cyberchaos.dev/yuka/j700-i2c-dump/-/tree/main/i2c
#asahi-dev · 2026-05-24 11:13
yukaI also had to get started with the usb-repeater-i2c (i2c addr 0x21) because 0x2c is not available until I reset it.
#asahi-dev · 2026-05-24 11:13
yukamaybe I botched some of the utils.h functions
#asahi-dev · 2026-05-24 11:12
yukathe m1n1 i2c code is not too happy
#asahi-dev · 2026-05-24 11:12
yukabrowser like this more
#asahi-dev · 2026-05-24 11:12
yukahttps://yuyu.yuka.dev/public/j700-i2cdump1.txt
#asahi-dev · 2026-05-24 11:12
yukaor

plus ›