ファームウェア 1.57 の散歩

LS-QVL

ようやくログインできるようになったので、 いつものとおり、散歩。

cpuinfo

こんなのは変わらないけど、、、
root@LS-QVLF42:~# cat /proc/cpuinfo
Processor       : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS        : 1599.07
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
root@LS-QVLF42:~#

meminfo

root@LS-QVLF42:~# cat /proc/meminfo
MemTotal:         248468 kB
MemFree:          148152 kB
Buffers:            6904 kB
Cached:            55920 kB
SwapCached:            0 kB
Active:            27124 kB
Inactive:          42872 kB
Active(anon):      12668 kB
Inactive(anon):        0 kB
Active(file):      14456 kB
Inactive(file):    42872 kB
Unevictable:       17872 kB
Mlocked:           17872 kB
SwapTotal:       1000428 kB
SwapFree:        1000428 kB
Dirty:                12 kB
Writeback:             0 kB
AnonPages:         25056 kB
Mapped:            12520 kB
Slab:               8268 kB
SReclaimable:       2516 kB
SUnreclaim:         5752 kB
PageTables:          676 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1124660 kB
Committed_AS:     104768 kB
VmallocTotal:     385024 kB
VmallocUsed:       17832 kB
VmallocChunk:     360444 kB
root@LS-QVLF42:~# free
              total         used         free       shared      buffers
  Mem:       248468       100376       148092            0         6964
 Swap:      1000428            0      1000428
Total:      1248896       100376      1148520
root@LS-QVLF42:~#
メモリ消費量が増えている

カーネルのバージョン

root@LS-QVLF42:~# uname -a
Linux LS-QVLF42 2.6.31.8 #2 Tue Mar 13 13:10:42 JST 2012 armv5tel unknown
root@LS-QVLF42:~#
# が減っている。
ちゃんと管理されているなら、 毎回同じか、前回より増えるかのはずなので、
ちゃんと管理されていないのが窺える。

dmesg

root@LS-QVLF42:~# dmesg
Linux version 2.6.31.8 (root@ubuntu) (gcc version 4.2.0 20070413 (prerelease)) #2 Tue Mar 13 13:10:42 JST 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 c05325e4, node_mem_map c1401000
  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: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.26 mtdparts=nand_mtd:0x1000000(boot),0xfe800000(rootfs),0x800000(reserve)
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: 235776KB available (4972K code, 271K data, 152K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1599.07 BogoMIPS (lpj=7995392)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :  1453.200 MB/sec
   8regs     :  1102.000 MB/sec
   32regs    :  1235.200 MB/sec
xor: using function: arm4regs (1453.200 MB/sec)
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 ....base e8000000, size 128MB
PEX1_IO ....base f2100000, size   1MB
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_patch13)-- MVLSQV  Soc: MV88F6282 Rev 1 LE

 Detected Tclk 200000000 and SysClk 533333333
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c8040800
PEX0 interface detected no Link.
PEX1 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
raid6: int32x1    146 MB/s
raid6: int32x2    175 MB/s
raid6: int32x4    169 MB/s
raid6: int32x8    153 MB/s
raid6: using algorithm int32x2 (175 MB/s)
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: 12288K
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
initial_polarity_val = 0x03030000
initial_polarity_val_high = 0x0001710c
Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.
XOR registered 4 channels
XOR 2nd invalidate WA enabled
cesadev_init(c000fd64)
MV Buttons Driver Load
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).
JFFS2 version 2.2. (NAND) 息 2001-2006 Red Hat, Inc.
fuse init (API version 7.12)
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
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 stdrng (krng)
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
async_tx: api initialized (sync-only)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
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
mvSataInitAdapter : regVal changed(0x00000010)
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
** BUFFALO Disable Command Queuing Function [0 0] **
scsi 0:0:0:0: Direct-Access     SAMSUNG  SP2504C          VT10 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 488283264 512-byte logical blocks: (250 GB/232 GiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 0:0:0:0: Attached scsi generic sg0 type 0
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 Receive checksum offload supported
  o Transmit checksum offload supported
  o Network Fast Processing (Routing) supported - (Disabled)
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Proc tool API enabled
  o SKB Reuse supported - (Disabled)
  o SKB Recycle supported - (Disabled)
  o Gateway support enabled
     o Using Marvell Header Mode
     o L2 IGMP support
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):
     o register under mv88fx_eth platform
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
     o eth0, ifindex = 2, GbE port = 0

Warning: Giga 1 is Powered Off

Warning: Giga 1 is Powered Off

mvFpRuleDb (c137c000): 2048 entries, 8192 bytes
SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
No NAND device found!!!
mice: PS/2 mouse device common for all mice
Linux telephony interface: v1.00
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
 sda:
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2012-06-16 14:59:45 UTC (1339858785)
 sda1 sda2 sda3 sda4 sda5 sda6
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] Attached SCSI disk
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
VFS: Mounted root (ext2 filesystem) on device 1:0.
md: md0 stopped.
md: bind<sda1>
raid1: raid set md0 active with 1 out of 4 mirrors
md0: detected capacity change from 0 to 1024393216
 md0: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
md: md10 stopped.
md: bind<sda5>
raid1: raid set md10 active with 1 out of 4 mirrors
md10: detected capacity change from 0 to 1024446464
md: md1 stopped.
md: bind<sda2>
raid1: raid set md1 active with 1 out of 4 mirrors
md1: detected capacity change from 0 to 5119135744
 md1: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
VFS: Mounted root (ext3 filesystem) on device 9:1.
Trying to move old root to /initrd ... okay
Freeing init memory: 152K
EXT3-fs: Unrecognized mount option "relatime" or missing value
 md10: unknown partition table
Adding 1000428k swap on /dev/md10.  Priority:-1 extents:1 across:1000428k
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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.
usbcore: registered new interface driver usblp
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 2 ports detected
eth0: link down
eth0: started
eth0: link up, full duplex, speed 1 Gbps
GbE port 0: TxEnable WA - Enabled, deep=2, tx_en_bk=1

program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
GbE port 0: TxEnable WA - Enabled, deep=2, tx_en_bk=1

program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
md: md21 stopped.
md: bind<sda6>
raid1: raid set md21 active with 1 out of 2 mirrors
md21: detected capacity change from 0 to 234831601664
 md21: unknown partition table
XFS mounting filesystem md21
Ending clean XFS mount for filesystem: md21
bfSetMagicKey > Changed to 0x71 from 0x5c
root@LS-QVLF42:~#
前回と、ほぼ同じ。有意な差は見つからない(節穴?

ファームウェア情報

root@LS-QVLF42:~# cat /etc/linkstation_release
VERSION=1.57
SUBVERSION=HDD 2.94
PRODUCTID=0x00000000
BUILDDATE=2012/03/13 13:11:03
root@LS-QVLF42:~# cat /proc/buffalo/firmware
SERIES=LinkStation
PRODUCTNAME=LS-QVL(TEMMU)
VERSION=0.16
SUBVERSION=FLASH 0.00
PRODUCTID=0x00004001
BUILDDATE=2012/03/13 13:10:30
BOOTVER=0.26
root@LS-QVLF42:~#

ps

root@LS-QVLF42:~# ps
  PID  Uid        VSZ Stat Command
    1 root       3084 S   init
    2 root            SW< [kthreadd]
    3 root            SW< [ksoftirqd/0]
    4 root            SW< [events/0]
    5 root            SW< [khelper]
    8 root            SW< [async/mgr]
   90 root            SW< [kblockd/0]
  123 root            SW  [pdflush]
  124 root            SW  [pdflush]
  125 root            SW< [kswapd0]
  126 root            SW< [aio/0]
  127 root            SW< [nfsiod]
  130 root            SW< [xfs_mru_cache]
  131 root            SW< [xfslogd/0]
  132 root            SW< [xfsdatad/0]
  133 root            SW< [xfsconvertd/0]
  134 root            SW< [crypto/0]
  161 root            SW  [crypto]
  162 root            SW  [crypto_ret]
  418 root            SW< [scsi_eh_0]
  419 root            SW< [scsi_eh_1]
  437 root            SW< [mtdblockd]
  438 root            SW< [nftld]
  446 root            SW< [kstriped]
  448 root            SW< [kcryptd/0]
  450 root            SW< [rpciod/0]
  545 root            SW< [md0_raid1]
  571 root            SW< [md10_raid1]
  578 root            SW< [md1_raid1]
  657 root            SW< [kjournald]
  698 root       1720 S < /sbin/udevd --daemon
 1546 root            SW< [kjournald]
 1597 root            SW< [khubd]
 1677 root       1620 S   /sbin/dhcpcd -L /etc/dhcpc -h LS-QVLF42 -t 15 -x -y -
 1734 root       1856 S   syslogd -m 0
 1736 root       2764 S   klogd
 1745 root       3620 S   /usr/sbin/inetd
 1749 root       1824 S   /usr/local/sbin/errormon
 1754 root       2204 S   /bin/sh /usr/local/sbin/kernelmon
 1763 root      27208 S   /usr/bin/python /usr/local/sbin/BuffaloXMLRPCServer.p
 1790 root       2692 S   /bin/sh /usr/local/sbin/miconmon_exec.sh start
 1937 root            SW< [md21_raid1]
 2175 root            SW< [xfsbufd]
 2176 root            SW< [xfsaild]
 2177 root            SW< [xfssyncd]
 2494 root       2040 S   mdadm --monitor --scan --daemonise --pid-file /var/ru
 2924 root       1804 S   /usr/local/sbin/logchkd
 2955 root       2808 S   /bin/bash /usr/local/sbin/diskmon_exec.sh start
 2999 root       4352 S   /usr/sbin/lighttpd.webui -f /etc/lighttpd/buffalo-web
 3044 root       4352 S   /usr/sbin/lighttpd.webui -f /etc/lighttpd/buffalo-web
 3132 root      10348 S   /usr/local/sbin/smbd -D
 3134 root      10348 S   /usr/local/sbin/smbd -D
 3139 root       6024 S   /usr/local/sbin/nmbd -D
 3163 root       2152 S   /usr/local/sbin/clientUtil_server -i eth0
 3183 root       1740 S   /usr/local/sbin/mDNSResponderPosix -b -f /etc/bonjour
 3195 root       4172 S   /usr/local/sbin/lsprcvd -i eth0
 3200 root       1796 S   /usr/local/sbin/daemonwatch -a /etc/daemonwatch.list
 3206 root       3360 S   /usr/sbin/crond
 3275 root       2272 S   lpd Waiting
 3300 root      18092 S   /usr/local/BootServer/rarpd
 3303 root       1700 S   /usr/local/BootServer/tftpd
 3306 root       1568 S   /usr/local/BootServer/fwupdated
 3308 root       9892 S   /usr/local/BootServer/rarpcfgd
 3427 root       3212 S   /usr/local/sbin/mt-daapd -c /etc/mt-daapd.conf
 3429 root      11400 S   /usr/local/sbin/mt-daapd -c /etc/mt-daapd.conf
 3487 root       4032 S   /usr/local/sbin/sshd
 3643 root       1776 S   /usr/local/twonky-alt/atomheartmother -utf8 -exedir /
 3644 root       2032 S   initdx -utf8 -exedir /usr/local/twonky-alt -inifile /
 3645 root      18012 T   initdx -utf8 -exedir /usr/local/twonky-alt -inifile /
 3660 root            Z   [initdx]
 3798 root       3364 S   /sbin/getty -L ttyS0 115200 vt100
 3869 root       3228 S   cat /proc/buffalo/kernevnt
27884 root       3228 S   sleep 10
27911 root       3228 S   sleep 3
27912 root       3364 R   ps
28950 root       6748 S   sshd: root@pts/0
28961 root       2336 R   -bash
root@LS-QVLF42:~#


LS-QVL
バッファローダイレクト
楽天市場
amazon
ドスパラ
livedoor デパート
Yahoo!ショッピング
バリューモア
ムラウチドットコム


ようやく、振り出しに戻る
ハックの記録
LinkStation/玄箱 をハックしよう

RAM root を見る

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市