#
#asahi · 2022-12-24 11:26
mpshertz: grub-install embeds boot partition in BOOTAARCH.EFI
#asahi · 2022-12-24 11:26
artunchadmed: is there any other alternatives to FEX then? my initial goal was to run x86 apps in wine.
#asahi · 2022-12-24 11:25
mpshertz: maybe you rerun grub-install unintentionally
#asahi · 2022-12-24 11:23
chadmedthis is required because x86 only supports 4k pages, and linux cannot do per-process page size like xnu can
#asahi · 2022-12-24 11:23
chadmedit builds its own version of jemalloc with hard coded 4k paages
#asahi · 2022-12-24 11:22
chadmedartun: FEX does not work with 16k pages and likely never will work
#asahi · 2022-12-24 11:22
artunhi, I'm trying to run FEX but apperently there is some issue with jemalloc. it prints this: <jemalloc>: Unsupported system page size . What could cause this? I'm running jemalloc that shipped in 'extra' repo, is that how it supposed to be?
#asahi · 2022-12-24 11:21
hertz(I did one weird thing which may have caused this. I noticed that my EFI\BOOT\BOOTAARCH.EFI file had changed compared to when I first installed, so I restored the original BOOTAARCH.EFI file. I guess BOOTAARCH.EFI hardcodes a certain UUID? That must've been what caused this.)
#asahi · 2022-12-24 11:20
hertzAnd how can I learn the current UUID for the root device?
#asahi · 2022-12-24 11:19
hertzBut why would my root device's UUID have changed?
#asahi · 2022-12-24 11:19
hertzThe error seems to be: "error: no such device: 725a9541–****-****-****-**********." (stars added by me)
#asahi · 2022-12-24 11:19
hertzhttps://pastebin.com/UNWV9DCQ
#asahi · 2022-12-24 11:19
hertzHey, can anyone help me diagnose this problem? I'm dropping to the grub rescue prompt and trying to figure out how to fix this. Since all of this happens on the ESP, I should be able to fix from macOS since it doesn't involve repairing an ext4 partition.
#asahi · 2022-12-24 09:58
mpseiln: thanks. interesting script but will have to adapt it for alpine linux
#asahi · 2022-12-24 09:55
eilnmps: sorry was offline, found it https://pastebin.com/xPyXAbmg
#asahi · 2022-12-24 09:07
kode54or I did the last time I needed to use idevicerestore
#asahi · 2022-12-24 09:07
kode54I have AUR packages for all that
#asahi · 2022-12-24 09:07
kode54yeah
#asahi · 2022-12-24 08:43
mpsinstead to upgrade and build all needed packages
#asahi · 2022-12-24 08:42
mpsI will try dfu restore from macos
#asahi · 2022-12-24 08:41
mpswho is not online
#asahi · 2022-12-24 08:40
mpseichin__: sorry, meant to reply to eiln
#asahi · 2022-12-24 08:40
mpseichin__: sorry, I couldn't find in backlog any "dfu" string from you
#asahi · 2022-12-24 08:36
mpslibplist, libirecovery, libimobiledevice-glue,idevicerestore, usbmuxd
#asahi · 2022-12-24 08:35
mpskode54: yes, and not only usbmuxd but a lot of things from git. started yesterday and built some but give up because was tired
#asahi · 2022-12-24 06:10
eilnmps: i sent a script in #asahi-dev a week-ish ago, try searching for "dfu" there
#asahi · 2022-12-24 00:47
kode54mps: you likely also need git usbmuxd
#asahi · 2022-12-23 18:18
mpshm, maybe need newest idevicerestore
#asahi · 2022-12-23 18:13
mpswhat could cause this problem? lsusb list '05ac:1227 00 1IF [USB 2.00, 480 Mbps, 500mA] (Apple Inc. Apple Mobile Device (DFU Mode) ...'
#asahi · 2022-12-23 18:13
mpswith `idevicerestore --latest` I got answer 'Found device in DFU mode' and in next line 'ERROR: Unable to discover device type'
#asahi · 2022-12-23 16:15
bcrumbillusion - ruined
#asahi · 2022-12-23 16:15
bcrumbthat it was disabled, at all
#asahi · 2022-12-23 16:15
bcrumbi haven't noticed this up until now
#asahi · 2022-12-23 12:13
maltejannau: thanks so much, that worked!
#asahi · 2022-12-23 11:22
jannaumalte: a kernel module parameter
#asahi · 2022-12-23 10:56
maltejannau: what kind of option is that? it's not in my sysctls.
#asahi · 2022-12-23 08:39
jannaumalte: you can set 'apple_dcp.show_notch=1'. this is not regularly tested / officially supported so it might break or change at some point
#asahi · 2022-12-23 01:47
psykoseso with =0 it gets 4k
#asahi · 2022-12-23 01:47
psykosenothing to do with alignment
#asahi · 2022-12-23 01:47
psykosethe vm probably bakes in some hardcoded pagesize based on host that it uses for runtime operations
#asahi · 2022-12-23 01:37
mkurzSo I think it does not change the header address alignment but does something else so it knows what the target system will be
#asahi · 2022-12-23 01:36
mkurzThe explanation of the flag is: -H:PageSize=0 Define PageSize of a machine that runs the image. The default = 0 (== same as host machine page size).
#asahi · 2022-12-23 01:35
mkurzI could solve my problem I had with theGraalVM native image tool by passing `-H:PageSize=16384` when producing the image. A bit weird, but the alignment still is 0x10000, however now I can execute the binary...
#asahi · 2022-12-23 01:03
florenceofarabiaFirst message on here! Only in the last few months have I really learned about open source and, just having purchased an new MacBook, I had to try out Asahi!
#asahi · 2022-12-23 00:36
mkurztpw_rules: thanks
#asahi · 2022-12-23 00:34
jnah, alright, nvm :)
#asahi · 2022-12-23 00:34
tpw_rulespretty sure they mean the latter. we were talking earlier
#asahi · 2022-12-23 00:34
jndo ELF binaries actually specify a page size? or do you mean the program header address alignment?
#asahi · 2022-12-23 00:33
tpw_rulesbut once it loads, it can check the page size and do whatever it wants. or ignore it and hope page-size-dependent operations work
#asahi · 2022-12-23 00:33
tpw_rulesthe ELF section alignment has to be 64k for the program to load into memory

plus ›