
Can you try -d switch instead of -f. It will dump some output from FUSE.
Code: Select all
# rar2fs --exclude=.lock --fake-iso --seek-length=2 -o allow_other ./shrek.rar ./test -d
FUSE library version: 2.8.4
nullpath_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.8
flags=0x00000003
max_readahead=0x00020000
INIT: 7.12
flags=0x00000010
max_readahead=0x00020000
max_write=0x00020000
unique: 1, success, outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40
getattr /
unique: 2, success, outsize: 112
unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 40
getattr /
unique: 3, success, outsize: 112
unique: 4, opcode: OPENDIR (27), nodeid: 1, insize: 48
unique: 4, success, outsize: 32
unique: 5, opcode: GETATTR (3), nodeid: 1, insize: 40
getattr /
unique: 5, success, outsize: 112
unique: 6, opcode: READDIR (28), nodeid: 1, insize: 64
readdir[0] from 0
unique: 6, success, outsize: 144
unique: 7, opcode: LOOKUP (1), nodeid: 1, insize: 80
LOOKUP /Shrek.3D.2004.DVDRip.XviD (_eWiLL_).avi
getattr /Shrek.3D.2004.DVDRip.XviD (_eWiLL_).avi
NODEID: 2
unique: 7, success, outsize: 136
unique: 8, opcode: READDIR (28), nodeid: 1, insize: 64
unique: 8, success, outsize: 16
unique: 9, opcode: LOOKUP (1), nodeid: 1, insize: 80
LOOKUP /Shrek.3D.2004.DVDRip.XviD (_eWiLL_).avi
getattr /Shrek.3D.2004.DVDRip.XviD (_eWiLL_).avi
NODEID: 2
unique: 9, success, outsize: 136
unique: 10, opcode: OPEN (14), nodeid: 2, insize: 48
open flags: 0x0 /Shrek.3D.2004.DVDRip.XviD (_eWiLL_).avi
open[714552] flags: 0x0 /Shrek.3D.2004.DVDRip.XviD (_eWiLL_).avi
unique: 10, success, outsize: 32
unique: 11, opcode: READ (15), nodeid: 2, insize: 64
read[714552] 16384 bytes from 0 flags: 0x0
read[714552] 16384 bytes from 0
unique: 11, success, outsize: 16400
unique: 12, opcode: FLUSH (25), nodeid: 2, insize: 64
flush[714552]
unique: 12, success, outsize: 16
unique: 13, opcode: RELEASE (18), nodeid: 2, insize: 64
release[714552] flags: 0x0
terminate called without an active exception
Aborted
No problem. But also, just to out rule one posibility. Can you try to mount the source folder that *contains* the .rar file instead of mounting the actual file to ./test?juuso wrote:Ok, will re-compile it tomorrow, i believe we get all issues fixed. Thanks and cu.
Code: Select all
======> CMediaControlMovie: SetMedia = file:///dtv/usb/sda/TV/rar/test/Shrek.3D.avi
[GetFileSize] stat failed
[CopyCaptionFileToRamDisk:3131] Read File Create failed
[CMovieCore] SetDisplaySize In
[CFileMovieCore] Open In
[CMovieCore] CanSeek In
[CFileMovieCore] Pause In
[ROSE_ERROR ] [Pause:305]m_bPlayMode Error
[CMovieCore] CanSeek In
[CFileMovieCore] Close In
[CMovieCore] Close In
[ROSE_ERROR ] [CMovieCore::Close] error Not Open
Code: Select all
# rar2fs -V
rar2fs v1.13.32 build 282 (DLL version 5) Copyright (C) 2009-2012 Hans Beckerus
Code: Select all
# make -f ./Makefile.mk -o --enable-debug
Code: Select all
# ./rar2fs -V
rar2fs v1.14.0 build 282 (DLL version 5) Copyright (C) 2009-2012 Hans Beckerus
Code: Select all
# rar2fs --exclude=.lock --fake-iso --seek-length=2 -o allow_other ./Shrek.3D.rar ./test -f
terminate called without an active exception
Aborted
Code: Select all
# rar2fs --exclude=.lock --fake-iso --seek-length=2 -o allow_other ./Shrek.3D.rar ./test -d
FUSE library version: 2.8.4
nullpath_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.8
flags=0x00000003
max_readahead=0x00020000
INIT: 7.12
flags=0x00000010
max_readahead=0x00020000
max_write=0x00020000
unique: 1, success, outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40
getattr /
unique: 2, success, outsize: 112
unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 40
getattr /
unique: 3, success, outsize: 112
unique: 4, opcode: OPENDIR (27), nodeid: 1, insize: 48
unique: 4, success, outsize: 32
unique: 5, opcode: GETATTR (3), nodeid: 1, insize: 40
getattr /
unique: 5, success, outsize: 112
unique: 6, opcode: READDIR (28), nodeid: 1, insize: 64
readdir[0] from 0
unique: 6, success, outsize: 120
unique: 7, opcode: LOOKUP (1), nodeid: 1, insize: 53
LOOKUP /Shrek.3D.avi
getattr /Shrek.3D.avi
NODEID: 2
unique: 7, success, outsize: 136
unique: 8, opcode: READDIR (28), nodeid: 1, insize: 64
unique: 8, success, outsize: 16
unique: 9, opcode: LOOKUP (1), nodeid: 1, insize: 53
LOOKUP /Shrek.3D.avi
getattr /Shrek.3D.avi
NODEID: 2
unique: 9, success, outsize: 136
unique: 10, opcode: OPEN (14), nodeid: 2, insize: 48
open flags: 0x0 /Shrek.3D.avi
open[714384] flags: 0x0 /Shrek.3D.avi
unique: 10, success, outsize: 32
unique: 11, opcode: READ (15), nodeid: 2, insize: 64
read[714384] 16384 bytes from 0 flags: 0x0
read[714384] 16384 bytes from 0
unique: 11, success, outsize: 16400
unique: 12, opcode: FLUSH (25), nodeid: 2, insize: 64
flush[714384]
unique: 12, success, outsize: 16
unique: 13, opcode: RELEASE (18), nodeid: 2, insize: 64
release[714384] flags: 0x0
terminate called without an active exception
Aborted
Since ./configure is not found, i used another way... I`m not sure what command should i use. I always use make clean before to compile something. Now trying with DEBUG=4.hasse69 wrote:Can you use automake on this platform ?
No idea.hasse69 wrote:Do you know what effective user id the MediaPlayer is using when accessing the file system ?
Code: Select all
# autoreconf -f -i
# ./configure <options>
Code: Select all
# rar2fs --exclude=.lock --fake-iso --seek-length=2 -o allow_other ./Shrek.3D.rar ./test -f
rar2_init()
rar2_getattr2() /
MISS / (collision: no)
STAT retrieved for /dtv/usb/sda/TV/rar/
rar2_getattr2() /
MISS / (collision: no)
STAT retrieved for /dtv/usb/sda/TV/rar/
rar2_getattr2() /
MISS / (collision: no)
STAT retrieved for /dtv/usb/sda/TV/rar/
rar2_readdir2() /
listrar() / arch=/dtv/usb/sda/TV/rar/Shrek.3D.rar
Looking up /Shrek.3D.avi in cache
Adding /Shrek.3D.avi to cache
rar2_getattr2() /Shrek.3D.avi
rar2_getattr2() /Shrek.3D.avi
rar2_open() /Shrek.3D.avi
(00858) OPEN /Shrek.3D.avi [0x0][called from 00279]
(00858) ALLOC /Shrek.3D.avi [0xb06d0 ]
PIPE 0xb0740 created towards child 879
Reader thread started, fp=0xb0740
preload_index() /Shrek.3D.avi
Preloading index for /dtv/usb/sda/TV/rar/Shrek.3D.r2i
rar2_read() /Shrek.3D.avi size=16384, offset=0, fh=722640
PID 00858 calling lread_rar(), seq = 1, size=16384, offset=0/0
Reader thread wakeup, select()=1
Reader thread wakeup, select()=1
Reader thread acknowledge
1083434128 thread wakeup (1, 1)
lread_rar: RETURN 16384
rar2_flush() /Shrek.3D.avi
(00858) FLUSH /Shrek.3D.avi [0xb06d0 ][called from 00279]
lflush() /Shrek.3D.avi
rar2_release() /Shrek.3D.avi
(00858) RELEASE /Shrek.3D.avi [0xb06d0 ]
Reader thread stopped
terminate called without an active exception
Aborted
Code: Select all
sighandler.c: In function 'stack_trace':
sighandler.c:58: warning: unused variable 'uc'
At top level:
cc1: error: unrecognized command line option "-Wno-unused-result"
make[1]: [sighandler.o] Error 1 (ignored)
mv -f .deps/sighandler.Tpo .deps/sighandler.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./unrar -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -DNDEBUG -Wall -g -O2 -DSVNREV=282 -fno-omit-frame-pointer -Wno-unused-result -pthread -MT rar2fs.o -MD -MP -MF .deps/rar2fs.Tpo -c -o rar2fs.o rar2fs.c
mv -f .deps/rar2fs.Tpo .deps/rar2fs.Po
gcc -std=gnu99 -o rar2fs dllext.o configdb.o filecache.o iobuffer.o sighandler.o rar2fs.o -pthread -rdynamic -lfuse -lunrar -lstdc++
gcc: sighandler.o: No such file or directory
make[1]: [rar2fs] Error 1 (ignored)
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./unrar -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -DNDEBUG -Wall -g -O2 -DSVNREV=282 -fno-omit-frame-pointer -Wno-unused-result -pthread -MT mkr2i.o -MD -MP -MF .deps/mkr2i.Tpo -c -o mkr2i.o mkr2i.c
mv -f .deps/mkr2i.Tpo .deps/mkr2i.Po
gcc -std=gnu99 -o mkr2i mkr2i.o -rdynamic
make[1]: Leaving directory `/mnt/disk1/tmp/compile/rar2fs'