#
✕ nick:amw
#asahi · 2021-06-19 06:39
amwI can send an e-mail
#asahi · 2021-06-19 06:38
amwNot seeing anything on my weechat = but I'm very newbie...
#asahi · 2021-06-19 06:36
amwHave you got a spot? I don't have any servers running on the internet
#asahi · 2021-06-19 06:34
amw# CONFIG_RANDOMIZE_BASE is not set
#asahi · 2021-06-19 06:33
amwI can't seem to match up the stack trace addresses to System.map addresses - Perhaps they are all mapped up as it is the guest...
#asahi · 2021-06-19 06:29
amwI'm blown away by the power of this - all your commands work great : See https://paste.debian.net/1201734/
#asahi · 2021-06-19 06:27
amwI'll try to map it by hand to symbols - it looks like it has the same stack trace all the time - halt loop?
#asahi · 2021-06-19 06:26
amwWow! That stuff all works great
#asahi · 2021-06-19 06:24
amwIs there a command to read a register from the CPU0 ? I'm thinking the PC
#asahi · 2021-06-19 06:23
amwok - got me excited (and confused :-)
#asahi · 2021-06-19 06:22
amwThe run_guest.py prints out "starting secondary CPUs..." and then 1 ...7 started...
#asahi · 2021-06-19 06:21
amwIt says all the CPUs are running.... Is that right?
#asahi · 2021-06-19 06:20
amwNow I have linux under the HV I need a way to dump the registers and see where it is executing et cetera.
#asahi · 2021-06-19 06:20
amwNo it's some rubbish debug one I had from months back - just to prove I can run something (with out any input)
#asahi · 2021-06-19 06:19
amwmarcan: It's just a initrd that prints in a loop for ever till it locked up at 100?
#asahi · 2021-06-19 06:17
amwSee https://paste.debian.net/1201733/ to see the run_guest.py output ttyACM0 followed by the linux kernel console serial output on ttyACM1
#asahi · 2021-06-19 06:10
amwAaah - your referencing my original 1TR questions! - I would have to boot back to MacOS and work out how to check if FileVault is set up to answer
#asahi · 2021-06-19 06:08
amwmarcan: Don't think so. Never used FileVault as far as I know - presume it's a MacOS thingie
#asahi · 2021-06-19 06:07
amwVinDuv: Yes that works (no CRs on linux console messages but initrd is good)!
#asahi · 2021-06-19 05:58
amwSee https://paste.debian.net/1201732/
#asahi · 2021-06-19 05:56
amwOops I missed the start command - starts up the kernel ...
#asahi · 2021-06-19 05:50
amwHmm: Some success with original suggestion run_guest.py -S m1n1-payload.macho - I get a shell, kernel loaded, but all CPUs are started and I don't know where to jump to with kboot_boot?
#asahi · 2021-06-19 05:40
amwHmm plain chainload.py boots up the kernel which boots up to init, but the script times out waiting for serial port to appear. I guess kernel is run at EL2 not under m1n1
#asahi · 2021-06-19 05:32
amwok - otherwise according to https://github.com/AsahiLinux/m1n1#payloads you can concatnate additional payloads to m1n1 and then perhaps chainload that new m1n1?
#asahi · 2021-06-19 05:28
amwVinDuv: Ok - run_guest.py with m1n1.macho and then try linux.py?
#asahi · 2021-06-19 05:18
amwWhen I run the linux.py tool on Linux my USB devices appear to disappear? i.e. m1n1 dis-appears but I am using marcan/dart/dev branch which tries to use dwc3 USB driver ? - See https://paste.debian.net/1201729/
#asahi · 2021-06-19 05:14
amwQuestion: Can I run linux under m1n1? The run_guest.py tool requires a Mach-O payload
#asahi · 2021-06-19 02:55
amwCan update it some more and submit a pull request if your interested - it's quite small change
#asahi · 2021-06-19 02:55
amwmarcan: Have added a basic help command to shell.py which I think is useful - see https://paste.debian.net/1201723/
#asahi · 2021-06-19 02:49
amwI believe it is the 1TR as I can run csrutil disable in there - perhaps new in latest Mac upgrade?
#asahi · 2021-06-19 02:49
amwI am seeing 1TR access different from https://www.youtube.com/watch?v=ilnfvkgzVvg - now have to select partition and then login to get to Utilities/Terminal
#asahi · 2021-06-05 09:46
amw*great
#asahi · 2021-06-05 09:46
amwVinDuv: Yep - that works geat - Thanks
#asahi · 2021-06-05 09:41
amwAhh - The following worked for me: git fetch marcan pull/69/head:VinDuv
#asahi · 2021-06-05 09:36
amwVinDuv: Sorry not sure how to handle that pull-request - I have only git clone of the repository here
#asahi · 2021-06-05 06:29
amwI do have a vague memory that I may have run it with the checksums so I suspect Emantor is right.
#asahi · 2021-06-05 06:25
amwjannau: Yep - I added a note to the Developer Quick Start to help any others in the future. I'm fine with that
#asahi · 2021-06-05 05:36
amwYes that's fixed it - python3.9 proxyclient/chainload.py build/m1n1.macho - I can now run shell.py!
#asahi · 2021-06-05 05:33
amwok - I'm running the latest on the client / python side, but a 1-2 week old one M1 side. I'll try the chainload first
#asahi · 2021-06-05 05:24
amwEmantor: No error messages - seems to be fine - here's the only messages https://paste.debian.net/1200071
#asahi · 2021-06-05 05:17
amwI am thinking of re-installing the m1n1 on the M1 macbook, but perhaps something else needs to be updated
#asahi · 2021-06-05 05:16
amwMy shell.py connection is failing with Bad command on connection, possibly due to unable to find ADT node pci-bridge1.pcie? - see https://paste.debian.net/1200069
#asahi · 2021-05-31 12:36
amwSorrry, was just trying to say Thanks to marcan for m1n1 youtube, I'm learning so much from trying to follow along, on Python classes, ARM hardware and so on.
#asahi · 2021-05-31 12:33
amwJ
#asahi · 2021-05-31 12:33
amwJ
#asahi · 2021-05-29 01:49
amw
#asahi · 2021-05-16 22:02
amwApparently you can distinguish this via missing "Start Security Utility" under Utilities
#asahi · 2021-05-16 22:01
amwmarcan: Can't find "alt Recovery" but https://eclecticlight.co/2020/11/28/startup-modes-for-m1-macs/ lists "Fallback Recovery Mode" on double power button presses
#asahi · 2021-05-16 21:34
amw marcan I never used bputil, only kmutil for the m1n1 install and csrutil to fix errors reported when kmutil failed
#asahi · 2021-05-16 11:36
amwMy loaded Linux still runs - just proxyclient/linux.py gets the exception because it isn't getting output?

plus ›