LS-VL の標準ファームを一つづつアップデートして、
最新まで追いついておく。
他の機種も含め、インストールした最新は、
1.57。
(
LS-SL で 1.60 もインストールしているけど、これは 88f5182 だし)
1.57 のあと 1.5x は出ていない(?手元にない)ので、 1.60 からスタートする
ssh でログインして調べる。
root@LS-VL815:~# cat /etc/linkstation_release VERSION=1.53 SUBVERSION=HDD 2.82 PRODUCTID=0x00000000 BUILDDATE=2011/07/25 18:08:36 root@LS-VL815:~#1.53 。
ブラウザで file:///C:/BUFFALO/ls_series-160/update.html が開かれる
エクスプローラで直接 C:\BUFFALO\ls_series-160 を
開いて LSUpdater.exe を実行。
LS-VL815 が見つかって、「ファームウェア更新」をクリックすると
アップデートが始まって、しばらくして無事終了。
root@qube:/# tail -f /var/log/messages : : Jan 27 11:29:41 qube kernel: usb 2-1: new high speed USB device using ehci_marvell and address 3 Jan 27 11:29:41 qube kernel: usb 2-1: configuration #1 chosen from 1 choice Jan 27 11:29:41 qube kernel: scsi3 : SCSI emulation for USB Mass Storage devices Jan 27 11:29:46 qube kernel: scsi 3:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4 Jan 27 11:29:46 qube kernel: sd 3:0:0:0: [sdd] 488283264 512-byte hardware sectors (250001 MB) Jan 27 11:29:46 qube kernel: sd 3:0:0:0: [sdd] Write Protect is off Jan 27 11:29:46 qube kernel: sd 3:0:0:0: [sdd] 488283264 512-byte hardware sectors (250001 MB) Jan 27 11:29:46 qube kernel: sd 3:0:0:0: [sdd] Write Protect is off Jan 27 11:29:46 qube kernel: sdd: sdd1 sdd2 sdd3 sdd4 sdd5 sdd6 Jan 27 11:29:46 qube kernel: sd 3:0:0:0: [sdd] Attached SCSI disk Jan 27 11:29:46 qube kernel: sd 3:0:0:0: Attached scsi generic sg3 type 0
root@qube:~# mkdir /tmp/root root@qube:~# mount /dev/sdd2 /tmp/root root@qube:~#
root@qube:~# cd /tmp/root/etc/ root@qube:/tmp/root/etc# grep root shadow root::14895:0:99999:7::: root@qube:/tmp/root/etc#
!root@qube:/tmp/root/etc# patch < ~/sshd_config.diff patching file sshd_config root@qube:/tmp/root/etc# ls sshd_config* sshd_config root@qube:/tmp/root/etc#あれ?最近の patch は .orig を残してくれないの?
root@qube:/tmp/root/etc# less sshd_config : : # HostKey for protocol version 1 #HostKey /etc/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh_host_rsa_key #HostKey /etc/ssh_host_dsa_key #HostKey /etc/apache/server.key : : #LoginGraceTime 2m PermitRootLogin yes #PermitRootLogin no #StrictModes yes : : #PasswordAuthentication yes #PermitEmptyPasswords no PermitEmptyPasswords yes : : #UsePAM yes UsePAM noOK
root@qube:/tmp/root/etc# cd / root@qube:/# umount /tmp/root/ root@qube:/#
root@LS-VL815:~#できた。
root@LS-VL815:~# 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-VL815:~#
root@LS-VL815:~# cat /proc/meminfo MemTotal: 248468 kB MemFree: 54740 kB Buffers: 11780 kB Cached: 90920 kB SwapCached: 0 kB Active: 96444 kB Inactive: 71700 kB Active(anon): 70144 kB Inactive(anon): 0 kB Active(file): 26300 kB Inactive(file): 71700 kB Unevictable: 11384 kB Mlocked: 11384 kB SwapTotal: 999988 kB SwapFree: 999988 kB Dirty: 20 kB Writeback: 0 kB AnonPages: 76840 kB Mapped: 17404 kB Slab: 9716 kB SReclaimable: 4052 kB SUnreclaim: 5664 kB PageTables: 876 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1124220 kB Committed_AS: 232508 kB VmallocTotal: 385024 kB VmallocUsed: 17832 kB VmallocChunk: 360444 kB root@LS-VL815:~#せめて、512MB あればなぁ、、、
root@LS-VL815:~# uname -a Linux LS-VL815 2.6.31.8 #1 Fri Jun 8 11:07:30 JST 2012 armv5tel unknown root@LS-VL815:~#
root@LS-VL815:~# dmesg Linux version 2.6.31.8 (root@NAS) (gcc version 4.2.0 20070413 (prerelease)) #1 Fri Jun 8 11:07:30 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 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.600 MB/sec 8regs : 1102.000 MB/sec 32regs : 1236.000 MB/sec xor: using function: arm4regs (1453.600 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)-- MVLSV Soc: 88F6282 A0 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 = 0x00030000 initial_polarity_val_high = 0x0001f100 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 (c12e4000): 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. NAND init: NAND device not found on board 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 2013-01-27 11:33:42 UTC (1359286422) 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 EXT2-fs warning: checktime reached, running e2fsck is recommended VFS: Mounted root (ext2 filesystem) on device 1:0. kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: mounted filesystem with writeback data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sda2, internal journal EXT3-fs: mounted filesystem with writeback data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sda2, internal journal EXT3-fs: mounted filesystem with writeback data mode. VFS: Mounted root (ext3 filesystem) on device 8:2. Trying to move old root to /initrd ... okay Freeing init memory: 152K EXT3-fs: Unrecognized mount option "relatime" or missing value Adding 999988k swap on /dev/sda5. Priority:-1 extents:1 across:999988k kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, 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 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 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 XFS mounting filesystem sda6 Ending clean XFS mount for filesystem: sda6 bfSetMagicKey > Changed to 0x71 from 0x5c root@LS-VL815:~#
root@LS-VL815:~# cat /etc/linkstation_release VERSION=1.60 SUBVERSION=HDD 3.02 PRODUCTID=0x00000000 BUILDDATE=2012/06/18 18:57:41 root@LS-VL815:~# cat cat /proc/buffalo/firmware cat: can't open 'cat': No such file or directory SERIES=LinkStation PRODUCTNAME=LS-VL(JOMEI) VERSION=0.16 SUBVERSION=FLASH 0.00 PRODUCTID=0x00000016 BUILDDATE=2012/06/08 11:02:05 BOOTVER=0.26 root@LS-VL815:~#
root@LS-VL815:~# 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] 610 root SW< [kjournald] 651 root 1720 S < /sbin/udevd --daemon 1503 root SW< [kjournald] 1554 root SW< [khubd] 1626 root 1620 S /sbin/dhcpcd -L /etc/dhcpc -h LS-VL815 -t 15 -x -y -z 1683 root 1856 S syslogd -m 0 1685 root 2764 S klogd 1694 root 3620 S /usr/sbin/inetd 1698 root 1824 S /usr/local/sbin/errormon 1703 root 2204 S /bin/sh /usr/local/sbin/kernelmon 1712 root 27168 S /usr/bin/python /usr/local/sbin/BuffaloXMLRPCServer.p 1739 root 2660 S /bin/sh /usr/local/sbin/miconmon_exec.sh start 1820 root SW< [xfsbufd] 1821 root SW< [xfsaild] 1831 root SW< [xfssyncd] 2244 root 1804 S /usr/local/sbin/logchkd 2277 root 2756 S /bin/bash /usr/local/sbin/diskmon_exec.sh start 2300 root 4352 S /usr/sbin/lighttpd.webui -f /etc/lighttpd/buffalo-web 2312 root 4352 S /usr/sbin/lighttpd.webui -f /etc/lighttpd/buffalo-web 2332 root 10352 S /usr/local/sbin/smbd -D 2339 root 10352 S /usr/local/sbin/smbd -D 2342 root 6024 S /usr/local/sbin/nmbd -D 2361 root 2152 S /usr/local/sbin/clientUtil_server -i eth0 2374 root 1740 S /usr/local/sbin/mDNSResponderPosix -b -f /etc/bonjour 2377 root 4172 S /usr/local/sbin/lsprcvd -i eth0 2380 root 1796 S /usr/local/sbin/daemonwatch -a /etc/daemonwatch.list 2387 root 3360 S /usr/sbin/crond 2456 root 2272 S lpd Waiting 2469 root 9892 S /usr/local/BootServer/rarpcfgd 2470 root 18092 S /usr/local/BootServer/rarpd 2473 root 1700 S /usr/local/BootServer/tftpd 2476 root 1568 S /usr/local/BootServer/fwupdated 2607 root 3212 S /usr/local/sbin/mt-daapd -c /etc/mt-daapd.conf 2608 root 11400 S /usr/local/sbin/mt-daapd -c /etc/mt-daapd.conf 2695 root 2700 S /usr/local/twonky-alt/atomheartmother -utf8 -exedir / 2696 root 3144 S /usr/local/twonky-alt/initdx -utf8 -exedir /usr/local 2700 root 11520 S /usr/local/twonky-alt/initdx -utf8 -exedir /usr/local 2707 root Z [initdx] 2859 root 3228 S cat /proc/buffalo/kernevnt 2899 squeezeboxs 53592 S /usr/local/squeezebox/perl-5.10.0/bin/perl /usr/lo 2928 squeezeboxs 97860 S /usr/sbin/mysqld --defaults-file=/mnt/disk1/spool/ 2949 root 4032 S /usr/local/sbin/sshd 3052 root 3364 S /sbin/getty -L ttyS0 115200 vt100 7619 root 6748 S sshd: root@pts/0 7641 root 2336 R -sh 13185 root 3228 S sleep 10 13205 root 3228 S sleep 3 13206 root 3364 R ps root@LS-VL815:~#
root@LS-VL815:~# cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4] unused devices:root@LS-VL815:~#
root@LS-VL815:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda2 4923420 838356 3834968 18% / udev 10240 88 10152 1% /dev /dev/ram1 15360 152 15208 1% /mnt/ram /dev/sda1 992036 33072 908968 4% /boot /dev/disk1_6 237023872 582112 236441760 0% /mnt/disk1 tmpfs 8192 1808 6384 22% /mnt/ram/com.kernel.org root@LS-VL815:~# mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,relatime,errors=continue,data=writeback) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,relatime,gid=4,mode=620) /dev/ram1 on /mnt/ram type tmpfs (rw,relatime,size=15360k) /dev/sda1 on /boot type ext3 (rw,relatime,errors=continue,data=writeback) usbfs on /proc/bus/usb type usbfs (rw,relatime) /dev/disk1_6 on /mnt/disk1 type xfs (rw,noatime,attr2,usrquota,prjquota,grpquota) tmpfs on /mnt/ram/com.kernel.org type tmpfs (rw,relatime,size=8192k) root@LS-VL815:~#
きっと何か新しいことがあるのだろうけど、節穴??
|
← ファームウェアアップデータ Ver.1.64 公開 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 標準ファーム 1.62 のインストール |
Copyright (C) 2003-2013 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市