====== DNS-320L ====== This page will share some more information about the [[http://www.dlink.com/uk/en/home-solutions/share/network-attached-storage/dns-320l-sharecenter-2-bay-cloud-storage-enclosure|ShareCenter 2-Bay Cloud Network Storage Enclosure (DNS-320L)]].\\ ===== Hardware ===== Additional to the product specifications. {{ dns-320l_sm.png|thumb|Front angle view of the DNS-320L}} ^ CPU |1000 MHz Marvell (88F6702-A1, identified by Linux as Feroceon 88FR131 rev 1 (v5l)) | ^ RAM | 256 MB | ^ USB | 1 USB2.0 Port (rear) | ^ LAN | Unknown GBe | ^ Cooling | fan (unknown, probably similar to [[hardware:fan|ADDA AD045HB-G73]]) | ^ Kernel | 2.6.31.8 #1 armv5tel | ^ Samba | 3.5.15 | ^ C library | gcc-4.3-mt-1.44.0 | \\ == Reviews & Tutorials == * [[http://nas-tweaks.net/devices/d-link-dns-320/|DNS-320-Page on NAS-Tweaks with further Pictures]] * [[http://jamie.lentin.co.uk/devices/dlink-dns325/|Replacing firmware with Debian Linux]] == /proc/cpuinfo == Processor : Feroceon 88FR131 rev 1 (v5l) BogoMIPS : 999.42 Features : swp half thumb fastmult edsp CPU implementer : 0x56 CPU architecture: 5TE CPU variant : 0x2 CPU part : 0x131 Hardware : Feroceon-KW CPU revision : 0000 Serial : 0000000000000000 \\ == cat /proc/meminfo == MemTotal: 248416 kB MemFree: 4204 kB Buffers: 147548 kB Cached: 49652 kB SwapCached: 1700 kB Active: 68956 kB Inactive: 94556 kB Active(anon): 1080 kB Inactive(anon): 3488 kB Active(file): 67876 kB Inactive(file): 91068 kB Unevictable: 38212 kB Mlocked: 0 kB SwapTotal: 524216 kB SwapFree: 513548 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 3612 kB Mapped: 4636 kB Slab: 29920 kB SReclaimable: 19864 kB SUnreclaim: 10056 kB PageTables: 660 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 648424 kB Committed_AS: 55752 kB VmallocTotal: 385024 kB VmallocUsed: 660 kB VmallocChunk: 382892 kB ===== Serial PIN Layout ===== Very similar to [[DNS-320]]. Image from a DNBS-320L, rev. A3 {{pinlayout.jpg|}} ===== UBoot boot messages ===== ** MARVELL BOARD: DB-88F6702A-BP LE U-Boot 1.1.4 (Apr 17 2014 - 17:31:34) Marvell version: 3.6.0.DNS-320L.01 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 Soc: 88F6702 A1 CPU running @ 1000Mhz L2 running @ 500Mhz SysClock = 400Mhz , TClock = 166Mhz DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM Total size 256MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:128 MB Flash: 0 kB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x100000, size 0x300000 load addr .... =a00000 3145728 bytes read: OK NAND read: device 0 offset 0x600000, size 0x300000 load addr .... =f00000 3145728 bytes read: OK ## Booting image at 00a00000 ... Image Name: Linux-2.6.31.8 Created: 2012-08-22 8:55:08 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2630552 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 00f00000 ... Image Name: Ramdisk Created: 2015-07-28 13:12:19 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 1744063 Bytes = 1.7 MB Load Address: 00e00000 Entry Point: 00e00000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux......................................................................................................................................................................... done, bo. ===== Serial console boot messages ===== Linux version 2.6.31.8 (jack@swtest6) (gcc version 4.3.2 (sdk3.3-ct-ng-1.4.1) ) #1 Wed Aug 22 16:55:05 CST 2012 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 CPU: VIVT data cache, VIVT instruction cache Machine: Feroceon-KW Using UBoot passing parameters structure Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping off. Total pages: 65024 Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none PID hash table entries: 1024 (order: 10, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 256MB = 256MB total Memory: 246272KB available (4960K code, 334K data, 136K init, 0K highmem) Hierarchical RCU implementation. NR_IRQS:128 Console: colour dummy device 80x30 Calibrating delay loop... 999.42 BogoMIPS (lpj=4997120) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. CPU Interface ------------- SDRAM_CS0 ....base 00000000, size 256MB SDRAM_CS1 ....disable SDRAM_CS2 ....disable SDRAM_CS3 ....disable PEX0_MEM ....base e0000000, size 128MB PEX0_IO ....base f2000000, size 1MB PEX1_MEM ....no such PEX1_IO ....no such INTER_REGS ....base f1000000, size 1MB NFLASH_CS ....base fa000000, size 2MB SPI_CS ....base f4000000, size 16MB BOOT_ROM_CS ....no such DEV_BOOTCS ....no such CRYPT_ENG ....base f0000000, size 2MB Marvell Development Board (LSP Version KW_LSP_5.1.3_patch29)-- DB-88F6702A-BP Soc: 88F6702 A1 LE Detected Tclk 166666667 and SysClk 400000000 MV Buttons Device Load Marvell USB EHCI Host controller #0: c8040740 PEX0 interface detected no Link. PCI: bus0: Fast back to back transfers enabled mvPexLocalBusNumSet: ERR. Invalid PEX interface 1 bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered NET: Registered protocol family 1 Trying to unpack rootfs image as initramfs... rootfs image is not initramfs (no cpio magic); looks like an initrd Freeing initrd memory: 1700K RTC has been updated!!! rtc mv_rtc: rtc core: registered kw-rtc as rtc0 RTC registered cpufreq: Init kirkwood cpufreq driver XOR registered 4 channels XOR 2nd invalidate WA enabled cesadev_init(c000ed5c) mvCesaInit: sessions=640, queue=64, pSram=f0000000 MV Buttons Driver Load VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) squashfs: version 4.0 (2009/01/31) Phillip Lougher Installing knfsd (copyright (C) 1996 okir@monad.swb.de). NTFS driver 2.1.29 [Flags: R/O]. JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. fuse init (API version 7.12) msgmni has been set to 484 alg: No test for cipher_null (cipher_null-generic) alg: No test for ecb(cipher_null) (ecb-cipher_null) alg: No test for digest_null (digest_null-generic) alg: No test for compress_null (compress_null-generic) alg: No test for lzma (lzma-generic) alg: No test for stdrng (krng) alg: No test for hmac(digest_null) (hmac(digest_null-generic)) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) io scheduler noop registered io scheduler anticipatory registered (default) Initializing ths8200_init Initializing dove_adi9889_init Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A console [ttyS0] enabled serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A brd: module loaded loop: module loaded Integrated Sata device found IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter Loading Marvell Ethernet Driver: o Cached descriptors in DRAM o DRAM SW cache-coherency o 2 Giga ports supported o Single RX Queue support - ETH_DEF_RXQ=0 o Single TX Queue support - ETH_DEF_TXQ=0 o TCP segmentation offload (TSO) supported o Large Receive offload (LRO) supported o Receive checksum offload supported o Transmit checksum offload supported o Network Fast Processing (Routing) supported - (Disabled) o Driver ERROR statistics enabled o Proc tool API enabled o SKB Reuse supported - (Disabled) o SKB Recycle supported - (Disabled) o Rx descripors: q0=128 o Tx descripors: q0=532 o Loading network interface(s): o register under mv88fx_eth platform o egiga0, ifindex = 2, GbE port = 0 Warning: Giga 1 is Powered Off mvFpRuleDb (c0ee4000): 2048 entries, 8192 bytes Counter=0, opIdx=6, overhead=16 Counter=1, opIdx=2, overhead=0 Counter=2, opIdx=1, overhead=18 Counter=3, opIdx=2, overhead=0 NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit) Scanning device for bad blocks Using static partition definition Creating 7 MTD partitions on "nand_mtd": 0x000000000000-0x000000100000 : "u-boot" 0x000000100000-0x000000600000 : "uImage" 0x000000600000-0x000000b00000 : "ramdisk" 0x000000b00000-0x000006f00000 : "image" 0x000006f00000-0x000007900000 : "rescue firmware" 0x000007900000-0x000007e00000 : "config" 0x000007e00000-0x000008000000 : "my-dlink" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_marvell ehci_marvell.70059: Marvell Orion EHCI ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1 ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100 ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver uhci_hcd: USB Universal Host Controller Interface driver Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. rtc mv_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. RAMDISK: gzip image found at block 0 usb 1-1: new high speed USB device using ehci_marvell and address 2 VFS: Mounted root (ext2 filesystem) on device 1:0. Freeing init memory: 136K init started: BusyBox v1.20.2 (2013-11-27 15:54:37 CST) starting pid 536, tty '': '/etc/rc.sh' ** Mounting /etc/fstab umount: can't umount /proc: Invalid argument umount: can't umount /usr/local/modules: Invalid argument usb 1-1: configuration #1 chosen from 1 choice scsi2 : SCSI emulation for USB Mass Storage devices sh: can't open '/usr/sbin/pre_usb.sh' sh: can't open '/usr/sbin/pre_usb.sh' first good block is 0 image len = 39366656 , image checksum = b494025d umount: can't umount /usr/local/tmp: Invalid argument scsi 2:0:0:0: Direct-Access Mass Storage Device 1.00 PQ: 0 ANSI: 0 CCS sd 2:0:0:0: [sda] 61315072 512-byte logical blocks: (31.3 GB/29.2 GiB) sd 2:0:0:0: [sda] Write Protect is off sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sda2 sd 2:0:0:0: Attached scsi generic sg0 type 0 sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] Attached SCSI removable disk dump image checksum=b494025d mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules ln: /lib/./libnss_dns-2.8.so: File exists ln: /lib/./libnss_dns.so.2: File exists ln: /usr/sbin/./system_init: File exists hardware init GbE port 0: TxEnable WA - Enabled, deep=1, tx_en_bk=1 mtd check v1.02.08062012 config mtd type is JFFS2 /usr/local/config free size is 4734976 ** copy config files cp: can't stat '/usr/local/config/user.log.old': No such file or directory usbcore: registered new interface driver usblp ** set loopback interface old firmware ver:20150728 new firmware ver:20150728 first good block is 0 mac1 = 48:EE:0C:F2:E8:96 lan0:ifconfig egiga0 hw ether 48:EE:0C:F2:E8:96 egiga0: mac address changed egiga0: link down egiga0: started Support Mydlink egiga0: link up, full duplex, speed 1 Gbps NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver sit0: Disabled Privacy Extensions ip6tnl0: Disabled Privacy Extensions IPv4 over IPv4 tunneling driver tunl0: Disabled Privacy Extensions net.ipv6.conf.default.accept_dad = 2 net.ipv6.conf.egiga0.accept_dad = 2 net.ipv6.conf.default.dad_transmits = 1 net.ipv6.conf.egiga0.dad_transmits = 1 net.ipv6.conf.default.forwarding = 0 net.ipv6.conf.default.accept_redirects = 1 *** execute rc.init.sh awk: /var/run/udhcpc0.pid: No such file or directory udhcpc (v1.20.2) started Sending discover... Sending select for 192.168.1.132... Lease of 192.168.1.132 obtained, lease time 86400 sh: you need to specify whom to kill deleting routers route: SIOCDELRT: No such process call load_module network RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported *** set Time Zone **** Fri Dec 31 22:00:37 GMT 1999 *** get Time from rtc and set it into system **** rtc: RTC time = 2000/1/1 Sat 2:9:12 Sat Jan 1 02:09:12 GMT 2000 *** Do not adjust RTC time *** Module IPC SERVER Version:(1.00.20090706) ads=0 created mail daemon thread 0 read /usr/local/config/hd_info.xml not exist /usr/sbin/system_init: line 487: op_server: not found Starting system message bus Changing password for messagebus Password changed. Command: wget -T5 -t3 -q http://cfaj.freeshell.org/ipaddr.cgi -O /tmp/exip.0 Command: wget -T5 -t3 -q http://icanhazip.com/ -O /tmp/exip.1 /dev/sda1 looks like swapspace - not mounted mount: you must specify the filesystem type EXT4-fs (sda2): barriers enabled kjournald2 starting: pid 1810, dev sda2:8, commit interval 5 seconds EXT4-fs (sda2): internal journal on sda2:8 EXT4-fs (sda2): delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (sda2): mounted filesystem with ordered data mode cp: can't stat '/usr/local/config/Mydlink_Status.xml': No such file or directory system daemon v1.03.20130707 mcu version 1.02 chk_io v1.03.20130502 killall: chk_hotplug: no process killed mfg_start version 1.00(2015-07-28) Sat Jan 1 02:09:31 2000 mnt pnt [/mnt/USB/USB1_a2] usb_dir [/mnt/USB/USB1_a2] filename_mfg mfg_DNS_320L check /mnt/USB/USB1_a2/mfg_DNS_320L file open /mnt/USB/USB1_a2/mfg_DNS_320L file failed cp: can't stat '/usr/local/config/mydlink_time.xml': No such file or directory opt.local stop ok. opt.local start ok. Please press Enter to activate this console. Below is a dump of dmesg output: Linux version 2.6.31.8 (jack@swtest6) (gcc version 4.3.2 (sdk3.3-ct-ng-1.4.1) ) #1 Wed Aug 22 16:55:05 CST 2012 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 CPU: VIVT data cache, VIVT instruction cache Machine: Feroceon-KW Using UBoot passing parameters structure Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 65536 free_area_init_node: node 0, pgdat c053015c, node_mem_map c0558000 Normal zone: 512 pages used for memmap Normal zone: 0 pages reserved Normal zone: 65024 pages, LIFO batch:15 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 65024 Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none PID hash table entries: 1024 (order: 10, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 256MB = 256MB total Memory: 246272KB available (4960K code, 334K data, 136K init, 0K highmem) Hierarchical RCU implementation. NR_IRQS:128 Console: colour dummy device 80x30 Calibrating delay loop... 999.42 BogoMIPS (lpj=4997120) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. ===== Setting up ffp ===== The instructions for the DNS-320 and DNS-325 seem to work fine for the DNS-320L: http://nas-tweaks.net/371/hdd-installation-of-the-fun_plug-0-7-on-nas-devices/ This device mounts the first drive as /mnt/HD/HD_a2, similarly with the DNS-320. Once installed and running you might want to set-up ssh and change the root password. ([[http://nas-tweaks.net/CH3SNAS:Tutorials/fun_plug#Change_root_password|for example this]])\\ USB drives seem to be automounted on boot in most cases, however it this does not happen, it seems to be updated by running '''smbd reload''' on the device under Telnet or SSH, and seems to mount the drives under /mnt/USB/USB_a1 /mnt/USB/USB_b2, etc Initial info contributed by [[RedScourge]] on 10th March 2015.