Closed s1204IT closed 1 year ago
Even "2304.40000.3.0" failed.
What's your build host's kernel version? Chunk-based files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this.
What's your build host's kernel version? Chunk-based files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this.
s1204it@TP470EA:~$ uname -rmv
5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64
What's the version of erofs-utils
? chunk-based
first added in 1.4.
Best regards,
Howard
From: Syuugo @.> Sent: Sunday, May 14, 2023 11:52:11 AM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)
What's your build host's kernel version? Chunk-based fileshttps://docs.kernel.org/filesystems/erofs.html#chunk-based-files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this.
@.***:~$ uname -rmv 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64
— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546800073, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWKZZMBJ6M3PN7I6YWSLXGBJGXANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>
What's the version of
erofs-utils
?chunk-based
first added in 1.4. Best regards, Howard
01:00:14 - aria2=1.36.0-1 01:00:14 - attr=1 2.5.1-1build1 01:00:14 - ca-certificates=20211016ubuntu0.22.04.1 01:00:14 - e2fsprogs=1.46.5-2ubuntu1.1 01:00:14 - erofs-utils=1.4-1 01:00:14 - p7zip-full=16.02+dfsg-8 01:00:14 - patchelf=0.14.3-1 01:00:14 - python3-venv=3.10.6-1~22.04 01:00:14 - qemu-utils=1 6.2+dfsg-2ubuntu6.8 01:00:14 - unzip=6.0-26ubuntu3.1 01:00:14 - xz-utils=5.2.5-2ubuntu1
WSL2 Ubuntu 22.04 work well on my machine.
Best regards,
Howard
From: Hoàng Gia Bảo @.> Sent: Sunday, May 14, 2023 12:23:03 PM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)
What's the version of erofs-utils? chunk-based first added in 1.4. Best regards, Howard
01:00:14 - aria2=1.36.0-1 01:00:14 - attr=1 2.5.1-1build1 01:00:14 - ca-certificates=20211016ubuntu0.22.04.1 01:00:14 - e2fsprogs=1.46.5-2ubuntu1.1 01:00:14 - erofs-utils=1.4-1 01:00:14 - p7zip-full=16.02+dfsg-8 01:00:14 - patchelf=0.14.3-1 01:00:14 - python3-venv=3.10.6-1~22.04 01:00:14 - qemu-utils=1 6.2+dfsg-2ubuntu6.8 01:00:14 - unzip=6.0-26ubuntu3.1 01:00:14 - xz-utils=5.2.5-2ubuntu1
— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546803539, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWKYX44SRFSKIEMKF353XGBM2PANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>
WSL2 Ubuntu 22.04 work well on my machine.
Now this problem has been fixed by adding linux-modules-extra-azure
But when build with v2304, I have this new error :(
Mount images
mount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error.
Build: an error has occurred, exit
Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: not mounted.
Cleanup Download Directory
Version: 1.0-3
I don't think this kernel module adds full support for EROFS. You might want to try replacing the kernel.
Best regards,
Howard
From: Hoàng Gia Bảo @.> Sent: Sunday, May 14, 2023 12:30:27 PM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)
WSL2 Ubuntu 22.04 work well on my machine.
Now this problem has been fixed by adding linux-modules-extra-azure But when build with v2304, I have this new error :(
Mount images mount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Build: an error has occurred, exit
Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: not mounted. Cleanup Download Directory
— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546804226, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWK6CL6YY6WXOEZY2HTDXGBNWHANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>
Try to upgrade erofs-utils
.
Best regards,
Howard
From: Syuugo @.> Sent: Sunday, May 14, 2023 12:31:58 PM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)
What's the version of erofs-utils? chunk-based first added in 1.4. Best regards, Howard … ____ From: Syuugo @.> Sent: Sunday, May 14, 2023 11:52:11 AM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535https://github.com/LSPosed/MagiskOnWSALocal/issues/535) What's your build host's kernel version? Chunk-based fileshttps://docs.kernel.org/filesystems/erofs.html#chunk-based-files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this. @.:~$ uname -rmv 5.15.90.1-microsoft-standard-WSL2 #1https://github.com/LSPosed/MagiskOnWSALocal/issues/1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 — Reply to this email directly, view it on GitHub<#535 (comment)https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546800073>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWKZZMBJ6M3PN7I6YWSLXGBJGXANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.>
Version: 1.0-3
— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546804436, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWK3YG3RQ2YQAZE7INK3XGBN35ANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>
I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.
I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.
On Ubuntu 22.04 official package is at least 1.4.
$ apt list erofs-utils
正在列表... 完成
erofs-utils/jammy,now 1.4-1 amd64 [已安装]
I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.
On Ubuntu 22.04 official package is at least 1.4.
$ apt list erofs-utils 正在列表... 完成 erofs-utils/jammy,now 1.4-1 amd64 [已安装]
I guess Ubuntu 20.04 is not supported?
I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.
On Ubuntu 22.04 official package is at least 1.4.
$ apt list erofs-utils 正在列表... 完成 erofs-utils/jammy,now 1.4-1 amd64 [已安装]
I guess Ubuntu 20.04 is not supported?
Yes, maybe we need to add a higher system request.
Or compile from the source and install manually.
I'm trying Ubuntu 22.04
Mount images mount: /tmp/wsa-build-JLXDvfEg0O_/erofs: wrong fs type, bad option, bad superblock on /dev/loop8, missing codepage or helper program, or other error. Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-JLXDvfEg0O_/erofs: not mounted. Cleanup Download Directory
# apt list erofs-utils Listing... Done erofs-utils/jammy,now 1.4-1 amd64 [installed]
Same thing is happenig: https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546804226
What's the out put of cat /proc/filesystems
?
What's the out put of
cat /proc/filesystems
?
nodev sysfs
nodev tmpfs
nodev bdev
nodev proc
nodev cgroup
nodev cgroup2
nodev cpuset
nodev devtmpfs
nodev configfs
nodev debugfs
nodev tracefs
nodev securityfs
nodev sockfs
nodev bpf
nodev pipefs
nodev ramfs
nodev hugetlbfs
nodev devpts
ext3
ext2
ext4
squashfs
vfat
nodev ecryptfs
fuseblk
nodev fuse
nodev fusectl
nodev mqueue
nodev pstore
btrfs
nodev autofs
nodev binfmt_misc
iso9660
erofs
This is another issue, but Magisk may not be installed. The Play Store will also start, but it will freeze immediately.
Magisk has broken since https://github.com/LSPosed/MagiskOnWSALocal/commit/2364c36dbb481de4d589b54046b055f48729d9b5
Magisk has broken since 2364c36
And do you have any fix for the problem I mentioned ?
I'm trying to fix Magisk integration.
I'm trying to fix Magisk integration.
Nope, I meant the problem when mount EROFS filesystem :(
Please try the latest commit, I specified the file system type when mounting EROFS. https://github.com/LSPosed/MagiskOnWSALocal/blob/5c2218df43b0c6feb4754c0c3371df04ea22df52/scripts/build.sh#L649-L652
Please try the latest commit, I specified the file system type when mounting EROFS.
I'll report the results later.
Please try the latest commit, I specified the file system type when mounting EROFS.
Now it still not working
Please try the latest commit, I specified the file system type when mounting EROFS.
Now it still not working
What about https://github.com/LSPosed/MagiskOnWSALocal/commit/d4ce33c3c6ae6cf18c3396ce89785a0c739eadea
Didn't work. I also tried cionvert the image using simg2img or use binwalk to get first offset for mounting but all of them didn't work
Didn't work. I also tried cionvert the image using simg2img or use binwalk to get first offset for mounting but all of them didn't work
Have you tried rebooting your system?
For WSL
Execute wsl --shutdown
Have you tried rebooting your system? For WSL Execute wsl --shutdown
Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better
Have you tried rebooting your system? For WSL Execute wsl --shutdown
Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better
So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.
Have you tried rebooting your system? For WSL Execute wsl --shutdown
Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better
So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.
As I remembered, 7zip support extracting img file. And can you send me your extract tool you found for testing the mount
Have you tried rebooting your system? For WSL Execute wsl --shutdown
Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better
So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.
As I remembered, 7zip support extracting img file. And can you send me your extract tool you found for testing the mount
https://sourceforge.net/projects/multi-function-patch/files/RO2RW/
Have you tried rebooting your system? For WSL Execute wsl --shutdown
Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better
So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.
As I remembered, 7zip support extracting img file. And can you send me your extract tool you found for testing the mount
https://sourceforge.net/projects/multi-function-patch/files/RO2RW/
Hmm, I think I will use third party WSABuild instead 😢
Please try the latest commit, I specified the file system type when mounting EROFS.
Mount images
[ 839.124981] erofs: (device loop8): z_erofs_load_lz4_config: lz4 algorithm isn't enabled
mount: /tmp/wsa-build-bMHvp0Epxr_/erofs: wrong fs type, bad option, bad superblock on /dev/loop8, missing codepage or helper program, or other error.
Build: an error has occurred, exit
Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-bMHvp0Epxr_/erofs: not mounted.
Cleanup Download Directory
Behavior has changed.
This problem may be solved by changing to mount EROFS using the erofs-utils
built-in erofsfuse
. But erofsfuse
is marked as "experimental, disabled by default", so if we want to use it we have to compile and install it from the source.
The kernel module linux-modules-extra-azure
has outdated EROFS support and cannot meet the mount requirements.
This problem may be solved by changing to mount EROFS using the
erofs-utils
built-inerofsfuse
. Buterofsfuse
is marked as "experimental, disabled by default", so if we want to use it we have to compile and install it from the source. The kernel modulelinux-modules-extra-azure
has outdated EROFS support and cannot meet the mount requirements.
If you can please make a prebuilt then add it to your script
Ubuntu 22.04 wsl2 . Version 7a33F97 the script compiles fine and the version installs without problems.
I get the same error, but it's fixed after I run "wsl --update" on the machine.
I get the same error, but it's fixed after I run "wsl --update" on the machine.
This solved this error for me as well. Thank you for this!
This problem may be solved by changing to mount EROFS using the
erofs-utils
built-inerofsfuse
. Buterofsfuse
is marked as "experimental, disabled by default", so if we want to use it we have to compile and install it from the source. The kernel modulelinux-modules-extra-azure
has outdated EROFS support and cannot meet the mount requirements.
Looks like erofsfuse
is pretty slow at mounting EROFS images... 😶
Ubuntu 22.04 wsl2 . Version 7a33F97 the script compiles fine and the version installs without problems.
Out of curiosity, how long did it take for you to create the build? I mean from the moment you ./build.sh
until the 7z archive is generated. 🤔
@sn-o-w I think it is about 20-45 minutes
Out of curiosity, how long did it take for you to create the build? I mean from the moment you
./build.sh
until the 7z archive is generated. 🤔
Use offline mode It took 01:21 from entering the command to start compressing the 7z package The complete output of the 7z package took 07:30 The only step that seems slow is the compression to 7z, which took 06:09
@Howard20181
https://github.com/sn-o-w/WSA-Magisk/actions/runs/5013733583/jobs/8987177216
Well, I tried to create a build by using GitHub Actions and erofsfuse built with "--enable-lzma --enable-fuse".
6 hours ain't enough. 😆
For some reason, EROFS image mounting is extremely, extremely slow with erofsfuse... 😶
I get the same error, but it's fixed after I run "wsl --update" on the machine.
Running "wsl --update" installs WSL from the MS Store which conflicts with other issues I have, so instead I ran "wsl --update --web-download" from an Admin PowerShell and it worked!
Edit: nvm, this still installs WSL from the MS Store. But I was able to downgrade after running the MasgiskOnWSALocal script easily by uninstalling from Settings.
I get the same error, but it's fixed after I run "wsl --update" on the machine.
cheers mate.
wsl --update
+ wsl --shutdown
+ rebuilding works for me. I am using ubuntu22.04.
Current Status:
The kernel module linux-modules-extra-azure
cannot support mounting EROFS, so it is useless to install it.
Low performance of erofsfuse
in erofs-utils
reported by https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1553474434
For wsl, updating with wsl --update
and rebooting with wsl --shutdown
can support mounting.
So the best solution to this problem is to update the system, or to improve the performance of erofsfuse
in the future.
My guess is that perhaps the WSL issue has been resolved. But there are problems mixed in with this discussion that cannot be run on other virtual instances such as Actions.
other virtual instances such as Actions.
This requires that Actions' Linux kernel build include the configuration CONFIG_EROFS_FS=y
Steps to reproduce/复现步骤
./scripts/run.sh
User Code
Expected behaviour/预期行为
The build finishies successfully without any errors
Actual behaviour/实际行为
An error occurred during 'Create EROFS images'.
MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希
e8d81271f3f39e7367057165c7df95c07c49eca6
Linux distribution info/Linux 发行版信息
Ubuntu 20.04 (WSL)
Windows version/Windows 版本
10.0.25346.1001
Build Parameters/构建参数
COMMAND_LINE=--arch x64 --release-type WIF --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --magisk-ver debug INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: debug INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk Build: RELEASE_TYPE=Insider Fast
Version requirement/版本要求
Logs/日志