BUFFALO INC. LinkStation series HS-DHGL(JINMU)
写真を参考にして、AirMacとkuroproとをつなぐ。
AirMacで「ターミナル」を起動。
kuropro(HS-DHGL)のシリアルスピードは115200bpsだから、
% cu -l '/dev/cu.I-O DATA USB-RSAQ5' -s 115200
を実行する。
実際にやってみたら、こう出た。
気になるのはこの箇所。
** Bad partition 1 **
|
bash-3.2# (LANG=C ; date)
Mon Jan 4 16:29:19 JST 2010
bash-3.2# cu -l '/dev/cu.I-O DATA USB-RSAQ5' -s 115200
Connected.
Orion1 CPU = Low
=== BUFFALO LS-GL U-Boot. ===
** LOADER **
** BUFFALO BOARD: BUFFALO_BOARD_LS_GL LE (CFG_ENV_ADDR=fffff000)
U-Boot 1.1.1 (Apr 18 2007 - 18:35:44) Marvell version: 1.12.1 - TINY
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB
[256kB@fffc0000] [0kB@f8000000] ## Unknown FLASH at f8000000: Size = 0x00000000 = 0 MB
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
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: egiga0 [PRIME]
Using 88E1118 phy
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: Maxtor 6Y160M0 Firm: YAR51HW0 Ser#: Y454ZTME
Type: Hard Disk
Supports 48-bit addressing
Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)
Using device ide0, partition 1
Loading from block device ide device 0, partition 1: Name: hda1
Type: U-Boot File:/initrd.buffalo
4956390 bytes read
Using device ide1, partition 1
** Bad partition 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
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: Maxtor 6Y160M0 Firm: YAR51HW0 Ser#: Y454ZTME
Type: Hard Disk
Supports 48-bit addressing
Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)
Using device ide0, partition 1
Loading from block device ide device 0, partition 1: Name: hda1
Type: U-Boot File:/uImage.buffalo
1834900 bytes read
Using device ide1, partition 1
** Bad partition 1 **
<>
## Booting image at 00100000 ...
Image Name: Linux-2.6.16.16-arm1
Created: 2008-10-01 1:59:41 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1834836 Bytes = 1.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
Image Name: initrd
Created: 2009-01-25 14:01:49 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4956326 Bytes = 4.7 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 BOOTVER=1.10
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSGL ---
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)) #69 Wed Oct 1 10:59:37 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 BOOTVER=1.10
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: 110492KB available (3141K code, 539K data, 108K 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 = 12
Flash bankwidth 1, base ff800000, size 400000
BUFFALO LS_GL FLASH size 4096[KB]
Marvell Development Board (LSP Version 1.7.8_NAS)-- BUFFALO_BOARD_LS_GL
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
usbcore: registered new driver usbfs
usbcore: registered new driver hub
use IDMA acceleration in copy to/from user buffers. used channels 2 and 3
Done.
cesadev_init(c0011314)
mvCesaInit: sessions=640, queue=32, pSram=f0000000
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
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] **
Vendor: Maxtor Model: 6Y160M0 Rev: YAR5
Type: Direct-Access ANSI SCSI revision: 03
Linux IAL (ERROR) : retry command host=0, bus=0 SCpnt = c147bba0
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
physmap flash device: 400000 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
ehci_platform ehci_platform.4523: EHCI Platform Host Controller
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
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Platform Host Controller
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
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.3
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 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
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
---- in modified linuxrc (KAMII) START ---
Mon Jan 4 16:30:41 JST 2010
err: >AnalyzeRecvPacket:This is invalid RespCode.(code=244)
CheckDevices
linuxrc:choose operation (timeout 4[s])
1:RamRoot other:HddRoot ? -HddRoot-
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
XFS mounting filesystem sda2
Starting XFS recovery on filesystem: sda2 (logdev: internal)
Ending XFS recovery on filesystem: sda2 (logdev: internal)
PRODUCTID(PRDI1) /proc/buffalo/firmware = PRODUCTID=0x0000000A
PRODUCTID(PRDI2) /mnt/etc/linkstation_release = PRODUCTID=0x0000000A
KERNEL:2008/10/1 10:59:35
HDD:2008/10/1 11:0:22
KERNEL:2008/10/1 10:59:50
HDD:2008/10/1 11:0:22
-- CopyFromInitrdToHdd --
== fsck_disks ==
e2fsck 1.27 (8-Mar-2002)
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
/dev/ls_disk1_1: 39/74296 files (28.2% non-contiguous), 61540/297171 blocks
4+0 records in
4+0 records out
XFS mounting filesystem sda2
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
- agno = 11
- agno = 12
- agno = 13
- agno = 14
- agno = 15
- agno = 16
- agno = 17
- agno = 18
- agno = 19
- agno = 20
- agno = 21
- agno = 22
- agno = 23
- agno = 24
- agno = 25
- agno = 26
- agno = 27
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
- clear lost+found (if it exists) ...
- clearing existing "lost+found" inode
- marking entry "lost+found" to be deleted
- check for inodes claiming duplicate blocks...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
- agno = 11
- agno = 12
- agno = 13
- agno = 14
- agno = 15
- agno = 16
- agno = 17
- agno = 18
- agno = 19
- agno = 20
- agno = 21
- agno = 22
- agno = 23
- agno = 24
- agno = 25
- agno = 26
- agno = 27
Phase 5 - rebuild AG headers and trees...
- reset superblock...
Phase 6 - check inode connectivity...
- resetting contents of realtime bitmap and summary inodes
- ensuring existence of lost+found directory
- traversing filesystem starting at / ...
rebuilding directory inode 128
- traversal finished ...
- traversing all unattached subtrees ...
- traversals finished ...
- moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
XFS mounting filesystem sda2
VFS: Mounted root (xfs filesystem).
Trying to move old root to /initrd ... /initrd does not exist. Ignored.
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing init memory: 108K
init started: BusyBox v1.1.1 (2008.03.07-05:17+0000) multi-call binary
Starting pid 286, console /dev/ttyS0: '/etc/init.d/rcS'
--- rcStart (hddroot) ---
mkdir: Cannot create directory `/sys': File exists
Mon Jan 4 16:31:26 JST 2010
** step1 **
===== exec:checkroot.sh =====
mount: /dev/pts already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts
mkdir: Cannot create directory `/var/lock': File exists
ln: /var/spool/cron/cron: File exists
rm: /var/lock/perfmon: is a directory
rm: /var/lock/printing: is a directory
rm: /var/lock/subsys: is a directory
Adding 1004020k swap on /dev/ls_disk1_5. Priority:-1 extents:1 across:1004020k
===== exec:create_devlink.sh =====
===== exec:procps.sh =====
===== exec:devpts.sh =====
===== exec:sethostname.sh =====
configure files from Buffalo parameters.
===== exec:restore_config.sh =====
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
/sbin/hotplug [block]
Update configuration files
Restore previous configuration files
/etc/init.d/restore_config.sh: line 398: [: missing `]'
===== exec:exp_firm_nvram.sh =====
not expansion firmware
** step2 **
===== exec: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
eth0: link up<5>, full duplex<5>, speed 1 Gbps<5>
sendto: count 6 sync 1
sendto: count 5 sync 0
dhcpcd.exe: interface eth0 has been configured with old IP=192.168.0.27 GATEWAY=192.168.0.4
** networking.sh dhcp fin.
configure files from Buffalo parameters.
===== exec: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.
Starting kernel logger:
===== exec:inetd.sh =====
Starting inetd:===== exec:kernelmon.sh =====
Starting kernelmon:===== exec:miconmon.sh =====
/usr/local/sbin/kernelmon: line 10: /usr/local/bin/kernelmon_exec.sh: No such file or directory
/usr/local/sbin/kernelmon: line 10: /usr/local/bin/kernelmon_exec.sh: No such file or directory
err: argCmd: invalid command. (usb_set_power)
miconmon 1.00b3 started (Builddate Feb 13 2007 19:24:56)
===== exec:mount_share.sh =====
/etc/init.d/mount_share.sh: line 482: [: -eq: unary operator expected
XFS mounting filesystem sda6
Starting XFS recovery on filesystem: sda6 (logdev: internal)
Ending XFS recovery on filesystem: sda6 (logdev: internal)
/sbin/hotplug [block]
share
afp-share
mkdir: Cannot create directory `/mnt/disk1//spool': File exists
mkdir: Cannot create directory `/mnt/disk1//spool/lp': File exists
mkdir: Cannot create directory `/mnt/disk1//spool/samba': File exists
mkdir: Cannot create directory `/mnt/disk1//spool/mac': File exists
===== exec:diskmon.sh =====
diskmon ver.1.01
===== exec:errormon.sh =====
f_type=0x58465342
total_size=127931052032 free_byes=125114015744
Starting errormon:errormon ver.1.00b5(BuildDate Sep 11 2008 17:51:22) Started
===== exec:hotplug.sh =====
ls: /proc/scsi/usb-storage/: No such file or directory
===== exec:ups =====
** step3 **
===== exec:recover_shareinfo.sh =====
find: /mnt/array1: No such file or directory
find: /mnt/array2: No such file or directory
** share disk1
** spool disk1
** mt-daapd disk1
** mediaserver disk1
** afp-share disk1
find: /mnt/disk2: No such file or directory
find: /mnt/disk3: No such file or directory
find: /mnt/disk4: No such file or directory
===== exec:micon_setup.sh =====
===== exec:atalk.sh =====
Starting AppleTalk services: configure atalkd atalk_name=KUROPRO
optarg:atalk
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.
file:/etc/atalk/AppleVolumes.default
file:/etc/pam.d/netatalk
file:/etc/atalk/afpd.conf
(backgrounded)
===== exec:ftpd.sh =====
ftp is OFF
===== exec:httpd.sh =====
start
Starting HTTPD services: /sbin/hotplug [module]
/sbin/hotplug [module]
/sbin/hotplug [module]
/usr/local/apache/bin/apachectl start: httpd started
===== exec:lprng.sh =====
Start services: lpd
===== exec: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=[msdfs_function] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_as_link] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_name] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_path] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link1_name] not found in /etc/melco/msdfs.
Can't Open : /etc/melco/offlinefile
file:/etc/samba/smb.conf
>IconvCodeCharset CodePage=0,charset=CP932
file:/etc/pam_smb.conf
Starting SMB services:
Starting NMB services:
===== exec:epg.sh =====
Start services: EPGd iRCommander
EPGd : version 1.1.0
0.2.0
===== exec:directcopy.sh =====
Start services: DirectCopy
===== exec:clientUtil_servd.sh =====
Starting clientUtil_server:starting on eth0
===== exec:lsprcvd.sh =====
Starting lsprcvd:===== exec:daemonwatch.sh =====
Starting daemonwatch:daemonwatch Ver.1.01
watch list file : /etc/daemonwatch.list
===== exec:cron.sh =====
Start services: crond===== exec:ltbootd.sh =====
Starting services: rarpd tftpd rarpcfgd fwupdated.
===== exec:logchkd.sh =====
Starting logchkd:logchkd ver.1.12(Sep 11 2008) started
===== exec:checkconfig.sh =====
===== exec:init_sem.sh =====
/sbin/hotplug [module]
/sbin/hotplug [drivers]
===== exec:bootcomplete.sh =====
/etc/init.d/bootcomplete.sh: line 44: flushqueue: command not found
** step4 Extra Step KAMII **
===== exec:telnetd.sh =====
configure telnetd
optarg:proftpd
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=[msdfs_function] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_as_link] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_name] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_root_path] not found in /etc/melco/msdfs.
LoadConfFileString:key=[msdfs_link1_name] not found in /etc/melco/msdfs.
file:/etc/proftpd/proftpd.conf
>IconvCodeCharset CodePage=0,charset=CP932
LoadConfFileInt:key=[BUFFALO_CONFIG_SSLFTP] not found in /etc/buffalo_expansion_firmware.
file:/etc/pam.d/ftp
Starting TELNETD services:
===== exec:sshd.sh =====
Starting sshd:
===== exec:rd-landisk.sh =====
Starting rd-landiskD services:
** step6 Extra Step KAMII **
===== exec:rwhod.sh =====
Starting RWHODTD services:
Starting pid 1049, console /dev/ttyS0: '/sbin/getty'
BUFFALO INC. LinkStation series HS-DHGL(JINMU)
KUROPRO login: