aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: Getting a lot of corrupted parts (now with 2rc8)  (Read 11284 times)

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #15 on: December 30, 2004, 09:07:52 PM »

because ipfilter block clients that are known for sending corrupted data ;)

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #16 on: December 30, 2004, 10:01:52 PM »

Perhaps I'll try that, but I've got the feeling that I'll end up banning everyone in the net  :D
Logged

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #17 on: December 30, 2004, 11:31:23 PM »

I checked the config, and Ip Filtering is "on".


Thanks for the help so far, but it's still receiving corrupted parts. The messages are like the following one:

 FileResultHash |33340A8661B7C9E1D69667CE2A443B35| FileHash |557955DEDAD30DFDA965ACB5F216779E|
12/30/04 17:10:57: Found corrupted part (70) in 76 parts file

Who do you say it's to blame?

Regards,

Luciano
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #18 on: December 31, 2004, 12:22:14 PM »

Either the clients or your filesystem or the cryptopp lib.

Try recompiling amule not using the embedded crypto.
Logged

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #19 on: December 31, 2004, 04:01:59 PM »

Quote
Originally posted by Kry
Either the clients or your filesystem or the cryptopp lib.

Try recompiling amule not using the embedded crypto.

First of all, thanks, it's really nice to see the devels and admins answering my thread  :)

Back to the point: I'll give you my opinion on your thoughts:

1- I don't think that the clients are causing the problem, because I'm downloading different things and it's very unlikely that I get this many corrupted parts for every file. That, plus 1.2.8 was working fine till some day in the past week.

2- I blamed my filesystem too at first (the temp directory was on a FAT32 partition), so I changed the temp directory to another HD, which is reiserfs formatted. I deleted all the partial downloads and started them again, along with some new downloads, but the problem is still there. dmesg an syslog are clean, they are not reporting any kind of filesystem failure.

3- The crypto lib: How do I recompile aMule without it? I'm on gentoo, and that kind of thing is made via USE flags, these are the ones for amule: -debug -gd -gtk2 +nls -remote -stats -unicode. I don't see crypto stuff around. Is it something I should change in the makefile? Why do you think that this lib is to blame?



I think that the problem lies in some shared library, because I recompiled and even changed version of the app, changed the fs, checked the RAM, etc., and nothing worked.

Well, I really look forward to solving this problem  ;). Thanks so far.

Luciano


EDIT: I recompiled aMule with less aggresive CFLAGS:

Code: [Select]
#CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -pipe"
But I'm still getting corrupted parts  ?(

EDIT2: I don't know if it helps, but here is the output to ldd amule | egrep crypt (just because of the libcrypto thing that you mentioned)

Code: [Select]
bash-2.05b# ldd /usr/bin/amule | egrep crypt
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7910000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0xb781e000)

EDIT3: Hey, the whole output is not so long, here it is, in case it helps:
Code: [Select]
bash-2.05b# ldd /usr/bin/amule
        libpthread.so.0 => /lib/libpthread.so.0 (0x43e6b000)
        libwx_gtk-2.4.so => /usr/lib/libwx_gtk-2.4.so (0xb7b3b000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x43266000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x439c7000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4428b000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x43f03000)
        libdl.so.2 => /lib/libdl.so.2 (0x43d4c000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7b32000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7b22000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7a54000)
        libz.so.1 => /lib/libz.so.1 (0xb7a3e000)
        libcurl.so.2 => /usr/lib/libcurl.so.2 (0x4432f000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7a0d000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7910000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x43fb4000)
        libm.so.6 => /lib/libm.so.6 (0x43d51000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x4406f000)
        libc.so.6 => /lib/libc.so.6 (0x43c1d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x43c07000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x43f73000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x442d8000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x43f87000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x440e9000)
        libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0xb78df000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0xb781e000)
« Last Edit: December 31, 2004, 07:07:54 PM by Lucho[FLCL] »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #20 on: December 31, 2004, 07:02:25 PM »

hi,

your ipfilter might be enabled, but do you have an ipfilter.dat file in your .aMule folder ?

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #21 on: January 01, 2005, 06:03:57 AM »

Quote
Originally posted by deltaHF
hi,

your ipfilter might be enabled, but do you have an ipfilter.dat file in your .aMule folder ?

Yes, the file is there; however, it's empty  ?(
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #22 on: January 01, 2005, 06:21:42 AM »

http://www2.openmedia.info:8080/p27.html

unpack it, move then the ipfilter.dat file into your .aMule folder

happy new year & good night ;)

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #23 on: January 01, 2005, 05:25:30 PM »

Quote
Originally posted by deltaHF
http://www2.openmedia.info:8080/p27.html

unpack it, move then the ipfilter.dat file into your .aMule folder

happy new year & good night ;)


Yesterday I recompiled openssl, curl, wxGTK, etc., with no success.

Has this anti-p2p war gone THIS far? Is it possible that my problem resides on fake clients?

Happy new year to you too. I'm trying your solution and will report my results later.

Thank you very much!

EDIT: Should I see any message in the log when a client is filtered by ipfilter?
« Last Edit: January 01, 2005, 06:26:23 PM by Lucho[FLCL] »
Logged

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #24 on: January 01, 2005, 06:51:04 PM »

Quote
Originally posted by Lucho[FLCL]
Quote
Originally posted by deltaHF
http://www2.openmedia.info:8080/p27.html

unpack it, move then the ipfilter.dat file into your .aMule folder

happy new year & good night ;)


Yesterday I recompiled openssl, curl, wxGTK, etc., with no success.

Has this anti-p2p war gone THIS far? Is it possible that my problem resides on fake clients?

Happy new year to you too. I'm trying your solution and will report my results later.

Thank you very much!

EDIT: Should I see any message in the log when a client is filtered by ipfilter?

I very sadly announce that I keep getting corrupted parts :(

The file completed 5 minutes ago, but 8 parts failed the hash check: 15-61-65-66-68-69-71-72

#65 was re-downloaded and failed the check again

I'll change kernel and see what happens....do you have any issues reported with 4KB stacks?

Edit: changed kernel (no 4kb stacks now), the new corrupted parts list is:
28-47-66-68-69-71  ?(
« Last Edit: January 01, 2005, 07:55:31 PM by Lucho[FLCL] »
Logged

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Some tests I made, some I couldn't complete
« Reply #25 on: January 03, 2005, 04:33:28 AM »

Hello everyone again. I hope you are enjoying the new year as much as I'm doing.

My problem is still there....I'm losing my hope to solve it...

I downloaded via plain HTTP several files just to see if I had some issue with my router/HDD. I downloaded several kernel sources and other files and md5'd them all, and the sums were all correct.

I recompiled several of the shared libraries that I found aMule used (with ldd, as I previously said).

So it's either my ISP screwing aMule traffic (I've got it running at another port, not the default), or some problem with the app (the hashing function?).

I installed an eDonkey server in my machine and connected two clients from different sessions to it, but I couldn't succeed in making one client download from the other (perhaps they are banned because of having the same IP? Just a thought). I wanted to do this test in order to discard problems with the ISP, but oh, well...

I'll wait for some other idea (what do I have to do to reinstall the WHOLE app?? Is it possible that some file in the .aMule folder is causing the problem? I wouldn't mind erasing the whole thing and starting all over. I don't mind losing my credits THAT much).

Thanks everyone for the help so far...I promise I won't post again if nobody answers...perhaps my problem is so obscure that is impossible to solve  ;(
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #26 on: January 03, 2005, 10:44:02 AM »

Lucho[FLCL],

Did you try testing your computer's memory? Maybe you have a hardware problem. Run memtest and leave it running for a while to see what happens.

Cheers!
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #27 on: January 03, 2005, 01:16:41 PM »

Hmmm...I _know_ this sounds a lot like heresy, but, have you tried a different client? maybe xmule or mldonkey? it could (?) be possible that simply your system will not accept amule just like some people do not accept penicillin??  8o

Regards.

Skolnick.
Logged

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #28 on: January 03, 2005, 01:34:52 PM »

Quote
Originally posted by phoenix
Lucho[FLCL],

Did you try testing your computer's memory? Maybe you have a hardware problem. Run memtest and leave it running for a while to see what happens.

Cheers!

Yes, I did. It was the second or third thing I tried, memtest86+.
Logged

Lucho[FLCL]

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Getting a lot of corrupted parts (now with 2rc8)
« Reply #29 on: January 03, 2005, 01:38:13 PM »

Quote
Originally posted by skolnick
Hmmm...I _know_ this sounds a lot like heresy, but, have you tried a different client? maybe xmule or mldonkey? it could (?) be possible that simply your system will not accept amule just like some people do not accept penicillin??  8o

Regards.

Skolnick.

Hehehe perhaps you are right....I'm just sad because it was working fine and I really loved it.

However, I'm now testing an aMule compiled by hand (not by gentoo's portage) just to see what happens.

I appear to have wxGTK compiled against GTK2 and this is known to cause problems...could this be the cause? In portage I used USE="-gtk2" for aMule and it compiled fine, without warnings....but I don't know... ?(
Logged
Pages: 1 [2] 3