DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-04-23 13:25:18

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Hardware specs for 313

Hi,
I am considering buying the 313 box, but i'd like to know some hw specs. Can someone please provide the boot/dmesg output? And it would be best to take a photo of a mother board. I am interested especially in serial port or usb host connection.
thanks in advance

Offline

 

#2 2008-04-25 16:35:53

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: Hardware specs for 313

okay
package has arrived today, and i immediately disassembled it to take a look at the internals.
there is

- processor is SL3512, pretty impressive capabilites for such small thing
http://www.storlinksemi.com.cn/products-sl3512.htm

- there are three connectors on the mobo - 20pin, 4pin, and a place for some kind of switch or connector (sw3 label)

after a quick dig in the official sources, i can say that usb port should be capable to export a data as a mass storage, while the device is connected to the network. but you can't access data files and network simultaneously.
the usb port has olso the OTG capabilities, so it should work as a host for other usb devices, like flash disks, cameras, whatever big_smile

the sources compiles ok, i want the xfs as a filesystem for my data (i simply don't trust the ext2 smile

Offline

 

#3 2008-04-25 16:47:39

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Hardware specs for 313

pcp wrote:

the sources compiles ok, i want the xfs as a filesystem for my data (i simply don't trust the ext2 smile

This week, we had a kernel crash in XFS on one of our file servers. Never seen that with ext2 smile

Offline

 

#4 2008-04-27 12:22:37

virgil_dlv
Member
Registered: 2008-04-10
Posts: 6

Re: Hardware specs for 313

pcp wrote:

- processor is SL3512, pretty impressive capabilites for such small thing
http://www.storlinksemi.com.cn/products-sl3512.htm

Yeah - but there must be something holding it back in terms of performance because it is only about 18MB/sec throughput on the NAS

Offline

 

#5 2008-04-27 21:30:07

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: Hardware specs for 313

virgil_dlv wrote:

pcp wrote:

- processor is SL3512, pretty impressive capabilites for such small thing
http://www.storlinksemi.com.cn/products-sl3512.htm

Yeah - but there must be something holding it back in terms of performance because it is only about 18MB/sec throughput on the NAS

I think that's because of ram usage. Samba takes almost 50% of memory, and there is no space for the cache then.

Offline

 

#6 2008-04-27 21:40:06

naffarin
Member
Registered: 2008-01-28
Posts: 47

Re: Hardware specs for 313

No, ram usage is not the issue. I have changed all my major processes like samba and mediatomb to a uclibc based system and now have stats like these:
Mem: 21528K used, 8636K free, 0K shrd, 336K buff, 9472K cached
CPU:   0% usr   0% sys   0% nice  99% idle   0% io   0% irq   0% softirq
Load average: 0.00 0.00 0.00

The ubutton process on the dns313 which is started during the boot process seems to have a memory leak which is why i kill it by cronjob once a day, it otherwise grows by 10 MB per day approximately.

Anyway, speeds have not changed a bit.

Offline

 

#7 2008-04-28 00:53:39

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: Hardware specs for 313

whats the difference between the uclibc samba and the vendor's one? does it use less memory?

Last edited by pcp (2008-04-28 01:01:08)

Offline

 

#8 2008-04-28 20:18:31

naffarin
Member
Registered: 2008-01-28
Posts: 47

Re: Hardware specs for 313

uclibc is a smaller version of the glibc which is designed for less memory requirements. It is often used on embedded systems, and afaik is also used on the dns 323. I don't know why dlinks system builder for the dns313 has chosen to use glibc. E.g. the mediatomb version compiled for glibc uses about 25 MB virtual memory size on my dns313, with the uclibc version i get about 8M virtual memory usage in total.

Offline

 

#9 2008-04-28 21:32:45

lothalev
Member
Registered: 2007-12-09
Posts: 14

Re: Hardware specs for 313

As for the USB host mode, the 313 - contrary to 323, has not got it. The only thing it has, is a USB mass storage client driver (enabled when USB cable is plugged in on power-up, cannot be enabled later - so it seems the port will not be accessible from the OS side)

Offline

 

#10 2008-04-28 23:23:37

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: Hardware specs for 313

lothalev wrote:

As for the USB host mode, the 313 - contrary to 323, has not got it. The only thing it has, is a USB mass storage client driver (enabled when USB cable is plugged in on power-up, cannot be enabled later - so it seems the port will not be accessible from the OS side)

no, it's not true. today,  i've succesfully used the usb port with g_file_storage module (exports one file via the usb port as a mass storage device). but you need to recompile the kernel if you want to use it.
and second, if you take a look at the dmesg output of a default zImage, usb driver act as *host* only. so it might be possible to use it in both ways. (according to the fotg2xxx docs).
but i can't find out how to switch the usb controller to the host mode..

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB