root@LS-QL233:~# ps PID Uid VSZ Stat Command 1 root 3364 S init 2 root SW< [kthreadd] 3 root SWN [ksoftirqd/0] 4 root SW< [events/0] 5 root SW< [khelper] 32 root SW< [kblockd/0] 45 root SW [crypto] 46 root SW [crypto_ret] 49 root SW [pdflush] 50 root SW [pdflush] 51 root SW< [kswapd0] 52 root SW< [aio/0] 53 root SW< [xfslogd/0] 54 root SW< [xfsdatad/0] 242 root SW< [scsi_eh_0] 243 root SW< [scsi_eh_1] 258 root SW< [mtdblockd] 384 root SW< [md0_raid1] 433 root SW< [md10_raid1] 437 root SW< [md1_raid1] 507 root SW< [xfsbufd] 508 root SW< [xfssyncd] 826 root SW< [kjournald] 870 root 3276 S /usr/local/apache/bin/httpd 872 root 3364 S /usr/local/apache/bin/httpd 873 root 3364 S /usr/local/apache/bin/httpd 874 root 3364 S /usr/local/apache/bin/httpd 875 root 3364 S /usr/local/apache/bin/httpd 919 root 3364 S /usr/local/apache/bin/httpd 927 root SW< [khubd] 1115 root 1620 S /sbin/dhcpcd -L /etc/dhcpc -h LS-QL233 -t 15 -x -y -z 1172 root 1856 S syslogd -m 0 1174 root 2364 S klogd 1179 root 3624 S /usr/sbin/inetd 1183 root 1764 S /usr/local/sbin/errormon 1187 root 2268 S /bin/sh /usr/local/sbin/kernelmon 1207 root 2432 S /bin/sh /usr/local/sbin/miconmon_exec.sh start 1433 root SW< [xfsbufd] 1434 root SW< [xfssyncd] 1647 root 2816 S /bin/bash2 /usr/local/sbin/diskmon_exec.sh start 1830 root 10304 S /usr/local/sbin/smbd -D 1836 root 10304 S /usr/local/sbin/smbd -D 1842 root 6020 S /usr/local/sbin/nmbd -D 1876 root 2056 S /usr/local/sbin/clientUtil_server -i eth0 1912 root 1740 S /usr/local/sbin/mDNSResponderPosix -b -f /etc/bonjour 1914 root 4148 S /usr/local/sbin/lsprcvd 1918 root 1736 S /usr/local/sbin/daemonwatch -a /etc/daemonwatch.list 1923 root 3364 S /usr/sbin/crond 2100 nobody 2380 S /usr/local/sbin/mt-daapd 2101 nobody 19160 S /usr/local/sbin/mt-daapd 2121 root 2272 S lpd Waiting 2128 root 18092 S /usr/local/BootServer/rarpd 2136 root 9892 S /usr/local/BootServer/rarpcfgd 2137 root 1700 S /usr/local/BootServer/tftpd 2138 root 1568 S /usr/local/BootServer/fwupdated 2468 root 3364 S /usr/sbin/telnetd 2469 root 3368 S /sbin/getty -L ttyS0 115200 vt100 2692 root 3232 S cat /proc/buffalo/kernevnt 4215 root 2392 S -sh 5973 root 3232 S sleep 3 6061 root 2816 R /bin/bash2 /usr/local/sbin/diskmon_exec.sh start 6063 root 3368 R ps root@LS-QL233:~#いつも通り、ttyS0 で getty が動いている。
root@LS-QL233:~# dmesg Linux version 2.6.22.7 (root@I.You) (gcc version 4.2.0 20070413 (prerelease)) #27 Sat Dec 13 13:24:38 JST 2008カーネルは 2.6.22.7
CPU: ARM926EJ-S [41069260] revision 0 (ARMv5TEJ), cr=a0053177 Machine: Feroceon Using UBoot passing parameters structure Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 32768 DMA zone: 256 pages used for memmap DMA zone: 0 pages reserved DMA zone: 32512 pages, LIFO batch:7 Normal zone: 0 pages used for memmap CPU0: D VIVT write-back cache CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets Built 1 zonelists. Total pages: 32512 Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,32M panic=5 func=0 BOOTVER=1.24 PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB 0MB 0MB 0MB = 128MB totalメモリは 128MB
Memory: 92728KB available (3828K code, 294K data, 120K init) Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 env_format_version = 0x00000006 product_id = 0x00004000 Sys Clk = 200000000, Tclk = 166664740 CPU Interface ------------- SDRAM_CS0 ....base 00000000, size 128MB SDRAM_CS1 ....disable SDRAM_CS2 ....disable SDRAM_CS3 ....disable PEX0_MEM ....base e0000000, size 128MB PEX0_IO ....base f2000000, size 1MB PCI0_MEM ....base e8000000, size 128MB PCI0_IO ....base f2100000, size 1MB INTER_REGS ....base f1000000, size 1MB DEVICE_CS0 ....no such DEVICE_CS1 ....base f4000000, size 32MB DEVICE_CS2 ....no such DEV_BOOCS ....base ff800000, size 8MB CRYPT_ENG ....base f0000000, size 64KB Marvell Development Board (LSP Version 3.0.5_NAS_GDP_p8)-- BUFFALO_BOARD Soc: 88F5182 A2 Detected Tclk 166664740 and SysClk 200000000 Marvell USB EHCI Host controller #0: c055b600 Marvell USB EHCI Host controller #1: c055b400 IO Request resource failed - Pci If 0 PCI: bus0: Fast back to back transfers enabled PCI: bus1: Fast back to back transfers enabled SCSI subsystem initialized NET: Registered protocol family 2 Time: orion_clocksource clocksource has been installed. IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 32768K RTC registered mvCesaInit: sessions=640, queue=64, pSram=f0000000 Use the XOR engines (acceleration) for enhancing the following functions: o RAID 5 Xor calculation o kernel memcpy o kenrel memzero o copy user to/from kernel buffers Number of XOR engines to use: 2 Use IDMA channels 2 and 3 for enhancing the following function: VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SGI XFS with ACLs, large block numbers, no debug enabled SGI XFS Quota Management subsystem io scheduler noop registered (default) io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS1 at MMIO 0x0 (irq = 4) is a 16550A serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A serial8250.0: ttyS2 at MMIO 0xf1012100 (irq = 4) is a 16550A RAMDISK driver initialized: 3 RAM disks of 32768K size 1024 blocksize loop: module loaded Marvell Ethernet Driver 'mv_ethernet': o Uncached descriptors in DRAM o DRAM SW cache-coherency o TCP segmentation offload enabled o Checksum offload enabled o Rx desc: 128 o Tx desc: 256 o Loading network interface ** eth_init_module (0) 'eth0' Intergrated Sata device found scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter scsi 0:0:0:0: Direct-Access SAMSUNG HD103UJ 1AA0 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 23 00 10 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 23 00 10 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA sda: sda1 sda2 sda4 < sda5 sda6 > sd 0:0:0:0: [sda] Attached SCSI disk sd 0:0:0:0: Attached scsi generic sg0 type 0 physmap platform flash device: 01000000 at f0000000 CFI: Found no physmap-flash.0 device at location zero JEDEC: Found no physmap-flash.0 device at location zero physmap-flash physmap-flash.0: map_probe failed CFI: Found no cfi_flash_0 device at location zero Found: SST 39LF020 cfi_flash_0: Found 1 x8 devices at 0x0 in 8-bit bank cfi_flash_0: Found an alias at 0x40000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x80000 for the chip at 0x0 cfi_flash_0: Found an alias at 0xc0000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x100000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x140000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x180000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x1c0000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x200000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x240000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x280000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x2c0000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x300000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x340000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x380000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x3c0000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x400000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x440000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x480000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x4c0000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x500000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x540000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x580000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x5c0000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x600000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x640000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x680000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x6c0000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x700000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x740000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x780000 for the chip at 0x0 cfi_flash_0: Found an alias at 0x7c0000 for the chip at 0x0 number of JEDEC chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cmdlinepart partition parsing not available CFI: Found no cfi_flash_1 device at location zero JEDEC: Found no cfi_flash_1 device at location zero mice: PS/2 mouse device common for all mice md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 raid6: int32x1 21 MB/s raid6: int32x2 28 MB/s raid6: int32x4 35 MB/s raid6: int32x8 31 MB/s raid6: using algorithm int32x4 (35 MB/s) md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 raid5: measuring checksumming speed arm4regs : 304.000 MB/sec 8regs : 249.200 MB/sec 32regs : 270.800 MB/sec raid5: using function: arm4regs (304.000 MB/sec) Kernel event proc (C) BUFFALO INC. V.1.00 installed. MICON ctrl (C) BUFFALO INC. V.1.00 installed. Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed. Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.0.02 installed. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem). md: md10 stopped. md: md1 stopped. md: md0 stopped. md: bind<sda1> raid1: raid set md0 active with 1 out of 4 mirrors kjournald starting. Commit interval 5 seconds EXT3 FS on md0, internal journal EXT3-fs: mounted filesystem with ordered data mode. md: md10 stopped. md: bind<sda5> raid1: raid set md10 active with 1 out of 4 mirrors md: md1 stopped. md: bind<sda2> raid1: raid set md1 active with 1 out of 4 mirrors Filesystem "md1": Disabling barriers, not supported by the underlying device XFS mounting filesystem md1 Ending clean XFS mount for filesystem: md1 Filesystem "md1": Disabling barriers, not supported by the underlying device XFS mounting filesystem md1 Ending clean XFS mount for filesystem: md1 VFS: Mounted root (xfs filesystem). Trying to move old root to /initrd ... okay Freeing init memory: 120K Filesystem "md1": Disabling barriers, not supported by the underlying device Adding 1003896k swap on /dev/md10. Priority:-1 extents:1 across:1003896k kjournald starting. Commit interval 5 seconds EXT3 FS on md0, internal journal EXT3-fs: mounted filesystem with ordered data mode.ん? HDD が1台なのに、md。
usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ehci_marvell ehci_marvell.4523: Marvell Orion EHCI ehci_marvell ehci_marvell.4523: new USB bus registered, assigned bus number 1 ehci_marvell ehci_marvell.4523: irq 17, io base 0xf1050100 ehci_marvell ehci_marvell.4523: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ehci_marvell ehci_marvell.167817: Marvell Orion EHCI ehci_marvell ehci_marvell.167817: new USB bus registered, assigned bus number 2 ehci_marvell ehci_marvell.167817: irq 12, io base 0xf10a0100 ehci_marvell ehci_marvell.167817: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver USB Universal Host Controller Interface driver v3.0 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver eth reg(9) val=0x0300 eth0: link down eth0: link up, full duplex, speed 1 Gbps XFS mounting filesystem sda6 Ending clean XFS mount for filesystem: sda6 root@LS-QL233:~#
root@LS-QL233:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sda2[0] 5004160 blocks [4/1] [U___] md10 : active raid1 sda5[0] 1003904 blocks [4/1] [U___] md0 : active raid1 sda1[0] 1003904 blocks [4/1] [U___] unused devices:やっぱり mdroot@LS-QL233:~# mount rootfs on / type rootfs (rw) /dev/root on / type xfs (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw) /dev/ram1 on /mnt/ram type tmpfs (rw) /dev/md0 on /boot type ext3 (rw,data=ordered) usbfs on /proc/bus/usb type usbfs (rw) /dev/disk1_6 on /mnt/disk1 type xfs (rw,noatime,usrquota,grpquota) root@LS-QL233:~#
root@LS-QL233:~# cat /proc/cpuinfo Processor : ARM926EJ-S rev 0 (v5l) BogoMIPS : 266.24 Features : swp half thumb fastmult edsp CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 0 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format C Cache format : Harvard I size : 32768 I assoc : 1 I line length : 32 I sets : 1024 D size : 32768 D assoc : 1 D line length : 32 D sets : 1024 Hardware : Feroceon Revision : 0000 Serial : 0000000000000000 root@LS-QL233:~#BogoMIPS が 266.24 なので、400MHz
root@LS-QL233:~# cat /proc/meminfo MemTotal: 125780 kB MemFree: 82020 kB Buffers: 52 kB Cached: 27004 kB SwapCached: 0 kB Active: 14748 kB Inactive: 19096 kB SwapTotal: 1003896 kB SwapFree: 1003896 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 6784 kB Mapped: 5216 kB Slab: 6848 kB SReclaimable: 1716 kB SUnreclaim: 5132 kB PageTables: 592 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 1066784 kB Committed_AS: 73260 kB VmallocTotal: 385024 kB VmallocUsed: 8976 kB VmallocChunk: 368636 kB root@LS-QL233:~#
root@LS-QL233:~# cat /proc/buffalo/firmware SERIES=LinkStation PRODUCTNAME=LS-QL(NINTOKU) VERSION=0.16 SUBVERSION=FLASH 0.00 PRODUCTID=0x00004000 BUILDDATE=2008/12/13 13:24:35 BOOTVER=1.24 root@LS-QL233:~#
root@LS-QL233:~# cat /etc/linkstation_release VERSION=1.04 SUBVERSION=HDD 0.61 PRODUCTID=0x00000000 BUILDDATE=2008/12/13 13:25:00 root@LS-QL233:~#1.04 なんや。
とりあえず、こんなところかな。
|
← telnet 可能化 / root のパスワードを潰す |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ ファームウェア 1.06 のインストール |