I had mfs_ftp working fine, but today I get the error shown below when trying to read the contents of any of the folders (e.g. "ty+"). This is on a HDVR2 running 6.2 (patches applied).
Code:
03:11:06:PM - readlinefromsocket: "sock22"
03:11:06:PM - echo to verify: "CWD /ty+"
03:11:06:PM - parseline:
"CWD /ty+"
03:11:06:PM - 250 Directory change successful.
03:11:06:PM - readlinefromsocket: "sock22"
03:11:06:PM - echo to verify: "PWD"
03:11:06:PM - parseline:
"PWD"
03:11:06:PM - PWD:
03:11:06:PM - 257 "/ty+" is current directory.
03:11:06:PM - readlinefromsocket: "sock22"
03:11:06:PM - echo to verify: "TYPE A"
03:11:06:PM - parseline:
"TYPE A"
03:11:06:PM - 200 Type set to I
03:11:06:PM - readlinefromsocket: "sock22"
03:11:06:PM - echo to verify: "PORT 192,168,1,10,4,58"
03:11:06:PM - parseline:
"PORT 192,168,1,10,4,58"
03:11:06:PM - PORT 192,168,1,10,4,58
03:11:06:PM - data channel "sock23" to 192.168.1.10:1082
03:11:06:PM - 200 PORT command successful.
03:11:06:PM - readlinefromsocket: "sock22"
03:11:06:PM - echo to verify: "LIST -aL"
03:11:06:PM - parseline:
"LIST -aL"
03:11:06:PM - NLIST: "LIST -aL" ("" == LIST command)
03:11:06:PM - 150 Opening ASCII mode data connection for file list.
03:11:06:PM - list_type is "LIST"
03:11:06:PM - update_rec_fsids: forced 1
bgerror invoked with error
" can't scan path (0x70009)
"
errorInfo:
can't scan path (0x70009)
while executing
"mfs scan $dirName -start $prefix -count 50"
("uplevel" body line 1)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if { [catch {mfs scan $dirName -start $prefix -count 50} batch] } {
global errorCode errorInfo
if {..."
(procedure "ForeachMfsFile" line 9)
invoked from within
"ForeachMfsFile fsid name type "$info(mfspath)" "" {
RetryTransaction { set rec [db $db openid $fsid] ; set State [dbobj $rec get State] }
if { [ls..."
(procedure "update_rec_fsids" line 5)
invoked from within
"update_rec_fsids 1"
(procedure "NLST" line 10)
invoked from within
"NLST $line $fsock "
("LIST" arm line 1)
invoked from within
"switch $cmd {
USER { USER $fsock $line }
PASS { PASS $fsock $line }
CWD { CWD $args $fsock }
CDUP { CDUP $fsock }
DELE { DELE $fsock $line..."
(procedure "parseline" line 6)
invoked from within
"parseline $line $sock "
(procedure "readlinefromsocket" line 10)
invoked from within
"readlinefromsocket sock22"
re-initializing mfs_ftp
close the current ftp connection and simply open another
"core dump" :p
info(version): 1.2.9p-patchlevel-20070717b
info(tswv): 6.2-01-2-151
info(dbl): 5
info(ithrottle): 2
info(insert_priority): 10
info(multithreaded): 0
info(saveuntil): suggestion
info(name_detail): 5
info(bjuggle): 0
info(active): 0
info(ac_interval): 1800
info(gatewayip): 127.0.0.1
info(gatewayport): 3105
03:11:07:PM - abortcheck: "bgerror"
03:11:07:PM - reset_control_socket:
catch close lastsock val ""
03:11:07:PM - setup_control_socket:
03:11:07:PM - "192,168,1,26:3105" ready for connections
Update: I found this patch: http://www.dealdatabase.com/forum/sh...d.php?p=245152
But now I get the following fatal error:
Code:
Dumping mempool to /tmp/BlockFailure.6357
Tmk Assertion Failure:
DumpArenaAndBlocksAndDie, line 1472 ()
Tmk Fatal Error: Thread tivosh <6357> strayed!
Paste the following into a shell to get a backtrace...
bt -t /tvbin/tivoapp <<END_OF_BT
read 0x2aaa8000 /lib/ld.so.1
read 0x2ab04000 /lib/libutil.so.1
read 0x2ab48000 /lib/libdl.so.2
read 0x2ab8c000 /lib/libpthread.so.0
read 0x2abe8000 /lib/libm.so.6
read 0x2acb0000 /lib/libc.so.6
read 0x2ae4c000 /lib/libnss_files.so.2
read 0x2ae9c000 /lib/libnss_dns.so.2
read 0x2aee4000 /lib/libresolv.so.2
0x013b3e3c 0x013b3c90 0x013b3f84 0x00f58234 0x00f9312c 0x00fc579c 0x00fc5234
0x00ff4184 0x00ff5c40 0x00fb9144 0x00f8eb18 0x00fecc98 0x00fb7a28 0x00f8eb18
0x00fed644 0x00fb7a28 0x00f8eb18 0x00fed644 0x00fb7a28 0x00f8eb18 0x00fed644
0x00fb7a28 0x00f8eb18 0x00f9fd3c 0x00fb7a28 0x00f8eb18 0x00fed644 0x00fb7a28
0x00f8eb18 0x00fed644 0x00fb7a28 0x00f8eb18 0x00f8e770 0x00f91280 0x00fd37d0
0x00fd30a0 0x0100127c 0x00fe31c8 0x00fe3714 0x00fb672c 0x00f8da78 0x00fb7a28
0x00f8eb18 0x00fd99ec 0x00fdd23c 0x00f58150 0x00612c48 0x00403090 0x2acc13fc
END_OF_BT
Tmk Fatal Error: Thread tivosh <6357>: assertion failure
To view the blocks, run:
$TIVO_ROOT/devbin/poolview.tcl <app-with-symbols> /tmp/BlockFailure.6357
In the UI that comes up, find your block by address (see above)
This will help you identify the type and ownership of the blocks.