Navigation

2012/08/08

Synology DS212j Internals

I got my wife a Synology DS212j (2-bay lightweight NAS). Here are some internal details.

enflaeda> uname -a
Linux enflaeda 2.6.32.12 #2567 Fri Jul 6 16:09:30 CST 2012 armv5tel GNU/Linux synology_88f6281_212j

Interesting that this machine is still running 2.6.32, despite having DSM 4.1 installed on it. Other platforms, such as their x86 systems, have 3.2.11 in DSM 4.1.

enflaeda> cat /proc/cpuinfo 
Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1192.75
Features : swp half thumb fastmult edsp 
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Feroceon-KW
Revision : 0000
Serial  : 0000000000000000

I believe this is the shortest and least informative cpuinfo I have seen (apart from some QEMU virtual CPUs) in a long, long time.

[    0.000000] Linux version 2.6.32.12 (root@build2) (gcc version 4.2.1) #2567 Fri Jul 6 16:09:30 CST 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Sys Clk = 200000000, Tclk = 166666667
[    0.000000] Synology Board ID: 21
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0396f6c, node_mem_map c0c01000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x00800040,4M root=/dev/md0 rw syno_hw_version=DS212jv20 ihd_num=2 netif_num=1
[    0.000000] Synology Hareware Version: DS212jv20-j
[    0.000000] Internal HD num: 2
[    0.000000] Internal netif num: 1
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 128MB 128MB = 256MB total
[    0.000000] Memory: 245376KB available (3204K code, 522K data, 120K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[    0.240000] Mount-cache hash table entries: 512
[    0.240000] CPU: Testing write buffer coherency: ok
[    0.240000] NET: Registered protocol family 16
[    0.240000] Feroceon L2: Enabling L2
[    0.240000] Feroceon L2: Cache support initialised, in WT override mode.
[    0.260000] 
[    0.260000] CPU Interface
[    0.260000] -------------
[    0.260000] SDRAM_CS0 ....base 00000000, size 128MB 
[    0.260000] SDRAM_CS1 ....base 08000000, size 128MB 
[    0.260000] SDRAM_CS2 ....disable
[    0.260000] SDRAM_CS3 ....disable
[    0.260000] PEX0_MEM ....base e0000000, size 128MB 
[    0.260000] PEX0_IO ....base f2000000, size   1MB 
[    0.260000] PEX1_MEM ....no such
[    0.260000] PEX1_IO ....no such
[    0.260000] INTER_REGS ....base f1000000, size   1MB 
[    0.260000] NFLASH_CS ....base fa000000, size   2MB 
[    0.260000] SPI_CS ....base f4000000, size  16MB 
[    0.260000] BOOT_ROM_CS ....no such
[    0.260000] DEV_BOOTCS ....no such
[    0.260000] CRYPT_ENG ....base f0000000, size   2MB 
[    0.260000]  Detected Tclk 200000000 and SysClk 400000000 
[    0.260000] Synology 6281 1, 2 bay GPIO Init
[    0.760000] PEX0 interface detected no Link.
[    0.760000] PCI: bus0: Fast back to back transfers enabled
[    0.760000] mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
[    0.760000] bio: create slab <bio-0> at 0
[    0.760000] vgaarb: loaded
[    0.760000] SCSI subsystem initialized
[    0.760000] libata version 3.00 loaded.
[    0.760000] Switching to clocksource kw_clocksource
[    0.770000] NET: Registered protocol family 2
[    0.770000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.770000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.770000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.770000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.770000] TCP reno registered
[    0.770000] NET: Registered protocol family 1
[    0.770000] RPC: Registered udp transport module.
[    0.770000] RPC: Registered tcp transport module.
[    0.770000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.770000] Trying to unpack rootfs image as initramfs...
[    1.800000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    1.810000] Freeing initrd memory: 4096K
[    1.810000] XOR registered 4 channels
[    1.810000] XOR 2nd invalidate WA enabled
[    1.810000] VFS: Disk quotas dquot_6.5.2
[    1.810000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.810000] msgmni has been set to 487
[    1.820000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    1.820000] io scheduler noop registered
[    1.820000] io scheduler anticipatory registered (default)
[    1.830000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.830000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    1.840000] console [ttyS0] enabled
[    1.840000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    1.860000] brd: module loaded
[    1.860000] sata_mv sata_mv.0: version 1.28
[    1.860000] sata_mv sata_mv.0: slots 32 ports 2
[    1.870000] scsi0 : sata_mv
[    1.870000] scsi1 : sata_mv
[    1.880000] ata1: SATA max UDMA/133 irq 21
[    1.880000] ata2: SATA max UDMA/133 irq 21
[   10.430000] ata1: link is slow to respond, please be patient (ready=0)
[   14.930000] ata1: SRST failed (errno=-16)
[   14.930000] ata1: SRST fail, set srst fail flag
[   17.540000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   17.540000] ata1: link reset sucessfully clear error flags
[   17.570000] ata1.00: ATA-7: SAMSUNG HD154UI, 1AG01118, max UDMA7
[   17.570000] ata1.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   17.600000] ata1.00: configured for UDMA/133
[   17.600000] scsi 0:0:0:0: Direct-Access     SAMSUNG  HD154UI          1AG0 PQ: 0 ANSI: 5
[   17.610000] sd 0:0:0:0: [sda] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[   17.620000] sd 0:0:0:0: [sda] Write Protect is off
[   17.620000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   17.620000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   17.630000]  sda: sda1 sda2 sda3 < sda5 >
[   17.950000] sd 0:0:0:0: [sda] Attached SCSI disk
[   20.950000] Delay 5 seconds to wait for disk 2 ready.
[   31.500000] ata2: link is slow to respond, please be patient (ready=0)
[   36.000000] ata2: SRST failed (errno=-16)
[   36.000000] ata2: SRST fail, set srst fail flag
[   38.670000] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   38.670000] ata2: link reset sucessfully clear error flags
[   38.700000] ata2.00: ATA-7: SAMSUNG HD154UI, 1AG01118, max UDMA7
[   38.700000] ata2.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   38.990000] ata2.00: configured for UDMA/133
[   38.990000] scsi 1:0:0:0: Direct-Access     SAMSUNG  HD154UI          1AG0 PQ: 0 ANSI: 5
[   39.000000] sd 1:0:0:0: [sdb] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[   39.010000] sd 1:0:0:0: [sdb] Write Protect is off
[   39.010000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   39.010000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   39.020000]  sdb: sdb1 sdb2 sdb3 < sdb5 >
[   39.060000] sd 1:0:0:0: [sdb] Attached SCSI disk
[   39.070000] physmap platform flash device: 00400000 at f8000000
[   39.070000] SPI Serial flash detected @ 0xf8000000, 4096KB (64sec x 64KB)
[   39.080000] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x3f0000
[   39.100000] 6 RedBoot partitions found on MTD device SYNOMTD-0
[   39.110000] SYNOMTD flash bank 0: Using RedBoot partition definition
[   39.120000] Creating 6 MTD partitions on "SYNOMTD-0":
[   39.120000] 0x000000000000-0x000000080000 : "RedBoot"
[   39.130000] 0x000000080000-0x000000280000 : "zImage"
[   39.130000] 0x000000280000-0x0000003c0000 : "rd.gz"
[   39.140000] 0x0000003c0000-0x0000003d0000 : "vendor"
[   39.140000] vender Mac1 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   39.150000] vender Mac2 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   39.160000] vender Mac3 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   39.160000] Serial Number: C4KON05667
[   39.170000] 0x0000003d0000-0x0000003f0000 : "RedBoot Config"
[   39.170000] 0x0000003f0000-0x000000400000 : "FIS directory"
[   39.180000] mvCpuIfTargetWinBaseLowGet:ERR. Getting target 11 failed.
[   39.180000] mvCpuIfTargetWinSizeGet:ERR. Getting target 11 failed.
[   39.190000] 
[   39.190000] ERROR: flashInfoFill - Failed to get Device Base address and Size (spi_flash 0)Loading Marvell Ethernet Driver:
[   39.200000]   o Cached descriptors in DRAM
[   39.210000]   o DRAM SW cache-coherency
[   39.210000]   o 2 Giga ports supported
[   39.220000]   o Single RX Queue support - ETH_DEF_RXQ=0
[   39.220000]   o Single TX Queue support - ETH_DEF_TXQ=0
[   39.230000]   o TCP segmentation offload (TSO) supported
[   39.230000]   o Receive checksum offload supported
[   39.240000]   o Transmit checksum offload supported
[   39.240000]   o SKB Recycle supported - (Enabled)
[   39.250000]   o Rx descripors: q0=128
[   39.250000]   o Tx descripors: q0=532
[   39.250000]   o Loading network interface(s):
[   39.260000]     o  register under mv88fx_eth platform
[   39.260000]     o eth0, ifindex = 2, GbE port = 0
[   39.270000]     o eth0, phy chipid = 1410e40, Support WOL = 0
[   39.280000] 
[   39.280000] cpuidle: using governor ladder
[   39.280000] TCP cubic registered
[   39.280000] NET: Registered protocol family 17
[   39.290000] RAMDISK: lzma image found at block 0
[   40.410000] VFS: Mounted root (ext2 filesystem) on device 1:0.
[   40.530000] md: raid1 personality registered for level 1
[   40.530000] md: Waiting for all devices to be available before autodetect
[   40.540000] md: If you don't use raid, use raid=noautodetect
[   40.570000] md: Autodetecting RAID arrays.
[   40.640000] md: invalid raid superblock magic on sda5
[   40.640000] md: sda5 does not have a valid v0.90 superblock, not importing!
[   40.750000] md: invalid raid superblock magic on sdb5
[   40.760000] md: sdb5 does not have a valid v0.90 superblock, not importing!
[   40.770000] md: Scanned 6 and added 4 devices.
[   40.770000] md: autorun ...
[   40.770000] md: considering sda1 ...
[   40.780000] md:  adding sda1 ...
[   40.780000] md: sda2 has different UUID to sda1
[   40.790000] md:  adding sdb1 ...
[   40.790000] md: sdb2 has different UUID to sda1
[   40.790000] md: created md0
[   40.800000] md: bind<sdb1>
[   40.800000] md: bind<sda1>
[   40.800000] md: running: <sda1><sdb1>
[   40.810000] raid1: raid set md0 active with 2 out of 2 mirrors
[   40.810000] md0: detected capacity change from 0 to 2549940224
[   40.830000] md: considering sda2 ...
[   40.830000] md:  adding sda2 ...
[   40.830000] md:  adding sdb2 ...
[   40.860000] md: created md1
[   40.860000] md: bind<sdb2>
[   40.860000] md: bind<sda2>
[   40.860000] md: running: <sda2><sdb2>
[   40.890000] raid1: raid set md1 active with 2 out of 2 mirrors
[   40.900000] md1: detected capacity change from 0 to 2147418112
[   40.910000] md: ... autorun DONE.
[   40.930000] ds212j_synobios: module license 'Synology Inc.' taints kernel.
[   40.940000] Disabling lock debugging due to kernel taint
[   40.980000] correction with 0x03
[   41.080000] synobios: load, major number 201
[   41.080000] Brand: Synology
[   41.080000] Model: DS-212j
[   41.090000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   41.130000] synobios: unload
[   41.190000]  md0: unknown partition table
[   42.500000] EXT4-fs (md0): barriers disabled
[   42.520000] EXT4-fs (md0): mounted filesystem with ordered data mode
[   43.880000] synoacl module [synoacl_ext4] is not loaded 
[   43.890000] synoacl module [synoacl_vfs] is not loaded 
[   43.920000] EXT3-fs: md0: couldn't mount because of unsupported optional features (240).
[   43.930000] EXT2-fs: md0: couldn't mount because of unsupported optional features (240).
[   43.940000] EXT4-fs (md0): barriers disabled
[   43.960000] EXT4-fs (md0): mounted filesystem with ordered data mode
[   43.960000] VFS: Mounted root (ext4 filesystem) on device 9:0.
[   43.970000] Trying to move old root to /initrd ... okay
[   43.970000] Freeing init memory: 120K
[   51.300000]  md1: unknown partition table
[   51.310000] Adding 2097080k swap on /dev/md1.  Priority:-1 extents:1 across:2097080k 
[   51.720000] NET: Registered protocol family 10
[   51.730000] lo: Disabled Privacy Extensions
[   51.880000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[   51.950000] xor: measuring software checksum speed
[   52.010000]    arm4regs  :  1084.800 MB/sec
[   52.060000]    8regs     :   823.200 MB/sec
[   52.110000]    32regs    :   923.200 MB/sec
[   52.110000] xor: using function: arm4regs (1084.800 MB/sec)
[   52.340000] raid6: int32x1     80 MB/s
[   52.510000] raid6: int32x2     99 MB/s
[   52.680000] raid6: int32x4    116 MB/s
[   52.850000] raid6: int32x8    106 MB/s
[   52.850000] raid6: using algorithm int32x4 (116 MB/s)
[   52.990000] md: linear personality registered for level -1
[   53.020000] md: raid0 personality registered for level 0
[   53.070000] md: raid10 personality registered for level 10
[   53.110000] md: raid6 personality registered for level 6
[   53.120000] md: raid5 personality registered for level 5
[   53.120000] md: raid4 personality registered for level 4
[   53.260000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   53.260000] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   53.450000] usbcore: registered new interface driver usbfs
[   53.460000] usbcore: registered new interface driver hub
[   53.460000] usbcore: registered new device driver usb
[   53.690000] cpufreq: Init kirkwood cpufreq driver
[   53.690000] cpufreq: High frequency: 1200000KHz - Low frequency: 400000KHz
[   54.010000] alg: No test for md5 (md5-generic)
[   54.030000] alg: No test for aes (aes-generic)
[   54.080000] alg: No test for stdrng (ansi_cprng)
[   54.110000] alg: No test for stdrng (krng)
[   54.170000] alg: No test for crc32c (crc32c-generic)
[   54.190000] alg: No test for des (des-generic)
[   54.190000] alg: No test for des3_ede (des3_ede-generic)
[   54.320000] cesadev_init(bf234000)
[   54.360000] mvCesaInit: sessions=10240, queue=64, pSram=f0000000
[   54.430000] alg: No test for sha1 (sha1-generic)
[   54.460000] alg: No test for sha224 (sha224-generic)
[   54.460000] alg: No test for sha256 (sha256-generic)
[   54.490000] alg: No test for sha384 (sha384-generic)
[   54.490000] alg: No test for sha512 (sha512-generic)
[   54.580000] encryptfs using the OCF package.
[   54.810000] fuse init (API version 7.13)
[   55.020000] sky2 driver version 1.25
[   55.120000] correction with 0x03
[   55.220000] synobios: load, major number 201
[   55.220000] Brand: Synology
[   55.230000] Model: DS-212j
[   55.230000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   55.620000] eth0: mac address changed
[   57.700000] eth0: link down
[   57.700000] eth0: started
[   57.710000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   58.420000] eth0: link up, full duplex, speed 1 Gbps
[   58.420000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   61.640000] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[   66.640000] ata1.00: configured for UDMA/133
[   66.640000] ata1: EH complete
[   66.680000] ata2.00: configured for UDMA/133
[   66.680000] ata2: EH complete
[   67.150000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   67.150000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   67.160000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   67.200000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   67.220000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   67.230000] usb usb1: configuration #1 chosen from 1 choice
[   67.230000] hub 1-0:1.0: USB hub found
[   67.240000] hub 1-0:1.0: 1 port detected
[   67.390000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   67.560000] usb 1-1: new high speed USB device using orion-ehci and address 2
[   67.720000] Got empty serial number. Generate serial number from product.
[   67.730000] usb 1-1: configuration #1 chosen from 1 choice
[   67.730000] hub 1-1:1.0: USB hub found
[   67.770000] Initializing USB Mass Storage driver...
[   67.770000] usbcore: registered new interface driver usb-storage
[   67.780000] USB Mass Storage support registered.
[   67.790000] hub 1-1:1.0: 4 ports detected
[   68.040000] usbcore: registered new interface driver usblp
[   68.430000] usbcore: registered new interface driver hiddev
[   68.470000] usbcore: registered new interface driver usbhid
[   68.480000] usbhid: v2.6:USB HID core driver
[   69.390000] eth0: no IPv6 routers present
[   76.110000] loop: module loaded
[   77.220000] Slow work thread pool: Starting up
[   77.750000] Slow work thread pool: Ready

More to come later: lspci, lsusb output...