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

Input/output error #23

Open
knezi opened this issue Mar 11, 2017 · 2 comments
Open

Input/output error #23

knezi opened this issue Mar 11, 2017 · 2 comments

Comments

@knezi
Copy link

knezi commented Mar 11, 2017

Hi,
I'm running Lineage OS 7.1.1 and I'm getting this error:

ls: reading directory 'point/': Input/output error

I guess the problem is in on of the methods open/read/releasedir.
I've tried to debug it and in the queue in method readdir there are stored all directories of root. Furthermore, fuse says all methods were successful:

[knezi@holly adbFS]$ ./adbfs point/ -d
--*-- exec_command: rm -rf /tmp/adbfs
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.26
flags=0x001ffffb
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 1, success, outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 27938
getattr /
stat -t "/"
--*-- exec_command: adb shell busybox stat -t "/"
   unique: 2, success, outsize: 120
unique: 3, opcode: GETXATTR (22), nodeid: 1, insize: 72, pid: 27938
   unique: 3, error: -38 (Function not implemented), outsize: 16
unique: 4, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 27957
getattr /
stat -t "/"
--*-- exec_command: adb shell busybox stat -t "/"
   unique: 4, success, outsize: 120
unique: 5, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 27957
   unique: 5, success, outsize: 32
unique: 6, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 27957
readdir[0] from 0
--*-- exec_command: adb shell busybox ls -1a --color\=none "/"
   unique: 6, success, outsize: 1520
unique: 7, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0
   unique: 7, success, outsize: 16

I've tried it both adb with root/non-root access. If you need more debugging, tell me what. I'll try to look at it once more later if I figure something out.

And I want to ask if it is really necessary to use busybox? All needed commands are present on my phone. If so, please state it to the dependencies - it took me quite a while to find out.

@rzr
Copy link
Contributor

rzr commented Dec 23, 2017

It looks like this projects is orphaned, this PR was not reviewed in a year:
#22

@knezi
Copy link
Author

knezi commented Dec 27, 2017

That's a pity. This is a great project. I'd love to fork it and try to maintain it, but I can't even fix this problem. Are you knowledgeable enough for maintaining it? I will try to help as much as I can.
Have you got any ideas how to fix this?

@rzr rzr mentioned this issue Jan 2, 2018
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

2 participants