Some information from a running system (NSA-212)

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

From a system running firmware 1.01(UZD.2), 80GB disk.

cat /proc/cpuinfo

Processor	: ARMv6-compatible processor rev 5 (v6l)
processor	: 0
BogoMIPS	: 299.00

processor	: 1
BogoMIPS	: 299.82

Features	: swp half thumb fastmult edsp java 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb02
CPU revision	: 5

Hardware	: Oxsemi NAS
Revision	: 0000
Serial		: 0000000000000000

cat /proc/meminfo

MemTotal:         124060 kB
MemFree:           15000 kB
Buffers:            1908 kB
Cached:            42308 kB
SwapCached:           80 kB
Active:            31416 kB
Inactive:          32004 kB
Active(anon):      15164 kB
Inactive(anon):    15652 kB
Active(file):      16252 kB
Inactive(file):    16352 kB
Unevictable:        9688 kB
Mlocked:               0 kB
SwapTotal:        524280 kB
SwapFree:         524020 kB
Dirty:                28 kB
Writeback:             0 kB
AnonPages:         28844 kB
Mapped:            11804 kB
Slab:               6420 kB
SReclaimable:       2528 kB
SUnreclaim:         3892 kB
PageTables:          928 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      586308 kB
Committed_AS:     336348 kB
VmallocTotal:     598016 kB
VmallocUsed:         260 kB
VmallocChunk:     588660 kB

cat /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,uid=0,gid=5,mode=620 0 0
/dev/sda1 /zyxel/mnt/sysdisk ext2 rw,relatime,errors=continue 0 0
/dev/sda1 /zyxel/mnt/info ext2 rw,relatime,errors=continue 0 0
/dev/loop0 /ram_bin ext2 ro,relatime,errors=continue 0 0
/dev/loop0 /usr ext2 ro,relatime,errors=continue 0 0
/dev/loop0 /lib/security ext2 ro,relatime,errors=continue 0 0
/dev/loop0 /lib/modules ext2 ro,relatime,errors=continue 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
/dev/ram0 /usr/local/var tmpfs rw,relatime,size=5120k 0 0
/dev/sda1 /etc/zyxel ext2 rw,relatime,errors=continue 0 0
/dev/sda2 /i-data/PFDB30S4 xfs rw,relatime,nouuid,attr2,usrquota 0 0
/dev/sda2 /usr/local/zy-pkgs xfs rw,relatime,nouuid,attr2,usrquota 0 0
/dev/sda2 /etc/zyxel/zy-pkgs xfs rw,relatime,nouuid,attr2,usrquota 0 0
/dev/sda2 /usr/local/apache/htdocs/adv,/pkg xfs rw,relatime,nouuid,attr2,usrquota 0 0
/dev/sda2 /usr/local/zy-pkgs/gui/gallery/var xfs rw,relatime,nouuid,attr2,usrquota 0 0
/dev/sda2 /usr/local/apache/htdocs/adv,/pkg/gallery/var xfs rw,relatime,nouuid,attr2,usrquota 0 0
/dev/sda2 /usr/local/apache/web_framework/data/cache xfs rw,relatime,nouuid,attr2,usrquota 0 0
/dev/sda1 /usr/local/apache/web_framework/data/config ext2 rw,relatime,errors=continue 0 0

cat /proc/mtd

dev:    size   erasesize  name
mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit"
mtd1: 00040000 00020000 "stage1"
mtd2: 00380000 00020000 "uboot"
mtd3: 00080000 00020000 "uboot_env"
mtd4: 00a00000 00020000 "kernel"
mtd5: 00a00000 00020000 "etc"
mtd6: 00a00000 00020000 "info"
mtd7: 05dc0000 00020000 "sysdisk"

cat /proc/cmdline

console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes

cat /proc/mdstat

Personalities : [linear] [raid0] [raid1] 
unused devices: <none>

cat /proc/partitions

major minor  #blocks  name

   7        0      90112 loop0
   8        0   80418240 sda
   8        1     514048 sda1
   8        2   79899277 sda2
  31        0     131072 mtdblock0
  31        1        256 mtdblock1
  31        2       3584 mtdblock2
  31        3        512 mtdblock3
  31        4      10240 mtdblock4
  31        5      10240 mtdblock5
  31        6      10240 mtdblock6
  31        7      96000 mtdblock7

cat /proc/version

Linux version 2.6.31.14_SMP_820 (root@Neo) (gcc version 4.3.2 (crosstool-NG-1.8.0) ) #2 SMP Fri Jul 13 20:14:45 CST 2012

df

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1               497829     90596    407233  18% /zyxel/mnt/sysdisk
/dev/sda1               497829     90596    407233  18% /zyxel/mnt/info
/dev/loop0               87261     79164      8097  91% /ram_bin
/dev/loop0               87261     79164      8097  91% /usr
/dev/loop0               87261     79164      8097  91% /lib/security
/dev/loop0               87261     79164      8097  91% /lib/modules
/dev/ram0                 5120         4      5116   0% /tmp/tmpfs
/dev/ram0                 5120         4      5116   0% /usr/local/etc
/dev/ram0                 5120         4      5116   0% /usr/local/var
/dev/sda1               497829     90596    407233  18% /etc/zyxel
/dev/sda2             79860264    684400  79175864   1% /i-data/PFDB30S4
/dev/sda2             79860264    684400  79175864   1% /usr/local/zy-pkgs
/dev/sda2             79860264    684400  79175864   1% /etc/zyxel/zy-pkgs
/dev/sda2             79860264    684400  79175864   1% /usr/local/apache/htdocs/adv,/pkg
/dev/sda2             79860264    684400  79175864   1% /usr/local/zy-pkgs/gui/gallery/var
/dev/sda2             79860264    684400  79175864   1% /usr/local/apache/htdocs/adv,/pkg/gallery/var
/dev/sda2             79860264    684400  79175864   1% /usr/local/apache/web_framework/data/cache
/dev/sda1               497829     90596    407233  18% /usr/local/apache/web_framework/data/config

dmesg

Linux version 2.6.31.14_SMP_820 (root@Neo) (gcc version 4.3.2 (crosstool-NG-1.8.0) ) #2 SMP Fri Jul 13 20:14:45 CST 2012
CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Oxsemi NAS
1 memory region
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writealloc
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c07c03a0, node_mem_map c07e8000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 121628KB available (5340K code, 338K data, 2268K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:96
OX820_RPS_init_irq: interrupts 64 to 96
ox820_clocksource_init() Timer 2 running at 390625 Hz
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 299.00 BogoMIPS (lpj=1495040)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Calibrating local timer... 374.49MHz.
CPU1: Booted secondary processor
Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
Brought up 2 CPUs
SMP: Total of 2 processors activated (598.83 BogoMIPS).
NET: Registered protocol family 16
Number of DMA channels = 4, version = 4
Allocating 303 SRAM generic DMA descriptors
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
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: 1024 (order: 0, 4096 bytes)
Switched to NOHz mode on CPU #0
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
Switched to NOHz mode on CPU #1
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
Create fragment cache
MitraStar NAS GPIO driver/controller 1.00
Initialize LEDs
 o SYS LED
 o COPY LED
 o Quota 4 LED
Initialize buzzer
Initialize buttons
 o Copy Button
 o Reset Button
nas_gpio: Register a char device 254:0
audit: initializing netlink socket (disabled)
type=2000 audit(1.160:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.12)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
yaffs built Jul 13 2012 20:03:36 Installing. 
  
 

 
YAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.
 

 
msgmni has been set to 237
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
brd: module loaded
loop: module loaded
ox820sata: OX820 sata core.
scsi0 : oxnassata
scsi1 : oxnassata
ata1: SATA max UDMA/133 irq 50
ata2: SATA max UDMA/133 irq 50
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: HDS728080PLA380, PF2OA60A, max UDMA/133
ata1.00: 160836480 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x9 t4
ata1.00: configured for UDMA/133
ata1: EH complete
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      HDS728080PLA380  PF2O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 160836480 512-byte logical blocks: (82.3 GB/76.6 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda:
sd 0:0:0:0: Attached scsi generic sg0 type 0
 sda1 sda2
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
sd 0:0:0:0: [sda] Attached SCSI disk
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 7 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "stage1"
0x000000040000-0x0000003c0000 : "uboot"
0x0000003c0000-0x000000440000 : "uboot_env"
0x000000440000-0x000000e40000 : "kernel"
0x000000e40000-0x000001840000 : "etc"
0x000001840000-0x000002240000 : "info"
0x000002240000-0x000008000000 : "sysdisk"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Start USB clocks
oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
oxnas-ehci oxnas-ehci.0: USB 0.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: 2 ports detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
registered taskstats version 1
Freeing init memory: 2268K
Probing for Synopsis GMAC, unit 0
eth0: Tuning GMAC 0 RGMII timings
eth0: PHY is Realtek RTL8211E, type 0x001cc915
eth0: Disable EEE (Energy Efficient Ethernet 802.3az)
eth0: Set SSC
eth0: GMAC ver = 53, vendor ver = 18 at 0xed400000, IRQ 40
eth0: Found PHY at address 7, type 0x001cc915 -> 10/100/1000
eth0: Ethernet addr: 00:30:e0:00:00:00
probe() eth0: Leon x2 clock
hw_set_mac_address() Storing port0 mac_adr in global array
CoPro offload is active on egiga0
Alloc'ing ARM descs 8192 bytes
Alloc'ing CoPro parameters 40 bytes
gmac gmac.0: firmware: requesting gmac_copro_firmware
CoPro: Programming start address as 0xd000e000
egiga0: Resetting GMAC
egiga0: GMAC reset complete
workaround step1
workaround step2
workaround finish
hw_set_mac_address() Storing port0 mac_adr in global array
egiga0: Setting Rx flow control thresholds for LAN port
CoPro available SRAM end 0x00000001
Copro offload started
Waiting for auto-negotiation to complete
Waiting for auto-negotiation to complete
egiga0: PHY is Realtek RTL8211E, type 0x001cc915
egiga0: Disable EEE (Energy Efficient Ethernet 802.3az)
egiga0: Set SSC
egiga0: link down
ADDRCONF(NETDEV_UP): egiga0: link is not ready
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
egiga0: link up, 1000Mbps, full-duplex, not using pause, lpa 0xC1E1
ADDRCONF(NETDEV_CHANGE): egiga0: link becomes ready
NTFS driver 2.1.29 [Flags: R/O MODULE].
XFS mounting filesystem sda2
Starting XFS recovery on filesystem: sda2 (logdev: internal)
Ending XFS recovery on filesystem: sda2 (logdev: internal)
Adding 524280k swap on /i-data/.system/swap_ul6545p.  Priority:-1 extents:1 across:524280k 
cifs: version magic '2.6.31.6 SMP mod_unload ARMv6 ' should be '2.6.31.14_SMP_820 SMP mod_unload ARMv6 '