2026-05-25
00:01hardy94 has joined #asahi-dev
00:07hardy94 has quit [Remote host closed the connection]
00:37apc has joined #asahi-dev
01:06StanfordAppliedCyber[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
01:06StanfordAppliedCyber[m]tl;dr i'm getting the xnu panic
01:06StanfordAppliedCyber[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>)
01:08StanfordAppliedCyber[m]from the ADT, this corresponds to SOC_DPE MSG trying to access PCPM APCIE_SYS_GP
01:08StanfordAppliedCyber[m]the issue is twofold
01:09StanfordAppliedCyber[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?
01:10StanfordAppliedCyber[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
01:11StanfordAppliedCyber[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
01:11StanfordAppliedCyber[m]does anyone have an idea of 1. what exactly is going wrong here? and 2. any tips on how to debug this
01:12StanfordAppliedCyber[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
01:24StanfordAppliedCyber[m]we basically dont touch mmio
01:24StanfordAppliedCyber[m]we block the cpustart writes and release the core from the spin table as usual
01:24StanfordAppliedCyber[m]we intercept the uart writes because we want to use that
01:28StanfordAppliedCyber[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)
01:34sofrosune has quit []
01:35StanfordAppliedCyber[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")
01:37jsk has quit [Remote host closed the connection]
01:38apc has quit [Ping timeout: 480 seconds]
01:39liangqi has quit [Remote host closed the connection]
01:40liangqi has joined #asahi-dev
01:44apc has joined #asahi-dev
01:48liangqi has quit [Ping timeout: 480 seconds]
01:49marvin24_ has joined #asahi-dev
01:53marvin24 has quit [Ping timeout: 480 seconds]
01:53habiby has quit [Ping timeout: 480 seconds]
01:57liangqi has joined #asahi-dev
01:59damas has quit [Ping timeout: 480 seconds]
02:00damas has joined #asahi-dev
02:05StanfordAppliedCyber[m]https://patents.google.com/patent/US9195291 i also found this patent on the dpe fabric (i'm sure this is known)
02:06liangqi has quit [Ping timeout: 480 seconds]
02:15liangqi has joined #asahi-dev
02:23liangqi has quit [Ping timeout: 480 seconds]
02:27tobhe_ has joined #asahi-dev
02:29StanfordAppliedCyber[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
02:29StanfordAppliedCyber[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
02:33liangqi has joined #asahi-dev
02:34tobhe has quit [Ping timeout: 480 seconds]
02:47liangqi has quit [Ping timeout: 480 seconds]
02:57liangqi has joined #asahi-dev
03:00kaguya_ has quit [Quit: Connection closed for inactivity]
03:08renoo is now known as Guest10059
03:08renoo has joined #asahi-dev
03:08Guest10059 has quit []
03:09renoo has quit [Remote host closed the connection]
03:09renoo has joined #asahi-dev
03:09liangqi has quit [Ping timeout: 480 seconds]
03:15apc has quit [Ping timeout: 480 seconds]
03:19liangqi has joined #asahi-dev
03:27liangqi has quit [Ping timeout: 480 seconds]
03:36liangqi has joined #asahi-dev
03:47marvin24_ has quit [Ping timeout: 480 seconds]
03:50liangqi has quit [Ping timeout: 480 seconds]
04:00nora has joined #asahi-dev
04:02nora_ has quit [Ping timeout: 480 seconds]
04:05apc has joined #asahi-dev
04:14liangqi has joined #asahi-dev
04:16voidah has quit [Read error: Connection reset by peer]
04:17voidah has joined #asahi-dev
04:22liangqi has quit [Ping timeout: 480 seconds]
04:31habiby has joined #asahi-dev
04:42liangqi has joined #asahi-dev
04:50liangqi has quit [Ping timeout: 480 seconds]
04:53ddxtanx has quit [Remote host closed the connection]
04:56ddxtanx has joined #asahi-dev
05:00liangqi has joined #asahi-dev
05:08liangqi has quit [Ping timeout: 480 seconds]
05:31ddxtanx has quit [Quit: Konversation terminated!]
05:32ddxtanx has joined #asahi-dev
05:34voidah has quit [Ping timeout: 480 seconds]
05:42voidah has joined #asahi-dev
05:50voidah has quit [Ping timeout: 480 seconds]
05:58voidah has joined #asahi-dev
06:04voidah has quit [Read error: Connection reset by peer]
06:04voidah has joined #asahi-dev
06:14gargantu1 has quit [Ping timeout: 480 seconds]
06:18liangqi has joined #asahi-dev
06:47ddxtanx has quit [Quit: Konversation terminated!]
06:47ddxtanx has joined #asahi-dev
07:14voidah has quit [Ping timeout: 480 seconds]
07:17liangqi has quit [Ping timeout: 480 seconds]
07:21cy8aer has quit [Remote host closed the connection]
07:22voidah has joined #asahi-dev
07:23cy8aer has joined #asahi-dev
07:25gargantua has joined #asahi-dev
07:26liangqi has joined #asahi-dev
07:36voidah has quit [Ping timeout: 480 seconds]
07:44voidah has joined #asahi-dev
07:53liangqi has quit [Ping timeout: 480 seconds]
07:55voidah has quit [Ping timeout: 480 seconds]
08:02liangqi has joined #asahi-dev
08:04voidah has joined #asahi-dev
08:10liangqi has quit [Ping timeout: 480 seconds]
08:11alessaba has quit [Ping timeout: 480 seconds]
08:11gargantu1 has joined #asahi-dev
08:11gargantua has quit [Ping timeout: 480 seconds]
08:12alessaba has joined #asahi-dev
08:13voidah has quit [Ping timeout: 480 seconds]
08:17liangqi has joined #asahi-dev
08:21voidah has joined #asahi-dev
08:33___nick___ has joined #asahi-dev
08:33___nick___ has quit []
08:35___nick___ has joined #asahi-dev
08:38voidah has quit [Ping timeout: 480 seconds]
08:46voidah has joined #asahi-dev
08:52yukacan you confirm that, with your kexts / script, you see the macbook neo as a usb device on another host?
08:54NickChan[m]the macOS command is `system_profiler SPUSBDataType`
09:04voidah has quit [Ping timeout: 480 seconds]
09:11yukathere is so much text in the repo that it's difficult to grasp what's relevant for switching to device role and what is not
09:12jsk has joined #asahi-dev
09:12voidah has joined #asahi-dev
09:18pb17 has quit [Ping timeout: 480 seconds]
09:21voidah has quit [Ping timeout: 480 seconds]
09:22pb17 has joined #asahi-dev
09:28voidah has joined #asahi-dev
09:35yukahttps://cyberchaos.dev/yuka/j700-i2c-dump/-/tree/main/i2c <-- pushed the adt, pmgr & i2c code running in a kext
09:35yukaI think next up is a basic uartproxy so that I don't have to reboot this thing for each new dump
09:37voidah has quit [Ping timeout: 480 seconds]
09:45voidah has joined #asahi-dev
09:53hardy94 has joined #asahi-dev
09:53voidah has quit [Ping timeout: 480 seconds]
10:02voidah has joined #asahi-dev
10:10voidah has quit [Ping timeout: 480 seconds]
10:18voidah has joined #asahi-dev
10:27voidah has quit [Ping timeout: 480 seconds]
10:29voidah has joined #asahi-dev
10:34chadmed has quit [Read error: Connection reset by peer]
10:34chadmed has joined #asahi-dev
10:38voidah has quit [Ping timeout: 480 seconds]
10:44pb17 has quit [Ping timeout: 480 seconds]
10:46voidah has joined #asahi-dev
10:49pb17 has joined #asahi-dev
10:54voidah has quit [Ping timeout: 480 seconds]
11:01voidah has joined #asahi-dev
11:10voidah has quit [Ping timeout: 480 seconds]
11:17voidah has joined #asahi-dev
11:26voidah has quit [Ping timeout: 480 seconds]
11:30voidah has joined #asahi-dev
11:48hardy94 has quit [Remote host closed the connection]
12:22chadmed has quit [Ping timeout: 480 seconds]
12:23chadmed has joined #asahi-dev
12:30midou has quit [Remote host closed the connection]
12:31midou has joined #asahi-dev
12:37ralim has joined #asahi-dev
12:38ralim has quit []
12:39ralim has joined #asahi-dev
12:46voidah has quit [Ping timeout: 480 seconds]
12:53voidah has joined #asahi-dev
13:06voidah has quit [Ping timeout: 480 seconds]
13:15voidah has joined #asahi-dev
13:24voidah has quit [Ping timeout: 480 seconds]
13:31voidah has joined #asahi-dev
13:50voidah has quit [Ping timeout: 480 seconds]
13:58voidah has joined #asahi-dev
14:02liangqi has quit [Remote host closed the connection]
14:03liangqi has joined #asahi-dev
14:07voidah has quit [Ping timeout: 480 seconds]
14:11liangqi has quit [Ping timeout: 480 seconds]
14:15gargantu1 has quit [Ping timeout: 480 seconds]
14:17voidah has joined #asahi-dev
14:20liangqi has joined #asahi-dev
14:24michaelros444 has quit [Ping timeout: 480 seconds]
14:25voidah has quit [Ping timeout: 480 seconds]
14:32voidah has joined #asahi-dev
14:36gargantua has joined #asahi-dev
14:41voidah has quit [Ping timeout: 480 seconds]
14:50voidah has joined #asahi-dev
14:59voidah has quit [Ping timeout: 480 seconds]
15:07voidah has joined #asahi-dev
15:08gargantu1 has joined #asahi-dev
15:12gargantua has quit [Ping timeout: 480 seconds]
15:15voidah has quit [Ping timeout: 480 seconds]
15:17mripard_ has joined #asahi-dev
15:19mripard has quit [Ping timeout: 480 seconds]
15:21liangqi has quit [Ping timeout: 480 seconds]
15:24voidah has joined #asahi-dev
15:30liangqi has joined #asahi-dev
15:32voidah has quit [Ping timeout: 480 seconds]
15:33voidah has joined #asahi-dev
15:35lion328 has quit [Remote host closed the connection]
15:38liangqi has quit [Ping timeout: 480 seconds]
15:38lion328 has joined #asahi-dev
15:42liangqi has joined #asahi-dev
15:42voidah has quit [Ping timeout: 480 seconds]
15:44mripard_ has quit [Ping timeout: 480 seconds]
15:50voidah has joined #asahi-dev
15:50liangqi has quit [Ping timeout: 480 seconds]
15:58voidah has quit [Ping timeout: 480 seconds]
15:58liangqi has joined #asahi-dev
16:06voidah has joined #asahi-dev
16:11liangqi has quit [Ping timeout: 480 seconds]
16:15voidah has quit [Ping timeout: 480 seconds]
16:21liangqi has joined #asahi-dev
16:23voidah has joined #asahi-dev
16:29liangqi has quit [Ping timeout: 480 seconds]
16:31voidah has quit [Ping timeout: 480 seconds]
16:34voidah has joined #asahi-dev
16:37ddxtanx has quit [Quit: Konversation terminated!]
16:38gargantua has joined #asahi-dev
16:38ddxtanx has joined #asahi-dev
16:41gargantu1 has quit [Ping timeout: 480 seconds]
16:43voidah has quit [Ping timeout: 480 seconds]
16:48ddxtanx has quit [Quit: Konversation terminated!]
16:49ddxtanx has joined #asahi-dev
16:49ddxtanx has quit []
16:49ddxtanx has joined #asahi-dev
16:51voidah has joined #asahi-dev
16:53liangqi has joined #asahi-dev
16:54ddxtanx has quit [Quit: Konversation terminated!]
16:55ddxtanx has joined #asahi-dev
16:59voidah has quit [Ping timeout: 480 seconds]
17:01liangqi has quit [Ping timeout: 480 seconds]
17:05ddxtanx has quit [Quit: Konversation terminated!]
17:07voidah has joined #asahi-dev
17:09ddxtanx has joined #asahi-dev
17:14ddxtanx has quit [Quit: Konversation terminated!]
17:15ddxtanx has joined #asahi-dev
17:15voidah has quit [Ping timeout: 480 seconds]
17:23voidah has joined #asahi-dev
17:25ddxtanx has quit [Quit: Konversation terminated!]
17:27ddxtanx has joined #asahi-dev
17:30WindowPain3 has joined #asahi-dev
17:32voidah has quit [Ping timeout: 480 seconds]
17:35voidah has joined #asahi-dev
17:36WindowPain has quit [Ping timeout: 480 seconds]
17:36WindowPain3 is now known as WindowPain
17:41ddxtanx has quit [Quit: Konversation terminated!]
17:44ddxtanx has joined #asahi-dev
17:44voidah has quit [Ping timeout: 480 seconds]
17:48cow123_ has quit [Ping timeout: 480 seconds]
17:49ddxtanx has quit [Quit: Konversation terminated!]
17:49liangqi has joined #asahi-dev
17:49ddxtanx has joined #asahi-dev
17:51yuyichao_ has quit [Quit: Konversation terminated!]
17:51yuyichao_ has joined #asahi-dev
17:53voidah has joined #asahi-dev
17:59ddxtanx has quit [Quit: Konversation terminated!]
18:00ddxtanx has joined #asahi-dev
18:09berzrk_ has quit [Ping timeout: 480 seconds]
18:12liangqi has quit [Ping timeout: 480 seconds]
18:15ddxtanx has quit [Quit: Konversation terminated!]
18:16ddxtanx has joined #asahi-dev
18:23renoo is now known as Guest10092
18:23renoo has joined #asahi-dev
18:24yurix_ has joined #asahi-dev
18:24yurix has quit [Read error: No route to host]
18:24yurix_ is now known as yurix
18:30Guest10092 has quit [Ping timeout: 480 seconds]
18:31ddxtanx has quit [Quit: Konversation terminated!]
18:31ddxtanx has joined #asahi-dev
18:31ddxtanx has quit []
18:32ddxtanx has joined #asahi-dev
18:34hardy94 has joined #asahi-dev
18:35liangqi has joined #asahi-dev
18:43liangqi has quit [Ping timeout: 480 seconds]
18:46voidah has quit [Ping timeout: 480 seconds]
18:54voidah has joined #asahi-dev
19:02ddxtanx has quit [Quit: Konversation terminated!]
19:02ddxtanx has joined #asahi-dev
19:02ddxtanx has quit []
19:02voidah has quit [Ping timeout: 480 seconds]
19:03ddxtanx has joined #asahi-dev
19:09sofrosune has joined #asahi-dev
19:10voidah has joined #asahi-dev
19:13gargantua has quit [Ping timeout: 480 seconds]
19:15yukahardy94: if you can help me reproduce this in a synchronous debugging session that would be appreciated
19:17liangqi has joined #asahi-dev
19:19voidah has quit [Ping timeout: 480 seconds]
19:23pb17 has quit [Ping timeout: 480 seconds]
19:25liangqi has quit [Ping timeout: 480 seconds]
19:26voidah has joined #asahi-dev
19:29pb17 has joined #asahi-dev
19:32sofrosune has quit [Ping timeout: 480 seconds]
19:36voidah has quit [Ping timeout: 480 seconds]
19:36sofrosune has joined #asahi-dev
19:37liangqi has joined #asahi-dev
19:38ddxtanx has quit [Quit: Konversation terminated!]
19:38ddxtanx has joined #asahi-dev
19:43voidah has joined #asahi-dev
19:50liangqi has quit [Ping timeout: 480 seconds]
19:51voidah has quit [Ping timeout: 480 seconds]
19:53ddxtanx has quit [Quit: Konversation terminated!]
19:54yuyichao_ has quit [Quit: Konversation terminated!]
19:54yuyichao_ has joined #asahi-dev
19:54ddxtanx has joined #asahi-dev
19:56sofrosune has quit [Ping timeout: 480 seconds]
19:56liangqi has joined #asahi-dev
19:57yukain case this is useful: after running "./neo-usb-device -p 1 device", I get AppleUSBNCMControl absent and AppleUSBNCMData absent
20:00voidah has joined #asahi-dev
20:02gargantua has joined #asahi-dev
20:04___nick___ has quit [Remote host closed the connection]
20:05liangqi has quit [Ping timeout: 480 seconds]
20:09voidah has quit [Ping timeout: 480 seconds]
20:10ddxtanx has quit [Quit: Konversation terminated!]
20:10ddxtanx has joined #asahi-dev
20:11gargantua has quit []
20:14voidah has joined #asahi-dev
20:15liangqi has joined #asahi-dev
20:23voidah has quit [Ping timeout: 480 seconds]
20:24liangqi has quit [Ping timeout: 480 seconds]
20:30ddxtanx has quit [Quit: Konversation terminated!]
20:30ddxtanx has joined #asahi-dev
20:30ddxtanx has quit []
20:30ddxtanx has joined #asahi-dev
20:31voidah has joined #asahi-dev
20:39voidah has quit [Ping timeout: 480 seconds]
20:41___nick___ has joined #asahi-dev
20:46ddxtanx has quit [Quit: Konversation terminated!]
20:46ddxtanx has joined #asahi-dev
20:46ddxtanx has quit []
20:46ddxtanx has joined #asahi-dev
20:48voidah has joined #asahi-dev
20:56voidah has quit [Ping timeout: 480 seconds]
21:04voidah has joined #asahi-dev
21:05Yushi has quit [Remote host closed the connection]
21:06Yushi has joined #asahi-dev
21:07roxfan2 has joined #asahi-dev
21:10liangqi has joined #asahi-dev
21:14roxfan has quit [Ping timeout: 480 seconds]
21:18liangqi has quit [Ping timeout: 480 seconds]
21:24voidah has quit [Ping timeout: 480 seconds]
21:27liangqi has joined #asahi-dev
21:31voidah has joined #asahi-dev
21:36liangqi has quit [Ping timeout: 480 seconds]
21:40voidah has quit [Ping timeout: 480 seconds]
21:41liangqi has joined #asahi-dev
21:45damas has quit [Remote host closed the connection]
21:45damas has joined #asahi-dev
21:48voidah has joined #asahi-dev
21:50liangqi has quit [Ping timeout: 480 seconds]
21:54damas has quit [Ping timeout: 480 seconds]
21:56voidah has quit [Ping timeout: 480 seconds]
21:59liangqi has joined #asahi-dev
22:04voidah has joined #asahi-dev
22:05hardy94 has quit [Quit: hardy94]
22:07liangqi has quit [Ping timeout: 480 seconds]
22:08liangqi has joined #asahi-dev
22:09berdanka has joined #asahi-dev
22:09berdankaHi! How to generate BOOTAA64.CSV and other files in /EFI needed for U-boot to properly load grub?
22:10chaos_princessu-boot does not need them?
22:13voidah has quit [Ping timeout: 480 seconds]
22:16liangqi has quit [Ping timeout: 480 seconds]
22:16voidah has joined #asahi-dev
22:21chaos_princessit is for shim, you do not need shim
22:21chaos_princessand failing to load efi variables is fine, there is nowhere to load them from
22:21liangqi has joined #asahi-dev
22:22chaos_princessthat is why you have to use BOOTAA64.EFI instead of being able to specify your own path
22:23elvishjerricco has joined #asahi-dev
22:24chaos_princesshow exactly is it failing
22:24chaos_princessactually, where are you getting your u-boot from?
22:28berdanka"error: ../../../grub-core/kern/fs.c:122:uknown filesystem." then throws me into the grub rescue
22:30liangqi has quit [Ping timeout: 480 seconds]
22:30hardy94 has joined #asahi-dev
22:31berdankaAnd I get my u-boot (probably) by installing it with the asahi-* packages from Debian Bananas repo and copying it into my ESp
22:31berdankacat binary/usr/lib/m1n1/m1n1.bin $(find "$DTBS" -name "*.dtb") <(gzip -c binary/usr/lib/u-boot/apple_m1/u-boot-nodtb.bin) >esp/m1n1/boot.bin
22:32___nick___ has quit [Ping timeout: 480 seconds]
22:37chaos_princessadd --modules=fat to grub-install cmdline
22:39chaos_princessand post your current one
22:39berdankaarch-chroot "${MNTDIR}" grub-install --target=arm64-efi --efi-directory=/boot/efi --removable
22:39berdankaarch-chroot "${MNTDIR}" grub-install --target=arm64-efi --efi-directory=/boot/efi --recheck
22:41chaos_princessalso add --boot-directory=/boot/
22:41berdankaarch-chroot "${MNTDIR}" grub-install --modules=fat --target=arm64-efi --boot-directory=/boot --efi-directory=/boot/efi --removable
22:41berdankaarch-chroot "${MNTDIR}" grub-install --modules=fat --target=arm64-efi --boot-directory=/boot --efi-directory=/boot/efi --recheck
22:42chaos_princesssth like that
22:56liangqi has joined #asahi-dev
23:05liangqi has quit [Ping timeout: 480 seconds]
23:09gargantua has joined #asahi-dev
23:09liangqi has joined #asahi-dev
23:14hardy94 has quit [Remote host closed the connection]
23:22liangqi has quit [Ping timeout: 480 seconds]
23:31gargantu1 has joined #asahi-dev
23:33gargantua has quit [Ping timeout: 480 seconds]
23:34pb17 has quit [Ping timeout: 480 seconds]
23:35pb17 has joined #asahi-dev
23:46liangqi has joined #asahi-dev
23:54liangqi has quit [Ping timeout: 480 seconds]