[Rpcemu] RPCEmu and HostFS - too many open files

Richard Walker richardwalker at letterboxes.org
Sun Sep 2 10:11:16 BST 2007


Hi,


I've been playing around with Jon's recent Mac OS X port of RPCEmu.

I think I've spotted a problem, which I believe is more to do with  
RPCEmu
itself (rather than the Mac OS X side of things).

I was the StrongARM emulation (interpreted) with RISC OS 4.02, and  
copying
lots of files from a HostFS folder to an emulated IDE disk image.

After reading so many files (approx. a hundred?), the copy process  
would halt
with a 'not found' message.  RISC OS was then unable to read any more  
files
from HostFS.

I had to quit and restart RPCEmu to be able to continue my copying.


In the trace window, you can see the following when the problem occurs:

File 5
         Read catalogue information
         r1 = 0x01c1b59c (ptr to pathname)
         r6 = 0x00000000 (pointer to special field if present)
hostfs_get_string from 01c1b59c, to f007ff9c, size 1024
         PATH = $.link.DiskGames.DuneII.!Dune_II.Disc2.Shapes
Func 15
         Read directory entries and information
         r1 = 0x01c1b59c (ptr to wildcarded dir. name)
         r2 = 0x00009004 (ptr to buffer for returned data)
         r3 = 20 (number of object names to read)
         r4 = 0 (offset of first item to read in dir)
         r5 = 640 (length of buffer)
         r6 = 0x00000000 (pointer to special field if present)
hostfs_get_string from 01c1b59c, to f007fb6c, size 1024
         PATH = $.link.DiskGames.DuneII.!Dune_II.Disc2.Shapes
hostfs_path_scan() could not opendir() '/Emulators/PPCRPC/HOSTFS':  
Too many open files 24
ROPATH $.link.DiskGames.DuneII.!Dune_II.Disc2.Shapes HOSTPATH / 
Emulators/PPCRPC/HOSTFS
Bad type 0
Func 0
         Set current directory
         r1 = 0x01c07e8c (ptr to wildcarded dir. name)
         ro_path = f00803a8, len = 1024
hostfs_get_string from 01c07e8c, to f00803a8, size 1024
         PATH = @
         PATH2 = @
Func 11
         Read disc name and boot option
File 5
         Read catalogue information
         r1 = 0x01c1b778 (ptr to pathname)
         r6 = 0x00000000 (pointer to special field if present)
hostfs_get_string from 01c1b778, to f007ff9c, size 1024
         PATH = $.link.DiskGames.DuneII.!Dune_II.Disc2.SoundFX/dat
hostfs_path_scan() could not opendir() '/Emulators/PPCRPC/HOSTFS':  
Too many open files 24
File 5
         Read catalogue information
         r1 = 0x01c1b778 (ptr to pathname)
         r6 = 0x00000000 (pointer to special field if present)
hostfs_get_string from 01c1b778, to f007ff9c, size 1024
         PATH = $.link.DiskGames.DuneII.!Dune_II.Disc2
hostfs_path_scan() could not opendir() '/Emulators/PPCRPC/HOSTFS':  
Too many open files 24
File 5
         Read catalogue information
         r1 = 0x01c1b778 (ptr to pathname)
         r6 = 0x00000000 (pointer to special field if present)
hostfs_get_string from 01c1b778, to f007ff9c, size 1024
         PATH = $.link.DiskGames.DuneII.!Dune_II
hostfs_path_scan() could not opendir() '/Emulators/PPCRPC/HOSTFS':  
Too many open files 24



Cheers,
Richard.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riscos.info/pipermail/rpcemu/attachments/20070902/5c4bab6e/attachment.html 


More information about the Rpcemu mailing list