pomor Posted January 3, 2006 Report Share Posted January 3, 2006 Searching the forums yielded nothing so I hope this issue was not reported before...Anyway, one of the torrents that I was downloading started throwing "Error: Incorrect function" error in the Status column shortly after starting the task and download would stop thereafter. Restarting the task would not help. Deleting the torrent and the data and starting download from scratch would not help. SysInternals Filemon indicated that the error would happen in response to a WRITE IRP to one of the torrent data files. Checking the disk revealed that that file in question was fragmented while at the same time no other data files were, either of this torrent or any other ones. Defragging the disk seemed to cure the issue - I'm still monitoring, but so far so good. I'm using ver 1.3, preallocation is off. Does this sound like a bug?Thanks,Pomor. Link to comment Share on other sites More sharing options...
Keloran Posted January 3, 2006 Report Share Posted January 3, 2006 did you have sparse_files switched on ?or coalesce_writesbecause they should be switched off by default Link to comment Share on other sites More sharing options...
ludde Posted January 3, 2006 Report Share Posted January 3, 2006 Sounds more like a driver issue, if WriteFile fails with INVALID_FUNCTION.. then I don't see what else it could be... Are you using some kind of system tool that constantly runs in the background? Link to comment Share on other sites More sharing options...
pomor Posted January 3, 2006 Author Report Share Posted January 3, 2006 sparce_files and coalesce_writes are both off. I have an anti-virus in the background but turning it off did not have any effect. Also, after defragging, I turned it back on and everything is still OK. Regarding whether it could be a driver issue - it is not entirely impossible, since the file in question was being written to ethernet-connected XiMeta NDAS "NetDisk", which does have its own drivers installed, but on the other hand I use this NetDisk heavily for about three years now and have never ever had any trouble with it with any other app. So utorrent must be somehow uniquely different with regard to file access from everything else then. Does it do WriteFile() to a handle to physical drive rather than regular file handle maybe?... To me it looks like file fragmentation was the culprit. There was only one fragmented data file and it was that one that caused the error. Does utorrent intentionally or accidentally rely on the data files being continuous?...Meanwhile I'll check the drive for bad blocks...Thanks,pomor Link to comment Share on other sites More sharing options...
Firon Posted January 3, 2006 Report Share Posted January 3, 2006 Some crappy NICs can cause that error, Broadcom NICs are notorious for that. Link to comment Share on other sites More sharing options...
pomor Posted January 4, 2006 Author Report Share Posted January 4, 2006 No bad blocks or file system errors were found on the disk. So far everything works fine. I'll monitor for some more...Firon, did you mean crappy NICs which would not work specifically with NetDisk or those which would cause the error while being used just for normal network connection? If you meant the latter, how in the world they can cause INVALID_FUNCTION in WriteFile() writing to a disk file? This would mean a pretty major screw-up in the hardware/HAL/drivers, surely affecting the whole system, won't it? But this system works just fine otherwise.Pretty weird, huh?... Maybe it was a file system error after all that was silently fixed during derfragging and I started annoying you guys a bit too hastily Sorry for the panic. If the error happens again, I'll dig in a bit deeper and let you know what I find.Thanks!pomor Link to comment Share on other sites More sharing options...
Firon Posted January 4, 2006 Report Share Posted January 4, 2006 Well, I googled the error, and there were various people getting that error. It turns out the cause was the NIC (especially Broadcom ones), since they were writing across the network and swapping it out for another one fixed it. The error only seems to get triggered when reading/writing across the network. If it happens to you again, try swapping it out for another one and see if it goes away. If you can reproduce it consistently, then it's the NIC, otherwise it was a random fluke. Link to comment Share on other sites More sharing options...
Eratimus Posted April 6, 2008 Report Share Posted April 6, 2008 I get this same problem. If it is the NIC, as I have no idea what that refers to, how specifically, pretending I am ignorant to the tech side, do I correct this? Link to comment Share on other sites More sharing options...
GTHK Posted April 6, 2008 Report Share Posted April 6, 2008 NIC = Network Interface Card, the thing you plug the cable with a connector shaped like but bigger then a phone line plug, and going to either a router or a cable modem . Link to comment Share on other sites More sharing options...
Eratimus Posted April 6, 2008 Report Share Posted April 6, 2008 It seemed I had it set to download directly to my CD. When I changed it to jsut download to the computer it works fine. Now, when I save the cotent after download to a CD do I save thw .torrent file or is there a way to save the content to the CD with the full .exe files? Link to comment Share on other sites More sharing options...
GTHK Posted April 6, 2008 Report Share Posted April 6, 2008 Do you mean a CD-R? You can't actually save to those, you burn data with a program or Win XP's internal burner program. Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 6, 2008 Report Share Posted April 6, 2008 Thread resurrection... for this ><FWIW: the "larger than a phone plug" is called RJ-45 Those phone plugs are RJ-11s.To make re-seeding easy yes you can include the torrent file along with the data for the torrent onto a DATA-mode CD to carry it with you. However unless you have a special kind of CD-RW and hardware you cannot actually save to CD media for torrents. This type of saving, like a floppy disk is called "packet writing".You want to be sure in the future this doesn't happen so change the Ctrl-P -> Downloads save downloaded files in... to a non-removable drive. Link to comment Share on other sites More sharing options...
GTHK Posted April 7, 2008 Report Share Posted April 7, 2008 If it is the NIC, as I have no idea what that refers to, how specifically, pretending I am ignorant to the tech side, do I correct this?I didn't wanna bug him with the little details . As another little thing, there is some software (specifically InCD from Nero) that lets you save to a CD-RW or DVD-RW like it's a floppy disk. Link to comment Share on other sites More sharing options...
Firon Posted April 10, 2008 Report Share Posted April 10, 2008 Thread resurrection... for this ><FWIW: the "larger than a phone plug" is called RJ-45 Those phone plugs are RJ-11s.the "RJ-45" plug is really 8P8C Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 10, 2008 Report Share Posted April 10, 2008 BLAH! Thanks for the lesson http://en.wikipedia.org/wiki/8P8C Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.