Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transport endpoint is not connected #707

Open
hjxcode opened this issue Jul 2, 2024 · 2 comments
Open

Transport endpoint is not connected #707

hjxcode opened this issue Jul 2, 2024 · 2 comments

Comments

@hjxcode
Copy link

hjxcode commented Jul 2, 2024

hi:
我遇到了一个问题,我在一个rk3588上启动了4个容器,突然所有的容器的手机内文件管理器显示“暂时无法加载内容”。

我在容器内尝试进入/sdcard或者/storage/emulated目录,都提示`Transport endpoint is not connected `
容器内查看`df -h` ,没有看到/dev/fuse的挂载。

我尝试了如下方法:

1、在host执行`modprobe fuse` ,然后重启容器

2、在host及容器内执行 `mknod -m 666 fuse c 10 229` ,然后重启容器 (参考 #562 )

3、在/vendor/etc/init/redroid.common.rc 中加入
    `on late-init
    umount /sys/fs/fuse/connections`
   然后重启(参考 #354 ,该方法一开始成功了一次,几个小时后又异常,然后就无法成功了)

以上方法目前都无法解决问题,请问有人知道是什么原因么?非常感谢

@hjxcode
Copy link
Author

hjxcode commented Nov 8, 2024

@zhouziyang 你好,这个问题我现在还是频繁发生,尝试了所有issues中提及的方法,都不生效。请问我应该考虑从什么方向去定位问题。会和我在rk3588上使用了nvme固态有关么?或者和宿主机的fuse版本有关?

@hjxcode
Copy link
Author

hjxcode commented Nov 8, 2024

可能有用的logcat日志:

11-08 10:34:10.912 270 404 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10093; state: DISABLED
11-08 10:34:10.962 270 725 W ActivityManager: Appop Denial: Accessing service com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService from pid=1044, uid=10054 requires appop COARSE_LOCATION
11-08 10:34:10.971 270 1049 D CompatibilityChangeReporter: Compat change id reported: 171306433; UID 10054; state: ENABLED
11-08 10:34:10.991 270 1275 W StorageManagerService: Reporting emulated;0 unmounted due to system locked
11-08 10:34:11.146 270 725 W StorageManagerService: Reporting emulated;0 unmounted due to system locked
11-08 10:34:11.147 270 725 W StorageManagerService: Reporting emulated;0 unmounted due to system locked
11-08 10:34:11.177 270 725 I ActivityManager: com.android.vending is exempt from freezer
11-08 10:34:11.178 270 725 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10052; state: DISABLED
11-08 10:34:11.178 270 725 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10052; state: DISABLED
11-08 10:34:11.178 270 725 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10052; state: DISABLED
11-08 10:34:11.178 270 725 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10052; state: ENABLED
11-08 10:34:11.178 270 298 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10052; state: ENABLED
11-08 10:34:11.188 270 298 I ActivityManager: Start proc 1604:com.android.vending/u0a52 for service {com.android.vending/com.google.android.finsky.splitinstallservice.SplitInstallService}
11-08 10:34:11.208 270 1049 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10052; state: DISABLED
11-08 10:34:11.252 52 52 I vold : Bind mounting //data/media/0/Android/data on /mnt/user/0/emulated/0/Android/data
11-08 10:34:11.253 52 52 I vold : Bind mounted //data/media/0/Android/data on /mnt/user/0/emulated/0/Android/data
11-08 10:34:11.253 52 52 I vold : Bind mounting //data/media/0/Android/obb on /mnt/user/0/emulated/0/Android/obb
11-08 10:34:11.254 52 52 I vold : Bind mounted //data/media/0/Android/obb on /mnt/user/0/emulated/0/Android/obb
11-08 10:34:11.254 52 52 I vold : Configuring read_ahead of /mnt/user/0/emulated fuse filesystem to 256kb
11-08 10:34:11.255 52 52 I vold : Writing 256 to /sys/class/bdi/0:313/read_ahead_kb
11-08 10:34:11.255 52 52 I vold : Configuring max_ratio of /mnt/user/0/emulated fuse filesystem to 40
11-08 10:34:11.255 52 52 I vold : Writing 40 to /sys/class/bdi/0:313/max_ratio
11-08 10:34:11.256 52 974 E vold : Failed to set project id on /data/media/0/Android/data/moe.nb4a/: Operation not supported on transport endpoint
11-08 10:34:11.256 270 358 I StorageManagerService: Mounted volume VolumeInfo{emulated;0}:
11-08 10:34:11.256 270 358 I StorageManagerService: type=EMULATED diskId=null partGuid= mountFlags=PRIMARY|VISIBLE
11-08 10:34:11.256 270 358 I StorageManagerService: mountUserId=0 state=MOUNTED
11-08 10:34:11.256 270 358 I StorageManagerService: fsType=null fsUuid=null fsLabel=null
11-08 10:34:11.256 270 358 I StorageManagerService: path=/storage/emulated internalPath=/data/media
11-08 10:34:11.256 52 974 E vold : Failed to set project id on /data/media/0/Android/data/moe.nb4a/files/: Operation not supported on transport endpoint
11-08 10:34:11.256 52 56 E vold : Failed to set project id on /data/media/0/Android/data/com.apkpure.aegon/: Operation not supported on transport endpoint
11-08 10:34:11.256 52 56 E vold : Failed to set project id on /data/media/0/Android/data/com.apkpure.aegon/cache/: Operation not supported on transport endpoint
11-08 10:34:11.257 52 58 E vold : Failed to set project id on /data/media/0/Android/data/com.tencent.android.qqdownloader/: Operation not supported on transport endpoint
11-08 10:34:11.257 52 58 E vold : Failed to set project id on /data/media/0/Android/data/com.tencent.android.qqdownloader/files/: Operation not supported on transport endpoint
11-08 10:34:11.257 52 1473 E vold : Failed to set project id on /data/media/0/Android/data/org.mozilla.firefox/: Operation not supported on transport endpoint
11-08 10:34:11.257 52 1473 E vold : Failed to set project id on /data/media/0/Android/data/org.mozilla.firefox/files/: Operation not supported on transport endpoint
11-08 10:34:11.257 52 1473 E vold : Failed to set project id on /data/media/0/Android/data/org.mozilla.firefox/files/Download/: Operation not supported on transport endpoint
11-08 10:34:11.259 270 358 I StorageSessionController: Notifying volume state changed for session with id: emulated;0
11-08 10:34:11.259 270 284 W StorageManagerService: Reporting emulated;0 unmounted due to system locked
11-08 10:34:11.261 270 725 W StorageManagerService: Reporting emulated;0 unmounted due to system locked
11-08 10:34:11.265 270 284 W StorageManagerService: Reporting emulated;0 unmounted due to system locked
11-08 10:34:11.276 270 725 W StorageManagerService: Reporting emulated;0 unmounted due to system locked
11-08 10:34:11.282 270 284 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10096; state: DISABLED
11-08 10:34:11.282 270 284 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10096; state: DISABLED
11-08 10:34:11.282 270 284 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10096; state: DISABLED
11-08 10:34:11.282 270 284 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10096; state: DISABLED
11-08 10:34:11.282 270 298 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10096; state: DISABLED
11-08 10:34:11.290 270 298 I ActivityManager: Start proc 1633:com.tencent.android.qqdownloader/u0a96 for content provider {com.tencent.android.qqdownloader/com.tencent.assistant.db.contentprovider.WallpaperProvider}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant