PDA

View Full Version : Rtorrent with kernel 2.6.19



Seyyapc
01-27-2007, 11:59 PM
The last week i detected some errors on video files (stargate atlantis new episodes), because I changed my Nvidia video driver for a new version (9631) I thought I catch the problem :cry: I was wrong.

More & more video files were corrupted when playing :shock: showing artifacts & skip on sound. From 8MB files to 900MB the video files were always corrupted. In a moment or desperation I remember :oops: I get all my video files with rtorrent, going to the site: Libtorrent & Rtorrent (http://libtorrent.rakshasa.no/) has a good explanation what the problem was and how it can be corrected.


Failed chunks with kernel 2.6.19

Linux version 2.6.19 appears to have a bug in the synching of mmapped files, leading to large numbers of failed chunks when downloading a torrent. Using rTorrent with kernel 2.6.19 is not recommended, but if an earlier kernel version is not an option, make sure to enable the "check_hash" option and manually restart torrents until all chunks pass the hash check. Kernel 2.6.20-rc3 has fixed this problem, so this version and later ones should be safe.
At first I try 2-3 download with the method, but many times the hash fails after a completed download, I didn't like wasting bandwith or time and need to re-start the torrent (many times manually) for a correct download.
For example: a 354MB file when finished and after a check hash reveals a file with only 265MB :( and I must start the torrent again.

So now I'm back to 2.6.18.

I hope it help those who use rtorrent 8)

hal8000
02-04-2007, 09:42 PM
That's an excellent writeup and post. I presume you are using knopix 5.1.1 which contains kernel 2.6.19.
Have you tried kernel 2.6.20rc3 and does this cure the problems?

Seyyapc
02-05-2007, 04:33 AM
Didn't try the kernel 2.6.20rc3 :oops: (the part rc3 keeps me far away too) I'm happy at the moment with 2.6.18, and the problem had dissapeared with the 2.6.18 kernel 8)
seyya@rommiebox:~$ uname -a
Linux rommiebox 2.6.18-ck1nana #1 Sat Jan 27 19:55:26 ART 2007 i686 GNU/Linux :oops: