SATA1 に HDD を接続して起動

LS-SL

空いている SATA1 にパーティションを削除した HDD を接続して 起動して見た。
Orion1   CPU =  Low

Checking DATA BUS
Checking ADDRESS BUS

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


U-Boot 1.1.1 (May 28 2009 - 11:06:21) Marvell version: 1.12.1 - TINY
U-Boot code: 00600000 -> 00639A58  BSS: -> 00641B24
Buffalo Version: 1.23-1.00

DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB
[256kB@fffc0000] Flash: 256 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): 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 WD5000BEVT-00ZAT0                    Firm: 01.01A01 Ser#:      WD-WX50A79U4140
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
  Device 1: OK
Model: Maxtor 6L200M0                           Firm: BANC1G10 Ser#: L40PVARG   
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 194481.0 MB = 189.9 GB (398297088 x 512)


2120012 bytes read
   Image Name:   Linux-2.6.22.7
   Created:      2009-06-14  13:44:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2119948 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
U-Boot は認識している
8937716 bytes read
   Image Name:   initrd
   Created:      2009-06-14  13:46:10 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8937652 Bytes =  8.5 MB
   Load Address: 00000000
   Entry Point:  00000000
** Bad partition 1 **
serch_boot_drv (194)>No kernel_file 1
** Bad partition 1 **
serch_boot_drv (249)>No init_file 1
Booting from Device 0
パーティションが削除してあるので、 エラーになって当然
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
Hit any key to stop autoboot:  0

2120012 bytes read
** Bad partition 1 **
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.22.7
   Created:      2009-06-14  13:44:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2119948 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initrd
   Created:      2009-06-14  13:46:10 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8937652 Bytes =  8.5 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.23
CONFIG_BUFFALO_PLATFORM ---
Uncompressing Linux..................................................................................................................................... done, booting the kernel.
Linux version 2.6.22.7 (root@build2.dd-hot24.nas.buffalo.local) (gcc version 4.2.0 20070413 (prerelease)) #436 Sun Jun 14 22:44:37 JST 2009
CPU: ARM926EJ-S [41069260] revision 0 (ARMv5TEJ), cr=a0053177
Machine: Feroceon
Using UBoot passing parameters structure
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.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 func=0 BOOTVER=1.23
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
Memory: 110136KB available (3832K code, 294K data, 120K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
env_format_version = 0x00000006
product_id = 0x00000013
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
Time: orion_clocksource clocksource has been installed.
NET: Registered protocol family 2
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: 15360K
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     WDC      WD5000BEVT-00ZAT 01.0 PQ: 0 ANSI: 5
scsi 1:0:0:0: Direct-Access     Maxtor   6L200M0          BANC PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sda: sda1 sda2 sda3 sda4 sda5 sda6
sd 0:0:0:0: [sda] Attached SCSI disk
sd 1:0:0:0: [sdb] 398297088 512-byte hardware sectors (203928 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 1:0:0:0: [sdb] 398297088 512-byte hardware sectors (203928 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sdb:
sd 1:0:0:0: [sdb] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
カーネルも問題なく認識している
physmap platform flash device: 01000000 at f0000000
physmap-flash physmap-flash.0: map_probe failed
Found: SST 39LF020
cfi_flash_0: 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
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     20 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).
---- in linuxrc ---
Version 1.00 2008/ 7/ 1
grep: /var/tmp/devlink: No such file or directory
Mon Nov  2 23:07:09 JST 2009
CheckDevices
grep: /var/tmp/devlink: No such file or directory
linuxrc:choose operation (timeout 4[s])
 1:RamRoot other:HddRoot  ? -HddRoot-
-- rebuild mdadm.conf for BOOT, ROOTFS --
md: md10 stopped.
mdadm: /dev/diskmd: md1 stopped.
1_1 has wrong uuid.
mdadm: no devices found for /dev/md10
md: md0 stopped.
mdadm: /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) ...         [Failed. ]
Starting :fsck_disks(rootfs) ...       [Success.]
Starting :mount(boot) ...              kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
[Success.]
Starting :umount(boot) ...             [Success.]
-- rebuild mdadm.conf for BOOT, ROOTFS --
md: md10 stopped.
mdadm: cannot open device /dev/disk1_1: Device or resource busy
mdadm: /dev/disk1_1 has wrong uuid.
mdadm: /demd: bind<sda5>
v/disk1_2 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
Filesystem "md1": Disabling barriers, not supported by the underlying device
XFS mounting filesystem md1
PRODUCTID=0x00000013 PRODUCTID=0x00000000
-- CopyFromInitrdToHdd --
.........Finish

umount: cannot open /proc/mounts
Filesystem "md1": Disabling barriers, not supported by the underlying device
XFS mounting filesystem md1
VFS: Mounted root (xfs filesystem).
Trying to move old root to /initrd ... okay
Freeing init memory: 120K
init started: BusyBox v1.7.0 (2007-10-15 19:49:46 IST)
starting pid 520, tty '': '/etc/init.d/rcS'
--- rcStart (hddroot) ---
Mon Nov  2 23:07:19 JST 2009
** step1 **
=== checkroot.sh ===
grep: /var/tmp/devlink: No such file or directory
Filesystem "md1": Disabling barriers, not supported by the underlying device
mount: mounting /dev/root on / failed: No such file or directory
ln: /var/spool/cron/cron: File exists
grep: /var/tmp/devlink: No such file or directory
Adding 999864k swap on /dev/md10.  Priority:-1 extents:1 across:999864k
=== procps.sh ===
=== devpts.sh ===
=== sethostname.sh ===
configure files from Buffalo parameters.
=== restore_config.sh ===
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Update configuration files
Restore previous configuration files
delete unnecessary samba lock files on /tmp/upconfig//etc/samba/lock...
=== free_ramdisk.sh ===
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 interface driver usbfs
/sbin/hotplug [drivers]
usbcore: registered new interface driver hub
/sbin/hotplug [drivers]
usbcore: registered new device driver usb
/sbin/hotplug [module]
/sbin/hotplug [drivers]
ehci_marvell ehci_marvell.4523: Marvell Orion EHCI
/sbin/hotplug [usb_host]
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
/sbin/hotplug [usb]
/sbin/hotplug [usb_endpoint]
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_endpoint]
/sbin/hotplug [usb_device]
[/etc/hotplug.d/usb_device/buffalo.hotplug] usb_device
ehci_marvell ehci_marvell.167817: Marvell Orion EHCI
/sbin/hotplug [usb_host]
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
/sbin/hotplug [usb]
/sbin/hotplug [usb_endpoint]
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_endpoint]
/sbin/hotplug [usb_device]
[/etc/hotplug.d/usb_device/buffalo.hotplug] usb_device
/sbin/hotplug [drivers]
/sbin/hotplug [module]
/sbin/hotplug [drivers]
/sbin/hotplug [module]
USB Universal Host Controller Interface driver v3.0
/sbin/hotplug [drivers]
/sbin/hotplug [module]
Initializing USB Mass Storage driver...
/sbin/hotplug [drivers]
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
/sbin/hotplug [module]
/sbin/hotplug [drivers]
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
=== hotplug.sh ===
*** /usr/local/bin/DirectCopy_wait.sh [stop]
cat: can't open '/var/run/DirectCopy_wait.pid': No such file or directory
=== networking.sh ===
/etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-eth0.pid eth0
/etc/init.d/networking.sh : Read dhcpc file eth0
/etc/init.d/networking.sh : configure : eth0
create network files.. (eth0)
IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
/etc/init.d/networking.sh : Delete /etc/dhcpc/dhcpcd-eth0.pid
route: SIOCDELRT: No such process
Configuration network interface: eth0
/sbin/ifconfig eth0 mtu 1500 multicast
/etc/init.d/networking.sh: line 373: /proc/sys/net/ipv4/conf/eth1/arp_ignore: No such file or directory
requesting DHCP  tout=30[s]
networking.sh: dhcp requesting...
DontDownIfaceeth reg(9) val=0x0300
eth0: link down

alwaysFork
eth0: link up, full duplex, speed 1 Gbps
sendto:  count 6   sync 1
sendto:  count 5   sync 0
dhcpcd.exe: interface eth0 has been configured with old IP=192.168.2.207 GATEWAY=192.168.2.1
** eth0 : networking.sh dhcp fin.
configure files from Buffalo parameters.
=== update_ntp.sh ===
/etc/init.d/update_ntp.sh: line 17: /usr/local/bin/time_set.sh: No such file or directory
=== syslog.sh ===
Starting system logger:
Starting kernel logger:
=== network_control.sh ===
=== inetd.sh ===
Starting inetd:=== errormon.sh ===
Starting errormon:errormon ver.1.01(BuildDate Jun 12 2009 13:30:29 compiled for BUFFALO NAS Series) Started
=== kernelmon.sh ===
Starting kernelmon:=== miconmon.sh ===
=== checkSysMd.sh ===
KERNELMOn (lanact 0 half)
/dev/md0
KERNELMOn (lanact 1000 full)
     Raid Level : raid1
** skipping mdadm -a /dev/md0 /dev/sdb1, because its status is remove_removed
/dev/md1
     Raid Level : raid1
/etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-eth0.pid eth0
/etc/init.d/networking.sh : Read dhcpc file eth0
** skipping mdadm -a /dev/md1 /dev/sdb2, because its status is remove_removed
/dev/md10
     Raid Level : raid1
** skipping mdadm -a /dev/md10 /dev/sdb5, because its status is remove_removed
パーティションがないので、エラーになっている。
パーティションをあらかじめ作っておけば自動的に rebuild される???
=== start_data_array.sh ===
-- start data arrays --
-- rebuild mdadm.conf for md2,md3--
/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: No arrays found in config file
-- 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. --
RAID is not normal. rebuild /etc/melco/diskinfo file.
mdadm: No arrays found in config file
-- Mount local disks --
XFS mounting filesystem sda6
mount: mounting /dev/disk2_6 on /mnt/disk2 failed: No such file or directory
mount: mounting /dev/disk2_6 on /mnt/disk2 failed: No such file or directory
mount success in non quota mode.
mount: mounting /dev/disk2_6 on /mnt/disk2 failed: No such file or directory
mount: mounting /dev/disk2_6 on /mnt/disk2 failed: No such file or directory
Can't mount /dev/disk2_6 to /mnt/disk2
パーティションがないのでエラー
=== set_quota.sh ===
** step3 **
=== diskmon.sh ===
=== drivecheck.sh ===
=== ftpd.sh ===
ftp is OFF
=== atalk.sh ===
atalk is OFF
=== httpd.sh ===
start
Starting HTTPD services: cat: can't open '/etc/apache/server.key': No such file or directory
cat: can't open '/etc/apache/server.crt': No such file or directory

2009-11-02 23:08:06: (configfile.c.901) opening configfile  /etc/buffalo-web_https.conf failed: No such file or directory

=== smb.sh ===
configure 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=off

buf=disk1=normal

GetSpoolDirectory> returning devicename [/mnt/disk1]
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: crondlogrotate state -- version 2
=== 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 ===
/mnt/disk1/spool/samba created
/mnt/disk1/spool/lp created
Start services: lpd
/etc/init.d/lprng.sh: line 129: /usr/local/sbin/lprmd: No such file or directory
=== ltbootd.sh ===
Starting services: rarpd tftpd rarpcfgd fwupdated.
=== pmcd.sh ===
=== webaxs.sh ===
WebAccess is OFF
=== twonky.sh ===
TwonkyMedia Version 4.4.8
LOG_SYSTEM: reading ini file: "/usr/local/twonky/twonkyvision-mediaserver.ini".
/mnt/disk1/share%HOSTNAME%: LinkStationjpbittorrent is off
=== bootcomplete.sh ===
** step final(after bootcomplete) **
=== hdd_late_check.sh ===
/var/tmp/need_bootup_check exist!
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]
NET: Registered protocol family 5
[Success.]
Stopping :/etc/init.d/smb.sh ...       [Failed. ]
Stopping :/etc/init.d/lprng.sh ...     [Success.]
Stopping :/etc/init.d/bittorrent.sh ...KERNELMOn (PSW_on)
[Success.]
Shutting down pwrmgr:

******Selected device=/dev/disk2_6 xfs ******
******umount (mount dir=/mnt/disk2)******
umount: forced umount of /mnt/disk2 failed!
umount: cannot umount /mnt/disk2: Invalid argument
******failed******
umount: forced umount of /mnt/disk2 failed!
umount: cannot umount /mnt/disk2: Invalid argument
******failed******
umount: forced umount of /mnt/disk2 failed!
umount: cannot umount /mnt/disk2: Invalid argument
******failed******
******Check start xfs /dev/disk2_6 ******
dd: can't open '/dev/disk2_6': No such file or directory
エラー
******success******
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 ...     [Success.]
Starting :/etc/init.d/bittorrent.sh ...[Success.]
Starting :/etc/init.d/twonky.sh ...    [Failed. ]
Starting :/etc/init.d/itunes.sh ...    [Failed. ]
******success******
1+0 records in
1+0 records out
No new disks.
=== check_initialization.sh ===
bootarg "func" is disabled.
=== usb_late_check.sh ===
err:
starting pid 3282, tty '': '/sbin/getty'
nothing to delete
*** /usr/local/bin/DirectCopy_wait.sh [start]
err:

BUFFALO INC. LinkStation series
LS-SL807 login: err:
1 USB_DEVICE=none
err:
2 USB_DEVICE=none
3 USB_DEVICE=none
4 USB_DEVICE=none
5 USB_DEVICE=none
/usr/local/sbin/diskmon_exec.sh: line 425: /proc/buffalo/gpio/led/pm_diag_led0: No such file or directory
/usr/local/sbin/diskmon_exec.sh: line 423: /proc/buffalo/gpio/led/pm_diag_led1: No such file or directory

BUFFALO INC. LinkStation series
LS-SL807 login: 
とりあえず起動してきたが、ErrorLED が E22 を示している。 マウントエラー、「ハードウェアに異常が発生しました。 修理センターに修理をご依頼ください。」

md の様子を見る

BUFFALO INC. LinkStation series
LS-SL807 login: root
No mail.
root@LS-SL807:~# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sda2[0]
      4999936 blocks [2/1] [U_]

md10 : active raid1 sda5[0]
      999872 blocks [2/1] [U_]

md0 : active raid1 sda1[0]
      999872 blocks [2/1] [U_]

unused devices: 
root@LS-SL807:~#
リビルドしている様子はない。

標準ファームの管理画面

管理画面では認識している。

追加した HDD を選択して、フォーマットしてみる

確認番号を入れると、フォーマットが始まった。

シリアルコンソールでは、

root@LS-SL807:~# err:
err:
err:

root@LS-SL807:~#
root@LS-SL807:~# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sda2[0]
      4999936 blocks [2/1] [U_]

md10 : active raid1 sda5[0]
      999872 blocks [2/1] [U_]

md0 : active raid1 sda1[0]
      999872 blocks [2/1] [U_]

unused devices: 
root@LS-SL807:~# pasd 1:0:0:0: [sdb] 398297088 512-byte hardware sectors (203928 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sdb:
r
root@LS-SL807:~# /sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
/sbin/hotplug [block]
cat /proc/mdstat
md: bind
RAID1 conf printout:
 --- wd:1 rd:2
 disk 0, wo:0, o:1, dev:sda1
 disk 1, wo:1, o:1, dev:sdb1
Personalities : [raid0] [raid1] md: recovery of RAID array md0
[raid6] [raid5] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[raid4]
md1 : md: using maximum available idle IO bandwidth (but not more than 50000 KB/sec) for recovery.
active raid1 sdamd: using 128k window, over a total of 999872 blocks.
2[0]
      4999936 blocks [2/1] [U_]

md10 : active raid1 sda5[0]
      999872 blocks [2/1] [U_]

md0 : active raid1 sdb1[2] sda1[0]
      999872 blocks [2/1] [U_]

unused devices: 
root@LS-SL807:~# md: bind
RAID1 conf printout:
 --- wd:1 rd:2
 disk 0, wo:0, o:1, dev:sda2
 disk 1, wo:1, o:1, dev:sdb2
md: delaying recovery of md1 until md0 has finished (they share one or more physical units)
md: bind
RAID1 conf printout:
 --- wd:1 rd:2
 disk 0, wo:0, o:1, dev:sda5
 disk 1, wo:1, o:1, dev:sdb5
md: delaying recovery of md10 until md0 has finished (they share one or more physical units)
SetDiskSignatureInfo
TARGET_DEVICE=/dev/disk2
REAL_DEVICE=disk2
TARGET_IN=disk2
ENCRYPTED=no
md: delaying recovery of md1 until md10 has finished (they share one or more physical units)
KERNELMOn (raidrecovery 0 1 1 1 8 17)
GetDisknoFromMinor(17)
cp: cannot stat '/var/log/raidsync': No such file or directory
grep: /tmp/raidsync.sync: No such file or directory

root@LS-SL807:~#
root@LS-SL807:~#
root@LS-SL807:~#
root@LS-SL807:~# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sdb2[2] sda2[0]
      4999936 blocks [2/1] [U_]
        resync=DELAYED

md10 : active raid1 sdb5[2] sda5[0]
      999872 blocks [2/1] [U_]
        resync=DELAYED

md0 : active raid1 sdb1[2] sda1[0]
      999872 blocks [2/1] [U_]
      [>....................]  recovery =  2.9% (30080/999872) finish=4.7min speed=3343K/sec

unused devices: 
root@LS-SL807:~# XFS mounting filesystem sdb6
XFS quotacheck sdb6: Please wait.
XFS quotacheck sdb6: Done.

root@LS-SL807:~# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sdb2[2] sda2[0]
      4999936 blocks [2/1] [U_]
        resync=DELAYED

md10 : active raid1 sdb5[2] sda5[0]
      999872 blocks [2/1] [U_]
        resync=DELAYED

md0 : active raid1 sdb1[2] sda1[0]
      999872 blocks [2/1] [U_]
      [==================>..]  recovery = 94.1% (942848/999872) finish=0.0min speed=32508K/sec

unused devices: 
root@LS-SL807:~# md: md0: recovery done.
md: delaying recovery of md1 until md10 has finished (they share one or more physical units)
md: recovery of RAID array md10
md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
md: using maximum available idle IO bandwidth (but not more than 50000 KB/sec) for recovery.
md: using 128k window, over a total of 999872 blocks.
RAID1 conf printout:
 --- wd:2 rd:2
 disk 0, wo:0, o:1, dev:sda1
 disk 1, wo:0, o:1, dev:sdb1
KERNELMOn (raidrecovery 0 0 0 1 8 17)
GetDisknoFromMinor(17)
KERNELMOn (raidrecovery 10 1 1 1 8 21)
GetDisknoFromMinor(21)
md: md10: recovery done.
md: recovery of RAID array md1
md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
md: using maximum available idle IO bandwidth (but not more than 50000 KB/sec) for recovery.
md: using 128k window, over a total of 4999936 blocks.
RAID1 conf printout:
 --- wd:2 rd:2
 disk 0, wo:0, o:1, dev:sda5
 disk 1, wo:0, o:1, dev:sdb5
KERNELMOn (raidrecovery 10 0 0 1 8 21)
GetDisknoFromMinor(21)
KERNELMOn (raidrecovery 1 1 1 1 8 18)
GetDisknoFromMinor(18)
md: md1: recovery done.
RAID1 conf printout:
 --- wd:2 rd:2
 disk 0, wo:0, o:1, dev:sda2
 disk 1, wo:0, o:1, dev:sdb2
KERNELMOn (raidrecovery 1 0 0 1 8 18)
GetDisknoFromMinor(18)
err:
err:
err:
err:
err:
err:
err:
err:
/usr/local/sbin/diskmon_exec.sh: line 425: /proc/buffalo/gpio/led/pm_diag_led0: No such file or directory
/usr/local/sbin/diskmon_exec.sh: line 425: /proc/buffalo/gpio/led/pm_diag_led1: No such file or directory

root@LS-SL807:~# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sdb2[1] sda2[0]
      4999936 blocks [2/2] [UU]

md10 : active raid1 sdb5[1] sda5[0]
      999872 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
      999872 blocks [2/2] [UU]

unused devices: 
root@LS-SL807:~#
無事、RAID1 になったようだ。

ところが、管理画面は、、、

のまま。

更新をクリックすると、

OK をクリックして、再度ログインすると、 無事 HDD が見えた。

ということで、HDD を追加してフォーマットするだけで RAID 機に早変わり。 LS-QL/1D と同じ感覚。



LS-SL
楽天市場




K-OF 1日目
ハックの記録
LinkStation/玄箱 をハックしよう

複製した HDD から起動

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