MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
MLDonkey on Synology DS207+ (Marvell CPU)
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    MLDonkey Forum Index -> Alternative platforms
View previous topic :: View next topic  
Author Message
Lapin
neophyte


Joined: 02 Apr 2008
Posts: 10

PostPosted: Thu Apr 03, 2008 9:53 pm    Post subject: MLDonkey on Synology DS207+ (Marvell CPU) Reply with quote

Hi folks,

I'm planning to buy a DS207+ NAS. After reading many forums, MLDOnkey seems to be the best P2P client. However it seems that there is so far no binary available for the new Synology platform (Marvell 500MHz using an ARM CPU).
I saw a couple of messages from fabtar on the development forum of Synology concerning little-endianess/big-endianess of this new platform.

I was wondering if a new MLDonkey version for this platform was planned to be compiled or is it a more complex problem ??

By the way, thanks for your work Very Happy

PS: Just a quick introduction of my-self: French guy living closed to Paris, which is planning to setup a NAS in order to avoid to left my PC on all the day (torrents) + planning to buy a PS3 as a BR/DVD player and media center player.
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Fri Apr 04, 2008 8:16 am    Post subject: Reply with quote

Hi,
It is not matter of mldonkey version, in order to create a version for a particular platform you need to compile mldonkey on the same architecture.
I have verified that your box is little-endian.
My compiled cores are little endian ARM too.. they have worked well on other MArvell ARM boxes (linkstation).
Currently I am waiting a kernel log from a Synology 207+ with (I hope) more data.
At the moment I don't understand the reason for the "Illegal instruction" ..(core dump) problem.
I hope it could be related to a wrong usage (I have to go deep on Synology OS configuration, user policy and folder structure) and not to a hardware issue.
I think to look at this on sunday moning but I can't assure a solution.

Another chanche is to wait for a Synology power user to compile Mldonkey directly on your box.

P.s:I hope that Spiralvoice and Pango have alternative explanations/suggestions for "Illegal instruction" ..(core dump) problem.
http://www.synology.com/enu/forum/viewtopic.php?f=38&t=5528
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Fri Apr 04, 2008 8:23 am    Post subject: Reply with quote

If you are looking for Bittorrent only, perhaps Synology boxes have a pre-installed client. Mldonkey rules for edonkey network or for combined usage.
Cheers

P.s:Welcome into community
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
ma2xfr
neophyte


Joined: 28 Mar 2008
Posts: 18

PostPosted: Fri Apr 04, 2008 8:39 am    Post subject: Reply with quote

Hi Fabtar, did you recieved my last email? Maybe I missed somthing to install the ARM Precompiled version on the Synology?

Historic:

My first was to try the ARM precompiled version on the Synology 107+
but, I got a core dumped.

http://mldonkey.sourceforge.net/phpBB2/viewtopic.php?t=4825

All the Synology x07+ have the same architecture. And if we find a solution for the 107+, you will find a solution for the 207+.

I'm dealing with this issue with Fabtar, but to progress, we need the kernel.log file of the Synology when I experienced the core dumped.
I do not know how to setup the Syslogd of the Synology. If anyone is interested by compilinng a version for Synology x07+ series, he could try to reproduce the same error as me (the core dumped) and provide to Fabtar the kernel.log?

Thank you.
ma2xfr
Back to top
View user's profile Send private message
Lapin
neophyte


Joined: 02 Apr 2008
Posts: 10

PostPosted: Fri Apr 04, 2008 3:54 pm    Post subject: Reply with quote

Thanks for the welcome.
Very Happy

Also thanks for all explanations. Hopefully you will solve this issue, because the integrated torrent client in Synology box are not as good as your own client Wink
If you make it works, then owner DS107+, DS207+ & DS407 will be very happy !
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Sat Apr 05, 2008 12:29 pm    Post subject: Reply with quote

@spiralvoice ..pango or other developers

These are the specifications of my emulated arm platform(CPUinfo):

Code:
Processor   : ARM926EJ-S rev 5 (v5l)
BogoMIPS   : 405.02
Features   : swp half fastmult edsp java
CPU implementer   : 0x41
CPU architecture: 5TEJ
CPU variant   : 0x0
CPU part   : 0x926
CPU revision   : 5
Cache type   : write-through
Cache clean   : not required
Cache lockdown   : not supported
Cache format   : Harvard
I size      : 4096
I assoc      : 4
I line length   : 32
I sets      : 32
D size      : 65536
D assoc      : 4
D line length   : 32
D sets      : 512

Hardware   : ARM-Versatile PB
Revision   : 0000
Serial      : 0000000000000000


Compared to DS-207+hardware:
Code:
Processor : ARM926EJ-Sid(wb) rev 0 (v5l)
BogoMIPS : 499.71
Features : swp half thumb fastmult vfp edsp
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 0
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 32768
I assoc : 1
I line length : 32
I sets : 1024
D size : 32768
D assoc : 4
D line length : 32
D sets : 256

Hardware : MV-88fxx81
Revision : 0000
Serial : 0000000000000000


Do you think that there are differencies between emualted CPU and Synology hardware which could prevent code compiled for one platform to run properly on another?
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Sat Apr 05, 2008 1:34 pm    Post subject: Reply with quote

Maybe the CPUID bug again?
http://mldonkey.sourceforge.net/forums/viewtopic.php?p=27524#27524
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Sat Apr 05, 2008 5:28 pm    Post subject: Reply with quote

So CPUID issues could affect ARM cpus too...
In this situation Synology users have to upgrade or compile a fresh new kernel.
I have other 2 things to try first and then I'll suggest to try kernel upgrade.

Thanks for the tip
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
ma2xfr
neophyte


Joined: 28 Mar 2008
Posts: 18

PostPosted: Sat Apr 05, 2008 10:57 pm    Post subject: Reply with quote

Hi,

I do not know how to help the community... but I want!
@fabtar - Do you still need the kernel.log?
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Sun Apr 06, 2008 6:34 am    Post subject: Reply with quote

Yes, I need the log.
I'm currently reading synology howtos.I'll post a bunch of suggestions this eavining.
I'm also looking into CPUID issue.
Your board is a SoC Orion one which 'll be supported by vanilla kernels from 2.6.25 version.
Perhaps something lacks in the kernel which prevents from trapping the illegal instruction signal.
Cheers

There is also a segmentation fault I'm looking in...
http://mldonkey.org/forum/viewtopic.php?f=2&t=7814&start=0&st=0&sk=t&sd=a
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Sun Apr 06, 2008 11:50 am    Post subject: Reply with quote

Check cpuinfo output for CPUID support:
Code:
 # grep cpuid /proc/cpuinfo
cpuid level     : 1

This is Linux i386. A similar Debian bug report shows
Quote:
cpuid level : -1

which indicates missing CPUID code.

EDIT: Please post a startup log of MLDonkey, not syslog/kernel log etc,
including the illegal instruction message.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Sun Apr 06, 2008 4:57 pm    Post subject: Reply with quote

Sinilogy users usully log as root.
I have already asked for logs but they haven't find them, I have supposed mldonkey fails first of opening log file.
Perhaps It is my fault and I haven't thought that they don't know where to look exactly.

@Synology users.

Take a look in to
Code:

cd /root/.mldonkey
ls

are there logs inside?
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Sun Apr 06, 2008 5:13 pm    Post subject: Reply with quote

I do not think that the screen output of MLdonkey before the crash
is written to mlnet.log. It is well possible that the same error happens
when MLDonkey is started at the console prompt. These messages
are of interest for me. I think I know where the bug happens but
I need a confirmation about this before I start to code something.

@synology users: Please start MLDonkey at the console prompt and post the
complete screen output of it, including the error message.

@fabtar: Could you please post the MLDonkey ./configure output related to
utsname functions, like this?
Code:
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes

If these headers are used to build your core and that core is started on
a machine either lacking utsname stuff or crashing due to incomplete
kernel support for utsname that might be the problem here.

Besides fixing the kernel there is no other fix for this yet, IF this is the problem...
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1575
Location: Italy

PostPosted: Sun Apr 06, 2008 7:21 pm    Post subject: Reply with quote

Code:
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes


Yes they are.
is there a simple way to disable this utsname dependancy?
( I suppose a bunch of features will be removed)
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3983
Location: Germany

PostPosted: Sun Apr 06, 2008 7:58 pm    Post subject: Reply with quote

fabtar wrote:
is there a simple way to disable this utsname dependancy

Its not yet clear that this is responsible for the crash.
If it is, I will have a deeper look at it.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Alternative platforms All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo