Closed zaiff5091 closed 1 month ago
Do you get this error after rebooting and retrying?
How many Macos user accounts are there? If there is more than one, try using the other accounts (specifically the one used during initial Mac install).
If that doesn't help, try to print result.stdout
before it is used.
What is the output from ioreg -alp IODeviceTree
?
What is the output from ioreg -alp IOService
?
(You might need sudo for those commands.)
No changes after reboot. I have only one user in this mac.
Sorry I'm not familiar with this, how could I print it before used ?
Outputs : ioreg_outputs.zip
Thanks!
For whatever reason, your IOService output has a strange character on line 209567 (<string>SYNAS^P</string>
) which the script doesn't know how to handle.
Reproduced with
import plistlib
with open('./asahi-ioreg-ioservice.xml', 'rb') as plist_file:
ioservice = plistlib.load(plist_file)
Hopefully the devs here can advise or possibly handle these cases if its safe to do so. Perhaps an encoding needs to be enforced?
I am having the same issue on my new MacBook Air 2022 :(
I just found the problem, at least it worked for me.
I have one monitor on the HDMI port of the Mac Mini and a second one connected in HDMI to a USB-C hub (JSAUX Omnicase 2 Pro) plugged into one of the USB-C port of the Mac. I disconnected the hub and the installation directly worked.
I saw that in "asahi-ioreg-ioservice.xml" file, there was a line containing "SYNAS" with a strange letter after it that could cause some issues.
After trying to install, run this command : ioreg -alp IOService | grep 'SYNAS' -n
When I had my "usb-c hub with monitor" plugged, there was a line number in output of this command and the installation failed. If you have no output, relauch the installation and it should work.
Sorry for the strange explanation I'm not an expert of this types of things. If someone has a better way to explain what the meaning of this issue, don't hesitate I would be happy to read it!
Yes indeed, disconnecting my monitor did the trick! Thanks 👍 This issue should still be addressed though.
For what it's worth I also ran into this issue and also have external monitors plugged in via HDMI and USB-C. Rather than unplug my monitor I just changed system.py to have result.stdout.replace(b'\x10', b'')
@marcan this seems to regularly happen when an external display is connected.
Could hitting this error warn users about external display use?
Hello,
I'm trying to install Asahi Linux on my new M1 Mac mini by running
curl https://alx.sh | sh
but after I enter my sudo password I get this error:Here is the log file: installer.log
Do you know where it could come from ?