3.5 インチ HDD の接続 / connect 3.5 inch hard drive

LS-WSGL/R1

パーティションを全部削除した 3.5 インチ HDD をつないでみた。
Connect a 3.5 inch hard drive which is cleared all partitions.

うまくいけば、何もしなくてもリビルドしてくれて、使えるようになる。
I wonder that it re-builded automaticaly and can use without problems.

Orion1   CPU =  Low 

> Checking hardware info ...
=== Strap status : 0x00802030 ===
=== H/W boardId  :       0x33 ===
=== boardId      :       0x1a ===
=== micon_support:        off ===
> OK.
=== BUFFALO LS-WSGL/R1 U-Boot. ===
 ** LOADER **
 ** BUFFALO BOARD: BUFFALO_BOARD_LS_WSGL/R1 LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Feb 22 2008 - 18:48:54) Marvell version: 1.12.1 - TINY
Buffalo Version: 1.13-1.00

DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB 
[256kB@fffc0000] Flash: 256 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 400Mhz 
Orion 1 streaming disabled 
SysClock = 200Mhz , TClock = 166Mhz 


USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
buffalo_change_power_status > Read 0x5c
buffalo_IsStopAtUbootStatus > MagicKey=0x5c
buffalo_change_power_status > Read 0x5c
buffalo_change_power_status > Read 0x5c
buffalo_change_power_status > Writing 0x5c

Please Press HDD power button to continue ...
buffalo_change_power_status > Read 0x5c
buffalo_change_power_status > Writing 0x3a

Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: WDC WD2500BEVS-00UST0                    Firm: 01.01A01 Ser#:      WD-WXE508LP7200
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
  Device 1: OK
Model: WDC WD3200SD-01KNB0                      Firm: 08.05J08 Ser#:      WD-WCAMR1683855
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)

WD3200SD を認識している。
Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
  Type: U-Boot  File:/uImage.buffalo

1757556 bytes read
   Image Name:   Linux-2.6.16.16-arm1
   Created:      2008-07-22   7:22:37 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1757492 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
  Type: U-Boot  File:/initrd.buffalo

5622690 bytes read
   Image Name:   initrd
   Created:      2008-07-22   7:23:07 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5622626 Bytes =  5.4 MB
   Load Address: 00000000
   Entry Point:  00000000
Using device ide1, partition 1
** Bad partition 1 **
serch_boot_drv (182)>No kernel_file 1 
Using device ide1, partition 1
** Bad partition 1 **
serch_boot_drv (237)>No init_file 1 
エラー。当たり前。
Booting from Device 0 
hit any key to switch tftp boot.
Hit any key to stop autoboot:  2  1  0 
Hit any key to stop autoboot:  3  2  1  0 
Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
  Type: U-Boot  File:/uImage.buffalo

1757556 bytes read
Using device ide1, partition 1
** Bad partition 1 **
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.16.16-arm1
   Created:      2008-07-22   7:22:37 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1757492 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initrd
   Created:      2008-07-22   7:23:07 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5622626 Bytes =  5.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

arg:console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 func=0 BOOTVER=1.13
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSWSGL_R1 ---
Uncompressing Linux................................................................................................................... done, booting the kernel.
Linux version 2.6.16.16-arm1 (root@I.You) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #316 Tue Jul 22 16:22:33 JST 2008
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 200000000, Tclk = 166664740


- Warning - This LSP release was tested only with U-Boot release 1.7.3 

Memory policy: ECC disabled, Data cache writeback
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
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 func=0 BOOTVER=1.13
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 110620KB available (2992K code, 553K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 15360K
NET: Registered protocol family 16
FLASH boardId = 19
Flash bankwidth 1, base ff800000, size 40000
BUFFALO LS_WSGL_R1 FLASH size 256[KB]

  Marvell Development Board (LSP Version 1.7.8_NAS)-- BUFFALO_BOARD_LS_WSGL_R1 

 Detected Tclk 166664740 and SysClk 200000000 
Marvell USB EHCI Host controller #0: c16f5e00
Marvell USB EHCI Host controller #1: c16f5c00
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
use IDMA acceleration in copy to/from user buffers. used channels 2 and 3 
Done. 
cesadev_init(c0011c44)
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
SGI XFS with large block numbers, no debug enabled
Initializing Cryptographic API
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: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
RAMDISK driver initialized: 3 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (0)
'eth0' 
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
** BUFFALO Disable Command Queuing Function [0 0] **
** BUFFALO Disable Command Queuing Function [0 1] **
  Vendor: WDC       Model: WD2500BEVS-00UST  Rev: 01.0
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: WDC       Model: WD3200SD-01KNB0   Rev: 08.0
  Type:   Direct-Access                      ANSI SCSI revision: 03
Linux IAL (ERROR) : retry command host=0, bus=0 SCpnt = c1449ba0
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda4 < sda5 sda6 >
sd 0:0:0:0: Attached scsi disk sda
Linux IAL (ERROR) : retry command host=1, bus=1 SCpnt = c1449ba0
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
sdb: Write Protect is off
SCSI device sdb: drive cache: write back
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
sdb: Write Protect is off
SCSI device sdb: drive cache: write back
 sdb:
sd 1:0:0:0: Attached scsi disk sdb
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
physmap flash device: 40000 at ff800000
>jedec_probe
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
mice: PS/2 mouse device common for all mice
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
mvGppValueSet: Err. An attempt to set output value to GPP 15 in input mode.
Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
mvGppValueSet: Err. An attempt to set output value to GPP 2 in input mode.
Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.0.02 installed.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic 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).
---- in linuxrc ---
Thu Nov  1 00:00:00 JST 2007
Thu Nov  1 00:00:00 JST 2007
CheckDevices
linuxrc:choose operation (timeout 4[s])
 1:RamRoot other:HddRoot  ? -HddRoot-
-- rebuild mdadm.conf for BOOT, ROOTFS --
mdadm: cannot open /dev/disk2_1: No such device or address
mdadm: cannot open /dev/disk2_2: No such device or address
mdadm: cannot open /dev/disk2_5: No such device or address
md: md10 stopped.
mdadm: cannot open device /dev/disk2_1: No such device or address
mdadm: /dev/disk2_1 has wrong uuid.
mdadm: /dev/diskmd: md1 stopped.
1_1 has wrong uuid.
mdadm: no devices found for /dev/md10
mdadmd: md0 stopped.
m: /dev/disk1_1 has wrong uuid.
mdadm: no devices found for /dev/md1
md: bind<sda1>
raid1: raid set md0 active with 1 out of 2 mirrors
mdadm: /dev/md0 has been started with 1 drive (out of 2).
-- setup max error counts --
/sys/block/md0/md/maxerr_cnt is setted to -1
Starting :fsck_disks(boot) ...         [Success.]
Starting :fsck_disks(rootfs) ...       [Success.]
Starting :mount(boot) ...              [Success.]
Starting :umount(boot) ...             [Success.]
-- rebuild mdadm.conf for BOOT, ROOTFS --
mdadm: cannot open /dev/disk2_1: No such device or address
mdadm: cannot open /dev/disk2_2: No such device or address
mdadm: cannot open /dev/disk2_5: No such device or address
md: md10 stopped.
mdadm: cannot open device /dev/disk2_1: No such device or address
mdadm: /dev/disk2_1 has wrong uuid.
mdadm: cannot open device /dev/disk1_1: Device or resource busy
mdadm: /dev/disk1_1 has wrong uuid.
mdadm: cannot open device /dev/disk2_2: No such device or address
mdadm: /dev/disk2_2 has wrong uuid.
mdadm: /dev/disk1_2 has wrong uuid.
mdadmmd: bind<sda5>
: cannot open device /dev/disk2_5: No such device or address
mdadm: /dev/disk2_5 has wrong uuid.
raid1: raid set md10 active with 1 out of 2 mirrors
mdadm: /dev/md10md: md1 stopped.
 has been started with 1 drive (out of 2).
md: bind<sda2>
raid1: raid set md1 active with 1 out of 2 mirrors
mdadm: /dev/md1 has been started with 1 drive (out of 2).
-- setup max error counts --
/sys/block/md0/md/maxerr_cnt is setted to -1
/sys/block/md1/md/maxerr_cnt is setted to -1
/sys/block/md10/md/maxerr_cnt is setted to -1
XFS mounting filesystem md1
Starting XFS recovery on filesystem: md1 (logdev: internal)
Ending XFS recovery on filesystem: md1 (logdev: internal)
PRODUCTID=0x00003002 PRODUCTID=0x00003002
KERNEL:2008/7/22 16:22:31
HDD:2008/7/22 16:23:43
KERNEL:2008/7/22 16:22:55
HDD:2008/7/22 16:23:43
/dev/md1:/mnt:5%
-- CopyFromInitrdToHdd --
.........Finish

XFS mounting filesystem md1
VFS: Mounted root (xfs filesystem).
Trying to move old root to /initrd ... okay
Freeing init memory: 112K
init started:  BusyBox v1.1.1 (2008.07.15-06:14+0000) multi-call binary
Starting pid 621, console /dev/ttyS0: '/etc/init.d/rcS'
--- rcStart (hddroot) ---
Thu Nov  1 00:00:13 JST 2007
** step1 **
=== checkroot.sh ===
ln: /var/spool/cron/cron: File exists
Adding 1003896k swap on /dev/md10.  Priority:-1 extents:1 across:1003896k
=== procps.sh ===
=== devpts.sh ===
=== sethostname.sh ===
configure files from Buffalo parameters.
=== restore_config.sh ===
/sbin/hotplug [block]
Update configuration files
Restore previous configuration files
/bin/tar: etc/resolv.conf: time stamp 2007-11-01 00:20:08 is 1188.737558 s in the future
/bin/tar: etc/atalk/AppleVolumes.system: time stamp 2008-03-24 18:45:19 is 12509099.735008 s in the future
/bin/tar: etc/atalk/papd.conf: time stamp 2008-03-24 18:45:19 is 12509099.726068 s in the future
/bin/tar: etc/atalk: time stamp 2008-05-20 11:20:51 is 17407231.725102 s in the future
/bin/tar: etc/cron/crontabs/root: time stamp 2008-08-31 11:19:35 is 26306355.724598 s in the future
/bin/tar: etc/melco/backup7: time stamp 2007-11-01 00:20:35 is 1215.72394 s in the future
/bin/tar: etc/melco/crontabs: time stamp 2008-05-20 11:20:51 is 17407231.723499 s in the future
/bin/tar: etc/melco/pdcuserinfo: time stamp 2008-03-24 18:44:31 is 12509051.723101 s in the future
/bin/tar: etc/melco/timer_status: time stamp 2007-11-01 00:04:30 is 250.722557 s in the future
/bin/tar: etc/melco/raidscan: time stamp 2007-11-01 00:42:59 is 2559.721911 s in the future
/bin/tar: etc/melco/email: time stamp 2007-11-01 00:04:11 is 231.721368 s in the future
/bin/tar: etc/melco/lcdled: time stamp 2008-03-24 18:44:31 is 12509051.720835 s in the future
/bin/tar: etc/melco/usbshareinfo: time stamp 2008-03-24 18:44:31 is 12509051.720265 s in the future
/bin/tar: etc/melco/userinfo: time stamp 2007-11-01 00:04:38 is 258.719709 s in the future
/bin/tar: etc/melco/autoadduserinfo: time stamp 2008-03-24 18:44:31 is 12509051.719257 s in the future
/bin/tar: etc/melco/pdcgroupinfo: time stamp 2008-03-24 18:44:31 is 12509051.718785 s in the future
/bin/tar: etc/melco/caution: time stamp 2008-03-24 18:44:31 is 12509051.71824 s in the future
/bin/tar: etc/melco/DirectCopy: time stamp 2008-03-24 18:44:31 is 12509051.71767 s in the future
/bin/tar: etc/melco/lcd_status: time stamp 2008-03-24 18:44:31 is 12509051.717121 s in the future
/bin/tar: etc/melco/ups: time stamp 2008-03-24 18:44:31 is 12509051.716573 s in the future
/bin/tar: etc/melco/groupinfo: time stamp 2008-03-24 18:44:31 is 12509051.711151 s in the future
/bin/tar: etc/melco/ls_list: time stamp 2007-11-01 00:04:27 is 247.71059 s in the future
/bin/tar: etc/melco/msdfs: time stamp 2008-03-24 18:44:31 is 12509051.71005 s in the future
/bin/tar: etc/melco/seach_list: time stamp 2008-03-24 18:44:31 is 12509051.709588 s in the future
/bin/tar: etc/melco/dlnaserver: time stamp 2007-11-01 00:01:03 is 43.708691 s in the future
/bin/tar: etc/melco/ituneserver: time stamp 2008-02-22 17:38:43 is 9826703.708139 s in the future
/bin/tar: etc/melco/shareinfo: time stamp 2008-06-19 16:43:10 is 20018570.707561 s in the future
/bin/tar: etc/melco/shareinfo.hidden: time stamp 2008-06-19 16:43:10 is 20018570.707093 s in the future
/bin/tar: etc/melco/shareinfo.vfs: time stamp 2008-06-19 16:43:10 is 20018570.706611 s in the future
/bin/tar: etc/melco/offlinefile: time stamp 2008-06-19 16:43:10 is 20018570.705978 s in the future
/bin/tar: etc/melco/info: time stamp 2007-11-01 00:04:38 is 258.705404 s in the future
/bin/tar: etc/melco/backup_dstlist: time stamp 2007-11-01 00:04:28 is 248.704887 s in the future
/bin/tar: etc/melco/diskinfo: time stamp 2007-11-01 00:19:59 is 1179.704347 s in the future
/bin/tar: etc/melco/backup1: time stamp 2007-11-01 00:20:34 is 1214.703793 s in the future
/bin/tar: etc/melco/backup2: time stamp 2007-11-01 00:20:34 is 1214.703252 s in the future
/bin/tar: etc/melco/backup3: time stamp 2007-11-01 00:20:34 is 1214.702713 s in the future
/bin/tar: etc/melco/backup4: time stamp 2007-11-01 00:20:35 is 1215.70216 s in the future
/bin/tar: etc/melco/backup5: time stamp 2007-11-01 00:20:35 is 1215.701624 s in the future
/bin/tar: etc/melco/backup6: time stamp 2007-11-01 00:20:35 is 1215.701073 s in the future
/bin/tar: etc/melco/backup8: time stamp 2007-11-01 00:20:35 is 1215.700444 s in the future
/bin/tar: etc/melco: time stamp 2007-11-01 00:20:35 is 1215.700112 s in the future
/bin/tar: etc/pam.d/sudo: time stamp 2008-05-20 11:20:51 is 17407231.699269 s in the future
/bin/tar: etc/pam.d: time stamp 2008-05-20 11:20:51 is 17407231.684483 s in the future
/bin/tar: etc/proftpd: time stamp 2008-05-20 11:20:51 is 17407231.683712 s in the future
/bin/tar: etc/samba/lock/gencache.tdb: time stamp 2008-06-19 16:42:46 is 20018546.682992 s in the future
/bin/tar: etc/samba/lock/registry.tdb: time stamp 2008-06-19 16:42:47 is 20018547.676531 s in the future
/bin/tar: etc/samba/lock/group_mapping.tdb: time stamp 2008-06-19 16:42:47 is 20018547.675832 s in the future
/bin/tar: etc/samba/lock/account_policy.tdb: time stamp 2008-06-19 16:42:47 is 20018547.675187 s in the future
/bin/tar: etc/samba/lock/perfmon: time stamp 2008-06-19 16:42:47 is 20018547.674729 s in the future
/bin/tar: etc/samba/lock/printing/lp.tdb: time stamp 2008-06-19 16:42:47 is 20018547.667996 s in the future
/bin/tar: etc/samba/lock/printing: time stamp 2008-06-19 16:42:47 is 20018547.667629 s in the future
/bin/tar: etc/samba/lock/ntdrivers.tdb: time stamp 2008-06-19 16:42:47 is 20018547.335842 s in the future
/bin/tar: etc/samba/lock/ntprinters.tdb: time stamp 2008-06-19 16:42:47 is 20018547.335185 s in the future
/bin/tar: etc/samba/lock/ntforms.tdb: time stamp 2008-06-19 16:42:47 is 20018547.334698 s in the future
/bin/tar: etc/samba/lock/share_info.tdb: time stamp 2007-11-01 00:48:11 is 2871.334073 s in the future
/bin/tar: etc/samba/lock: time stamp 2007-11-01 01:30:09 is 5389.333752 s in the future
/bin/tar: etc/samba/smb.conf: time stamp 2007-11-01 00:20:28 is 1208.332739 s in the future
/bin/tar: etc/samba/smbpasswd.tdb: time stamp 2007-11-01 00:00:56 is 36.332029 s in the future
/bin/tar: etc/samba: time stamp 2008-05-20 11:20:51 is 17407231.331716 s in the future
/bin/tar: etc/ftpusers: time stamp 2008-03-24 18:44:31 is 12509051.331259 s in the future
/bin/tar: etc/group: time stamp 2008-03-24 18:44:31 is 12509051.330705 s in the future
/bin/tar: etc/gshadow: time stamp 2008-03-24 18:44:31 is 12509051.330075 s in the future
/bin/tar: etc/hosts: time stamp 2007-11-01 00:20:13 is 1193.329389 s in the future
/bin/tar: etc/passwd: time stamp 2008-03-24 18:44:31 is 12509051.328669 s in the future
/bin/tar: etc/shadow: time stamp 2008-09-06 12:11:41 is 26827881.328116 s in the future
/bin/tar: etc/shadow.orig: time stamp 2008-03-24 18:44:31 is 12509051.327628 s in the future
/bin/tar: modules/webaxs/etc/usbshare.pl: time stamp 2008-07-18 10:09:23 is 22500543.326939 s in the future
/bin/tar: modules/webaxs/etc/webaxs.conf: time stamp 2007-11-01 00:19:58 is 1178.326429 s in the future
/bin/tar: modules/webaxs/etc: time stamp 2008-02-28 21:32:31 is 10359131.325995 s in the future
delete unnecessary samba lock files on /tmp/upconfig//etc/samba/lock...
tar: var/log/apache/error_log: time stamp 2007-11-01 00:20:28 is 1208.251145 s in the future
tar: var/log/apache/access_log: time stamp 2007-11-01 00:04:38 is 258.248363 s in the future
tar: var/log/apache: time stamp 2008-06-19 16:42:44 is 20018544.233282 s in the future
tar: var/log/cores/smbd: time stamp 2008-06-19 16:42:45 is 20018545.232114 s in the future
tar: var/log/cores/nmbd: time stamp 2008-06-19 16:42:46 is 20018546.2315 s in the future
tar: var/log/cores: time stamp 2008-06-19 16:42:46 is 20018546.231101 s in the future
tar: var/log/messages.1.gz: time stamp 2008-03-10 08:25:01 is 11262281.205542 s in the future
tar: var/log/backup.log.1.gz: time stamp 2008-03-10 08:25:01 is 11262281.20392 s in the future
tar: var/log/backup.log.4.gz: time stamp 2007-11-01 00:05:01 is 281.184026 s in the future
tar: var/log/messages: time stamp 2007-11-01 01:30:08 is 5388.13722 s in the future
tar: var/log/raidsync: time stamp 2007-11-01 00:23:12 is 1372.135399 s in the future
tar: var/log/file.smb: time stamp 2008-06-19 16:42:33 is 20018533.118114 s in the future
tar: var/log/backup.log.2.gz: time stamp 2007-11-01 00:10:01 is 581.115928 s in the future
tar: var/log/wtmp.2.gz: time stamp 2007-11-01 00:10:01 is 581.114324 s in the future
tar: var/log/wtmp.4.gz: time stamp 2007-11-01 00:05:02 is 282.112681 s in the future
tar: var/log/linkstation.log.2.gz: time stamp 2007-11-01 00:10:01 is 581.110904 s in the future
tar: var/log/cron.2.gz: time stamp 2007-11-01 00:10:01 is 581.109249 s in the future
tar: var/log/linkstation.log.1.gz: time stamp 2008-03-10 08:25:01 is 11262281.107408 s in the future
tar: var/log/messages.6.gz: time stamp 2008-08-31 11:20:01 is 26306381.104797 s in the future
tar: var/log/cron: time stamp 2007-11-01 01:30:01 is 5381.103032 s in the future
tar: var/log/wtmp.1.gz: time stamp 2008-03-10 08:25:01 is 11262281.101322 s in the future
tar: var/log/messages.2.gz: time stamp 2007-11-01 00:10:01 is 581.094004 s in the future
tar: var/log/linkstation.log.5.gz: time stamp 2008-08-31 11:20:01 is 26306381.092246 s in the future
tar: var/log/log.nmbd: time stamp 2007-11-01 00:26:14 is 1554.090151 s in the future
tar: var/log/wtmp: time stamp 2007-11-01 00:45:09 is 2689.086284 s in the future
tar: var/log/messages.4.gz: time stamp 2007-11-01 00:05:02 is 282.069044 s in the future
tar: var/log/linkstation.log.6.gz: time stamp 2008-08-31 11:20:01 is 26306381.067263 s in the future
tar: var/log/cron.1.gz: time stamp 2008-03-10 08:25:01 is 11262281.064164 s in the future
tar: var/log/cron.4.gz: time stamp 2007-11-01 00:05:01 is 281.056526 s in the future
tar: var/log/messages.5.gz: time stamp 2008-08-31 11:20:01 is 26306381.054113 s in the future
tar: var/log/linkstation.log.4.gz: time stamp 2007-11-01 00:05:02 is 282.052441 s in the future
tar: var/log/linkstation.log: time stamp 2007-11-01 01:30:08 is 5388.05072 s in the future
tar: var/log/backup.log: time stamp 2007-11-01 00:20:34 is 1214.048995 s in the future
tar: var/log/log.smbd: time stamp 2007-11-01 00:20:30 is 1210.044888 s in the future
tar: var/log: time stamp 2008-03-10 08:25:01 is 11262281.041919 s in the future
=== free_ramdisk.sh ===
/sbin/hotplug [block]
Successfully unmounted /dev/ram0
Successfully unmounted /dev/ram0
=== vm_tune.sh ===
** step2 **
=== EnablingAutoip.sh ===
=== usb.sh ===
/sbin/hotplug [module]
/sbin/hotplug [drivers]
usbcore: registered new driver usbfs
/sbin/hotplug [drivers]
usbcore: registered new driver hub
/sbin/hotplug [drivers]
/sbin/hotplug [module]
/sbin/hotplug [drivers]
ehci_platform ehci_platform.4523: EHCI Platform Host Controller
/sbin/hotplug [usb_host]
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
/sbin/hotplug [usb]
usb usb1: configuration #1 chosen from 1 choice
/sbin/hotplug [usb]
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
/sbin/hotplug [usb_device]
[/etc/hotplug.d/usb_device/buffalo.hotplug] usb_device
ehci_platform ehci_platform.16781: EHCI Platform Host Controller
/sbin/hotplug [usb_host]
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
/sbin/hotplug [usb]
usb usb2: configuration #1 chosen from 1 choice
/sbin/hotplug [usb]
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
/sbin/hotplug [usb_device]
[/etc/hotplug.d/usb_device/buffalo.hotplug] usb_device
/sbin/hotplug [drivers]
/sbin/hotplug [module]
Initializing USB Mass Storage driver...
/sbin/hotplug [drivers]
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
/sbin/hotplug [module]
/sbin/hotplug [drivers]
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
=== hotplug.sh ===
SUPPORT_DIRECT_COPY=on
*** /usr/local/bin/DirectCopy_wait.sh [stop]
cat: /var/run/DirectCopy_wait.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
Shutting down WebAccess services
killall: lighttpd: no process killed
WebAccess is OFF
=== networking.sh ===
create network files..
IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
killall: dhcpcd: no process killed
route: SIOC[ADD|DEL]RT: No such process
Configuration network interface: lo eth0
requesting DHCP  tout=30[s]
networking.sh: dhcp requesting...
DontDownIfaceeth0: link down

alwaysFork
sendto:  count 6   sync 1
eth0: link up<5>, full duplex<5>, speed 1 Gbps<5>
sendto:  count 5   sync 1
sendto:  count 4   sync 0
dhcpcd.exe: interface eth0 has been configured with old IP=192.168.2.45 GATEWAY=192.168.2.1
** networking.sh dhcp fin.
configure files from Buffalo parameters.
=== syslog.sh ===
Starting system logger: optarg:syslog
LoadConfFileString:key=[local_auth] not found in /etc/melco/info.
load_info ItemValue = off
LoadConfFileString:key=[ad_dns] not found in /etc/melco/info.
LoadConfFileOnOff:key=[info_visible] not found in /etc/melco/info.
LoadConfFileString:key=[array2] not found in /etc/melco/diskinfo.
LoadConfFileString:key=[usb_disk2] not found in /etc/melco/diskinfo.

Starting kernel logger: 
=== inetd.sh ===
Starting inetd:=== kernelmon.sh ===
Starting kernelmon:=== miconmon.sh ===
=== checkSysMd.sh ===
KERNELMOn (lanact 0 half)
/dev/md0
     Raid Level : raid1
KERNELMOn (lanact 1000 full)
** mdadm -a /dev/md0 /dev/sdb1
mdadm: Cannot open /dev/sdb1: No such device or address
/dev/md1
     Raid Level : raid1
** mdadm -a /dev/md1 /dev/sdb2
mdadm: Cannot open /dev/sdb2: No such device or address
/dev/md10
     Raid Level : raid1
** mdadm -a /dev/md10 /dev/sdb5
mdadm: Cannot open /dev/sdb5: No such device or address
=== start_data_array.sh ===
-- start data arrays --
-- rebuild mdadm.conf for md2,md3--
mdadm: cannot open /dev/disk2_6: No such device or address
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
mdadm: cannot open device /dev/disk2_6: No such device or address
mdadm: /dev/disk2_6 has wrong uuid.
mdadm: no RAID superblock on /dev/md2
mdadm: /dev/md2 has wrong uuid.
mdadm: no RAID superblock on /dev/md3
mdadm: /dev/md3 has wrong uuid.
mdadm: /dev/md2 assembled from 1 drive - not enough to start the array.
-- setup max error counts --
/sys/block/md2/md/maxerr_cnt is setted to -1
/sys/block/md3/md/maxerr_cnt is setted to -1
/sys/block/md4/md/maxerr_cnt is setted to -1
-- check /etc/melco/diskinfo and real RAID disks. --
RAID0 good
-- Mount local disks --
XFS: SB read failed
/sbin/hotplug [block]
mount: /dev/md2: can't read superblock
mdadm: md device /dev/md2 does not appear to be active.
skip diskomn...
=== check_shareinfo.sh ===
** spool array1
find: /mnt/array2: No such file or directory
find: /mnt/disk3: No such file or directory
find: /mnt/disk4: No such file or directory
** step3 **
=== diskmon.sh ===
skip diskomn...
=== drivecheck.sh ===
=== ftpd.sh ===
ftp is OFF
=== atalk.sh ===
atalk is OFF
=== httpd.sh ===
start
Starting HTTPD services: /usr/local/apache/bin/apachectl start: httpd started

=== smb.sh ===
configure samba
optarg:samba
LoadConfFileString:key=[local_auth] not found in /etc/melco/info.
load_info ItemValue = off
LoadConfFileString:key=[ad_dns] not found in /etc/melco/info.
LoadConfFileOnOff:key=[info_visible] not found in /etc/melco/info.
LoadConfFileString:key=[array2] not found in /etc/melco/diskinfo.
LoadConfFileString:key=[usb_disk2] not found in /etc/melco/diskinfo.
LoadConfFileString:key=[msdfs_link1_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link2_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link3_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link4_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link5_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link6_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link7_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link8_unc1] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link9_name] not found in /etc/melco/msdfs.
file:/etc/samba/smb.conf
>IconvCodeCharset CodePage=0,charset=CP932
buf=array1=raid0

GetSpoolDirectory> returning devicename [/mnt/array1]
file:/etc/pam_smb.conf
Setting up msdfs symbolic links... [Failed ]
Starting SMB services: 
Starting NMB services: 
=== clientUtil_servd.sh ===
Starting clientUtil_server:starting on eth0
=== bonjour.sh ===
Starting Bonjour services: done
=== lsprcvd.sh ===
Starting lsprcvd:=== daemonwatch.sh ===
Starting daemonwatch:daemonwatch Ver.1.01
watch list file : /etc/daemonwatch.list
=== cron.sh ===
Start services: crond=== checkconfig.sh ===
=== ups.sh ===
err: 
err: 
=== pwrmgr.sh ===
Starting pwrmgr: 
Shutting down pwrmgr: 

Starting pwrmgr: 
** step4 **
=== modules.sh ===

Starting module subsystem ...
Starting module webaxs ...             [Success.]
=== itunes.sh ===
=== lprng.sh ===
clearing printer queue
Printer 'lp@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
Printer 'lp-ps@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
/mnt/array1/spool/samba created
/mnt/array1/spool/lp created
Start services: lpd
=== ltbootd.sh ===
Starting services: rarpd tftpd rarpcfgd fwupdated.
=== pmcd.sh ===
=== twonky.sh ===
=== bootcomplete.sh ===
** step final(after bootcomplete) **
=== hdd_late_check.sh ===
/var/tmp/need_bootup_check exist!
errormon ver.1.01(BuildDate Jul 15 2008 15:16:01 compiled for LS-WSGL Series) Started
skip diskomn...
Stopping :/etc/init.d/twonky.sh ...    [Success.]
Stopping :/etc/init.d/itunes.sh ...    [Success.]
Stopping :/etc/init.d/ftpd.sh ...      [Failed. ]
Stopping :/etc/init.d/atalk.sh ...     /sbin/hotplug [module]
/sbin/hotplug [module]
/sbin/hotplug [module]
[Success.]
Stopping :/etc/init.d/smb.sh ...       [Failed. ]
Stopping :/etc/init.d/lprng.sh ...     clearing printer queue
clearing printer queue
[Success.]
BuffaloSwPollingCheck> SW_POWER_ON
KERNELMOn (PSW_on)
******Selected device=/dev/md2 xfs ******
******umount (mount dir=/mnt/array1)******
umount2: Invalid argument
umount: /mnt/array1: Illegal seek
******failed******
Shutting down pwrmgr: 

skip diskomn...
umount2: Invalid argument
umount: /mnt/array1: Illegal seek
******failed******
umount2: Invalid argument
umount: /mnt/array1: Illegal seek
******failed******
******Check start xfs /dev/md2 ******
0+0 records in
0+0 records out
******success******
XFS: SB read failed
/sbin/hotplug [block]
mount: /dev/md2: can't read superblock
******failed******
Starting :/etc/init.d/ftpd.sh ...      [Success.]
Starting :/etc/init.d/atalk.sh ...     [Success.]
Starting :/etc/init.d/smb.sh ...       [Success.]
Starting :/etc/init.d/lprng.sh ...     clearing printer queue
[Success.]
Starting :/etc/init.d/twonky.sh ...    [Failed. ]
Starting :/etc/init.d/itunes.sh ...    skip diskomn...
[Failed. ]
******success******
1+0 records in
1+0 records out
No new disks.
=== check_initialization.sh ===
bootarg "func" is disabled.
=== usb_late_check.sh ===
Starting pid 2324, console /dev/ttyS0: '/sbin/getty'
*** /usr/local/bin/DirectCopy_wait.sh [start]

BUFFALO INC. LinkStation series 
LS-WSGL678 login: 1 USB_DEVICE=none
2 USB_DEVICE=none
3 USB_DEVICE=none
4 USB_DEVICE=none
5 USB_DEVICE=none

BUFFALO INC. LinkStation series 
LS-WSGL678 login: 
とりあえず立ち上がってきた。
It boot up.

RAID の状態を見てみる
Checking the raid status.

LS-WSGL678 login: root
root@LS-WSGL678:~# mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.03
  Creation Time : Thu Jun 19 16:33:50 2008
     Raid Level : raid1
     Array Size : 1003904 (980.54 MiB 1028.00 MB)
    Device Size : 1003904 (980.54 MiB 1028.00 MB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Nov  1 00:00:21 2007
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : adbe578f:b86ab25a:09937ff0:e2de4343
         Events : 0.1108

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1       8        1        1      active sync   /dev/sda1
root@LS-WSGL678:~# mdadm -D /dev/md1
/dev/md1:
        Version : 00.90.03
  Creation Time : Thu Jun 19 16:33:51 2008
     Raid Level : raid1
     Array Size : 5004160 (4.77 GiB 5.12 GB)
    Device Size : 5004160 (4.77 GiB 5.12 GB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Thu Nov  1 00:05:18 2007
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : db218435:100e25e7:d2ba170f:d67ec206
         Events : 0.13348

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1       8        2        1      active sync   /dev/sda2
root@LS-WSGL678:~# mdadm -D /dev/md10
/dev/md10:
        Version : 00.90.03
  Creation Time : Thu Jun 19 16:33:54 2008
     Raid Level : raid1
     Array Size : 1003904 (980.54 MiB 1028.00 MB)
    Device Size : 1003904 (980.54 MiB 1028.00 MB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 10
    Persistence : Superblock is persistent

    Update Time : Thu Nov  1 02:02:07 2007
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : ba25aab6:f1bb3eab:c75c26a7:a754b72a
         Events : 0.18

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1       8        5        1      active sync   /dev/sda5
root@LS-WSGL678:~# mdadm -D /dev/md2
mdadm: md device /dev/md2 does not appear to be active.
root@LS-WSGL678:~# 
sdb は全部 "removed".リビルドもされていない
sdb are all "removed" and does not re-builded.
パーティションをきっていなかったから?
create partisions are needed?

LinkStation Mini
LS-WSGL
楽天市場
Amazon
Yahoo!ショッピング
Livedoor デパート
Sofmap
TSUKUMO ネットショップ
ムラウチドットコム
ヤマダ電機WEB
パソQ


HDD 1台でブート / boot with single hard drive
ハックの記録
LinkStation/玄箱 をハックしよう

パーティションをきる / partisioning

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