Information from a running system (NAS540)

From NAS-Central Zyxel Wiki
Jump to: navigation, search

Firmware 5.00, one 120GB ssd.

/proc/cpuinfo

Processor       : ARMv7 Processor rev 1 (v7l)
processor       : 0
BogoMIPS        : 2387.14

processor       : 1
BogoMIPS        : 2393.70

Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc09
CPU revision    : 1

Hardware        : Comcerto 2000 EVM
Revision        : 0001
Serial          : 0000000000000000

/proc/meminfo

MemTotal:        1019520 kB
MemFree:          352768 kB
Buffers:           40640 kB
Cached:           401600 kB
SwapCached:            0 kB
Active:           269696 kB
Inactive:         317824 kB
Active(anon):     145344 kB
Inactive(anon):    14080 kB
Active(file):     124352 kB
Inactive(file):   303744 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       1998720 kB
SwapFree:        1998720 kB
Dirty:               512 kB
Writeback:             0 kB
AnonPages:        145280 kB
Mapped:            67200 kB
Shmem:             14272 kB
Slab:              22656 kB
SReclaimable:       9536 kB
SUnreclaim:        13120 kB
KernelStack:       13696 kB
PageTables:        20928 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2508480 kB
Committed_AS:     837632 kB
VmallocTotal:     778240 kB
VmallocUsed:       59712 kB
VmallocChunk:     688064 kB

/proc/cmdline

console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,, ip=dhcp root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs rw noinitrd mtdparts=spi0.0:256k(uloader)ro,512k(barebox)ro,256k(env);comcertonand:10M(config),10M(kernel1),110M(rootfs1),10M(kernel2),110M(rootfs2),-(reserved) usb3_internal_clk=yes

/proc/mtd

dev:    size   erasesize  name
mtd0: 00040000 00010000 "uloader"
mtd1: 00080000 00010000 "barebox"
mtd2: 00040000 00010000 "env"
mtd3: 00a00000 00020000 "config"
mtd4: 00a00000 00020000 "kernel1"
mtd5: 06e00000 00020000 "rootfs1"
mtd6: 00a00000 00020000 "kernel2"
mtd7: 06e00000 00020000 "rootfs2"
mtd8: 00600000 00020000 "reserved"
mtd9: 06406000 0001f000 "ubi_rootfs2"
mtd10: 0045c000 0001f000 "ubi_config"

/proc/partitions

major minor  #blocks  name

   7        0     180224 loop0
  31        0        256 mtdblock0
  31        1        512 mtdblock1
  31        2        256 mtdblock2
  31        3      10240 mtdblock3
  31        4      10240 mtdblock4
  31        5     112640 mtdblock5
  31        6      10240 mtdblock6
  31        7     112640 mtdblock7
  31        8       6144 mtdblock8
   8        0  117220824 sda
   8        1    1998848 sda1
   8        2    1999872 sda2
   8        3  113220608 sda3
  31        9     102424 mtdblock9
   9        0    1997760 md0
   9        1    1998784 md1
  31       10       4464 mtdblock10
   9        2  113154944 md2

/proc/mdstat

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
md2 : active raid1 sda3[0]
      113154944 blocks super 1.2 [1/1] [U]
      
md1 : active raid1 sda2[0]
      1998784 blocks super 1.2 [4/1] [U___]
      
md0 : active raid1 sda1[0]
      1997760 blocks super 1.2 [4/1] [U___]
      
unused devices: <none>

/proc/mounts

rootfs / rootfs rw 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
none /proc/bus/usb usbfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
ubi7:ubi_rootfs2 /firmware/mnt/nand ubifs ro,relatime 0 0
/dev/md0 /firmware/mnt/sysdisk ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/loop0 /ram_bin ext2 ro,relatime,user_xattr,barrier=1 0 0
/dev/loop0 /usr ext2 ro,relatime,user_xattr,barrier=1 0 0
/dev/loop0 /lib/security ext2 ro,relatime,user_xattr,barrier=1 0 0
/dev/loop0 /lib/modules ext2 ro,relatime,user_xattr,barrier=1 0 0
/dev/loop0 /lib/locale ext2 ro,relatime,user_xattr,barrier=1 0 0
/dev/ram0 /tmp/tmpfs tmpfs rw,relatime,size=5120k 0 0
/dev/ram0 /usr/local/etc tmpfs rw,relatime,size=5120k 0 0
ubi3:ubi_config /etc/zyxel ubifs rw,relatime 0 0
/dev/md2 /i-data/c396700a ext4 rw,noatime,user_xattr,barrier=1,stripe=16,data=ordered,usrquota 0 0
/dev/md2 /usr/local/apache/htdocs/adv,/pkg ext4 rw,noatime,user_xattr,barrier=1,stripe=16,data=ordered,usrquota 0 0
/dev/md2 /usr/local/mysql ext4 rw,noatime,user_xattr,barrier=1,stripe=16,data=ordered,usrquota 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
/dev/md2 /usr/local/apache/web_framework/data/cache ext4 rw,noatime,user_xattr,barrier=1,stripe=16,data=ordered,usrquota 0 0
ubi3:ubi_config /usr/local/apache/web_framework/data/config ubifs rw,relatime 0 0
/dev/md2 /usr/local/apache/htdocs/adv,/res/imdb_poster ext4 rw,noatime,user_xattr,barrier=1,stripe=16,data=ordered,usrquota 0 0

/proc/swaps

Filename                                Type            Size    Used    Priority
/dev/md1                                partition       1998720 0       -1

lsusb

Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 002: ID 174c:2074
Bus 003 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 174c:3074

lspci

00:00.0 Class 0106: 1b21:0612

lsmod

Module                  Size  Used by    Tainted: P  
m86xxx_elp            121683  0 
cryptodev               8371  6 
cryptosoft             10133  0 
ocf                    16147  3 m86xxx_elp,cryptodev,cryptosoft
bsd_comp                3737  0 
pppoe                   8397  0 
pppox                   1496  1 pppoe
ppp_deflate             2944  0 
ppp_async               5241  0 
ppp_synctty             4365  0 
ppp_mppe                4446  0 
ppp_generic            13861  7 bsd_comp,pppoe,pppox,ppp_deflate,ppp_async,ppp_synctty,ppp_mppe
slhc                    3243  1 ppp_generic
tntfs                 447414  0 
ntfs                   73975  0 
pfe                   638327  0 

ps

  PID USER       VSZ STAT COMMAND
    1 root      3200 S    {init} /bin/sh /init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    6 root         0 SW   [migration/0]
    7 root         0 SW   [migration/1]
    9 root         0 SW   [ksoftirqd/1]
   10 root         0 SW<  [cpuset]
   11 root         0 SW<  [khelper]
   28 root         0 SW   [kworker/1:1]
  235 root         0 SW   [sync_supers]
  237 root         0 SW   [bdi-default]
  238 root         0 SW<  [kblockd]
  244 root         0 SW<  [ata_sff]
  255 root         0 SW   [khubd]
  260 root         0 SW<  [md]
  279 root         0 SW<  [rpciod]
  282 root         0 SW<  [button controll]
  293 root         0 SW   [kswapd0]
  294 root         0 SW   [fsnotify_mark]
  295 root         0 SW<  [nfsiod]
  298 root         0 SW<  [crypto]
  349 root         0 SW<  [harddrive_hdd]
  360 root         0 SW   [scsi_eh_0]
  363 root         0 SW   [scsi_eh_1]
  366 root         0 SW   [kworker/u:2]
  367 root         0 SW   [kworker/u:3]
  375 root         0 SW   [scsi_eh_2]
  378 root         0 SW   [scsi_eh_3]
  399 root         0 SW   [mtdblock0]
  404 root         0 SW   [mtdblock1]
  409 root         0 SW   [mtdblock2]
  415 root         0 SW   [mtdblock3]
  420 root         0 SW   [mtdblock4]
  425 root         0 SW   [mtdblock5]
  430 root         0 SW   [mtdblock6]
  435 root         0 SW   [mtdblock7]
  440 root         0 SW   [mtdblock8]
  497 root         0 SW<  [dwc_otg]
  573 root         0 SW   [kworker/0:2]
  580 root         0 SW   [scsi_eh_4]
  582 root         0 SW   [usb-storage]
  717 root      2240 S    /sbin/hotplug2 --override --persistent --set-rules-file /etc/hotplug2.rules --set-coldplug-cmd /sbin/udevtrigger --max-children 1
 1026 root         0 DW   [pfe_ctrl_timer]
 1160 root      3008 S    /sbin/watchdog -t 8 -T 15 /dev/comcerto_wdt
 1207 root      3200 S    {linuxrc} init
 1299 root         0 SW   [kworker/1:2]
 1360 root         0 SW   [flush-8:16]
 1373 root         0 SW   [ubi_bgt7d]
 1378 root         0 SW   [mtdblock9]
 1422 root         0 SW   [md0_raid1]
 1434 root         0 SW   [md1_raid1]
 1480 root         0 SW   [jbd2/md0-8]
 1481 root         0 SW<  [ext4-dio-unwrit]
 1521 root         0 SW<  [loop0]
 1522 root         0 SW<  [ext4-dio-unwrit]
 1541 root         0 SW   [ubi_bgt3d]
 1546 root         0 SW   [mtdblock10]
 1552 root         0 SW   [ubifs_bgt3_0]
 1601 root         0 SW   [ocf_0]
 1602 root         0 SW   [ocf_ret_0]
 1603 root         0 SW   [ocf_1]
 1604 root         0 SW   [ocf_ret_1]
 1840 root      4096 S    /usr/sbin/zylogd
 1850 root      8192 S    /usr/sbin/uamd
 1931 root         0 SW   [md2_raid1]
 1967 root         0 SW   [jbd2/md2-8]
 1968 root         0 SW<  [ext4-dio-unwrit]
 1975 root         0 SW   [flush-9:2]
 2002 root      4928 S N  /usr/sbin/cupsd
 2026 root     37824 S <  /sbin/zyshd
 2459 root     31232 S N  /usr/local/sbin/pure-ftpd -Y 1 -A -B -b -D -H -M -l pam -R -U 000:000 -S 21 -L 200000:5 -8 utf-8 -9 utf-8 -c 10 -C 10 -I 15 -E
 2504 root      3392 S N  /sbin/crond -L /dev/null
 2598 root      6144 S N  /usr/bin/schedule_controller
 2599 root      1920 S N  /usr/bin/timer_source
 2640 root      107m S N  /usr/sbin/dservice
 2668 root      3456 R <  telnetd
 2674 root      2112 S <  /usr/sbin/hd-idle -i 900
 2893 root     60032 S N  /usr/sbin/smbd -D
 2910 root     27584 S N  /usr/sbin/nmbd -D
 2913 root     30592 S <  /usr/sbin/nsuagent
 2955 admin     3456 S N  avahi-daemon: registering [NAS540.local]
 3000 root      6208 S N  /usr/sbin/netatalk -F /etc/netatalk/afp.conf
 3003 root      8256 S N  /usr/sbin/afpd -d -F /etc/netatalk/afp.conf
 3004 root      6208 S N  /usr/sbin/cnid_metad -d -F /etc/netatalk/afp.conf
 3065 root      2176 S    /usr/sbin/myhotplug
 3076 root      2112 S N  /usr/local/btn/do_btncpy
 3126 root     92288 S N  python /usr/local/fileye/fileye.pyc -f
 3170 root      3200 S N  {gdrive_update.s} /bin/sh /usr/sbin/gdrive_update.sh
 3818 root         0 Z <  [sh]
 3867 root         0 Z <  [sh]
 4115 root         0 Z <  [sh]
 4466 root     60032 S N  /usr/sbin/smbd -D
 4567 root      284m S    /i-data/.system/zy-pkgs/pkg_httpd -f /etc/pkg_service_conf/httpd2.conf
 4578 root      3200 S    /bin/sh -c /usr/sbin/zylogger -r
 4579 root      3200 S    /bin/sh -c /usr/sbin/dropbox_hook
 4580 root      5440 S    syslog-ng
 4582 root      4160 S    /usr/sbin/zylogger -r
 4583 root      3328 S    /usr/sbin/dropbox_hook
 4592 nobody    285m S    /i-data/.system/zy-pkgs/pkg_httpd -f /etc/pkg_service_conf/httpd2.conf
 4593 nobody    285m S    /i-data/.system/zy-pkgs/pkg_httpd -f /etc/pkg_service_conf/httpd2.conf
 4603 root      2112 S N  /bin/lld2d egiga0
 4606 root      2112 S N  /bin/lld2d egiga1
 4609 root      3520 S N  /usr/sbin/app_wd
 4794 root     33984 S N  python /usr/local/dmsf/binary/cdsdaemon.pyc
 4811 root      2432 S N  /usr/local/dmsf/binary/twonkystarter -appdata /i-data/.media/twonkymedia
 4812 root     29568 S N  /usr/local/dmsf/binary/twonkyserver -appdata /i-data/.media/twonkymedia
 4896 root      3456 S <  -sh
 4997 root     10688 S    /usr/sbin/httpd -f /etc/service_conf/httpd.conf
 5038 root      5440 S    zysync --daemon --config /etc/zyxel/BackupPlanner/zysync/zysyncd.conf --log-file /i-data/.system/zysyncd.log
 5046 nobody    117m S    {httpd} (wsgi:groupName -f /etc/service_conf/httpd.conf
 5047 nobody   12096 S    /usr/sbin/httpd -f /etc/service_conf/httpd.conf
 5048 nobody   12096 S    /usr/sbin/httpd -f /etc/service_conf/httpd.conf
 5067 root      4864 S    stunnel /etc/zyxel/BackupPlanner/stunnel/stunneld.conf
 5086 root      3200 S    /bin/ifplugd -a -p -q -l -t3 -d0 -u0 -i egiga0 -r /sbin/egiga_link_up_down.sh
 5089 root      3200 S    /bin/ifplugd -a -p -q -l -t3 -d0 -u0 -i egiga1 -r /sbin/egiga_link_up_down.sh
 5101 root      3200 S    {linuxrc} init
 5270 root      5696 S <  /usr/local/sbin/dhcpcd_request egiga1 7 auto
 5323 root      2112 S <  /sbin/dhcpcd -N -h NAS540 -m 7 egiga1
14693 root      3008 S N  sleep 900
14818 root      3008 S    sleep 300
14952 root         0 SW   [kworker/0:1]

/lib/libc

GNU C Library stable release version 2.14.1, by Roland McGrath et al.
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.5.4 20120201 (prerelease).
Compiled on a Linux 3.2.26 system on 2013-12-30.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
libc ABIs: UNIQUE
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

/bin/busybox

BusyBox v1.19.4 (2014-11-04 11:58:36 CST) multi-call binary.
Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: busybox --list[-full]
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, [[, acpid, addgroup, adduser, adjtimex, arp, ash, awk, basename, beep, bzip2, cat, catv, chat, chgrp, chmod, chown, chroot, chrt, chvt, cksum, clear, cmp, cp, crond, crontab,
        cryptpw, cttyhack, cut, date, dd, deallocvt, delgroup, deluser, depmod, devmem, df, diff, dirname, dmesg, dnsdomainname, du, echo, ed, egrep, eject, env, expand, expr, false, fgrep,
        find, flock, free, freeramdisk, fsync, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostname, hwclock, id, ifconfig, ifplugd, init, insmod, install, ionice, ipcrm,
        ipcs, kill, killall, less, linuxrc, ln, logger, login, losetup, ls, lsmod, lspci, lsusb, lzop, lzopcat, man, md5sum, microcom, mkdir, mknod, mkpasswd, mkswap, mktemp, modinfo,
        modprobe, more, mountpoint, mv, netstat, nice, nslookup, openvt, passwd, pgrep, pidof, ping, ping6, pivot_root, poweroff, printenv, printf, ps, pwd, raidautorun, rdev, readahead,
        readlink, reboot, reset, resize, rev, rm, rmdir, rmmod, route, rtcwake, script, scriptreplay, sed, seq, setfont, setlogcons, setsid, sh, sha256sum, sha512sum, showkey, sleep, sort,
        split, start-stop-daemon, strings, su, swapoff, swapon, sync, tac, tail, tar, tee, telnet, telnetd, test, time, timeout, top, touch, tr, traceroute, traceroute6, true, tty, ttysize,
        udhcpc, udpsvd, uname, unexpand, uniq, unlzop, unxz, unzip, uptime, usleep, vi, volname, wall, watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat, zcip

uname -a

Linux NAS540 3.2.54 #2 SMP Tue Nov 4 12:43:57 CST 2014 armv7l GNU/Linux

losetup

/dev/loop0: 0 /firmware/mnt/sysdisk/sysdisk.img

ifconfig -a

egiga0    Link encap:Ethernet  HWaddr 5C:F4:AB:XX:XX:XX  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:238 (238.0 B)

egiga1    Link encap:Ethernet  HWaddr 5C:F4:AB:XX:XX:XY  
          inet addr:192.168.1.161  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2178 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1742 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:216804 (211.7 KiB)  TX bytes:373927 (365.1 KiB)

ethip0    Link encap:Ethernet  HWaddr F2:C3:1B:B7:AB:A3  
          BROADCAST POINTOPOINT MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 

ip6tnl0   Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          NOARP  MTU:1452  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:649 errors:0 dropped:0 overruns:0 frame:0
          TX packets:649 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:172328 (168.2 KiB)  TX bytes:172328 (168.2 KiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 

ethtool egiga1

Settings for egiga1:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 6
        Transceiver: external
        Auto-negotiation: on
        Current message level: 0x00000036 (54)
                               probe link ifdown ifup
        Link detected: yes

ethtool -k egiga1

Features for egiga1:
rx-checksumming: on
tx-checksumming: on
        tx-checksum-ipv4: on
        tx-checksum-unneeded: off [fixed]
        tx-checksum-ip-generic: off [fixed]
        tx-checksum-ipv6: on
        tx-checksum-fcoe-crc: off [fixed]
        tx-checksum-sctp: off [fixed]
scatter-gather: on
        tx-scatter-gather: on
        tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: on
        tx-tcp-segmentation: on
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp6-segmentation: off [fixed]
udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: off [fixed]
tx-vlan-offload: off [fixed]
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: off [fixed]
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: on
loopback: off [fixed]

ethtool -i egiga1

driver: c2000-geth
version: 1.0
firmware-version: N/A
bus-info: N/A
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no