大破雑記帳

個人用メモな雑記ブログ いろんなことをざっくりと。

HDL-A2.0

突然NASに興味を持った結果、まともに調べずHDL2-A2.0を確保し、HDD無しであった故に得られる情報が少なくドライバを書くにしても不足する部分があること、どうせなら共通化したサポートにしたいということもあり、シングルドライブモデルのこの機種も確保した(してしまった)。
弄っていくのでメモ。

ディスク

  • fdisk -l /dev/sdb -o +Name

    OpenWrtで得たもの

      root@OpenWrt:/# fdisk -l /dev/sdb -o +Name
      Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
      Disk model: ST2000DM001-9YN1
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disklabel type: gpt
      Disk identifier: FA1AD617-84AC-4E0A-80D8-0797EDC9D88C
    
      Device       Start        End    Sectors  Size Type                 Name
      /dev/sdb1       40    1048623    1048584  512M Microsoft basic data primary
      /dev/sdb2  1048624    3145783    2097160    1G Microsoft basic data primary
      /dev/sdb3  3145784    7340095    4194312    2G Linux swap           primary
      /dev/sdb4  7340096    7602247     262152  128M Microsoft basic data primary
      /dev/sdb5  7602248    8650831    1048584  512M Microsoft basic data primary
      /dev/sdb6  8652800 3907028991 3898376192  1.8T Microsoft basic data
    

U-Boot

ブート中断不可

Kernel

  • bootlog

    
      ============================================================
        HDL2-A series Initial boot loader
    
        Copyright (C) 2008-2011 I-O DATA DEVICE, INC.
      ============================================================
       ** LOADER **
       ** MARVELL BOARD: HDL2A LE 
    
      U-Boot 1.1.4 (Aug 22 2013 - 10:19:57) MV : 3.5.9 I-O : 1.08
    
      U-Boot code: 00600000 -> 0066FFF0  BSS: -> 006BDAE0
    
      Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
      SysClock = 533Mhz , TClock = 200Mhz 
    
      DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
      DRAM CS[0] base 0x00000000   size 256MB 
      DRAM Total size 256MB  16bit width
      Addresses 8M - 0M are saved for the U-Boot usage.
      Mem malloc Initialization (8M - 7M): Done
      [512kB@f8000000] Flash: 512 kB
    
      CPU : Marvell Feroceon (Rev 1)
    
      Streaming disabled 
      Write allocate disabled
    
    
      USB 0: host mode
      PEX 0: interface detected no Link.
      PEX 1: interface detected no Link.
      Net:   egiga0 [PRIME]
    
      ============================================================
        HDL2-A series Initial boot loader
    
        Copyright (C) 2008-2011 I-O DATA DEVICE, INC.
      ============================================================
       ** LOADER **
       ** MARVELL BOARD: HDL2A LE 
    
      U-Boot 1.1.4 (Aug 22 2013 - 10:19:57) MV : 3.5.9 I-O : 1.08
    
      U-Boot code: 00600000 -> 0066FFF0  BSS: -> 006BDAE0
    
      Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
      SysClock = 533Mhz , TClock = 200Mhz 
    
      DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
      DRAM CS[0] base 0x00000000   size 256MB 
      DRAM Total size 256MB  16bit width
      Addresses 8M - 0M are saved for the U-Boot usage.
      Mem malloc Initialization (8M - 7M): Done
      [512kB@f8000000] Flash: 512 kB
    
      CPU : Marvell Feroceon (Rev 1)
    
      Streaming disabled 
      Write allocate disabled
    
    
      USB 0: host mode
      PEX 0: interface detected no Link.
      PEX 1: interface detected no Link.
      Net:   egiga0 [PRIME]
    
      Reset IDE: 
      Marvell Serial ATA Adapter
      Integrated Sata device found
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
       0 0 15: Status=0x80
      [0 0 0]: Enable DMA mode (6)
        Device 0 @ 0 0:
                  Model: ST2000DM001-9YN164                      
                  Firm: CC82    
                  Ser#:             Z3402ALK
                  Type: Hard Disk
                  Supports 48-bit addressing
                  Capacity: 1907729.0 MB = 1863.0 GB (0x00000000E8E088B0 x 512)
    
    
      3020072 bytes read
    
      5435264 bytes read
      ## Starting secure boot ...
      ## Starting application at 0x00100000 ...
      ## Application terminated, rc = 0x0
      ................
      ## Booting image at 00800000 ...
         Image Name:   Linux-2.6.31.8
         Image Type:   ARM Linux Kernel Image (uncompressed)
         Data Size:    3020008 Bytes =  2.9 MB
         Load Address: 00008000
         Entry Point:  00008000
         Verifying Checksum ... OK
      OK
    
      Starting kernel ...
    
      Uncompressing Linux......................................................................................................................................................................................... done, booting the kernel.
      Linux version 2.6.31.8 (kodaka@devsrv2) (gcc version 4.2.4 (Debian 4.2.4-3)) #1 Mon Mar 11 15:24:22 JST 2013
      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
      Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 65024
      Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env) root=/dev/sda2 initrd=0x2000040,16M rw model=HDL-A
      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: 231100KB available (5484K code, 274K data, 136K 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    :  1236.800 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_patch34)-- I-O DATA HDL2-A  Soc: MV88F6282 Rev 1 LE
    
       Detected Tclk 200000000 and SysClk 533333333 
      mv_init: modified I2C divisor.
      MV Buttons Device Load
      Marvell USB EHCI Host controller #0: c8039680
      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
      R8 power off hook registered.
      bio: create slab  at 0
      SCSI subsystem initialized
      usbcore: registered new interface driver usbfs
      usbcore: registered new interface driver hub
      usbcore: registered new device driver usb
      raid6: int32x1    146 MB/s
      raid6: int32x2    181 MB/s
      raid6: int32x4    171 MB/s
      raid6: int32x8    152 MB/s
      raid6: using algorithm int32x2 (181 MB/s)
      Slow work thread pool: Starting up
      Slow work thread pool: Ready
      FS-Cache: Loaded
      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: 16384K
      iodata_boardmodel_init: 223
      XOR registered 4 channels
      XOR 2nd invalidate WA enabled
      mvCesaInit: sessions=640, queue=64, pSram=f0000000
      MV Buttons Driver Load
      NetWinder Floating Point Emulator V0.97 (double precision)
      VFS: Disk quotas dquot_6.5.2
      Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
      FS-Cache: Netfs 'nfs' registered for caching
      Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
      NTFS driver 2.1.29 [Flags: R/O].
      JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
      fuse init (API version 7.12)
      SGI XFS with security attributes, large block/inode 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 fcrypt (fcrypt-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 254)
      io scheduler noop registered
      io scheduler cfq 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.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
      brd: module loaded
      loop: module loaded
      Integrated Sata device found
      IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
      scsi0 : Marvell SCSI to SATA adapter
      scsi1 : Marvell SCSI to SATA adapter
      scsi 0:0:0:0: Direct-Access     Seagate  ST2000DM001-9YN1 CC82 PQ: 0 ANSI: 5
      sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
      sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
      sd 0:0:0:0: [sda] 0-byte physical blocks
      sd 0:0:0:0: [sda] Write Protect is off
      sd 0:0:0:0: Attached scsi generic sg0 type 0
      phy: page = 0
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 1140 7949 0141 0e90 01e1 0000 0004 2001
      0008: 0000 0300 0000 0000 0000 0000 0000 3000
      0010: 3860 8040 0000 0040 0020 0000 0000 0000
      0018: 0000 0000 0040 0000 0000 0000 0000 0000
      phy: page = 1
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 0001 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 2
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0748 0000 0000 0000 0000 1070 0002 0000
      0018: 5001 0022 0000 0000 0000 0000 0000 0000
      phy: page = 3
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0177 4415 4905 0073 0000 0000 0003 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 4
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 0004 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 5
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 2400 0006 0053 208a 0000 2000 0005 0603
      0018: 0000 0104 0f12 0a0c 0c06 0000 0000 0000
      phy: page = 6
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0200 0000 0006 0000
      0018: 0000 0000 1908 0000 0000 0000 0000 0000
      phy: page = 7
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 0007 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 8
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 1000 020c 0000 0080 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 0008 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 9
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 0009 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 10
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 000a 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 11
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 000b 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 12
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 1f40 0000 0000 0000 f000 f186 1388
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 000c 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 13
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 000d 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 14
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 88f7 0000 0000 0001 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 000e 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 15
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 000f 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 16
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0000 0000 0000 0000 0000 0000 0010 0000
      0018: 0000 0000 0000 0000 0000 0000 0000 0000
      phy: page = 17
      addr    +0   +1   +2   +3   +4   +5   +6   +7
      0000: 0000 0000 0000 0000 0000 0000 0000 0000
      0008: 0000 0000 0000 0000 0000 0000 0000 0000
      0010: 0500 0000 3fff 3fff 3fff 007f 0011 0000
      0018: 0000 0000 0000 0000 0000 0014 0000 0000
      Loading Marvell Ethernet Driver:
        o Cached descriptors in DRAM
        o DRAM SW cache-coherency
        o 1 Giga ports supported
        o Single RX Queue support - ETH_DEF_RXQ=0
        o Single TX Queue support - ETH_DEF_TXQ=0
        o TCP segmentation offload (TSO) supported
        o Large Receive offload (LRO) supported
        o Receive checksum offload supported
        o Transmit checksum offload supported
        o Driver ERROR statistics enabled
        o Proc tool API enabled
        o SKB Reuse supported - (Disabled)
        o SKB Recycle supported - (Disabled)
        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 cache: enabled, read cache: enabled, doesn't support DPO or FUA
      sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
           o eth0, ifindex = 2, GbE port = 0
    
      ipddp.c:v0.01 8/28/97 Bradford W. Johnson 
      ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson 
      SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
      2 cmdlinepart partitions found on MTD device spi_flash
      Creating 2 MTD partitions on "spi_flash":
      0x000000000000-0x000000070000 : "u-boot"
    
      Notice: Serial SPI flash (spi_flash) unlock per sector is not supported!
              Unlocking the whole device.
       sda:
      0x000000070000-0x000000080000 : "env"
    
      Notice: Serial SPI flash (spi_flash) unlock per sector is not supported!
              Unlocking the whole device.
      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
       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
      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
      usbcore: registered new interface driver libusual
      mice: PS/2 mouse device common for all mice
      i2c /dev entries driver
      I2C: RS5C372A RTC driver successfully loaded
      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
      md: faulty personality registered for level -5
      device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
      dm_crypt using the OCF package.
      cpuidle: using governor ladder
      cpuidle: using governor menu
      TCP cubic registered
      NET: Registered protocol family 17
      NET: Registered protocol family 5
      RPC: Registered udp transport module.
      RPC: Registered tcp transport module.
      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
      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
      VFS: Mounted root (ext2 filesystem) on device 1:0.
    
      === START /initrd/linuxrc ===
    
      === VERSION: Mon Apr 26 11:05:02 JST 2021 ===
    
      === SET SYSTEM CLOCK ===
    
      === READ SUB ROUTINES ===
    
      === MOUNT /proc, /sys ===
    
      === LOAD R8contd ===
      mount: mounting /dev/root.old on / failed
      overrun: 0
      R8contd [model:HDL-A-0] [ver1.07]
    
      === INITIALIZE STATUS LED ===
    
      === CHECK SYSTEM PARTITIONS ===
      SOC_ARCH:88FR131
      DISK1:sda
      DISK2:
      USB1:
      USB2:
      --- set latest clock ---
      tune2fs: Bad magic number in super-block while trying to open /dev/sda2
      Couldn't find valid filesystem superblock.
      ===== Last write sda2 : =====
      tune2fs: Bad magic number in super-block while trying to open /dev/sda5
      Couldn't find valid filesystem superblock.
      ===== Last write sda5 : =====
      --- check DISK ---
      SOC_ARCH:88FR131
      DISK1:sda
      DISK2:
      USB1:
      USB2:
      VOL1:sda1
      VOL2:sda2
      VOL5:sda5
      VOL6:sda6
      ROOT_DEVICE:2050
    
      === CRYPT SYSTEM PARTITIONS ===
    
      ### FIXME!!: linuxrc: norootfskey for develop kernel ###
      ## Error: "fakerootfskey" not defined
      bio: create slab  at 1
    
      === MKHDDMODE=0 ===
    
      === PROBE DEVICES ===
      SOC_ARCH:88FR131
      DISK1:sda
      DISK2:
      USB1:
      USB2:
      VOL1:sda1
      VOL2:mapper/sda2
      VOL5:mapper/sda5
      VOL6:sda6
      ROOT_DEVICE:64768
    
      === CURRENT ROOT DEVICE:2050 ===
    
      === SET ROOT DEVICE:64768 ===
    
      === CURRENT ROOT DEVICE:64768 ===
    
      === SOC_ARCH=88FR131, ROOT_DEV=/dev/mapper/sda2 ===
      Initializing USB Mass Storage driver...
      usbcore: registered new interface driver usb-storage
      USB Mass Storage support registered.
    
      === CHECK INSTALL MEDIA ===
      SOC_ARCH:88FR131
      DISK1:sda
      DISK2:
      USB1:
      USB2:
      VOL1:sda1
      VOL2:mapper/sda2
      VOL5:mapper/sda5
      VOL6:sda6
      ROOT_DEVICE:64768
    
      === cheking usb memory including installer. ===
    
      === not found. ===
      umount: cannot umount /mnt/usb1/l2a: No such file or directory
      umount: cannot umount /mnt/usb1: Invalid argument
      umount: cannot umount /mnt/usb1: Invalid argument
    
      *** ERROR: umount failed. ignore. ***
      mount: mounting /dev/scd0 on /mnt/usb1 failed
      umount: cannot umount /mnt/usb1/l2a: No such file or directory
      umount: cannot umount /mnt/usb1: Invalid argument
      umount: cannot umount /mnt/usb1: Invalid argument
    
      *** ERROR: umount failed. ignore. ***
      kjournald starting.  Commit interval 5 seconds
      EXT3-fs: mounted filesystem with writeback data mode.
      umount: cannot umount /mnt/usb1/.landisk: Invalid argument
    
      === CHECKING VERIFY MODE ===
    
      === mounting volume 1 to check mode ===
      kjournald starting.  Commit interval 5 seconds
      EXT3-fs: mounted filesystem with writeback data mode.
    
      === not verify mode ===
    
      === unmounting volume 1 ===
    
      ### FIXME!!: linuxrc: __unload_modules ###
      usb_storage 36556 0 - Live 0xbf000000
      usbcore: deregistering interface driver usb-storage
      Close R8contd. (15)
      mount: mounting /dev/root.old on / failed
    
    
      === END /initrd/linuxrc ===
      kjournald starting.  Commit interval 5 seconds
      EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
      EXT3 FS on dm-0, internal journal
      EXT3-fs: mounted filesystem with writeback data mode.
      VFS: Mounted root (ext3 filesystem) on device 253:0.
      Trying to move old root to /initrd ... okay
      Freeing init memory: 136K
      INIT: version 2.86 booting
      Setting parameters of disc: (none).
      Activating swap...Adding 2097148k swap on /dev/sda3.  Priority:-1 extents:1 across:2097148k 
      done.
      Checking root file system...fsck 1.40-WIP (14-Nov-2006)
      e2fsck 1.40-WIP (14-Nov-2006)
      /lib/init/rw/rootdev has been mounted 28 times without being checked, check forced.
      Pass 1: Checking inodes, blocks, and sizes
      Pass 2: Checking directory structure                                           
      Pass 3: Checking directory connectivity                                        
      Pass 4: Checking reference counts                                              
      Pass 5: Checking group summary information
      /lib/init/rw/rootdev: 16330/131072 files (0.2% non-contiguous), 1EXT3 FS on dm-0, 06226/262144 blointernal journal
      cks
      done.
      Setting the system clock..
      Cleaning up ifupdown....
      Loading kernel modules...done.
      Loading device-mapper support.
      Checking file systems...fsck 1.40-WIP (14-Nov-2006)
      done.
      Setting kernel variables...done.
      Mounting local filesystems...kjournald starting.  Commit interval 5 seconds
      EXT3-fs: mounted filesystem with writeback data mode.
      kjournald starting.  Commit interval 5 seconds
      EXT3 FS on dm-1, internal journal
      EXT3-fs: mounted filesystem with writeback data mode.
      Using fallback suid method
      done.
      Activating swapfile swap...done.
      console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env) root=/dev/sda2 initrd=0x2000040,16M rw model=HDL-A
      Starting R8 control daemon: R8contdoverrun: 0
      R8contd [model:HDL-A-0] [ver1.07]
      .
      Setting up networking....
      Starting hotplug subsystem:
         pci     
      cat: /sys/bus/pci/devices/*/class: No such file or directory
      cat: /sys/bus/pci/devices/*/vendor: No such file or directory
      cat: /sys/bus/pci/devices/*/device: No such file or directory
      cat: /sys/bus/pci/devices/*/subsystem_vendor: No such file or directory
      cat: /sys/bus/pci/devices/*/subsystem_device: No such file or directory
      Bad PCI agent invocation
         pci      [success]
         usb     
         usb      [success]
         isapnp  
         isapnp   [success]
         ide     
         ide      [success]
         input   
         input    [success]
         scsi    
           sd_mod: can't be loaded (for disk)
         scsi     [success]
      done.
      Configuring network interfaces...eth0: started
      mv_eth_phy_init_hdl2_a: wol status = 0000
      Using fallback suid method
      info, udhcpc (v0.9.9-pre+autoip) started
      + RESOLV_ORG=/etc/resolv.conf
      + RESOLV_CONF=/var/tmp/resolv.conf
      + HOSTS_ORG=/etc/hosts
      + HOSTS_TMP=/var/tmp/hosts
      + DHCPINFOFILE=/var/run/udhcpc-eth0.info
      + CACHE_ORG=/etc/udhcpc.cache
      + CACHE_FILE=/var/tmp/udhcpc.cache
      + '[' -z deconfig ']'
      + '[' -n '' ']'
      + '[' -n '' ']'
      + case "$1" in
      + /sbin/ifconfig eth0 0.0.0.0
      + exit 0
      debug, Sending discover...
      debug, Sending discover...
      info, No lease, try autoip. discover garbage count was 0
      + RESOLV_ORG=/etc/resolv.conf
      + RESOLV_CONF=/var/tmp/resolv.conf
      + HOSTS_ORG=/etc/hosts
      + HOSTS_TMP=/var/tmp/hosts
      + DHCPINFOFILE=/var/run/udhcpc-eth0.info
      + CACHE_ORG=/etc/udhcpc.cache
      + CACHE_FILE=/var/tmp/udhcpc.cache
      + '[' -z deconfig ']'
      + '[' -n '' ']'
      + '[' -n '' ']'
      + case "$1" in
      + /sbin/ifconfig eth0 0.0.0.0
      + exit 0
      + RESOLV_ORG=/etc/resolv.conf
      + RESOLV_CONF=/var/tmp/resolv.conf
      + HOSTS_ORG=/etc/hosts
      + HOSTS_TMP=/var/tmp/hosts
      + DHCPINFOFILE=/var/run/udhcpc-eth0.info
      + CACHE_ORG=/etc/udhcpc.cache
      + CACHE_FILE=/var/tmp/udhcpc.cache
      + '[' -z renew ']'
      + '[' -n 169.254.255.255 ']'
      + BROADCAST='broadcast 169.254.255.255'
      + '[' -n 255.255.0.0 ']'
      + NETMASK='netmask 255.255.0.0'
      + case "$1" in
      + /sbin/ifconfig eth0 169.254.148.111 broadcast 169.254.255.255 netmask 255.255.0.0
      + '[' -n '' ']'
      + root_is_rw=0
      + '[' -f /var/lock/lanicn/.boot-done ']'
      + root_is_rw=1
      + '[' -f /var/tmp/resolv.conf ']'
      + touch /var/tmp/resolv.conf.1
      + echo -n
      + '[' -n '' ']'
      + write_hdd=0
      + cmp -s /var/tmp/resolv.conf /var/tmp/resolv.conf.1
      + '[' 0 -ne 0 ']'
      + '[' -f /var/tmp/hosts ']'
      + touch /var/tmp/hosts.1
      ++ hostname
      + HOSTNAME=LANDISK-F2262E
      + HOSTNAME=LANDISK-F2262E
      + '[' -n '' ']'
      + hostname LANDISK-F2262E
      + cat
      + cmp -s /var/tmp/hosts /var/tmp/hosts.1
      + '[' 1 -ne 0 ']'
      + write_hdd=1
      + rm -rf /var/run/udhcpc-eth0.info
      + echo IPADDR=169.254.148.111
      + echo NETMASK=255.255.0.0
      + echo BROADCAST=169.254.255.255
      + echo GATEWAY=
      + echo DOMAIN=
      + echo DNS=
      + echo DHCPSIADDR=
      + echo LEASETIME=
      + '[' 169.254.255.255 = 169.254.255.255 ']'
      + '[' -f /var/lock/lanicn/.boot-done ']'
      + mount -o remount,rw /
      + cp -pf /var/tmp/resolv.conf /etc/resolv.conf
      + cp -pf /var/tmp/hosts /etc/hosts
      + '[' -f /var/tmp/udhcpc.cache ']'
      + rm -f /mnt/hda5/info/IPAddress:192.168.1.190.mpg
      + ln -s /usr/local/share/dms/sample.mpg /mnt/hda5/info/IPAddress:169.254.148.111.mpg
      + sync
      + /usr/bin/php /usr/local/bin/port_update.php
      done.
      + '[' 1 -eq 0 ']'
      + mount -o remount,rw /
      EXT3 FS on dm-0, internal journal
      + regist_slpd
      + '[' '!' -f /var/run/slpd.pid ']'
      + echo 'regist_slpd: slpd not running'
      regist_slpd: slpd not running
      + return
      + exit 0
      INIT: Entering runlevel: 2
      Starting system message bus: dbus.
      Starting Avahi mDNS/DNS-SD Daemon: avahi-daemonwarning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
      .
      Starting OpenSLP server: slpd.
      Starting network management services: snmpd.
      starting syslogd ...Using fallback suid method
      done.
      Starting periodic command scheduler: crond.
      Starting web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 169.254.148.111 for ServerName
      debug, Sending discover...
      .
    
      Starting HDLFind: 
      HDLFind for HDL-GS
      Starting HDLFind_port65: 
      HDLFind_port65 for HDL-GS
      Checking version: release
      smartctl-bin
      smartctl-bin
      smartctl-bin
      smartctl-bin
      smartctl-bin
      smartctl-bin
      check hda6 superblock...
      mdadm: No md superblock detected on /dev/sda6.
      check hdb6 superblock...
      mdadm: cannot open /dev/sdb6: No such device or address
      EXT3 FS on dm-0, internal journal
      XFS mounting filesystem sda6
      Restarting network management services:debug, Sending discover...
       snmpd.
      *** RAID Initialization : share service start
      usbmodule startdev HDL-A
      usbcore: registered new interface driver hiddev
      usbcore: registered new interface driver usbhid
      usbhid: v2.6:USB HID core driver
      usbcore: registered new interface driver usblp
      Initializing USB Mass Storage driver...
      usbcore: registered new interface driver usb-storage
      USB Mass Storage support registered.
      Error : Temporary failure in name resolution
      27 Feb 13:36:31 ntpdate[1739]: can't find host ntp.nict.jp
    
      27 Feb 13:36:31 ntpdate[1739]: no servers can be used, exiting
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      info, No lease, go back to autoip. discover garbage count was 0
      ssl server key no need to update.
      *** RAID Initialization : share service start
      apache2: Could not reliably determine the server's fully qualified domain name, using 169.254.148.111 for ServerName
      iface eth0 inet dhcp
      /dev/sda6 on /mnt/sataraid1 type xfs (rw,relatime,attr2,noquota)
      nasdsync:clear_notify
      nasdsync:clear_notify
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      debug, Sending discover...
      info, No lease, go back to autoip. discover garbage count was 0
      EXT3 FS on dm-0, internal journal
      Usage:
        kill pid ...              Send SIGTERM to every process listed.
        kill signal pid ...       Send a signal to every process listed.
        kill -s signal pid ...    Send a signal to every process listed.
        kill -l                   List all signal names.
        kill -L                   List all signal names in a nice table.
        kill -l signal            Convert between signal numbers and names.
    
  • df

    ファームウェア更新試行時に現れるもの

      /usr/local/bin/getfwver.sh:df min
      Filesystem           1K-blocks      Used Available Use% Mounted on
      rootfs                 1032088    408420    613184  40% /
      /dev/root              1032088    408420    613184  40% /
      tmpfs                   123972       688    123284   1% /mnt/tmpfs
      tmpfs                   123972         0    123972   0% /lib/init/rw
      tmpfs                   123972         0    123972   0% /dev/shm
      tmpfs                   123972         0    123972   0% /dev/mapper
      /dev/sda1               516040    345380    144448  71% /boot
      /dev/mapper/sda5        511720    107312    378196  23% /mnt/hda5
      /dev/sda6            1949057024      4980 1949052044   1% /mnt/sataraid1
      /usr/local/bin/getfwver.sh:df max
      Filesystem           1K-blocks      Used Available Use% Mounted on
      rootfs                 1032088    408420    613184  40% /
      /dev/root              1032088    408420    613184  40% /
      tmpfs                   123972       720    123252   1% /mnt/tmpfs
      tmpfs                   123972         0    123972   0% /lib/init/rw
      tmpfs                   123972         0    123972   0% /dev/shm
      tmpfs                   123972         0    123972   0% /dev/mapper
      /dev/sda1               516040    345380    144448  71% /boot
      /dev/mapper/sda5        511720    181944    303564  38% /mnt/hda5
      /dev/sda6            1949057024      4980 1949052044   1% /mnt/sataraid1