<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://www5.atwiki.jp/kuro-bsd/">
    <title>玄箱でNetBSDを動かす</title>
    <link>http://www5.atwiki.jp/kuro-bsd/</link>
    <description>玄箱でNetBSDを動かす</description>

    <dc:language>ja</dc:language>
    <dc:date>2012-01-29T22:32:45+09:00</dc:date>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/255.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/62.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/256.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/212.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/254.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/213.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/128.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/153.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/163.html" />
                <rdf:li rdf:resource="http://www5.atwiki.jp/kuro-bsd/pages/162.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/255.html">
    <title>NetBSD-evbarm/Serial-Console(LS-AVL)</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/255.html</link>
    <description>
      * シリアルコンソール(LS-AVL)
(このページの最終更新日: &amp;date())
工事中につき不完全なのでご了承ください。

** ハードウェア改造
*** シリアルポートの結線有効化
基板表面と裏面の両方の改造が必要。
（改造前写真）
&amp;ref(AVL_PCB_front.jpg,,)
（改造イメージ）
&amp;ref(AVL_PCB_front2.jpg,,)
基板表面は、R155とD14を外し、C175、C176、R155の下のランドのショート、D14の横のパターンをカットする必要がある。
C175とC176は外しても外さなくてもどちらでもかまわない。
基板裏面はパターンを1ヶ所カットする。（写真参照）
&amp;ref(AVL_PCB_back.jpg,,)

*** コネクタ
日本圧着端子製造のB4B-EHをCN9にハンダ付けする。コネクタ本体は基板裏面に付け、筐体に穴を開けるのがよいと思われる。
&amp;ref(AVL_serial.jpg,,)

*** u-bootのシリアル入出力有効化
CPU裏にある抵抗を付け替えることで、u-bootのシリアル入出力が有効になる。
&amp;ref(AVL_PCB_back2.jpg,,)
赤枠の抵抗(R138:4.7kΩ:1005サイズ)を青枠側(R139)へ移動する。
または、R138はそのままにR139に1kΩ程度を付けるだけでも良いと思われる（未検証）。

** シリアル設定
- N81, 115200bps, no-flow-control

** ブート時のメッセージ
*** ACアダプタ接続時（裏面スイッチ＝常時ON）
&gt;  ** LOADER **
&gt;  ** BUFFALO BOARD: MVLSAV-A LE
&gt;  ** Board ID: 0xA0
&gt; 
&gt; U-Boot 1.1.4 (Mar 15 2011 - 14:53:42) Marvell version: 3.4.25
&gt; 
&gt; U-Boot code: 00600000 -&gt; 0066FFF0  BSS: -&gt; 006BF3A0
&gt; BUFFALO_BOOTVER=0.21
&gt; 
&gt; Soc: 88F6281 A1 (DDR2)
&gt; CPU running @ 600Mhz L2 running @ 300Mhz
&gt; SysClock = 300Mhz , TClock = 166Mhz
&gt; 
&gt; DRAM CAS Latency = 5 tRP = 5 tRAS = 16 tRCD=5
&gt; DRAM CS[0] base 0x00000000   size  64MB
&gt; DRAM CS[1] base 0x04000000   size  64MB
&gt; DRAM Total size 128MB  16bit width
&gt; Addresses 8M - 0M are saved for the U-Boot usage.
&gt; Mem malloc Initialization (8M - 7M): Done
&gt; NAND:No NAND device found!!!
&gt; 0 MB
&gt; [512kB@f8000000] Flash: 512 kB
&gt; 
&gt; CPU : Marvell Feroceon (Rev 1)
&gt; 
&gt; Streaming disabled
&gt; Write allocate disabled
&gt; 
&gt; 
&gt; USB 0: host mode
&gt; 
&gt; Initializing 88E6123 phy ... with all bridge mode ... done.
&gt; 
&gt; Doing normal bootup process ...
&gt; MacicKey = 0x00
&gt; bfSetMagicKey &gt; Changed to 0x5c from 0x00
&gt; Waiting power button would be pusshed. ...
*** 前面ボタン押下時
&gt; HDD0 Power ON
&gt; 
&gt; Marvell Serial ATA Adapter
&gt; Integrated Sata device found
&gt; [0 0 0]: Enable DMA mode (6)
&gt;   Device 0 @ 0 0:
&gt; Model: ST31000528AS                             Firm: CC46     Ser#:             9VPCVWEM
&gt;             Type: Hard Disk
&gt;             Supports 48-bit addressing
&gt;             Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
&gt; 
&gt; Getting MAC Address failed.
&gt; Net:   egiga0
&gt; hit any key to switch tftp boot.
&gt; Hit any key to stop autoboot:  0
&gt; Hit any key to stop autoboot:  0
&gt; 
&gt; 2729776 bytes read
&gt; 
&gt; 9613712 bytes read
&gt; ## Booting image at 00100000 ...
&gt;    Image Name:   Linux-2.6.31.8
&gt;    Created:      2011-12-09   7:10:14 UTC
&gt;    Image Type:   ARM Linux Kernel Image (uncompressed)
&gt;    Data Size:    2729712 Bytes =  2.6 MB
&gt;    Load Address: 00008000
&gt;    Entry Point:  00008000
&gt;    Verifying Checksum ... OK
&gt; OK
&gt; ## Loading Ramdisk Image at 00800000 ...
&gt;    Image Name:   initrd
&gt;    Created:      2011-12-09   7:11:14 UTC
&gt;    Image Type:   ARM Linux RAMDisk Image (gzip compressed)
&gt;    Data Size:    9613648 Bytes =  9.2 MB
&gt;    Load Address: 00000000
&gt;    Entry Point:  00000000
&gt;    Verifying Checksum ... OK
&gt; 
&gt; Starting kernel ...
&gt; 
&gt; Uncompressing Linux......................................................................................................................................................................... done, booting the kernel.
&gt; Linux version 2.6.31.8 (root@ubuntu) (gcc version 4.2.0 20070413 (prerelease)) #7 Fri Dec 9 16:10:10 JST 2011
&gt; CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
&gt; CPU: VIVT data cache, VIVT instruction cache
&gt; Machine: Feroceon-KW
&gt; Using UBoot passing parameters structure
&gt; Memory policy: ECC disabled, Data cache writeback
&gt; Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
&gt; Kernel command line: console=ttyS0,115200 mv_net_config=(4C:E6:76:**:**:**,0:1),mtu=1500 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.21 mtdparts=nand_mtd:0x1000000(boot),0xfe800000(rootfs),0x800000(reserve)
&gt; PID hash table entries: 512 (order: 9, 2048 bytes)
&gt; Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
&gt; Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
&gt; Memory: 64MB 64MB = 128MB total
&gt; Memory: 104916KB available (4972K code, 271K data, 152K init, 0K highmem)
&gt; Hierarchical RCU implementation.
&gt; NR_IRQS:128
&gt; Console: colour dummy device 80x30
&gt; Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
&gt; Mount-cache hash table entries: 512
&gt; CPU: Testing write buffer coherency: ok
&gt; xor: measuring software checksum speed
&gt;    arm4regs  :   542.800 MB/sec
&gt;    8regs     :   412.800 MB/sec
&gt;    32regs    :   462.400 MB/sec
&gt; xor: using function: arm4regs (542.800 MB/sec)
&gt; NET: Registered protocol family 16
&gt; Feroceon L2: Enabling L2
&gt; Feroceon L2: Cache support initialised.
&gt; 
&gt; CPU Interface
&gt; -------------
&gt; SDRAM_CS0 ....base 00000000, size  64MB
&gt; SDRAM_CS1 ....base 04000000, size  64MB
&gt; SDRAM_CS2 ....disable
&gt; SDRAM_CS3 ....disable
&gt; PEX0_MEM ....base e0000000, size 128MB
&gt; PEX0_IO ....base f2000000, size   1MB
&gt; PEX1_MEM ....no such
&gt; PEX1_IO ....no such
&gt; INTER_REGS ....base f1000000, size   1MB
&gt; NFLASH_CS ....base fa000000, size   2MB
&gt; SPI_CS ....base f4000000, size  16MB
&gt; BOOT_ROM_CS ....no such
&gt; DEV_BOOTCS ....no such
&gt; CRYPT_ENG ....base f0000000, size   2MB
&gt; 
&gt;   Marvell Development Board (LSP Version KW_LSP_5.1.3_patch13)-- MVLSAV-A  Soc: 88F6281 A1 LE
&gt; 
&gt;  Detected Tclk 166666667 and SysClk 300000000
&gt; MV Buttons Device Load
&gt; Marvell USB EHCI Host controller #0: c403e800
&gt; PEX0 interface detected no Link.
&gt; PCI: bus0: Fast back to back transfers enabled
&gt; mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
&gt; bio: create slab &lt;bio-0&gt; at 0
&gt; SCSI subsystem initialized
&gt; raid6: int32x1     60 MB/s
&gt; raid6: int32x2     70 MB/s
&gt; raid6: int32x4     67 MB/s
&gt; raid6: int32x8     59 MB/s
&gt; raid6: using algorithm int32x2 (70 MB/s)
&gt; NET: Registered protocol family 2
&gt; IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
&gt; TCP established hash table entries: 4096 (order: 3, 32768 bytes)
&gt; TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
&gt; TCP: Hash tables configured (established 4096 bind 4096)
&gt; TCP reno registered
&gt; NET: Registered protocol family 1
&gt; Trying to unpack rootfs image as initramfs...
&gt; rootfs image is not initramfs (no cpio magic); looks like an initrd
&gt; Freeing initrd memory: 12288K
&gt; rtc mv_rtc: rtc core: registered kw-rtc as rtc0
&gt; RTC registered
&gt; MICON ctrl (C) BUFFALO INC. V.1.00 installed.
&gt; Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
&gt; Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
&gt; Kernel event proc (C) BUFFALO INC. V.1.00 installed.
&gt; initial_polarity_val = 0x000c4000
&gt; initial_polarity_val_high = 0x00038aec
&gt; Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.
&gt; XOR registered 4 channels
&gt; XOR 2nd invalidate WA enabled
&gt; cesadev_init(c000fd64)
&gt; MV Buttons Driver Load
&gt; VFS: Disk quotas dquot_6.5.2
&gt; Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
&gt; Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
&gt; JFFS2 version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
&gt; fuse init (API version 7.12)
&gt; SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
&gt; SGI XFS Quota Management subsystem
&gt; msgmni has been set to 229
&gt; alg: No test for cipher_null (cipher_null-generic)
&gt; alg: No test for ecb(cipher_null) (ecb-cipher_null)
&gt; alg: No test for digest_null (digest_null-generic)
&gt; alg: No test for compress_null (compress_null-generic)
&gt; alg: No test for stdrng (krng)
&gt; alg: No test for hmac(digest_null) (hmac(digest_null-generic))
&gt; async_tx: api initialized (sync-only)
&gt; Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
&gt; io scheduler noop registered
&gt; io scheduler anticipatory registered (default)
&gt; Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
&gt; serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
&gt; console [ttyS0] enabled
&gt; serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
&gt; brd: module loaded
&gt; loop: module loaded
&gt; Integrated Sata device found
&gt; mvSataInitAdapter : regVal changed(0x00000010)
&gt; IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
&gt; scsi0 : Marvell SCSI to SATA adapter
&gt; scsi1 : Marvell SCSI to SATA adapter
&gt; ** BUFFALO Disable Command Queuing Function [0 0] **
&gt; scsi 0:0:0:0: Direct-Access     Seagate  ST31000528AS     CC46 PQ: 0 ANSI: 5
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
&gt; sd 0:0:0:0: [sda] 0-byte physical blocks
&gt; sd 0:0:0:0: Attached scsi generic sg0 type 0
&gt; sd 0:0:0:0: [sda] Write Protect is off
&gt; Loading Marvell Ethernet Driver:
&gt;   o Cached descriptors in DRAM
&gt;   o DRAM SW cache-coherency
&gt;   o 2 Giga ports supported
&gt;   o Single RX Queue support - ETH_DEF_RXQ=0
&gt;   o Single TX Queue support - ETH_DEF_TXQ=0
&gt;   o Receive checksum offload supported
&gt;   o Transmit checksum offload supported
&gt;   o Network Fast Processing (Routing) supported - (Disabled)
&gt;   o Driver ERROR statistics enabled
&gt;   o Driver INFO statistics enabled
&gt;   o Proc tool API enabled
&gt;   o SKB Reuse supported - (Disabled)
&gt;   o SKB Recycle supported - (Disabled)
&gt;   o Gateway support enabled
&gt;      o Using Marvell Header Mode
&gt;      o L2 IGMP support
&gt;   o Rx descripors: q0=128
&gt;   o Tx descripors: q0=532
&gt;   o Loading network interface(s):
&gt; 
&gt; Warning: Giga 1 is Powered Off
&gt;   o Loading Gateway interface(s):
&gt;       o Using command line network interface configuration
&gt;       o MTU set to 1500.
&gt;       o mac_addr 4c:e6:76:**:**:**, VID 0x100, port list: port-0 port-1
&gt;      o register under mv88fx_eth platform
&gt;      o eth0, ifindex = 2, GbE port = 0
&gt; Skipping port disabling processes
&gt; Port 1: Link-up, Full-duplex, Speed-1000Mbps.
&gt; 
&gt; Warning: Giga 1 is Powered Off
&gt; 
&gt; mvFpRuleDb (c4d06000): 1024 entries, 4096 bytes
&gt; sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn&#039;t support DPO or FUA
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
&gt; NAND init: NAND device not found on board
&gt;  sda:
&gt; mice: PS/2 mouse device common for all mice
&gt; Linux telephony interface: v1.00
&gt; md: linear personality registered for level -1
&gt; md: raid0 personality registered for level 0
&gt; md: raid1 personality registered for level 1
&gt; md: raid6 personality registered for level 6
&gt; md: raid5 personality registered for level 5
&gt; md: raid4 personality registered for level 4
&gt; device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
&gt; TCP cubic registered
&gt; NET: Registered protocol family 17
&gt; NET: Registered protocol family 15
&gt; RPC: Registered udp transport module.
&gt; RPC: Registered tcp transport module.
&gt; rtc mv_rtc: setting system clock to 2011-12-19 23:36:49 UTC (1324337809)
&gt;  sda1 sda2 sda3 sda4 sda5 sda6
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; sd 0:0:0:0: [sda] Attached SCSI disk
&gt; md: Waiting for all devices to be available before autodetect
&gt; md: If you don&#039;t use raid, use raid=noautodetect
&gt; md: Autodetecting RAID arrays.
&gt; md: Scanned 0 and added 0 devices.
&gt; md: autorun ...
&gt; md: ... autorun DONE.
&gt; RAMDISK: gzip image found at block 0
&gt; VFS: Mounted root (ext2 filesystem) on device 1:0.
&gt; ---- in linuxrc ---
&gt; Version 1.00 2008/ 7/ 1
&gt; hwclock: can&#039;t open &#039;/dev/misc/rtc&#039;: No such file or directory
&gt; Tue Dec 20 08:36:51 JST 2011
&gt; linuxrc:choose operation (timeout 4[s])
&gt;  1:RamRoot other:HddRoot  ? -HddRoot-
&gt; Starting :fsck_disks(boot) ...         [Success.]
&gt; Starting :mount(boot) ...              kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda1, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; [Success.]
&gt; Starting :umount(boot) ...             [Success.]
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda2, internal journal
&gt; EXT3-fs: recovery complete.
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; PRODUCTID=0x00000015 PRODUCTID=0x00000000
&gt; /dev/sda2:/mnt:18%
&gt; -- CopyFromInitrdToHdd --
&gt; .........Finish
&gt; 
&gt; umount: cannot open /proc/mounts
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda2, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; VFS: Mounted root (ext3 filesystem) on device 8:2.
&gt; Trying to move old root to /initrd ... okay
&gt; Freeing init memory: 152K
&gt; --- rcStart (hddroot) ---
&gt; cleanup lock files...
&gt; Tue Dec 20 08:36:59 JST 2011
&gt; ldconfig: /usr/local/lib/libfuse.so.2 is not a symbolic link
&gt; 
&gt; ldconfig: /usr/local/webaxs/lib/libuuid.so.1 is not a symbolic link
&gt; 
&gt; ** step1 **
&gt; Mounting /dev
&gt; Starting udevd
&gt; Waiting for uevents to be processed
&gt; 
&gt; EXT3-fs: Unrecognized mount option &quot;relatime&quot; or missing value
&gt; mount: mounting /dev/root on / failed: Invalid argument
&gt; ln: /var/spool/cron/cron: File exists
&gt; Adding 1000440k swap on /dev/sda5.  Priority:-1 extents:1 across:1000440k
&gt; create dir : /dev/null
&gt; mkdir: cannot create directory &#039;/dev/null&#039;: File exists
&gt; configure files from Buffalo parameters.
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda1, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; Successfully unmounted /dev/ram0
&gt; Successfully unmounted /dev/ram0
&gt; usbcore: registered new interface driver usbfs
&gt; usbcore: registered new interface driver hub
&gt; usbcore: registered new device driver usb
&gt; ehci_hcd: USB 2.0 &#039;Enhanced&#039; Host Controller (EHCI) Driver
&gt; ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
&gt; ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
&gt; ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
&gt; ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
&gt; usb usb1: configuration #1 chosen from 1 choice
&gt; hub 1-0:1.0: USB hub found
&gt; hub 1-0:1.0: 1 port detected
&gt; ohci_hcd: USB 1.1 &#039;Open&#039; Host Controller (OHCI) Driver
&gt; uhci_hcd: USB Universal Host Controller Interface driver
&gt; Initializing USB Mass Storage driver...
&gt; usbcore: registered new interface driver usb-storage
&gt; USB Mass Storage support registered.
&gt; usbcore: registered new interface driver usblp
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Clear /etc/dhcpc/dhcpcd-eth0.pid eth0
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Read dhcpc file eth0
&gt; /etc/rc.d/sysinit.d/S13networking.sh : configure : eth0
&gt; create network files.. (eth0)
&gt; IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Delete /etc/dhcpc/dhcpcd-eth0.pid
&gt; route: SIOCDELRT: No such process
&gt; Configuration network interface: eth0
&gt; /sbin/ifconfig eth0 mtu 1500 multicast
&gt; /etc/rc.d/sysinit.d/S13networking.sh: line 375: /proc/sys/net/ipv4/conf/eth1/arp_ignore: No such file or directory
&gt; requesting DHCP  tout=30[s]
&gt; networking.sh: dhcp requesting...
&gt; DontDownIfacemv_gateway: starting eth0
&gt; 
&gt; alwaysFork
&gt; sendto:  count 6   sync 0
&gt; dhcpcd.exe: interface eth0 has been configured with old IP=192.168.11.52 GATEWAY=192.168.11.1
&gt; ** eth0 : networking.sh dhcp fin.
&gt; configure files from Buffalo parameters.
&gt; ntpserver = ntp.jst.mfeed.ad.jp : specified as a fqdn type
&gt; /etc/rc.d/sysinit.d/S14update_ntp.sh: line 31: /usr/local/bin/time_set.sh: No such file or directory
&gt; Starting system logger:
&gt; Starting kernel logger:
&gt; Starting inetd:Starting errormon:Starting kernelmon: * Starting BuffaloXMLRPCServer ...    [ ok ]
&gt; KERNELMOn (lanact 1000 full eth0)
&gt; This model doesn&#039;t support RAID!!!
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; KERNELMOn (FUNCSW_long_pushed)
&gt; 
&gt; This model doesn&#039;t support RAID!!!
&gt; Mounting /dev/disk1_6 to /mnt/disk1
&gt; XFS mounting filesystem sda6
&gt; 
&gt; usbdisk1&lt;&gt;usbdisk1&lt;&gt;USB Disk1&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk2&lt;&gt;usbdisk2&lt;&gt;USB Disk2&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk3&lt;&gt;usbdisk3&lt;&gt;USB Disk3&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk4&lt;&gt;usbdisk4&lt;&gt;USB Disk4&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt;  * This model does&#039;t support EDP.
&gt;  * Starting hddspaced ...    [ ok ]
&gt; S29_update_notifications.sh: deleting old settings...
&gt; S29_update_notifications.sh: deleting old settings...
&gt; S29_update_notifications.sh: deleting old settings...
&gt; S29_update_notifications.sh: checking and registering to cron...
&gt; S29_update_notifications.sh: starting f/w cheking process ...
&gt; buf_region:JP
&gt; buf_fw_type:available
&gt; buf_productId:0x00000015
&gt; buf_major_ver:1.56
&gt; buf_minor_ver:2.90
&gt; array_id is 0
&gt; xml_id is 1
&gt; Firmware
&gt; checking_binary_type: OK
&gt; 0x00000000,0x00000011,0x00000012,0x00000013,0x00000014,0x00003006,0x00003007,0x00000015,0x00000016,0x00003008,0x00004001,0x00000017,0x00000019
&gt; cheking productId...
&gt; checking_productId: OK
&gt; available
&gt; cheking firmware type...
&gt; checking_fw_type: OK
&gt; 1.56-2.90
&gt; major_ver_int:1
&gt; major_ver_float:56
&gt; minor_ver_int:2
&gt; minor_ver_float:90
&gt; cheking major version...
&gt; maybe new
&gt; maybe new
&gt; maybe new
&gt; checking_version: NG
&gt; array_id is 1
&gt; xml_id is 3
&gt; Firmware
&gt; checking_binary_type: OK
&gt; 0x0000200B,0x0000200C,0x0000200D,0x00002010,0x00002011
&gt; cheking productId...
&gt; checking_productId: NG
&gt; array_id is 2
&gt; xml_id is 5
&gt; Firmware
&gt; checking_binary_type: OK
&gt; 0x0000200E,0x0000200F
&gt; cheking productId...
&gt; checking_productId: NG
&gt; STEP1: NG
&gt; S29_update_notifications.sh: step1 result=0
&gt; S29_update_notifications.sh: version_is_latest
&gt; S29_update_notifications.sh: deleting from lcd...
&gt; Starting logchkd: * Starting smartfanctld ...    [ ok ]
&gt; ** step2 **
&gt; ** step3 **
&gt; === diskmon.sh ===
&gt; === ftpd.sh ===
&gt; ftp is OFF
&gt; === atalk.sh ===
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; atalk is OFF
&gt; === httpd.sh ===
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; start
&gt; Starting HTTPD services: program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; 
&gt; 
&gt; === smb.sh ===
&gt; configure samba
&gt; load_info ItemValue = off
&gt; LoadConfFileStringEx:key=[ad_dns] not found in /etc/melco/info.
&gt; LoadConfFileOnOffEx:key=[info_visible] not found in /etc/melco/info.
&gt; LoadConfFileStringEx:key=[array1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[array2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[msdfs_link1_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link2_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link3_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link4_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link5_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link6_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link7_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link8_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link9_name] not found in /etc/melco/msdfs.
&gt; file:/etc/samba/smb.conf
&gt; &gt;IconvCodeCharset CodePage=0,charset=CP932
&gt; file:/etc/pam_smb.conf
&gt; Setting up msdfs symbolic links... [Failed ]
&gt; Starting SMB services:
&gt; Starting NMB services:
&gt; === clientUtil_servd.sh ===
&gt; Starting clientUtil_server:starting on eth0
&gt; === bonjour.sh ===
&gt; Starting Bonjour services: done
&gt; === lsprcvd.sh ===
&gt; Starting lsprcvd:=== daemonwatch.sh ===
&gt; Starting daemonwatch:daemonwatch Ver.1.01
&gt; watch list file : /etc/daemonwatch.list
&gt; === cron.sh ===
&gt; Start services: crondlogrotate state -- version 2
&gt; === checkconfig.sh ===
&gt; === ups.sh ===
&gt; ups_link.ups.melco.etc is not &quot;on&quot;(off)
&gt; === pwrmgr.sh ===
&gt; AutoPowerSW status is off. So no need to bootup pwrmgr.
&gt; Shutting down pwrmgr:
&gt; AutoPowerSW status is off. So no need to bootup pwrmgr.
&gt; ** step4 **
&gt; === lprng.sh ===
&gt; This model doesn&#039;t support printer server!!!
&gt; === ltbootd.sh ===
&gt; Starting services: rarpd tftpd rarpcfgd fwupdated.
&gt; === pmcd.sh ===
&gt;  * Starting foolwatch ...    [ ok ]
&gt;  * Starting twonky.sh in background...
&gt; eyefi service is off. terminated.
&gt; eyefid: no process killed
&gt; === flickrfs.sh ===
&gt; force stopping mode
&gt; flickrfs is already unmounted
&gt;  * Starting MySQL server ... This model does not support MySQL.
&gt; PPP generic driver version 2.4.2
&gt; Sqeezebox Server is not supported.
&gt; load_info ItemValue = off
&gt; LoadConfFileStringEx:key=[ad_dns] not found in /etc/melco/info.
&gt; LoadConfFileOnOffEx:key=[info_visible] not found in /etc/melco/info.
&gt; LoadConfFileStringEx:key=[array1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[array2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk2] not found in /etc/melco/diskinfo.
&gt; file:/etc/sftponly_config
&gt; userinfo finished
&gt; groupname admin
&gt; groupname guest
&gt; groupname hdusers
&gt; file:/etc/pam.d/sshd
&gt; Disabling protocol version 1. Could not load host key
&gt; WebAxs service is off. terminated.
&gt; Usage: /usr/local/wbfs/bin/wbfs_stop [Options] &lt;MOUNT POINT&gt;
&gt; Options:
&gt;    -k: Kill processes which hold mountpoint.
&gt;    -h: display this Help
&gt; *** WebAxs2 file not found. ***
&gt; httpd: Could not open configuration file /usr/local/webaxs/apache/conf/httpd.conf: No such file or directory
&gt; thumbnaild service is not running.
&gt; WebAxs3 is OFF
&gt; === bootcomplete.sh ===
&gt; bfSetMagicKey &gt; Changed to 0x71 from 0x5c
&gt; ** step final(after bootcomplete) **
&gt; 
&gt; BUFFALO INC. LinkStation series
&gt; LS-AVL*** login: bootarg &quot;func&quot; is disabled.
&gt; KERNELMOn (PSW_on)
&gt; 
&gt; BUFFALO INC. LinkStation series
&gt; LS-AVL*** login:

*** シャットダウン時
&gt; KERNELMOn (PSW_short_pushed)
&gt; KERNELMOn (PSW_pushed)
&gt; CPU_STAT=normal_state
&gt; ##### shutdown start
&gt; --- rcDown ---
&gt; =====  exec:shutdown_start.sh  =====
&gt; called shutdown_start /etc/init.d/shutdown_start.sh
&gt; err:
&gt; bfSetMagicKey &gt; Changed to 0x02 from 0x71
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; fwupdate.sh:FW not updated
&gt; =====  exec:shutdown_proc.sh  =====
&gt; Stop daemonwatch:done.
&gt; killall: dbrescan: no process killed
&gt; *** WebAxs2 file not found. ***
&gt; httpd: Could not open configuration file /usr/local/webaxs/apache/conf/httpd.conf: No such file or directory
&gt; thumbnaild service is not running.
&gt; WebAxs3 is OFF
&gt; Stopping eyefid: eyefid: no process killed
&gt; 
&gt; /etc/rc.d/extensions.d/K60_flickrfs.sh: line 19: libbuffalo_bin: command not found
&gt; === flickrfs.sh ===
&gt; force stopping mode
&gt; flickrfs is already unmounted
&gt;  * Stopping MySQL server ...    [ ok ]
&gt; Stopping Squeezebox Server...
&gt; Squeezebox Server is not running!
&gt; Stopping wafs...Usage: /usr/local/wbfs/bin/wbfs_stop [Options] &lt;MOUNT POINT&gt;
&gt; Options:
&gt;    -k: Kill processes which hold mountpoint.
&gt;    -h: display this Help
&gt; Stopping wafs...Usage: /usr/local/wbfs/bin/wbfs_stop [Options] &lt;MOUNT POINT&gt;
&gt; Options:
&gt;    -k: Kill processes which hold mountpoint.
&gt;    -h: display this Help
&gt;  * Stopping foolwatch ...    [ ok ]
&gt; Stop logchkd:done.
&gt; Stop lsprcvd:Stop services: crondStop inetd:done.
&gt; Stop errormon:lcd_error_man.sh: no process killed
&gt; done.
&gt; Stop clientUtil_server:rm: cannot remove &#039;/var/run/clientUtil_server-eth0.pid&#039;: No such file or directory
&gt; Shutting down FTPD services: proftpd: no process killed
&gt; 
&gt; 
&gt; Shutting down SMB services:
&gt; Shutting down NMB services:
&gt; 
&gt; Cleanup msdfs symbolic links... [Success]
&gt; 
&gt; Shutting down WINBIND services:
&gt; winbindd: no process killed
&gt; 
&gt; Shutting down PAMSMBD services:
&gt; pamsmbd: no process killed
&gt; 
&gt; Stop servecies: atalkd afpd
&gt; atalkd: no process killed
&gt; afpd: no process killed
&gt; papd: no process killed
&gt; cnid_metad: no process killed
&gt; stop
&gt; Shutting down HTTPD services:
&gt; speedy: no process killed
&gt; speedy_backend: no process killed
&gt; /etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-eth0.pid eth0
&gt; /etc/init.d/networking.sh : Read dhcpc file eth0
&gt; Deconfiguration network interface: eth0
&gt; mv_gateway: stopping eth0
&gt; diskmon_exec.sh: no process killed
&gt; Stop kernelmon:/proc/buffalo/kernevnt: no process killed
&gt; done.
&gt; This model doesn&#039;t support printer server!!!
&gt; Stop services: rarpd tftpd rarpcfgd fwupdated.
&gt; miconmon_exec.sh: no process killed
&gt; pmcd_exec.sh: no process killed
&gt; Stopping NUT : UPS monitor(master) ... Failed.
&gt; Stopping NUT : UPS daemon ... Failed.
&gt; Stopping NUT : UPS driver ... Failed.
&gt; ups.sh: Successfully stopped!
&gt; Stop errormon:lcd_error_man.sh: no process killed
&gt; errormon: no process killed
&gt; done.
&gt; Shutting down kernel logger:
&gt; Shutting down system logger:
&gt; Stop logchkd:logchkd: no process killed
&gt; done.
&gt;  * Stopping smartfanctld ...    [ ok ]
&gt;  * Stopping hddspaced ...    [ ok ]
&gt;  * This model does&#039;t support EDP.
&gt;  * Stopping BuffaloXMLRPCServer ...    [ ok ]
&gt; stopped /sbin/udevd (pid 650)
&gt; umount: cannot umount /dev: Device or resource busy
&gt; Save current configuration files
&gt; delete unnecessary samba lock files on //etc/samba/lock... done
&gt; tar: modules/*/etc: Cannot stat: No such file or directory
&gt; tar: usr/local/bittorrent/*.dat: Cannot stat: No such file or directory
&gt; tar: Error exit delayed from previous errors
&gt; =====  exec:umount_disk.sh  =====
&gt; ==== unmounting all disks ====
&gt; EXT3-fs: Unrecognized mount option &quot;relatime&quot; or missing value
&gt; mount: mounting /dev/root on / failed: Invalid argument
&gt; The system is going down NOW!
&gt; Sent SIGKILL to all processes
&gt; Requesting system halt
&gt; md: stopping all md devices.
&gt; sd 0:0:0:0: [sda] Synchronizing SCSI cache
&gt; System halted.
&gt; BuffaloChangePowerStatusBeforeHalt &gt; Check power status. MagicKey = 0x02
&gt; bfSetMagicKey &gt; Changed to 0x7a from 0x02
&gt;  ** LOADER **
&gt;  ** BUFFALO BOARD: MVLSAV-A LE
&gt;  ** Board ID: 0xA0
&gt; 
&gt; U-Boot 1.1.4 (Mar 15 2011 - 14:53:42) Marvell version: 3.4.25
&gt; 
&gt; U-Boot code: 00600000 -&gt; 0066FFF0  BSS: -&gt; 006BF3A0
&gt; BUFFALO_BOOTVER=0.21
&gt; 
&gt; Soc: 88F6281 A1 (DDR2)
&gt; CPU running @ 600Mhz L2 running @ 300Mhz
&gt; SysClock = 300Mhz , TClock = 166Mhz
&gt; 
&gt; DRAM CAS Latency = 5 tRP = 5 tRAS = 16 tRCD=5
&gt; DRAM CS[0] base 0x00000000   size  64MB
&gt; DRAM CS[1] base 0x04000000   size  64MB
&gt; DRAM Total size 128MB  16bit width
&gt; Addresses 8M - 0M are saved for the U-Boot usage.
&gt; Mem malloc Initialization (8M - 7M): Done
&gt; NAND:No NAND device found!!!
&gt; 0 MB
&gt; [512kB@f8000000] Flash: 512 kB
&gt; 
&gt; CPU : Marvell Feroceon (Rev 1)
&gt; 
&gt; Streaming disabled
&gt; Write allocate disabled
&gt; 
&gt; 
&gt; USB 0: host mode
&gt; 
&gt; Initializing 88E6123 phy ... with all bridge mode ... done.
&gt; 
&gt; Doing normal bootup process ...
&gt; MacicKey = 0x00
&gt; bfSetMagicKey &gt; Changed to 0x5c from 0x00
&gt; Waiting power button would be pusshed. ...

*** u-bootのhelp
&gt; BUFFALO&gt;&gt; help
&gt; ?       - alias for &#039;help&#039;
&gt; barled - control bar led (LS-AVL)
&gt; base    - print or set address offset
&gt; boot    - boot default, i.e., run &#039;bootcmd&#039;
&gt; bootd   - boot default, i.e., run &#039;bootcmd&#039;
&gt; bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name
&gt; bootm   - boot application image from memory
&gt; bootp   - boot image via network using BootP/TFTP protocol
&gt; bubt    - Burn an image on the Boot Flash.
&gt; chpart  - change active partition
&gt; cmp     - memory compare
&gt; cmpm    - Compare Memory
&gt; cp      - memory copy
&gt; cpumap - Display CPU memory mapping settings.
&gt; crc32   - checksum calculation
&gt; date    - get/set/reset date &amp; time
&gt; dclk    - Display the MV device CLKs.
&gt; diskboot- boot from IDE device
&gt; echo    - echo args to console
&gt; erase   - erase FLASH memory
&gt; exit    - exit script
&gt; ext2load- load binary file from a Ext2 filesystem
&gt; ext2ls  - list files in a directory (default /)
&gt; fatinfo - print information about filesystem
&gt; fatload - load binary file from a dos filesystem
&gt; fatls   - list files in a directory (default /)
&gt; fi      - Find value in the memory.
&gt; flinfo  - print FLASH memory information
&gt; fsinfo  - print information about filesystems
&gt; fsload  - load binary file from a filesystem image
&gt; g       - start application at cached address &#039;addr&#039;(default addr 0x40000)
&gt; go      - start application at address &#039;addr&#039;
&gt; help    - print online help
&gt; ide     - IDE sub-system
&gt; iminfo  - print header information for application image
&gt; ir      - reading and changing MV internal register values.
&gt; ledbc - change the led&#039;s brightness control. (LS-AVL)
&gt; loop    - infinite loop on address range
&gt; ls      - list files in a directory (default /)
&gt; map     - Diasplay address decode windows
&gt; md      - memory display
&gt; mm      - memory modify (auto-incrementing)
&gt; mmcinit - init mmc card
&gt; mtdparts- define flash/nand partitions
&gt; mtest   - simple RAM test
&gt; mw      - memory write (fill)
&gt; nand                   - NAND sub-system
&gt; nboot   - boot from NAND device
&gt; nm      - memory modify (constant address)
&gt; phyRead - Read PCI-E Phy register
&gt; pciePhyWrite    - Write PCI-E Phy register
&gt; phyRead - Read Phy register
&gt; phyWrite        - Write Phy register
&gt; phy_ident - print phy identping - send ICMP ECHO_REQUEST to network host
&gt; printenv- print environment variables
&gt; protect - enable or disable FLASH write protection
&gt; rarpboot- boot image via network using RARP/TFTP protocol
&gt; rcvr    - Satrt recovery process (Distress Beacon with TFTP server)
&gt; reset   - Perform RESET of the CPU
&gt; resetenv        - Return all environment variable to default.
&gt; run     - run commands in an environment variable
&gt; saveenv - save environment variables to persistent storage
&gt; setenv  - set environment variables
&gt; sflash  - read, write or erase the external SPI Flash.
&gt; sg      - scanning the PHYs status
&gt; sw_reg  - change/read the SW&#039;s register value. (LS-AVL)
&gt; switchRegRead   - Read switch register
&gt; switchRegWrite  - Write switch register
&gt; test    - minimal test like /bin/sh
&gt; tftpboot- boot image via network using TFTP protocol
&gt; usb     - USB sub-system
&gt; usbboot - boot from USB device
&gt; version - print monitor version
&gt; BUFFALO&gt;&gt;

*** u-bootのprintenv
&gt; BUFFALO&gt;&gt; printenv
&gt; baudrate=115200
&gt; loads_echo=0
&gt; ipaddr=192.168.11.150
&gt; serverip=192.168.11.1
&gt; rootpath=/mnt/ARM_FS/
&gt; netmask=255.255.255.0
&gt; run_diag=yes
&gt; console=console=ttyS0,115200
&gt; CASset=min
&gt; MALLOC_len=1
&gt; bootargs_root=root=/dev/sda2 rw initrd=0x00800040,12M panic=5
&gt; bootargs_end=:::DB88FXX81:eth0:none
&gt; image_name=uImage
&gt; ethmtu=1500
&gt; usb0Mode=host
&gt; nandEcc=1bit
&gt; netretry=no
&gt; rcvrip=169.254.100.100
&gt; loadaddr=0x02000000
&gt; autoload=no
&gt; ethaddr=4C:E6:76:**:**:**
&gt; stdin=serial
&gt; stdout=serial
&gt; stderr=serial
&gt; mainlineLinux=no
&gt; enaMonExt=no
&gt; enaCpuStream=no
&gt; enaWrAllo=no
&gt; pexMode=RC
&gt; disL2Cache=no
&gt; setL2CacheWT=yes
&gt; disL2Prefetch=yes
&gt; enaICPref=yes
&gt; enaDCPref=yes
&gt; sata_dma_mode=yes
&gt; buffalo_ver=BOOTVER=0.21
&gt; kernel=uImage.buffalo
&gt; initrd=initrd.buffalo
&gt; tftpbootcmd=tftp 0x00100000 $kernel; tftp 0x00800000 $initrd; setenv tftpboot tftpboot=yes; run bootcommon
&gt; idebootcmd=ext2load ide 0:1 0x00100000 /$kernel; ext2load ide 0:1 0x00800000 /$initrd; run bootcommon mtdids=nand0=nand_mtd
&gt; mtdparts=mtdparts=nand_mtd:0x1000000(boot),0xfe800000(rootfs),0x800000(reserve)
&gt; nandbootcmd=fsload 0x00100000 /$kernel; fsload 0x00800000 /$initrd; setenv nandboot nandboot=yes; run bootcommon
&gt; bootorder=ide
&gt; bootcmd=for i in $bootorder; do run ${i}bootcmd; done
&gt; bootdelay=3
&gt; disaMvPnp=no
&gt; enaAutoRecovery=yes
&gt; mvNetConfig=mv_net_config=(4C:E6:76:**:**:**,0:1),mtu=1500
&gt; bootcommon=setenv bootargs $console $mvNetConfig $bootargs_root $bootargs_func $buffalo_ver $mtdparts $tftpboot $nandboot; bootm 0x00100000 0x00800000
&gt; pcieTune=no
&gt; ethact=egiga0
&gt; 
&gt; Environment size: 1479/65532 bytes
&gt; BUFFALO&gt;&gt;

** おまけ： LS-AVLのUSBコネクタ増設
*** ※ 使う部品
- USBコネクタ（縦型）： Linkman 3210SRE x1（マルツパーツ館の[[ここ&gt;http://www.marutsu.co.jp/shohin_13903/]]で売っている）
- チップインダクタ： muRata BLM21PG331SN x2（秋月電子通商の[[ここ&gt;http://akizukidenshi.com/catalog/g/gP-04053/]]で売っている）220μHから330μH程度の1A程度の電流が流せるもの
- チップ抵抗： 0Ω(1608) x 1： 無ければショートで代用
- チップコンデンサ： 10μF(3216) x 1：　無くとも何とかなる？
-- 耐圧は最低6.3V。16V以上が望ましい。
- チップコンデンサ： 0.01μF～0.1μF程度(1005) x 3 : 無くとも何とかなる？
-- 耐圧は最低6.3V。16V以上が望ましい。
- 謎の電源制御IC（情報が無いので単にショートして代用）

*** 手順
- SW1（スライドスイッチ）をきれいに取り外して基板の表側から裏側へ移動する。
- SW1の足のハンダ付け箇所にテープ等を貼り、次につけるUSBコネクタでショートしないようにする。
- USBコネクタを基板表側につける。
- 基板裏側に部品をつける。
-- C8, C9, C10: 1005なチップコンデンサ(0.01～0.1μF程度)
-- C51: 3216なチップコンデンサ(10μF)
-- R6: 0Ω抵抗(無ければショート)
-- IC3： 右側の足（基板エッジ側）を縦にショート（写真参照）
- 筐体にSW1とUSBコネクタの穴を開ける。

- （USBデバイスのホットスワップをしないならば、最低限としてUSBコネクタだけあれば何とかなるかもしれない。）
&amp;ref(AVL_PCB_USB.jpg,,)
- 上掲写真の赤線部分をショートすることで最低限はOKと思われる

*** 注意点
- IC3が無いので、USBデバイスへの電源供給制御が出来ずに電源供給がされっぱなしになる。
-- （IC3に関する情報を求む！）

** 質問・コメント等ありましたらどうぞ
#comment(size=50,nsize=20,vsize=5)
----
#counter    </description>
    <dc:date>2012-01-29T22:32:45+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/62.html">
    <title>tera-bsd</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/62.html</link>
    <description>
      * 寺駅でNetBSDを動かす : NetBSD on TeraStation 
(このページの最終更新日: &amp;date())
&amp;ref(tera.jpg,,)
TeraStationを改造してNetBSD-currentを動かそう、というWikiページです。(一応動いている状態にはなっています）
引き続き情報収集中＆作業中です。コメントはコメント欄を作りましたのでそちらにお願いします。
ここで対象にしているTeraStationは、
- HD-HTGL/R5(元祖寺駅:銀色)
- HS-DTGL/R5(家鯖寺駅:銀色)
- TS-TGL/R5(新寺駅:黒色)
です。他のTeraStationは(今のところ)対象外です。
&amp;color(red){(新旧)寺駅のCPUは玄箱/HGと同じMPC8241/266MHzなので性能は推して知るべし。}
**トピックス
- 周回遅れ中です。
-- TS-TGLのMICON-v2の割り込みハンドラを実験する予定です。

- [[新・新寺&gt;http://buffalo.jp/products/new/2006/000305.html]]の発表がありました。
-- どうせFeroceon(Orion)でしょうから....(笑)
-- 発売されたようです。やはりOrion(ARM9)のようですね...

- 新寺でやっと普通にNetBSD 3.0.1が起動しました。(2006-08-26)
-- シャットダウン/リブートも一応動作するようにしました。(カーネル側のみで完結)
-- &amp;del(){現在はTS-TGL専用カーネルとなっています。共用化はこれから研究します。}
--- 3.1_RC3のサンプルカーネルで共用化しました。

- (旧寺に)普通にNetBSDをインストールしたい方は3.xのほうに手を出すのが賢明だと思います。[[こっち&gt;USBmem-install]]を参照してください。

※ 2005年9月分の作業メモは[[戦いの軌跡(2005-09)&gt;tera-bsd/200509]]へ移動しました。
※ 2005年10月前半分の作業メモは[[戦いの軌跡(2005-10:前半)&gt;tera-bsd/200510-1st]]へ移動しました。
※ 2005年10月後半分の作業メモは[[戦いの軌跡(2005-10:後半)&gt;tera-bsd/200510-2nd]]へ移動しました。
※ 2005年11月分の作業メモは[[戦いの軌跡(2005-11)&gt;tera-bsd/200511]]へ移動しました。
※ 2005年12月～2006年3月分の作業メモは[[戦いの軌跡(2005-12～2006-03)&gt;tera-bsd/200512-200603]]へ移動しました。
※ 2006年08月分の作業メモは[[戦いの軌跡(2006-08)&gt;tera-bsd/200608]]へ移動しました。

** &amp;color(red){謹告}
ここに書かれている内容は、TeraStationを新品で買われ、既にRAIDを構築されている方には無用なものです。そのままお使いいただいたほうが良いでしょう。
以下のような方には有用かもしれませんが、責任はもてません。自己責任でお願いします。
- でーもん君が好きで好きでたまらない方
- 中古で&quot;某寺駅の箱（ガワ）&quot;を買ったけれど、普通では満足出来ないアブノーマルな（使い方をお望みの）方
- TeraStationのハードディスクが壊れてしまって人生に幻滅し、生まれ変わってやり直したい方
- Linuxとは一味違う殺伐とした世界を味わいたい方
- 自他共に認める&amp;del(){冒険野郎}冒険好きな方
- NFSで2GBを超えるファイルを扱いたい方、またはNFSのパフォーマンスをどんな手段を講じてでも少しでも高めたい方
- 単に物好きな方(^^;)
インストール手順は書いていません。対象がNetBSD-currentなので、それなりの知識をお持ちの方ならば[[配布物&gt;download]]とここのパッチとで何とかできるはずです。
『出来んわ！』とおっしゃる方は、2.x系を準備中ですのでそちらの完成をお待ち下さい。
- (2005-10-30)カーネルは作りましたが、インストールが厳しいのは変わりません。（作業ログを読まれれば理由はわかっていただけると思います。）&amp;br()[[簡単？手順&gt;tera-bsd/install]]的にまとめられれば良いのですが...。

** アンケートのようなもの
- TeraStation、またはガワをお持ちですか？
#vote(TeraStationを持っている[65],ガワを持っている[33],持っていないけれど参考までに[36],見てるだけ～♪[26])

- NetBSDをインストールしてみたいですか？
#vote(すでにインストールして動かしている[7],今後入れてみたい[52],若干興味があるが手を出すつもりは無い[25],見てるだけ～♪[18])
＃『見てるだけ～♪』は古すぎると突っ込みを入れた貴方、あなたも同類です orz
＃『動かした』方、ぜひとも感想なりお聞かせ下さい _o_

** 現在の状態(2007-12-20)
- カーネル＆パッチは玄箱と統合済みです。玄箱側を参照してください。
-- NetBSD/evbppc(改) 4.99.42が動いています。
-- NetBSD/evbppc(改) 4.0が動いています。
-- NetBSD/sandpoint(改) 4.0が動いています。
-- NetBSD/evbppc(改)3.1が動いています。
-- NetBSD/sandpoint(改)3.1が動いています。
-- NetBSD/sandpoint(改)2.1が動いています。

** ToDo
- 旧寺の電源管理周りの情報を集める[[(まとめ中)&gt;tera-bsd/PWP]]
-- 玄箱AVRのアッパーコンパチコマンドっぽい
--- &amp;color(red){LED制御はかなり異なっている}
-- 電源スイッチと設定初期化スイッチの接続先デバイスは？
--- &amp;color(blue){これらもdty01(ttyS1)なのを確認}
-- LEDが派手になっている(笑)
-- UPS制御もdty01(ttyS1)経由らしい
- 新寺の情報を集める
-- 電源制御まわりが又々変更になっている(LCDもついているし)
--- コマンド体系が今までと全然違う
-- シリアルコンソールはソフト切り替え？→ソフト切り替え(Web経由)
- 安全なインストール手順を確立する。
-- 現在は手探り状態。
-- 無改造TeraStationからここまでにするのにはどうすれば簡単か？
-- やはり海外で配布されている改造バイナリベースが良いのだろうか。
- re0: discarding oversize frame (1518)を直す。
-- NFS-clientの時に発生。（なぜ？）
-- ifconfig re0 mtu 1518で現象は収まる（あたりまえだが）
- (旧寺)emc6d102のドライバを追記する。
-- ファン回転数モニタ
-- DC電圧モニタ
-- ファンコントロール設定値
** Done(のつもり)
- nbloaderが動作しない原因を追求する
-- &amp;color(red){Linuxカーネルソースを実物相当にすることでブートOK}(2005-09-25)
- 真のシングルディスクブート化（現状は複数台接続すると/dev/md0のミラーリングが復活してしまうはず)
-- &amp;color(red){反則技で回避}(2005-10-01)
- iteide1の&quot;lost interrupt&quot;を直す(たぶんPCIの割り込みマッピングの間違い：irq 4が正しい？)
-- &amp;color(red){緊急対策済}(2005-10-02)
- RTCをcurrentのドライバにする
-- これは玄箱/LinkStation/TeraStation共通の課題
-- 御本家にパッチを当てて完了(2005-10-04)
-- &amp;color(red){御本家側が修正したのでパッチ不要}(2005-10-23)
- カーネルパッチを整理する
-- eumbの場所の問題を解決
-- (うめのさんパッチで良いかも:[[アイデア求む！&gt;memo/I-want-idea]]のコメントを参照されたし)
-- 割り込み名称(vmstat -iで表示されるもの)を直す
-- &amp;color(red){一通り完了}(2005-10-15)
- (旧寺)ファンコントローラのドライバを書く
-- Linuxから起動していれば初期化は済んでいるから不要？
--- Linux側ドライバは初期化しかしていないらしい。(∴初期化不要)
-- 温度計はenvstatコマンド経由で見てみたい
--- &amp;color(red){温度計ドライバ記述完}(まだテスト中)(2006-01-02)

** 参考ページ
- www.terastation.org
- www.geocities.jp/trstat/
- homepage.ntlworld.com/itimpi/buffalo.htm
- &amp;del(){(linkstationwiki.org)}→linkstationwiki.net

----
(以下、作業メモです）
** 玄箱との違いのメモ
- Linuxカーネルバージョンが微妙に違う
- Linuxカーネルをコンパイルしたコンパイラが違う(3.3系)。(nb)loader.oのコンパイル時は注意。
- (旧寺)電源制御が変わった(MC68HC908JL8：Freescaleの8ビットマイコン)
-- HD-HLANv2(MIPS機)もこれを使っているらしい
- ファンコントローラが付いた(温度センサつき)。NetBSDにはドライバ無し。(要作成)
- (旧寺)IDEコントローラが変わった(ITE8211AF) &amp; 2つになった
- ルートが/dev/hda1で無く、/dev/md0になっている。&amp;del(){Flash内固定なので変えられない。}
-- &amp;color(red){限定的だが変えられるらしい。/dev/mtd2内部に記述可能。}（山下さんページ 051001に記述)
- md0のファイルシステムは（デフォルトでは）XFS。&amp;del(){BSD系にはドライバ無し。}(カーネルを直接置けない)
-- md0のファイルシステムはext2/3に手で変更可能（変更してもブート出来た）
-- (2005-12-13追記)2005-12-12に&amp;color(red){FreeBSD-currentにXFSのドライバが入った}模様。今後が楽しみ。
-- OpenBSDにもドライバが存在するらしい。
- (旧寺)ハードディスクは&amp;color(red){UDMA/100で動作可能なもの}しか繋げない。(繋ぐとLinux側でエラーになる)
- Linux側のセットアップ時にはハードディスクが4台必要。容量はバラバラでも構わない（らしい）。

** 当面の課題
- LinuxとのRAID共通化は無理。
- NetBSDのRAIDframeの勉強が要る。
-- ぼちぼち勉強/実験中...
- Linuxのmdの勉強も要る。
-- とりあえず放置中...(実質問題無しなので)
- インストール手順が厳しい。Linux側でRAIDを一旦崩す必要有り。かなり煩雑&amp;危険な手順になりそう。
-- homepage.ntlworld.com/itimpi/buffalo.htmのバイナリを使うとよさげ。
- 電源制御まわりは調べなおし。
-- [[(まとめ中)&gt;tera-bsd/PWP]]

** 解決済み課題
- ブート手順の確立。loader.oのブートは成功しているらしい。
-- nbloaderはTeraStationのカーネルソースとgcc-3.3で動作OKとなった。(kernel.orgのカーネルソースではNG)
- NetBSDカーネルの置き場所はどうしよう。
-- /dev/md0は残したが、中身をフォーマットし直してXFSからext2fsへ変更することで、NetBSD側からアクセス可能とした。ブートローダやカーネルも/dev/md0へ置いている。
- (旧寺)ファンコントローラのドライバを書く必要有り。
-- 温度計のみ記述済(テスト中)。

----
※ 2005年9月分は[[戦いの軌跡(2005-09)&gt;tera-bsd/200509]]をご覧下さい。
※ 2005年10月前半分は[[戦いの軌跡(2005-10:前半)&gt;tera-bsd/200510-1st]]をご覧下さい。
※ 2005年10月後半分は[[戦いの軌跡(2005-10:後半)&gt;tera-bsd/200510-2nd]]をご覧下さい。
※ 2005年11月分は[[戦いの軌跡(2005-11)&gt;tera-bsd/200511]]をご覧下さい。
※ 2005年12月～2006年3月分は[[戦いの軌跡(2005-12～2006-03)&gt;tera-bsd/200512-200603]]をご覧ください。
※ 2006年08月分は[[戦いの軌跡(2006-08)&gt;tera-bsd/200608]]をご覧下さい。
----
(2006-09-30)
- 3.1_RC3ベースのカーネルを昨日公開したので若干メモ書き。
-- TS-TGLを一応サポートした。(micon_v2のシャットダウン/リブートをサポートしただけ)
--- micon_v2のシーケンスでシャットダウン/リブート操作を行い、その後micon_v1のシーケンスで行っている。
-- 手元の環境では問題無かったが、いかんせん全ての環境が手元にあるわけでは無いので少し心配。
--- 特に初代玄箱やHD-HLANな場合が心配(たぶん問題ないとは思うのだが)
- 3.1_RC3側の修正をcurrentへも埋め込まねば...
-- evbppc側にも埋め込まねば...(手を広げすぎた orz)

(2006-10-01)
- TS-TGLの電源スイッチ対応について。
-- 山下さんページのLS-GLの電源スイッチの記述によると、カーネルが割り込みを受けるとユーザランドに通知を行う形を取っている模様。
-- シリアル経由では何も出来ないのかは不明(未調査)。
-- NetBSDにはsysmonフレームワークがあり、/dev/powerあたりを操作するユーザランド(powerd(8))も有ったりする。
-- これに適合する形でドライバを記述するのがもっとも良いと思うが...。
--- もちろん現状のkuro_avrdもpowerdで置き換えて、micon_v1サポートもsysmonフレームワークへ持っていくのが良いのだろうが...
-- いかんせん力不足。要調査。 orz

(2006-10-03)
- 先のnetbsd-3ブランチへの変更内容をcurrentにも反映。
-- 普通逆だろうとの意見もありましょうが、いつものとおりですのでご了承下さい。
- 変更内容もほぼ同じ。
-- disklabel周辺(Linuxのswapの自動反映とDOS EXTパーティション対応)
-- Das U-Bootカーネル引数(文字列)対応
-- TS-TGLのreboot/halt対応
-- todrがGenericなものに置き換わったのでローカルから削除
- パッチは[[こちら&gt;http://kurobsd.ki.nu/download/kernel/patch/20061003.NetBSD-current.diff.bz2]]。
 24668bytes: MD5 (20061003.NetBSD-current.diff.bz2) = f62c2c07e0616225c2f1b214d01f9636
- なんだか時計が9時間ずれる(UTCになった？)ようなので様子見が必要と思う。
-- todrの影響か、ポカミスかはまだ不明。

(2006-10-11)
- 忘れないようにメモ書き。
-- 上記の9時間ずれるのはrc.confに&quot;rtclocaltime=YES&quot;で直りそう。

(2006-10-14)
- &quot;rtclocaltime=YES&quot;の検証。結論的には、上記は間違い。
- 時計のまわりは何が正しいのかを定義しておかなければ混乱を招くので最初に定義する。
-- LinuxでJSTで表示している時刻とNetBSD側のJSTで表示している時刻が一致していることをもって正しいとする。
- カーネルオプションの&quot;RTC_OFFSET=-540&quot;とrc.confの&quot;rtclocaltime=YES&quot;は同じ効果をもたらしている。
-- これは kern.rtc_offsetの値に影響を与えるため。
-- rtclocaltimeは/etc/localtimeも参照しているっぽい。
- しかしながら現状のcurrentでは、なぜか実際の時刻よりも-18時間されてしまう。
-- 同じ装置上のnetbsd-3やnetbsd-2ではこの現象は出ていない。
- どこかにバグがある(とは言ってもtodrがGenericになったタイミングなのでたぶんこれだが)。
- あまり追ってもご利益が少なそうなので、表面的に取り繕うことにする。
-- カーネルオプションのRTC_OFFSETは指定しない。
-- rc.confのrtclocaltimeもNO(デフォルト)にする。
-- /etc/localtimeはJapanへ向ける。
- 上記で一応現象は収まった。あとは誰かが直してくれるのを待つことにする(^^;)。 

- 上記を織り込んだパッチを作成。
-- カーネルコンフィグからRTC_OFFSETを削除(コメントアウト)。
-- 3.x側と同様に、カーネル引数文字列をカンマ区切りもできるように変更。
- (そろそろevbppc側に軸足を移そうか...)

(2007-05-26)
- TS-TGL用のブートセレクタもどきを公開していなかった気がするので、一応。
-- 非常に完成度が低いので封印したはずのものなので、あまり参考にならない気がする。
-- これをLinux側の /etc/rc.d/rcS.d/ に S15bootsel.sh としておいておく。
 #
 # bootsel.sh    TS-TGL Boot Script for NetBSD
 #
 # Version:      0.0
 #
 # chkconfig: S 15 0
 #
 
 USBDETECT=`/bin/dmesg | /bin/grep &#039;^USB Mass Storage device found&#039;`
 
 if [ &quot;$USBDETECT&quot;x != &quot;&quot;x ]; then
         /bin/mount -o ro -t vfat /dev/sde1 /mnt/usbdisk1
         if [ -f /mnt/usbdisk1/netbsdboot ]; then
                 /bin/echo netbsdboot found.
                 /bin/date &gt; /etc/rootfs_ok
                 /usr/sbin/miconapl -a boot_end
                 /usr/sbin/miconapl -a system_set_watchdog 0
                 . /mnt/usbdisk1/netbsdboot
                 /bin/sync
                 /bin/sync
                 /bin/umount -a
                 /bin/mount -n -o remount,ro /
                 /bin/mount -o ro -t vfat /dev/sde1 /mnt/usbdisk1
                 /bin/sleep 2
                 /bin/sync
                 /bin/sync
                 /sbin/insmod /mnt/usbdisk1/$NBLOADER kernel=/mnt/usbdisk1/$NBKERNEL bootdev=$NBBOOTDEV boothowto=$NBBOOTHOWTO
                 /bin/mount -n -o remount,rw /
         fi
 fi
- USBメモリの先頭のvfatなパーティションに、&quot;netbsdboot&quot;というファイルを置く。
- 中身。まだnbloaderがv2だったりと、かなり古い。
 NBLOADER=nbloader_v2.o
 NBKERNEL=netbsd.bin
 #NBBOOTDEV=0xa0000004
 NBBOOTDEV=0xa0000000
 #NBBOOTHOWTO=0xa0000002
 NBBOOTHOWTO=0xa0000000
- nbloader_v2, netbsd.binも同じ場所に置いておく。(スクリプトを見れば一目瞭然だが)
- これでこのUSBメモリを挿せばNetBSDがブートする形になる。(抜けばLinux)
-- シリアルコンソール切り替えもNetBSDブート前に行おうとして放ってある(^_^;)。
- なんでこんなにまどろっこしいことをするか、というと、NetBSDはSGI XFSの読み書きがまだ出来ないため。
-- 代わりにUSBメモリのvfat(DOS)を使う形を取っている。
-- たぶん色々いじれば、本体側をXFSからext3fsに変更したりも出来そうだが、全然手付かずで放置中。

(2007-06-10)
- TS-TGLの電源SWについてメモ。
-- TS-TGLの電源SWはMICON-v2と呼ばれる電源管理用プロセッサに接続されている。
-- 玄箱/PROも同じものが使われている(らしい)。
-- 玄箱/PROのほうではMICON-v2の仕様が公開されている。
--- 玄箱/PRO付属のCD-ROMに含まれているらしい(持っていないので不明)。
--- 幸いなことに、kurobox.comで[[公開されている(PDF)&gt;http://www.kurobox.com/downloads/KuroboxPro/Microcomputer%20Communication%20Specifications.pdf]](英語だが)。
-- 電源SW/INIT SWのシーケンスは、上記PDFの3.4.3.に記述あり。
--- コマンドは3.10.に記述されている。
-- シーケンスを読み解くと以下のとおり。
--- 電源またはINITが押されると、MICON-v2はCPUに割り込みを入れる。
--- CPUは割り込みを受けたらキーの読み取りコマンドを発行する。
---- このコマンドはシリアル経由。
--- コマンドを受信したMICON-v2は割り込みを落とし、データとして読み取り結果をCPUに返す。
---- このデータもシリアル経由。
--- CPUはこの結果を読み取り、どのイベントが発生したかを判断する。
-- この機構をNetBSD上で実装する場合の課題について検討。
--- CPUの割り込みを受けるのは当然カーネル。一方、シリアル通信を司るのはユーザランド(であるべき)。
---- 排他制御の問題や、長い割り込み禁止状態での操作はNGなので。
--- カーネルからユーザランドへの割り込みの通知方法は...？
---- デバイスノード経由？
---- kqueueとか？
--- もっと単純に、割り込みを使わない方法も考えられる。
---- 定期的にスイッチ読み取りコマンドを発行するだけ。
---- 無駄が多いのが欠点。
--- ハイブリッド方式も考えられる。
---- カーネル内部で割り込みを受けて、キー読み取りコマンドを発行するまでを行う。
---- 結果を受けるのはユーザランド側。これならばselectで待てる。
---- 排他制御を完全には行えないのが難点。
--- 割り込みはスイッチを押したときにのみ発生。離したときには発生しない。
---- 押している時間で動作を制御するならば、イベント発生後に定期的なコマンド発行と読み取りが必要。
-- さてさて...TS-TGLでも同じだといいなあ。

(2007-06-13)
- 上記のうち、割り込み未使用版をでっち上げてみた。
-- カーネルの改造が不要なのでお気軽(^_^;)。
- 場所は... http://kurobsd.ki.nu/download/testing/miconv2/20070613/miconv2d.c.bz2
- リンクの際は -lutil が必要なので注意されたし。
- 手元ではとりあえず動いたのを確認しただけなので注意！
-- 電源SWを3秒くらい押しておくとシャットダウンする。
- (超手抜きモードで一撃離脱 ^^;)
- &amp;del(){と思ったけれど、気になっている点を書いておく。}
-- &amp;del(){スイッチを長く押していると、アンサーバックのbeep音が鳴るが、これとシャットダウンの長押し時間が同期していないので、ピ! となってもしばらく押し続ける必要がある。}
--- &amp;del(){ちゃんと調節すれば良いのだろうが、完全に手抜き(^^;)}

(2007-07-05)
- 上記は間違いですね。音は出ません。
-- # 何ボケてんだか &gt;&gt; 自分 orz

(2007-07-10)
- 突然ですが、シリアル割込みについてです。
- バグ情報に載っている以下の件です。
&gt; シリアルの割り込みを取りこぼすことがある
&gt; ネットワーク(NFS?)が忙しいとシリアルの割り込みが無視されます。何か無害なキー(コントロールQ等)を
&gt; たたくと復活するようです。
&gt; (2005-12-11追記: PCIデバイス割り込み(主にハードディスクとネットワーク)と重複することでシリアル
&gt; 側を取りこぼすようです。
&gt; ネットワークやハードディスク、USBデバイスとコンソール表示に同時に負荷ががかかるような処理(tar
&gt; cvf等)はシリアルで無くTelnet側から行うようにして下さい。
&gt; この件鋭意調査中です。 _o_ ) 
- いつまで鋭意調査中なんだ、と云われそうですが、思いつきで行ったちょっとした実験がうまくいきそうなのでご報告。
- 割込みは sandpoint/kurobox/extintr.c の openpic_init() で初期化しています。
- 問題の場所はこのあたりです。
&gt;         /* send all interrupts to CPU 0 */
&gt;         for (irq = 0; irq &lt; ICU_LEN; irq++)
&gt;                 openpic_write(OPENPIC_IDEST(irq), 1 &lt;&lt; 0);
&gt; 
&gt;         for (irq = 0; irq &lt; ICU_LEN; irq++) {
&gt;                 x = OPENPIC_INIT_SRC(irq);
&gt;                 openpic_write(OPENPIC_SRC_VECTOR(irq), x);
&gt;         }
&gt; 
&gt;         openpic_write(OPENPIC_SPURIOUS_VECTOR, 0xff);
- ここの、&quot;x = OPENPIC_INIT_SRC(irq)&quot;が曲者です。これはマクロで、sandpoint/include/openpicreg.h で定義されています。
&gt; #define OPENPIC_INIT_SRC(irq) \
&gt;             (((OPENPIC_IMASK | (8 &lt;&lt; OPENPIC_PRIORITY_SHIFT)) | \
&gt;                 ((((irq) &lt;= OPENPIC_MAX_EXTERNAL_INT) || \
&gt;                   ((irq) &gt;= OPENPIC_MAX_EXTERNAL_INT + 9)) ? \
&gt;                     (OPENPIC_POLARITY_NEGATIVE | OPENPIC_SENSE_LEVEL) : 0)) \
&gt;             | (irq))
- いつ見てもグチャグチャですが、見るべきは一箇所で、&quot;(8 &lt;&lt; OPENPIC_PRIORITY_SHIFT))&quot;です。
-- このマジックナンバーの&quot;8&quot;は、割込みプライオリティを示しています。
-- このため、このマクロを使って初期化した割込みは全て同じプライオリティになります。
- で、とりあえず優先度を1つあげてみました。
- まずは定義側から。互換性を保つために以下のようにします。
&gt; #define OPENPIC_INIT_SRC_PRIO(irq, prio) \
&gt;             (((OPENPIC_IMASK | ((prio) &lt;&lt; OPENPIC_PRIORITY_SHIFT)) | \
&gt;                 ((((irq) &lt;= OPENPIC_MAX_EXTERNAL_INT) || \
&gt;                   ((irq) &gt;= OPENPIC_MAX_EXTERNAL_INT + 9)) ? \
&gt;                     (OPENPIC_POLARITY_NEGATIVE | OPENPIC_SENSE_LEVEL) : 0)) \
&gt;             | (irq))
&gt; #define OPENPIC_INIT_SRC(irq) OPENPIC_INIT_SRC_PRIO(irq, 8)
- で、実際の初期化のほうです。
&gt;         /* send all interrupts to CPU 0 */
&gt;         for (irq = 0; irq &lt; ICU_LEN; irq++)
&gt;                 openpic_write(OPENPIC_IDEST(irq), 1 &lt;&lt; 0);
&gt; 
&gt;         for (irq = 0; irq &lt; ICU_LEN; irq++) {
&gt;                 x = OPENPIC_INIT_SRC(irq);
&gt;                 openpic_write(OPENPIC_SRC_VECTOR(irq), x);
&gt;         }
&gt;         x = OPENPIC_INIT_SRC_PRIO(SANDPOINT_INTR_UART1, 9);
&gt;         openpic_write(OPENPIC_SRC_VECTOR(SANDPOINT_INTR_UART1), x);
&gt; 
&gt;         openpic_write(OPENPIC_SPURIOUS_VECTOR, 0xff);
- (ここのUARTは0オリジンなのでUART1になってます)
- これで今の所うまくいっているように見えます。
-- 割り込みが同時に発生しないことが重要だと仮定すれば、優先度を下げてもうまくいくと思われます。これも引き続き実験します。
- 以上(^_^)。

(2007-08-19)
- [[memo]]のほうに書きましたが、本日のnetbsd-4ブランチで作ったカーネルで、RAIDframeを有効にするとブート中にpanicします。
-- 玄箱ならRAIDframe無しでも良いのですが、寺駅では...

(2007-09-01)
- シリアル、しばらく実験しましたが駄目そうです _o_
-- PCI割込みとシリアル割込みが重なる条件を揃えてみたら、非常に高確率で取りこぼします。
-- 2007-07-10の作業の効果は...ほんの少しあるようですが...。

(2007-09-23)
- まだTeraStationで動かせていないのだけれど、一応currentのブートログなんぞを。
-- これは玄箱/HGのもの。ユーザランドは4.0_RC1だったりと、結構手抜き。
&gt; NetBSD loader module loaded
&gt; kernel=/boot/test_curr.bin
&gt; load address=0x00090000
&gt; boot device=0x00000000
&gt; boot flags=0x00000000
&gt; cmdline=bootdev=wd0j
&gt; flushing ide devices: hda
&gt; bootdev=0xa0000900
&gt; boothowto=0x00000000
&gt; Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
&gt;     2006, 2007
&gt;     The NetBSD Foundation, Inc.  All rights reserved.
&gt; Copyright (c) 1982, 1986, 1989, 1991, 1993
&gt;     The Regents of the University of California.  All rights reserved.
&gt; 
&gt; NetBSD 4.99.31 (KUROBOX) #3: Sun Sep 23 18:38:29 JST 2007
&gt;         root@KURO-BOX:/mnt/sandpoint-current/src/sys/arch/sandpoint/compile/KUROBOX
&gt; total memory = 128 MB
&gt; avail memory = 119 MB
&gt; mainbus0 (root)
&gt; cpu0 at mainbus0: 8245 (Revision 1.4), ID 0 (primary)
&gt; cpu0: HID0 90c000&lt;DOZE,DPM,ICE,DCE&gt;, powersave: 1
&gt; cpu0: 260.14MHz
&gt; eumb0 at mainbus0
&gt; ociic0 at eumb0 addr 0xfc003000 irq 5: On-Chip I2C controller
&gt; iic0 at ociic0: I2C bus
&gt; iic0: no devices found
&gt; rs5c372rtc0 at iic0 addr 0x32: RICOH RS5C372[AB] Real-time Clock
&gt; com0 at eumb0 addr 0xfc004600 irq 14: ns16550a, working fifo
&gt; com0: console
&gt; com1 at eumb0 addr 0xfc004500 irq 13: ns16550a, working fifo
&gt; pci0 at mainbus0 bus 0
&gt; pci0: i/o space, memory space enabled
&gt; pchb0 at pci0 dev 0 function 0
&gt; pchb0: vendor 0x1057 product 0x0006 (rev. 0x14)
&gt; re0 at pci0 dev 11 function 0: RealTek 8169/8110 Gigabit Ethernet (rev. 0x10)
&gt; re0: interrupting at irq 0
&gt; re0: Ethernet address 00:0d:0b:**:**:**
&gt; rgephy0 at re0 phy 7: RTL8169S/8110S 1000BASE-T media interface, rev. 0
&gt; rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
&gt; cmdide0 at pci0 dev 12 function 0
&gt; cmdide0: Silicon Image 0680 (rev. 0x02)
&gt; cmdide0: primary channel wired to native-PCI mode
&gt; cmdide0: using irq 1 for native-PCI interrupt
&gt; atabus0 at cmdide0 channel 0
&gt; cmdide0: secondary channel wired to native-PCI mode
&gt; atabus1 at cmdide0 channel 1
&gt; ohci0 at pci0 dev 14 function 0: vendor 0x1033 product 0x0035 (rev. 0x43)
&gt; ohci0: interrupting at irq 3
&gt; ohci0: OHCI version 1.0
&gt; usb0 at ohci0: USB revision 1.0
&gt; uhub0 at usb0
&gt; uhub0: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
&gt; uhub0: 3 ports with 3 removable, self powered
&gt; ohci1 at pci0 dev 14 function 1: vendor 0x1033 product 0x0035 (rev. 0x43)
&gt; ohci1: interrupting at irq 3
&gt; ohci1: OHCI version 1.0
&gt; usb1 at ohci1: USB revision 1.0
&gt; uhub1 at usb1
&gt; uhub1: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
&gt; uhub1: 2 ports with 2 removable, self powered
&gt; ehci0 at pci0 dev 14 function 2: vendor 0x1033 product 0x00e0 (rev. 0x04)
&gt; ehci0: interrupting at irq 3
&gt; ehci0: companion controllers, 3 ports each: ohci0 ohci1
&gt; usb2 at ehci0: USB revision 2.0
&gt; uhub2 at usb2
&gt; uhub2: vendor 0x1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
&gt; uhub2: 5 ports with 5 removable, self powered
&gt; biomask a netmask b ttymask b
&gt; Kernelized RAIDframe activated
&gt; wd0 at atabus0 drive 0: &lt;HDS722525VLAT80&gt;
&gt; wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
&gt; boot device: wd0
&gt; root on wd0j dumps on wd0b
&gt; root file system type: ffs
&gt; Sun Sep 23 13:12:23 GMT 2007
&gt; swapctl: adding /dev/wd0b as swap device at priority 0
&gt; Checking for botched superblock upgrades: done.
&gt; Starting file system checks:
&gt; /dev/rwd0j: file system is clean; not checking
&gt; /dev/rwd0k: file system is clean; not checking
&gt; /dev/rwd0p: file system is clean; not checking
&gt; Setting tty flags.
&gt; Setting sysctl variables:
&gt; Starting network.
&gt; Hostname: KURO-BOX
&gt; IPv6 mode: host
&gt; Configuring network interfaces: re0.
&gt; add net default: gateway 192.168.0.1
&gt; Adding interface aliases:
&gt; Building databases...
&gt; Starting syslogd.
&gt; Setting date via ntp.
&gt; Mounting all filesystems...
&gt; Clearing /tmp.
&gt; Setting securelevel: kern.securelevel: 0 -&gt; 1
&gt; Starting virecover.
&gt; Starting local daemons:.
&gt; Updating motd.
&gt; Starting ntpd.
&gt; Starting sshd.
&gt; postfix/postfix-script: starting the Postfix mail system
&gt; Starting kuro_avrd.
&gt; Starting inetd.
&gt; Starting cron.
&gt; Sun Sep 23 22:12:12 JST 2007
&gt; 
&gt; NetBSD/sandpoint (KURO-BOX) (console)
&gt; 
&gt; login:
- # 空気を読まなければ作業は進むのは解っていたのだが...

(2007-10-06)
- バッファローダイレクトで、初代寺駅(0.6T)が19,800円で売ってます。
-- &amp;del(){並行}逆輸入品だそうです。
-- Made in Japanなはずなので、出戻り品というのが正しそうです。
-- 昔ガワを買ったときは(もちろんディスク無しで)19,800円だったので、ディスク代分の値下げという形でしょうか。
-- 時の流れるのは...(ごほごほ)

(2007-10-30)
- 放置していてすみません _o_
-- TS-TGLの液晶とボタンで動くブートセレクタを作ろうとして頓挫しています。

(2008-02-23)
- [[電脳売王&gt;http://www.dennobaio.jp/]]で、初代ガワの面無しがジャンクで売っています。
-- 5999円です。
-- 21:50現在残り4台です。
-- # 面が無いと間抜けですねぇ...基板だけ使う人には良いかな？

(2008-04-30)
- いつのまにかバッファローダイレクトの初代寺駅(0.6T)が復活してました。
-- 19,800円も変わりありません。家鯖は29,800円で、これも変わりありません。
-- トップからはリンクされていない気がしますが...
-- 一応リンクしておきます。[[ここ&gt;http://www.buffalo-direct.com/outlet/tera-us.html]]です。

(ゆるゆると進行中)

----
突っ込み/コメントお願いします。
# 前に頂いたコメントは長くなりましたので[[別ページへ移動&gt;tera-bsd/comments]]しました。

-  TS-TGL/R5(新寺駅:黒色)の設定中なのですが、 &amp;br()(手動では NetBSD が起動するようになって) boot selector 2 &amp;br()を入れているところです。 &amp;br()で、Linux 側を起動してしばらくすると &amp;br()System Error E04 &amp;br()Can&#039;t Load Krnl &amp;br()となってしまいます。もしかして、これは、以前にクロバコで &amp;br()も、後のボタンを押しながら電源を入れて避けていた件、 &amp;br()と同じかなと思えて来ました。寺箱の場合にも同様の回避方法がある &amp;br()かどうかどなたか御存知ですか  -- Makoto Fujiwara  (2008-04-10 09:34:18)
- | しばらくすると  &amp;br()と書いたのは、いかにも情報がないので、 &amp;br()時間を測って見ました。大体次のようなものです &amp;br()分:秒 &amp;br()00:00 投入 &amp;br()00:10 selector 起動 (卓の表示開始) &amp;br()	Select the OS: (default is 2) &amp;br()	1: Linux, 2: NetBSD(HDD:wd0)  &amp;br()	** Default ** &amp;br()	** No.1 ** &amp;br()	Checking all file systems... &amp;br()	fsck 1.27 (8-Mar-2002) &amp;br()	Setting kernel variables ... &amp;br() &amp;br()02:00	Start services: smbd nmbd &amp;br()02:25	change_notify.sh: set lcd items [ linkspeed ipaddress hostname raidmode date] &amp;br()03:00	Starting kernelmon: &amp;br()04:15	TS-TGL2B8 login: &amp;br()05:40	(login して操作中に) &amp;br()        音がして止ってしまう &amp;br()        System Error E04 &amp;br()        Can&#039;t Load Krnl  &amp;br() &amp;br() &amp;br()  -- makoto fujiwara  (2008-04-10 12:12:34)
- たびたび済みません。上の  &amp;br()00:10 selector 起動 (卓の表示開始) &amp;br()の部分は &amp;br()01:10 selector 起動 (卓の表示開始) &amp;br()です。また投入というのは電源投入の意味です。  -- makoto fujiwara  (2008-04-10 12:14:37)
- ブートセレクタ2をお使いのようですが、あれの電源コントローラ初期化文字列が悪さをしている可能性があります。 &amp;br()(あれは通称AVR(玄箱と銀寺用)向けのコマンドを発行しています) &amp;br()ブートセレクタ1(シリアルコンソール専用版)をお使いになると良いのかもしれません。 &amp;br()# もちろん根本的にはTS-TGL専用版が必要なのですが orz &amp;br()  -- かわうち  (2008-04-10 12:21:53)
- 以前、 &amp;br()http://www5.atwiki.jp/kuro-bsd/pages/216.html  &amp;br()の次の付近 &amp;br()- Makoto Fujiwara (2007-05-30 23:43:41) &amp;br()に書いたことをすっかり忘れていることに &amp;br()今気が付きました。何度も済みません。  -- makoto fujiwara  (2008-04-10 12:28:03)
- その (2007-05-30 23:43:41) 付近に書いてあった、USB 方式で、 &amp;br()無事 NetBSD/sandpoint 4.0 が起動しました。おさわがせして済み &amp;br()ません。 &amp;br()いつも本当にありがとうございます。  -- makoto fujiwara  (2008-04-10 13:46:12)
#comment(size=50,nsize=20,vsize=5)
----
#counter    </description>
    <dc:date>2012-01-27T02:52:48+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/256.html">
    <title>NetBSD-evbarm/Serial-Console(LS-VL)</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/256.html</link>
    <description>
      * シリアルコンソール(LS-VL)
(このページの最終更新日: &amp;date())
工事中につき不完全なのでご了承ください。

** ハードウェア改造
*** シリアルポートの結線有効化
基板表面のSATAコネクタ近くを写真のように結線する。
&amp;ref(VL_PCB_mod.jpg,,)

*** コネクタ
SATAコネクタのところの4穴が電源とシリアル。
日本圧着端子製造(JST)のB4B-EHを使うとSCON-KIT/PROと直結できる。
下の写真は筐体のコネクタ位置に穴を開けた例。
&amp;ref(VL_serial.jpg,,)

*** u-bootのシリアル入出力有効化
基板表面のR60をR59へ移動することでu-bootのシリアル入出力が有効になる
&amp;ref(VL_PCB_mod2.jpg,,)
青枠の抵抗(4.7kΩ?)を赤枠側へ移動する。
または、R60はそのままにR59に1kΩ程度を付けるだけでも良いと思われる（未検証）。

** シリアル設定
- N81, 115200bps, no-flow-control

** ブート時のメッセージ
*** 電源OFF→ON
&gt;  ** LOADER **
&gt;  ** BUFFALO BOARD: MVLSVL LE
&gt;  ** Board ID: 0x81
&gt; 
&gt; U-Boot 1.1.4 (Jul  6 2011 - 20:14:38) Marvell version: 3.5.3
&gt; 
&gt; U-Boot code: 00600000 -&gt; 0066FFF0  BSS: -&gt; 006BCF80
&gt; BUFFALO_BOOTVER=0.26
&gt; 
&gt; Soc: 88F6282 A0CPU running @ 1600Mhz L2 running @ 533Mhz
&gt; SysClock = 533Mhz , TClock = 200Mhz
&gt; 
&gt; DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 20 tRCD=8
&gt; DRAM CS[0] base 0x00000000   size 256MB
&gt; DRAM Total size 256MB  16bit width
&gt; Addresses 8M - 0M are saved for the U-Boot usage.
&gt; Mem malloc Initialization (8M - 7M): Done
&gt; [512kB@f8000000] Flash: 512 kB
&gt; 
&gt; CPU : Marvell Feroceon (Rev 1)
&gt; 
&gt; Streaming disabled
&gt; Write allocate disabled
&gt; 
&gt; 
&gt; USB 0: host mode
&gt; MacicKey = 0x00
&gt; buffalo_IsStopAtUbootStatus &gt; MagicKey = 0x00
&gt; bfSetMagicKey &gt; Changed to 0x5c from 0x00
&gt; HDD0 Power ON
&gt; 
&gt; Marvell Serial ATA Adapter
&gt; Integrated Sata device found
&gt; [0 0 0]: Enable DMA mode (6)
&gt;   Device 0 @ 0 0:
&gt; Model: WDC WD5000AAKX-001CA0                    Firm: 15.01H15 Ser#:      WD-WMAYU2630662
&gt;             Type: Hard Disk
&gt;             Supports 48-bit addressing
&gt;             Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
&gt; 
&gt; MAC Address : 4C:E6:76:**:**:**
&gt; MAC Address read from block device 0 :
&gt; 
&gt; 9613712 bytes read
&gt; Booting from Device 0
&gt; Resetting EthPhy
&gt; Net:   egiga0
&gt; hit any key to switch tftp boot.
&gt; Hit any key to stop autoboot:  0
&gt; Hit any key to stop autoboot:  0
&gt; 
&gt; 9613712 bytes read
&gt; 
&gt; 2729776 bytes read
&gt; ## Booting image at 00100000 ...
&gt;    Image Name:   Linux-2.6.31.8
&gt;    Created:      2011-12-09   7:10:14 UTC
&gt;    Image Type:   ARM Linux Kernel Image (uncompressed)
&gt;    Data Size:    2729712 Bytes =  2.6 MB
&gt;    Load Address: 00008000
&gt;    Entry Point:  00008000
&gt;    Verifying Checksum ... OK
&gt; OK
&gt; ## Loading Ramdisk Image at 00800000 ...
&gt;    Image Name:   initrd
&gt;    Created:      2011-12-09   7:11:14 UTC
&gt;    Image Type:   ARM Linux RAMDisk Image (gzip compressed)
&gt;    Data Size:    9613648 Bytes =  9.2 MB
&gt;    Load Address: 00000000
&gt;    Entry Point:  00000000
&gt;    Verifying Checksum ... OK
&gt; 
&gt; Starting kernel ...
&gt; Uncompressing Linux......................................................................................................................................................................... done, booting the kernel.
&gt; Linux version 2.6.31.8 (root@ubuntu) (gcc version 4.2.0 20070413 (prerelease)) #7 Fri Dec 9 16:10:10 JST 2011
&gt; CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
&gt; CPU: VIVT data cache, VIVT instruction cache
&gt; Machine: Feroceon-KW
&gt; Using UBoot passing parameters structure
&gt; Memory policy: ECC disabled, Data cache writeback
&gt; Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 65024
&gt; Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.26
&gt; PID hash table entries: 1024 (order: 10, 4096 bytes)
&gt; Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
&gt; Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
&gt; Memory: 256MB = 256MB total
&gt; Memory: 235776KB available (4972K code, 271K data, 152K init, 0K highmem)
&gt; Hierarchical RCU implementation.
&gt; NR_IRQS:128
&gt; Console: colour dummy device 80x30
&gt; Calibrating delay loop... 1599.07 BogoMIPS (lpj=7995392)
&gt; Mount-cache hash table entries: 512
&gt; CPU: Testing write buffer coherency: ok
&gt; xor: measuring software checksum speed
&gt;    arm4regs  :  1453.600 MB/sec
&gt;    8regs     :  1102.000 MB/sec
&gt;    32regs    :  1236.000 MB/sec
&gt; xor: using function: arm4regs (1453.600 MB/sec)
&gt; NET: Registered protocol family 16
&gt; Feroceon L2: Enabling L2
&gt; Feroceon L2: Cache support initialised.
&gt; 
&gt; CPU Interface
&gt; -------------
&gt; SDRAM_CS0 ....base 00000000, size 256MB
&gt; SDRAM_CS1 ....disable
&gt; SDRAM_CS2 ....disable
&gt; SDRAM_CS3 ....disable
&gt; PEX0_MEM ....base e0000000, size 128MB
&gt; PEX0_IO ....base f2000000, size   1MB
&gt; PEX1_MEM ....base e8000000, size 128MB
&gt; PEX1_IO ....base f2100000, size   1MB
&gt; INTER_REGS ....base f1000000, size   1MB
&gt; NFLASH_CS ....base fa000000, size   2MB
&gt; SPI_CS ....base f4000000, size  16MB
&gt; BOOT_ROM_CS ....no such
&gt; DEV_BOOTCS ....no such
&gt; CRYPT_ENG ....base f0000000, size   2MB
&gt; 
&gt;   Marvell Development Board (LSP Version KW_LSP_5.1.3_patch13)-- MVLSV  Soc: 88F6282 A0 LE
&gt; 
&gt;  Detected Tclk 200000000 and SysClk 533333333
&gt; MV Buttons Device Load
&gt; Marvell USB EHCI Host controller #0: c8040800
&gt; PEX0 interface detected no Link.
&gt; PEX1 interface detected no Link.
&gt; PCI: bus0: Fast back to back transfers enabled
&gt; PCI: bus1: Fast back to back transfers enabled
&gt; bio: create slab &lt;bio-0&gt; at 0
&gt; SCSI subsystem initialized
&gt; raid6: int32x1    146 MB/s
&gt; raid6: int32x2    175 MB/s
&gt; raid6: int32x4    169 MB/s
&gt; raid6: int32x8    153 MB/s
&gt; raid6: using algorithm int32x2 (175 MB/s)
&gt; NET: Registered protocol family 2
&gt; IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
&gt; TCP established hash table entries: 8192 (order: 4, 65536 bytes)
&gt; TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
&gt; TCP: Hash tables configured (established 8192 bind 8192)
&gt; TCP reno registered
&gt; NET: Registered protocol family 1
&gt; Trying to unpack rootfs image as initramfs...
&gt; rootfs image is not initramfs (no cpio magic); looks like an initrd
&gt; Freeing initrd memory: 12288K
&gt; rtc mv_rtc: rtc core: registered kw-rtc as rtc0
&gt; RTC registered
&gt; MICON ctrl (C) BUFFALO INC. V.1.00 installed.
&gt; Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
&gt; Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
&gt; Kernel event proc (C) BUFFALO INC. V.1.00 installed.
&gt; initial_polarity_val = 0x00030000
&gt; initial_polarity_val_high = 0x0001f100
&gt; Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.
&gt; XOR registered 4 channels
&gt; XOR 2nd invalidate WA enabled
&gt; cesadev_init(c000fd64)
&gt; MV Buttons Driver Load
&gt; VFS: Disk quotas dquot_6.5.2
&gt; Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
&gt; Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
&gt; JFFS2 version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
&gt; fuse init (API version 7.12)
&gt; SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
&gt; SGI XFS Quota Management subsystem
&gt; msgmni has been set to 484
&gt; alg: No test for cipher_null (cipher_null-generic)
&gt; alg: No test for ecb(cipher_null) (ecb-cipher_null)
&gt; alg: No test for digest_null (digest_null-generic)
&gt; alg: No test for compress_null (compress_null-generic)
&gt; alg: No test for stdrng (krng)
&gt; alg: No test for hmac(digest_null) (hmac(digest_null-generic))
&gt; async_tx: api initialized (sync-only)
&gt; Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
&gt; io scheduler noop registered
&gt; io scheduler anticipatory registered (default)
&gt; Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
&gt; serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
&gt; console [ttyS0] enabled
&gt; serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
&gt; brd: module loaded
&gt; loop: module loaded
&gt; Integrated Sata device found
&gt; mvSataInitAdapter : regVal changed(0x00000010)
&gt; IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
&gt; scsi0 : Marvell SCSI to SATA adapter
&gt; scsi1 : Marvell SCSI to SATA adapter
&gt; ** BUFFALO Disable Command Queuing Function [0 0] **
&gt; scsi 0:0:0:0: Direct-Access     WDC      WD5000AAKX-001CA 15.0 PQ: 0 ANSI: 5
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
&gt; sd 0:0:0:0: [sda] 0-byte physical blocks
&gt; sd 0:0:0:0: Attached scsi generic sg0 type 0
&gt; sd 0:0:0:0: [sda] Write Protect is off
&gt; Loading Marvell Ethernet Driver:
&gt;   o Cached descriptors in DRAM
&gt;   o DRAM SW cache-coherency
&gt;   o 2 Giga ports supported
&gt;   o Single RX Queue support - ETH_DEF_RXQ=0
&gt;   o Single TX Queue support - ETH_DEF_TXQ=0
&gt;   o Receive checksum offload supported
&gt;   o Transmit checksum offload supported
&gt;   o Network Fast Processing (Routing) supported - (Disabled)
&gt;   o Driver ERROR statistics enabled
&gt;   o Driver INFO statistics enabled
&gt;   o Proc tool API enabled
&gt;   o SKB Reuse supported - (Disabled)
&gt;   o SKB Recycle supported - (Disabled)
&gt;   o Gateway support enabled
&gt;      o Using Marvell Header Mode
&gt;      o L2 IGMP support
&gt;   o Rx descripors: q0=128
&gt;   o Tx descripors: q0=532
&gt;   o Loading network interface(s):
&gt;      o register under mv88fx_eth platform
&gt;      o eth0, ifindex = 2, GbE port = 0
&gt; 
&gt; Warning: Giga 1 is Powered Off
&gt; 
&gt; Warning: Giga 1 is Powered Off
&gt; 
&gt; mvFpRuleDb (c12e4000): 2048 entries, 8192 bytes
&gt; sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn&#039;t support DPO or FUA
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
&gt; NAND init: NAND device not found on board
&gt; mice: PS/2 mouse device common for all mice
&gt; Linux telephony interface: v1.00
&gt; md: linear personality registered for level -1
&gt; md: raid0 personality registered for level 0
&gt; md: raid1 personality registered for level 1
&gt; md: raid6 personality registered for level 6
&gt; md: raid5 personality registered for level 5
&gt; md: raid4 personality registered for level 4
&gt;  sda:
&gt; device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
&gt; TCP cubic registered
&gt; NET: Registered protocol family 17
&gt; NET: Registered protocol family 15
&gt; RPC: Registered udp transport module.
&gt; RPC: Registered tcp transport module.
&gt; rtc mv_rtc: setting system clock to 2011-12-23 23:28:59 UTC (1324682939)
&gt;  sda1 sda2 sda3 sda4 sda5 sda6
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; sd 0:0:0:0: [sda] Attached SCSI disk
&gt; md: Waiting for all devices to be available before autodetect
&gt; md: If you don&#039;t use raid, use raid=noautodetect
&gt; md: Autodetecting RAID arrays.
&gt; md: Scanned 0 and added 0 devices.
&gt; md: autorun ...
&gt; md: ... autorun DONE.
&gt; RAMDISK: gzip image found at block 0
&gt; VFS: Mounted root (ext2 filesystem) on device 1:0.
&gt; ---- in linuxrc ---
&gt; Version 1.00 2008/ 7/ 1
&gt; hwclock: can&#039;t open &#039;/dev/misc/rtc&#039;: No such file or directory
&gt; Sat Dec 24 08:29:00 JST 2011
&gt; linuxrc:choose operation (timeout 4[s])
&gt;  1:RamRoot other:HddRoot  ? -HddRoot-
&gt; Starting :fsck_disks(boot) ...         [Success.]
&gt; Starting :mount(boot) ...              kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda1, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; [Success.]
&gt; Starting :umount(boot) ...             [Success.]
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
&gt; EXT3 FS on sda2, internal journal
&gt; EXT3-fs: recovery complete.
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; PRODUCTID=0x00000016 PRODUCTID=0x00000000
&gt; /dev/sda2:/mnt:18%
&gt; -- CopyFromInitrdToHdd --
&gt; .........Finish
&gt; 
&gt; umount: cannot open /proc/mounts
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
&gt; EXT3 FS on sda2, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; VFS: Mounted root (ext3 filesystem) on device 8:2.
&gt; Trying to move old root to /initrd ... okay
&gt; Freeing init memory: 152K
&gt; --- rcStart (hddroot) ---
&gt; cleanup lock files...
&gt; Sat Dec 24 08:29:06 JST 2011
&gt; ldconfig: /usr/local/lib/libfuse.so.2 is not a symbolic link
&gt; 
&gt; ldconfig: /usr/local/webaxs/lib/libuuid.so.1 is not a symbolic link
&gt; 
&gt; ** step1 **
&gt; Mounting /dev
&gt; Starting udevd
&gt; Waiting for uevents to be processed
&gt; 
&gt; EXT3-fs: Unrecognized mount option &quot;relatime&quot; or missing value
&gt; mount: mounting /dev/root on / failed: Invalid argument
&gt; ln: /var/spool/cron/cron: File exists
&gt; Adding 1000440k swap on /dev/sda5.  Priority:-1 extents:1 across:1000440k
&gt; create dir : /dev/null
&gt; mkdir: cannot create directory &#039;/dev/null&#039;: File exists
&gt; configure files from Buffalo parameters.
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda1, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; Successfully unmounted /dev/ram0
&gt; Successfully unmounted /dev/ram0
&gt; usbcore: registered new interface driver usbfs
&gt; usbcore: registered new interface driver hub
&gt; usbcore: registered new device driver usb
&gt; ehci_hcd: USB 2.0 &#039;Enhanced&#039; Host Controller (EHCI) Driver
&gt; ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
&gt; ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
&gt; ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
&gt; ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
&gt; usb usb1: configuration #1 chosen from 1 choice
&gt; hub 1-0:1.0: USB hub found
&gt; hub 1-0:1.0: 1 port detected
&gt; ohci_hcd: USB 1.1 &#039;Open&#039; Host Controller (OHCI) Driver
&gt; uhci_hcd: USB Universal Host Controller Interface driver
&gt; Initializing USB Mass Storage driver...
&gt; usbcore: registered new interface driver usb-storage
&gt; USB Mass Storage support registered.
&gt; usbcore: registered new interface driver usblp
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Clear /etc/dhcpc/dhcpcd-eth0.pid eth0
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Read dhcpc file eth0
&gt; /etc/rc.d/sysinit.d/S13networking.sh : configure : eth0
&gt; create network files.. (eth0)
&gt; IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Delete /etc/dhcpc/dhcpcd-eth0.pid
&gt; route: SIOCDELRT: No such process
&gt; Configuration network interface: eth0
&gt; /sbin/ifconfig eth0 mtu 1500 multicast
&gt; /etc/rc.d/sysinit.d/S13networking.sh: line 375: /proc/sys/net/ipv4/conf/eth1/arp_ignore: No such file or directory
&gt; requesting DHCP  tout=30[s]
&gt; networking.sh: dhcp requesting...
&gt; DontDownIface
&gt; alwaysFork
&gt; eth0: link down
&gt; eth0: started
&gt; eth0: link up, full duplex, speed 1 Gbps
&gt; sendto:  count 6   sync 1
&gt; sendto:  count 5   sync 0
&gt; dhcpcd.exe: interface eth0 has been configured with old IP=192.168.11.237 GATEWAY=192.168.11.1
&gt; ** eth0 : networking.sh dhcp fin.
&gt; configure files from Buffalo parameters.
&gt; ntpserver = ntp.jst.mfeed.ad.jp : specified as a fqdn type
&gt; /etc/rc.d/sysinit.d/S14update_ntp.sh: line 31: /usr/local/bin/time_set.sh: No such file or directory
&gt; Starting system logger:
&gt; Starting kernel logger:
&gt; Starting inetd:Starting errormon:Starting kernelmon: * Starting BuffaloXMLRPCServer ...    [ ok ]
&gt; KERNELMOn (lanact 0 full eth0)
&gt; This model doesn&#039;t support RAID!!!
&gt; GbE port 0: TxEnable WA - Enabled, deep=2, tx_en_bk=1
&gt; 
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; KERNELMOn (lanact 1000 full eth0)
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; GbE port 0: TxEnable WA - Enabled, deep=2, tx_en_bk=1
&gt; 
&gt; 
&gt; This model doesn&#039;t support RAID!!!
&gt; Mounting /dev/disk1_6 to /mnt/disk1
&gt; XFS mounting filesystem sda6
&gt; 
&gt; usbdisk1&lt;&gt;usbdisk1&lt;&gt;USB Disk1&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk2&lt;&gt;usbdisk2&lt;&gt;USB Disk2&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk3&lt;&gt;usbdisk3&lt;&gt;USB Disk3&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk4&lt;&gt;usbdisk4&lt;&gt;USB Disk4&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt;  * This model does&#039;t support EDP.
&gt;  * Starting hddspaced ...    [ ok ]
&gt; S29_update_notifications.sh: deleting old settings...
&gt; S29_update_notifications.sh: deleting old settings...
&gt; S29_update_notifications.sh: deleting old settings...
&gt; S29_update_notifications.sh: checking and registering to cron...
&gt; S29_update_notifications.sh: starting f/w cheking process ...
&gt; buf_region:JP
&gt; buf_fw_type:available
&gt; buf_productId:0x00000016
&gt; buf_major_ver:1.56
&gt; buf_minor_ver:2.90
&gt; array_id is 0
&gt; xml_id is 1
&gt; Firmware
&gt; checking_binary_type: OK
&gt; 0x00000000,0x00000011,0x00000012,0x00000013,0x00000014,0x00003006,0x00003007,0x00000015,0x00000016,0x00003008,0x00004001,0x00000017,0x00000019
&gt; cheking productId...
&gt; checking_productId: OK
&gt; available
&gt; cheking firmware type...
&gt; checking_fw_type: OK
&gt; 1.56-2.90
&gt; major_ver_int:1
&gt; major_ver_float:56
&gt; minor_ver_int:2
&gt; minor_ver_float:90
&gt; cheking major version...
&gt; maybe new
&gt; maybe new
&gt; maybe new
&gt; checking_version: NG
&gt; array_id is 1
&gt; xml_id is 3
&gt; Firmware
&gt; checking_binary_type: OK
&gt; 0x0000200B,0x0000200C,0x0000200D,0x00002010,0x00002011
&gt; cheking productId...
&gt; checking_productId: NG
&gt; array_id is 2
&gt; xml_id is 5
&gt; Firmware
&gt; checking_binary_type: OK
&gt; 0x0000200E,0x0000200F
&gt; cheking productId...
&gt; checking_productId: NG
&gt; STEP1: NG
&gt; S29_update_notifications.sh: step1 result=0
&gt; S29_update_notifications.sh: version_is_latest
&gt; S29_update_notifications.sh: deleting from lcd...
&gt; Starting logchkd: * Starting smartfanctld ...    [ ok ]
&gt; ** step2 **
&gt; ** step3 **
&gt; === diskmon.sh ===
&gt; === ftpd.sh ===
&gt; ftp is OFF
&gt; === atalk.sh ===
&gt; atalk is OFF
&gt; === httpd.sh ===
&gt; start
&gt; Starting HTTPD services:
&gt; 
&gt; === smb.sh ===
&gt; configure samba
&gt; load_info ItemValue = off
&gt; LoadConfFileStringEx:key=[ad_dns] not found in /etc/melco/info.
&gt; LoadConfFileOnOffEx:key=[info_visible] not found in /etc/melco/info.
&gt; LoadConfFileStringEx:key=[array1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[array2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[msdfs_link1_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link2_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link3_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link4_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link5_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link6_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link7_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link8_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link9_name] not found in /etc/melco/msdfs.
&gt; file:/etc/samba/smb.conf
&gt; &gt;IconvCodeCharset CodePage=0,charset=CP932
&gt; file:/etc/pam_smb.conf
&gt; Setting up msdfs symbolic links... [Failed ]
&gt; Starting SMB services:
&gt; Starting NMB services:
&gt; === clientUtil_servd.sh ===
&gt; Starting clientUtil_server:starting on eth0
&gt; === bonjour.sh ===
&gt; Starting Bonjour services: done
&gt; === lsprcvd.sh ===
&gt; Starting lsprcvd:=== daemonwatch.sh ===
&gt; Starting daemonwatch:daemonwatch Ver.1.01
&gt; watch list file : /etc/daemonwatch.list
&gt; === cron.sh ===
&gt; Start services: crondlogrotate state -- version 2
&gt; === checkconfig.sh ===
&gt; === ups.sh ===
&gt; ups_link.ups.melco.etc is not &quot;on&quot;(off)
&gt; === pwrmgr.sh ===
&gt; AutoPowerSW status is off. So no need to bootup pwrmgr.
&gt; Shutting down pwrmgr:
&gt; AutoPowerSW status is off. So no need to bootup pwrmgr.
&gt; ** step4 **
&gt; === lprng.sh ===
&gt; /mnt/disk1/spool/samba created
&gt; /mnt/disk1/spool/lp created
&gt; Start services: lpd
&gt; lprmd 1.00 started.(BUILD DATE May  8 2009 18:02:38)
&gt; === ltbootd.sh ===
&gt; Starting services: rarpd tftpd rarpcfgd fwupdated.
&gt; === pmcd.sh ===
&gt;  * Starting sxuptp ... sxuptp is disabled.
&gt;  * Starting foolwatch ...    [ ok ]
&gt;  * Starting twonky.sh in background...
&gt; bittorrent is off
&gt; eyefi service is off. terminated.
&gt; eyefid: no process killed
&gt; configfile doesn&#039;t exists. terminated.
&gt;  * Starting lighttpd ... HTTPd is disabled.
&gt;  * Starting MySQL server ... MySQL is disabled.
&gt; PPP generic driver version 2.4.2
&gt; Squeezebox Server is disabled.
&gt; load_info ItemValue = off
&gt; LoadConfFileStringEx:key=[ad_dns] not found in /etc/melco/info.
&gt; LoadConfFileOnOffEx:key=[info_visible] not found in /etc/melco/info.
&gt; LoadConfFileStringEx:key=[array1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[array2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk2] not found in /etc/melco/diskinfo.
&gt; file:/etc/sftponly_config
&gt; userinfo finished
&gt; groupname admin
&gt; groupname guest
&gt; groupname hdusers
&gt; file:/etc/pam.d/sshd
&gt; Disabling protocol version 1. Could not load host key
&gt; WebAxs service is off. terminated.
&gt; Usage: /usr/local/wbfs/bin/wbfs_stop [Options] &lt;MOUNT POINT&gt;
&gt; Options:
&gt;    -k: Kill processes which hold mountpoint.
&gt;    -h: display this Help
&gt; *** WebAxs2 file not found. ***
&gt; httpd: Could not open configuration file /usr/local/webaxs/apache/conf/httpd.conf: No such file or directory
&gt; thumbnaild service is not running.
&gt; WebAxs3 is OFF
&gt; === bootcomplete.sh ===
&gt; bfSetMagicKey &gt; Changed to 0x71 from 0x5c
&gt; ** step final(after bootcomplete) **
&gt; bootarg &quot;func&quot; is disabled.
&gt; 
&gt; BUFFALO INC. LinkStation series
&gt; LS-VL*** login: KERNELMOn (PSW_on)
*** 電源ON→OFF
&gt; KERNELMOn (PSW_off)
&gt; CPU_STAT=normal_state
&gt; ##### shutdown start
&gt; --- rcDown ---
&gt; =====  exec:shutdown_start.sh  =====
&gt; called shutdown_start /etc/init.d/shutdown_start.sh
&gt; err:
&gt; bfSetMagicKey &gt; Changed to 0x02 from 0x71
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
&gt; fwupdate.sh:FW not updated
&gt; =====  exec:shutdown_proc.sh  =====
&gt; Stop daemonwatch:done.
&gt; killall: dbrescan: no process killed
&gt; *** WebAxs2 file not found. ***
&gt; httpd: Could not open configuration file /usr/local/webaxs/apache/conf/httpd.conf: No such file or directory
&gt; thumbnaild service is not running.
&gt; WebAxs3 is OFF
&gt; bittorrent: WaitBtDie is finished.
&gt; Stopping eyefid: eyefid: no process killed
&gt; 
&gt; /etc/rc.d/extensions.d/K60_flickrfs.sh: line 19: libbuffalo_bin: command not found
&gt; === flickrfs.sh ===
&gt; force stopping mode
&gt; flickrfs is already unmounted
&gt;  * Stopping lighttpd ... lighttpd has not yet been started.
&gt;    [ !! ]
&gt;  * Stopping MySQL server ...    [ ok ]
&gt; Stopping Squeezebox Server...
&gt; Squeezebox Server is not running!
&gt; Stopping wafs...Usage: /usr/local/wbfs/bin/wbfs_stop [Options] &lt;MOUNT POINT&gt;
&gt; Options:
&gt;    -k: Kill processes which hold mountpoint.
&gt;    -h: display this Help
&gt; Stopping wafs...Usage: /usr/local/wbfs/bin/wbfs_stop [Options] &lt;MOUNT POINT&gt;
&gt; Options:
&gt;    -k: Kill processes which hold mountpoint.
&gt;    -h: display this Help
&gt;  * Stopping foolwatch ...    [ ok ]
&gt;  * Stopping sxuptp ...    [ ok ]
&gt; Stop logchkd:done.
&gt; Stop lsprcvd:Stop services: crondStop inetd:done.
&gt; Stop errormon:lcd_error_man.sh: no process killed
&gt; done.
&gt; Stop clientUtil_server:rm: cannot remove &#039;/var/run/clientUtil_server-eth0.pid&#039;: No such file or directory
&gt; Shutting down FTPD services: proftpd: no process killed
&gt; 
&gt; 
&gt; Shutting down SMB services:
&gt; Shutting down NMB services:
&gt; 
&gt; Cleanup msdfs symbolic links... [Success]
&gt; 
&gt; Shutting down WINBIND services:
&gt; winbindd: no process killed
&gt; 
&gt; Shutting down PAMSMBD services:
&gt; pamsmbd: no process killed
&gt; 
&gt; Stop servecies: atalkd afpd
&gt; atalkd: no process killed
&gt; afpd: no process killed
&gt; papd: no process killed
&gt; cnid_metad: no process killed
&gt; stop
&gt; Shutting down HTTPD services:
&gt; speedy: no process killed
&gt; speedy_backend: no process killed
&gt; /etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-eth0.pid eth0
&gt; /etc/init.d/networking.sh : Read dhcpc file eth0
&gt; Deconfiguration network interface: eth0
&gt; eth0: stopped
&gt; diskmon_exec.sh: no process killed
&gt; Stop kernelmon:/proc/buffalo/kernevnt: no process killed
&gt; done.
&gt; Stop services: lpd
&gt; Stop services: rarpd tftpd rarpcfgd fwupdated.
&gt; miconmon_exec.sh: no process killed
&gt; pmcd_exec.sh: no process killed
&gt; Stopping NUT : UPS monitor(master) ... Failed.
&gt; Stopping NUT : UPS daemon ... Failed.
&gt; Stopping NUT : UPS driver ... Failed.
&gt; ups.sh: Successfully stopped!
&gt; Stop errormon:lcd_error_man.sh: no process killed
&gt; errormon: no process killed
&gt; done.
&gt; Shutting down kernel logger:
&gt; Shutting down system logger:
&gt; Stop logchkd:logchkd: no process killed
&gt; done.
&gt;  * Stopping smartfanctld ...    [ ok ]
&gt;  * Stopping hddspaced ...    [ ok ]
&gt;  * This model does&#039;t support EDP.
&gt;  * Stopping BuffaloXMLRPCServer ...    [ ok ]
&gt; stopped /sbin/udevd (pid 651)
&gt; umount: cannot umount /dev: Device or resource busy
&gt; Save current configuration files
&gt; delete unnecessary samba lock files on //etc/samba/lock... done
&gt; tar: modules/*/etc: Cannot stat: No such file or directory
&gt; tar: usr/local/bittorrent/*.dat: Cannot stat: No such file or directory
&gt; tar: Error exit delayed from previous errors
&gt; =====  exec:umount_disk.sh  =====
&gt; ==== unmounting all disks ====
&gt; EXT3-fs: Unrecognized mount option &quot;relatime&quot; or missing value
&gt; mount: mounting /dev/root on / failed: Invalid argument
&gt; Sent SIGKILL to all processes
&gt; Requesting system halt
&gt; md: stopping all md devices.
&gt; sd 0:0:0:0: [sda] Synchronizing SCSI cache
&gt; System halted.
&gt; BuffaloChangePowerStatusBeforeHalt &gt; Check power status. MagicKey = 0x02
&gt; bfSetMagicKey &gt; Changed to 0x7a from 0x02
*** u-bootのヘルプ
&gt; BUFFALO&gt;&gt; help
&gt; ?       - alias for &#039;help&#039;
&gt; base    - print or set address offset
&gt; boot    - boot default, i.e., run &#039;bootcmd&#039;
&gt; bootd   - boot default, i.e., run &#039;bootcmd&#039;
&gt; bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name
&gt; bootm   - boot application image from memory
&gt; bootp   - boot image via network using BootP/TFTP protocol
&gt; bubt    - Burn an image on the Boot Flash.
&gt; chk_wol - wol test suite.
&gt; chpart  - change active partition
&gt; cmp     - memory compare
&gt; cmpm    - Compare Memory
&gt; cp      - memory copy
&gt; cpumap - Display CPU memory mapping settings.
&gt; crc32   - checksum calculation
&gt; date    - get/set/reset date &amp; time
&gt; dclk    - Display the MV device CLKs.
&gt; diskboot- boot from IDE device
&gt; echo    - echo args to console
&gt; erase   - erase FLASH memory
&gt; exit    - exit script
&gt; ext2load- load binary file from a Ext2 filesystem
&gt; ext2ls  - list files in a directory (default /)
&gt; fatinfo - print information about filesystem
&gt; fatload - load binary file from a dos filesystem
&gt; fatls   - list files in a directory (default /)
&gt; fi      - Find value in the memory.
&gt; flinfo  - print FLASH memory information
&gt; fsinfo  - print information about filesystems
&gt; fsload  - load binary file from a filesystem image
&gt; g       - start application at cached address &#039;addr&#039;(default addr 0x40000)
&gt; go      - start application at address &#039;addr&#039;
&gt; help    - print online help
&gt; ide     - IDE sub-system
&gt; iminfo  - print header information for application image
&gt; ir      - reading and changing MV internal register values.
&gt; loop    - infinite loop on address range
&gt; ls      - list files in a directory (default /)
&gt; map     - Diasplay address decode windows
&gt; md      - memory display
&gt; mm      - memory modify (auto-incrementing)
&gt; mmcinit - init mmc card
&gt; mtdparts- define flash/nand partitions
&gt; mtest   - simple RAM test
&gt; mw      - memory write (fill)
&gt; nm      - memory modify (constant address)
&gt; phyRead - Read PCI-E Phy register
&gt; pciePhyWrite    - Write PCI-E Phy register
&gt; phyRead - Read Phy register
&gt; phyWrite        - Write Phy register
&gt; ping    - send ICMP ECHO_REQUEST to network host
&gt; printenv- print environment variables
&gt; protect - enable or disable FLASH write protection
&gt; rarpboot- boot image via network using RARP/TFTP protocol
&gt; rcvr    - Satrt recovery process (Distress Beacon with TFTP server)
&gt; reset   - Perform RESET of the CPU
&gt; resetenv        - Return all environment variable to default.
&gt; run     - run commands in an environment variable
&gt; saveenv - save environment variables to persistent storage
&gt; setenv  - set environment variables
&gt; sflash  - read, write or erase the external SPI Flash.
&gt; sg      - scanning the PHYs status
&gt; switchRegRead   - Read switch register
&gt; switchRegWrite  - Write switch register
&gt; test    - minimal test like /bin/sh
&gt; test_wol- wol test suite.
&gt; tftpboot- boot image via network using TFTP protocol
&gt; usb     - USB sub-system
&gt; usbboot - boot from USB device
&gt; version - print monitor version
&gt; BUFFALO&gt;&gt;
*** u-bootのprintenv
&gt; BUFFALO&gt;&gt; printenv
&gt; baudrate=115200
&gt; loads_echo=0
&gt; ipaddr=192.168.11.150
&gt; serverip=192.168.11.1
&gt; rootpath=/mnt/ARM_FS/
&gt; netmask=255.255.255.0
&gt; run_diag=yes
&gt; console=console=ttyS0,115200
&gt; CASset=min
&gt; MALLOC_len=1
&gt; bootargs_root=root=/dev/sda2 rw initrd=0x00800040,12M panic=5
&gt; bootargs_end=:::DB88FXX81:eth0:none
&gt; image_name=uImage
&gt; lcd0_enable=0
&gt; lcd0_params=640x480-16@60
&gt; lcd0_bootargs=video-dovefb:lcd0:$(lcd0_params) clcd.lcd0_enable=$(lcd0_enable)
&gt; ethmtu=1500
&gt; mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
&gt; mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
&gt; usb0Mode=host
&gt; netretry=no
&gt; rcvrip=169.254.100.100
&gt; loadaddr=0x02000000
&gt; autoload=no
&gt; ethaddr=4C:E6:76:**:**:**
&gt; stdin=serial
&gt; stdout=serial
&gt; stderr=serial
&gt; mainlineLinux=no
&gt; enaMonExt=no
&gt; enaCpuStream=no
&gt; enaWrAllo=no
&gt; pexMode=RC
&gt; disL2Cache=no
&gt; setL2CacheWT=yes
&gt; disL2Prefetch=yes
&gt; enaICPref=yes
&gt; enaDCPref=yes
&gt; sata_dma_mode=yes
&gt; buffalo_ver=BOOTVER=0.26
&gt; kernel=uImage.buffalo
&gt; initrd=initrd.buffalo
&gt; bootcommon=setenv bootargs $console $bootargs_root $bootargs_func $bootargs_wol $buffalo_ver $mtdparts $tftpboot $nandboot; bootm 0x00100000 0x00800000
&gt; tftpbootcmd=tftp 0x00100000 $kernel; tftp 0x00800000 $initrd; setenv tftpboot tftpboot=yes; run bootcommon
&gt; bootorder=ide
&gt; bootcmd=for i in $bootorder; do run ${i}bootcmd; done
&gt; bootdelay=3
&gt; disaMvPnp=no
&gt; enaAutoRecovery=yes
&gt; pcieTune=no
&gt; filesize=92B190
&gt; idebootcmd=ext2load ide 0:1 0x00800000 /initrd.buffalo; ext2load ide 0:1 0x00100000 /uImage.buffalo; setenv bootargs $console $bootargs_root $bootargs_func $bootargs_wol $buffalo_ver $mtdparts $tftpboot $nandboot; bootm 0x00100000 0x00800000
&gt; ethact=egiga0
&gt; 
&gt; Environment size: 1583/65532 bytes
&gt; BUFFALO&gt;&gt;

** 質問・コメント等ありましたらどうぞ
- Very prefect!  &amp;br()is there any chance for WVL?  &amp;br()that two short wires pads looks almost same, &amp;br()but small diffence. :S  -- Simon  (2012-01-11 02:35:44)
- Hi Simon, &amp;br()I haven&#039;t WVL :-(. Do you(or someone) have any hi-res pictures of the board? &amp;br()  -- Eiji  (2012-01-11 19:38:41)
- Hi Eiji,i will try take few hi-res pics sent for you. &amp;br() &amp;br() &amp;br()by your seek,two wires from R99 &amp; R164 all from one end,other end going to 6282. &amp;br()so WVL problem just your wire joined pad is not in same place. :) &amp;br() &amp;br() &amp;br()could you please check that two pad is connect to which componets pins? &amp;br()my oscilloscope is very old,that can&#039;t hunt ttl signals from WVL. :S  -- Simon  (2012-01-12 03:53:02)
- Hi, (sorry broken English) &amp;br() &amp;br() &amp;br()You&#039;ll find the SPI-ROM nearby the serial holes. &amp;br()It assuming that same as LS-VL, you have to remove the ROM, then you&#039;ll find the two couples of pads. &amp;br()Connect these, and re-soldering the ROM, You&#039;ll get the serial lines (but except the u-boot controlling). &amp;br() &amp;br() &amp;br()&gt; could you please check that two pad is connect to which componets pins?  &amp;br()OK, I&#039;ll check it, but it may take a lot of time (sorry!). &amp;br() &amp;br() &amp;br()P.S. Please send your PCB pics at &amp;quot;e.kawauchi at gmail.com&amp;quot;. Thank you.  -- Eiji  (2012-01-12 11:42:48)
- thanks Eiji,just mails WVL pics for you. &amp;br() &amp;br() &amp;br()i found two pair pads under SPI flash.. &amp;br()that coming from CN9 and going to R99(Tx) &amp; R164(Rx) on CPU resistor array. &amp;br() &amp;br() &amp;br()but no luck.. when make short still northing outputs. :S  &amp;br()(the R59 reisistor also changed,no helps.. )  -- 名無しさん  (2012-01-13 04:20:47)
- Thanks for PCB pics, I&#039;ve got it. &amp;br() &amp;br() &amp;br()My sequence on LS-VL: &amp;br()1) Find a 4.7kohm registor that connected to 3.3V, and clean (non-connected) pads nearby. It maybe near the CPU. &amp;br()   The clean pads may use pull down, so one pad connected to GND. Check both 3.3V and GND lines. &amp;br()  -- Eiji  (2012-01-13 12:09:34)
- (cont) &amp;br()2) A few candidates were found, select one of them, and pull-down the line that should be connected to the CPU. &amp;br()3) Turn power on, and check serial outputs. If you got it, congratulation! &amp;br()   If you got nothing, recover it, and retry with another candidates. Good luck! &amp;br() &amp;br() &amp;br()Have a fun!  -- Eiji  (2012-01-13 12:09:52)
- Hi Eiji, &amp;br() &amp;br() &amp;br()thanks,there must something worng on my WVL baords mod way. &amp;br() &amp;br() &amp;br()dobule checked DC value of the TX pin(from R99),that starting DC value is 11.8V around 30sec. &amp;br()then stable around 5.8V... yep,5.8V :S  -- 名無しさん  (2012-01-14 03:51:47)
- Hmm... It seems as same as LS-AVL. &amp;br()Its +12V came from SATA&#039;s power connector, so I need to remove a diode and cut a line. &amp;br()Perhaps you should remove a parts nearby the serial connector. &amp;br()Please check the voltage of these parts with care. &amp;br()Or, of course, you can get it under the SPI-ROM&#039;s pads, directly. &amp;br()  -- Eiji  (2012-01-14 12:29:06)
#comment(size=50,nsize=20,vsize=5)
----
#counter    </description>
    <dc:date>2012-01-14T12:29:06+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/212.html">
    <title>NetBSD-evbarm/Serial-Console(LS-GL)</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/212.html</link>
    <description>
      * シリアルコンソール(LS-GL)
(このページの最終更新日: &amp;date())

LS-GLの本体改造不要のシリアルコンソール接続のメモです。
もしかしたら玄箱/PROでも使えるかもしれません。(玄箱/PRO本体への半田付けが不要なので保証が無くならない可能性があります)
＃玄箱/PROの実例は http://nice.kaze.com/kuro-box-pro.html を参照されたし。
玄箱/PROの場合は、少し(1～2mm)抜き気味にすると端子が正しく接触するようです。
USB延長ケーブル等、メスコネクタが付いたケーブルを加工してもうまくいけそうです。参照先 → http://blog.sibrof.net/ken/2007/11/25/504/

** ** プレゼント企画第二弾は終了しました。次回は今のところ未定です。 **
- 修理やフォローアップ等のご相談は随時お受けしています。メールでご連絡下さい。
// ** ** プレゼント企画第一弾は終了しました。次回にご期待下さい。 **
// &amp;color(red){** 現在量産型コネクタプレゼント中！ 下のほうに書いてありますのでご確認下さい **}
// &amp;color(red){(一旦2008-04-20で〆ますので、迷っている方はお早めにどうぞ！)}
// &amp;color(red){** 現在量産型コネクタプレゼント第二弾実施中！ 下のほうに書いてありますのでご確認下さい **}
// &amp;color(red){** 今回も無くなり次第終了しますので必要な方はお早めにどうぞ！ **}
// &amp;color(red){(2008-07-14追記)7月末を目処に終了したいと思います。必要な方はお早めに！}
//
// &amp;color(blue){注意: 最近はお申し込みのお返事を差し上げても到着しない場合が多くなっているようです。spamフィルタ等の設定をご確認願います。}

** アンケートのようなもの
#vote(コネクタを自分で作った！[63],コネクタを他人に作らせた！[2],どこか・誰かが売り出すのを待ってる！[20],見てるだけ～♪[9])

#vote(LS-GLで動いた！[12],LS-GLで動かなかった！[1],HS-DHGLで動いた！[7],HS-DHGLで動かなかった！[1],玄箱/PROで動いた！[27],玄箱/PROで動かなかった！[2],シラネーヨ[3])

LS-GL, HS-DHGLは前期型、後期型によって基板が異なります。後期型は玄箱/PROと同じ筐体・基板なので、以下の玄箱/PRO用のほうを参考にしてみて下さい。
前期型と後期型の見分けは筐体下のフロントパネル近くにネジがあり、このネジでフロントパネルを外せるものが後期型で、ネジが無いのが前期型です。

----
** ソフト設定

- 115200bps
- 8 bit
- Non-Parity
- 1 Stop-bit

** ピンアサイン(LS-GL本体側)

- 1: TXD
- 2: RXD
- 3: VCC(+3.3V)
- 4: GND

(端末との接続はTXD,RXDをクロスすること)

** コンタクトの作成
(写真の背景の方眼紙は5mmのものです。ご参考まで。)

&amp;ref(SERIAL1.jpg,,)

- USBコネクタ([[Aタイプ・メス&gt;http://akizukidenshi.com/catalog/items2.php?p=1&amp;q=%22C-00160%22]])を分解し、出っ張りをヤスリで削るなどして、写真左のような状態にします。厚さは約2mmです。
- 紙フェノール片面基板(1.6mm厚)を10.5mm×25.0mmに切断し、写真右のようにパターンを剥がしておきます。
-- いわゆる『ベークライト基板』です。ちゃんと切断するにはアクリルカッターを使うと良いでしょう。怪我をしないように気を付けて！
-- 穴あき万能基板でも可能ですが、強度や絶縁に気をつけて下さい。
-- ガラスエポキシ基板は、加工が比較的難しく、ガラス繊維で手を切ったりすることがあるためお奨めしません。使用する場合は十分に注意して下さい。
--- 長さをもう少し短くし、10.5mm×22.0mm程度にすると筐体を立てた状態で使えるようになると思います。(抜き挿しは不便になると思いますが...)
- 玄箱/PROの場合は、基板を10.5mm×18.0mm程度にすると良さそうです。
-- 基板の先とコネクタの先を1mmずらす(コネクタを手前にして基板が1mmはみ出る)と奥まで入れてもしっかりと接触するようです。
-- &amp;del(){(玄箱/PRO専用は実験準備中)}下のほうにまとめました。

&amp;ref(SERIAL2.jpg,,)

- USBコネクタと基板を接着します。ここでは薄手の両面テープを使っています。
- 各々を半田付けします。この向きで、右から左に向かって1,2,3,4の順です。
- 3がVCC,4がGNDです。絶対にショートしないようにテスタ等で絶縁を確認してください。

&amp;ref(SERIAL3.jpg,,)

- ここでは反対側に3.5φのステレオミニピンジャックをつけています。(これは自分の都合です)
-- ここは[[9-KEを直結&gt;hardware/tips]]するなど、ご自身の都合に合わせて変えて下さい。
- 9-KEではVCCを使わないので、1,2,4のみ接続します。

&amp;ref(SERIAL4.jpg,,)

- ホットボンド等で絶縁を兼ねて固めて完成です。コンタクトの金具にボンドや汚れがつかないように注意してください。
-- ホットボンドがはみ出たら固まるまで待ってからカッター等で削り取ります。

&amp;ref(SERIAL5.jpg,,)

- 上の写真は実際に挿した状態のものです。この状態で本体から5mmほどはみ出すのが正常です。
- 電源OFFの状態で抜き挿しするのが安全と思われます。
-- 電源ON状態で抜き挿ししてみましたが、端末にゴミキャラクタが出力されるものの、壊れることはありませんでした。(自己責任でお願いします)

- 穴の中を覗けば判りますが、玄箱/PROとLS-GLでは基板の場所が違います。
-- 上の写真(LS-GL)は金メッキの端子を上に向けて挿し込んでいますが、玄箱/PROでは下に向けます。ご注意下さい。

----
** 玄箱/PRO用コネクタの実験
縦置きが可能なように工夫してみました。

&amp;ref(serial6.JPG,,)

- 今回は上の写真右のように加工します。基板は10.5mm×18.0mmです。
-- コネクタをずらす目安をつけるため、頭側1mmほどの銅箔を剥がしてあります。
-- 下(半田付け側)はぎりぎりになります。このあたりは現物あわせが安全でしょう(^_^;)。
-- ヤスリで周囲を丸めています。
-- 参考までに、左側はUSBコネクタのシールドを外したものです。ここから平たくなるまで加工します。

&amp;ref(serial7.JPG,,)

- 半田付けしたものです。(汚いのは仕様です orz)
-- コネクタを少し割ってしまったのを無理やり付けています。
-- 頭側を1mmずらしているのが判ると思います。

&amp;ref(serial8.jpg,,)

- 早速本体に挿してみました。
-- ケーブルと、いつもの3.5φステレオミニピンジャックを付けて、ホットボンド(ホットメルト)でモールドしてあります。
-- ケーブルは固めにするため、LANケーブルの単芯のものを撚って、熱収縮チューブを被せたものです。

&amp;ref(serial9.jpg,,)

- 縦置きしてみました。ぎりぎりですが、まっすぐ立たせることが出来ました。
-- 3.5φステレオミニピンプラグと携帯電話コネクタの変換(自作)をつなぎ、USB携帯電話ケーブルで繋いでいます。

----
** 量産型の試作
- USBコネクタを使わないで、安価に作成する方法を検討しました。
&amp;ref(production_model.jpg,,)
- 左がLS-GL(前期型)用、右が玄箱/PRO(後期型)用です。
-- 縦置きが出来るように、LS-GL用は22mm長、玄箱/PRO用は18mm長にしています。
- コンタクトの金具は、5インチフロッピーディスク用のカードエッジコネクタ(34pin)から抜き取って加工したものです。
-- 一個のカードエッジコネクタから34個の金具が取れます。(シリアルコネクタ8.5個分)
- 基板は紙フェノール製で、前と変わっていません。
-- 基板には3本の溝が彫ってあり、銅箔のみ切断しています。
- 端子と基板はハンダ付けで面接着しています。しっかりと付けたことで、多少乱暴に扱っても外れないようです。
- ハンダ付けの反対側は、(写真では見難いですが)基板表面の銅箔から1mmほど浮かせています。
-- これによって基板底面から金具上部までの4mm強を確保しています。

----
// #region(close,量産型プレゼント企画は一旦休止中です。再開は5月中旬くらいになります。)
// ** &amp;del(){量産型プレゼント中！}第一弾は終了しました。次回にご期待下さい。(2008-04-21)
//- 若干作りすぎてしまっていますので、欲しい方にお分けします。
// ** 量産型プレゼント中！
// - 現在、プレゼント第二弾を実施中です。(2008-05-18～&amp;color(red){2008-07-31(予定)})
// -- コネクタ部だけです。ケーブル等は含みません。上の写真を参照してください。
// --- LS-GL用は玄箱/PROにも使える兼用型となっています。
// -- Linux onlyな人も大歓迎です。遠慮なくどうぞ(^__^)。
// -- 一つ一つ&amp;del(){心を込めて}手作りしていますので、若干品質や寸法等にばらつきがある場合があります。
// --- あまり出来は良くありません。必要に応じて手直しをして下さい _o_
// -- 一応動作確認を済ませてからお送りします。
// - 欲しい方は &quot;E.Kawauchi (at) gmail (dot) com&quot; まで、郵便送付先の住所、お名前、型(LS-GL用もしくは玄箱/PRO用)、個数を書いた電子メールをお送り下さい。
// -- 郵便が届きさえすれば何処でも良いです。プライバシーを心配される方は局留等をお使いいただくのも良いでしょう。
// -- 名前の通知に支障のある方は、郵便が届く範囲で変名・偽名でもペットの名前(^__^;)でもお使い下さい。
// -- (もちろん頂いた情報は今回の発送以外の用途には使いません。)
// - 「ハック仲間の裾野を広げよう計画」遂行中にて、送料を含めて御代は一切頂きません(^__^)。お気軽にご要求・お問い合わせ下さい。
// -- 送料や部材費はアマゾンアフィリエイトの売り上げから出していますのでご安心下さい。
// -- あまり多数のご要求にはお応え出来ない場合もありますので予めご了承下さい。
// -- # 転売はしないで下さいね(^__^;)
// - 基本的に早い者勝ちで処理します。
// -- ある程度まとめて作成しますので、数日お時間をいただくことがあります。ご了承ください。
// -- 今回も品切れになり次第即時終了します。
// - 特別なご要望に関しましては、e-mailにてご相談下さい。個別に対応いたします。
// -- (例)3pinが不要なので抜いて欲しい, UP-12Cや9-KEにはんだ付けしたものが欲しい, 等々。
// -- 特別な部材が必要な場合は経費(部材費と追加送料)の負担をお願いします。
// -- 部材の手持ちの都合により、UP-12Cや9-KEは同等品(OEM品や同機能品)になる場合があります。その場合はご相談の返答のメールにてその旨ご連絡します。
// -- (2008-07-07追記) UP-12Cの手持ちは残りわずかです。USB携帯電話ケーブルの他の型は若干残っていますので、別の型でも良いかご相談させてください。よろしくお願いします。
// - (蛇足)
// -- 自分は9-KEやUP-12Cは秋葉原の千石電商で買っています。
// -- ご参考までに、店頭価格は9-KEは430円、UP-12Cは720円です。
// -- # 通販ではもうちょっと高いようです
//
// - 部材が足りなくなったらここで再度アナウンス(アップデート)します。
// -- (2008-03-27追記) 好評につき玄箱/PRO用(18mm)の組み立て済みが無くなりました。今後はメールをいただいてから組み立てますので若干お時間をいただきます。
// -- (2008-03-31追記) 再び玄箱/PRO用をまとめて作りました(若干品質が落ちたような... orz)。LS-GL用もコンタクト金具の位置を調整して共用出来るようにしました。
// - (2008-04-10追記) やんごとなき事情により2008-04-20受付分にて一旦〆させていただきます。
// -- 再開は2008-05中旬以降となりますので、ゴールデンウィークの工作で必要な方はお早めにどうぞ！
// #endregion
// ----
** 量産型とUP-12Cとの結線
&amp;ref(up12c-connector.jpg,,)
- 結線の参考にして下さい。
-- 右から、白, 緑, (空き), 黒の順です。
-- 赤はUSB給電の5Vが出ていますので繋ぎません。
-- (空き)のVCCと黒のGNDとの間のハンダブリッジは致命傷になり得ます。テスターで絶縁をしっかり確認してください。

----
** 量産型の組み立て例
- ↓USB-携帯電話ケーブルの改造品です。
#ref(usbcable.jpg,memo)
- ↓シリアル-携帯電話ケーブル(9-KEのようなもの)の改造品です。
#ref(serial_cable.jpg,memo)
----
** トラブルシューティング
- いままで良く発生したトラブルは以下のとおりです。
-- 結線ミス
--- これは何度も見直しましょう。
-- 半田付け不良
--- 一見付いているように見えても、実は付いていない(通称イモハンダ)場合があります。
--- ケーブルやコネクタ部に力を加えてみて、グラグラしたり、取れたりするならば半田付けし直しましょう。
--- 半田付けの後でテスタで導通チェックをしましょう。
-- 接触不良
--- コンタクトのバネが弱くなってしまって、うまく接触しないことがあります。
---- ちょっと持ち上げる方向に力を加えてみましょう。(壊さない程度に)
--- コネクタ部全体の厚さが薄いと、バネがOKでも接触不良になることがあります。
---- 基板からコンタクト金具上部までの厚さは4mm強必要です。足りない場合は紙(クラフトテープ等)を貼ったりしてみましょう。
--- 手で直接触れたりすることで汚れ、接触が悪くなることがあります。
---- アルコール(IPA)をしみこませたガーゼやティッシュでコンタクト金具を優しく拭くと良いでしょう。

----
ご意見、ご感想等ありましたらどうぞ。
- 実際作成して非常に助かりました。情報ありがとうございます。 &amp;br()現状は、シリアルUSB変換をかませてPCにアクセスしています。 &amp;br()上に画期的なUSB-携帯電話ケーブルでの量産品がでていました。 &amp;br()このケーブルはどこのどういうのを使われたのでしょうか。 &amp;br()PDC(Mova)の分でしょうか。それとも３G用？ &amp;br()またその場合はPCへのドライバーは携帯用ケーブル付属分をもちいるのでしょうか &amp;br()1本のケーブルでUSBでつなげるようであれば、もう商売になるような気がします。 &amp;br()すくなくとも私は買います：）  -- このページのおかげで作成済  (2009-11-21 08:55:14)
- &gt; このケーブルはどこのどういうのを使われたのでしょうか。  &amp;br()PDC用(携快電話)を使っています。ドライバもそのまま付属のものを使います。 &amp;br()商売は...もっとバイタリティあふれる方にお任せします(^__^;) &amp;br()  -- かわうち  (2009-11-22 22:13:04)
- 返信ありがとうございます。 &amp;br()おーなぞが解けました。私も携快電話（PDC）持っていました。 &amp;br()だからなんだか見覚えあったのですね。今はどこに行ったのか不明です。 &amp;br()探して見ます。やはり付属のドライバーということなのですね。 &amp;br()そうなると商売はたしかに面倒ですね。 &amp;br()私のような作成する側もたまたま持っているなら別としても他にも用途がある &amp;br()USBシリアル変換アダプターを使うのが賢明かもしれませんね。 &amp;br()  -- このページのおかげで作成済  (2009-11-26 01:21:31)
- 写真から判断して、携快電話の変換ケーブルでできるんだとと思い実践。 &amp;br()ver4.00ぐらいだろうと推測して作成しました。 &amp;br()PDC部を取ったら良い具合にシリアル側が出るようになりました。（ホットボンドで固めましたが） &amp;br()USB-PDC変換アダプターは、ハードオフのジャンクコーナー(笑)でケーブルだけ山ほど\100で売られてました。 &amp;br()ドライバはググったらでてきました。 &amp;br()どうもありがとうございました。 &amp;br()もうちょっと早くこのページをみてればmipsなHD-HLANを昇天させることはなかったのに・・・。 &amp;br()  -- pixy  (2009-12-27 13:55:37)
#comment(size=50,nsize=20,vsize=5)
----
#counter    </description>
    <dc:date>2011-12-30T16:22:45+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/254.html">
    <title>NetBSD-evbarm/Serial-Console(LS-XHL)</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/254.html</link>
    <description>
      * シリアルコンソール(LS-XHL)
(このページの最終更新日: &amp;date())
工事中につき不完全なのでご了承ください。
(LS-CHLも下記LS-XHLと同じ手順で出来るはずですが未確認)

** ハードウェア改造
*** シリアルポートの結線有効化
LS-XHLのシリアル有効化改造ページ: http://buffalo.nas-central.org/wiki/Serial_and_JTAG_port_LS-XHL
R253を剥がして、その下のランド（実際は貫通ビア）にジャンパを２ヶ所飛ばせばよい。上記ページの写真どおり。
*** コネクタ
上記ページを参照。端の4穴(TXD,RXD,3V3,GND)が電源とシリアル。
2.5mmピッチなので、日本圧着端子製造(JST)のB4B-EHが最適と思われる。これでSCON-KIT/PROがそのまま使えるようになる。
（自分は筐体下部に穴を開けて、このコネクタへ外からアクセスできるようにしている。）
&amp;ref(XHL_serial.jpg,,)

*** u-bootのシリアル入出力有効化
CPU裏にある抵抗を付け替えることで、u-bootのシリアル入出力が有効になる。
&amp;ref(lsxhl-modify.jpg,,)
（上の写真は改造前のオリジナル）
赤枠の抵抗(4.7kΩ)を青枠側へ移動する。1.0mm×0.5mmの抵抗なので非常に細かい作業になるのが難点。
右にTP（丸いランド）が有るので、抵抗を取り去って(またはそのままでも)TPをGNDに低抵抗(1kΩ程度)で落とすだけでもいけるかもしれない（未検証）。
同様に、赤枠側の抵抗をそのままに、青枠側に1kΩ程度の抵抗をつけるだけでも良いと思われる（未検証）。

** シリアル設定
- N81, 115200bps, no-flow-control

** ブート時のメッセージ
*** ACアダプタ接続時
&gt;  ** LOADER **
&gt;  ** BUFFALO BOARD: MVLSXH LE
&gt;  ** Board ID: 0x80
&gt; 
&gt; U-Boot 1.1.4 (Mar 15 2011 - 14:53:08) Marvell version: 3.4.25
&gt; 
&gt; U-Boot code: 00600000 -&gt; 0066FFF0  BSS: -&gt; 006BCE40
&gt; BUFFALO_BOOTVER=0.21
&gt; 
&gt; Soc: 88F6281 A1 (DDR2)
&gt; CPU running @ 1200Mhz L2 running @ 400Mhz
&gt; SysClock = 400Mhz , TClock = 200Mhz
&gt; 
&gt; DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=5
&gt; DRAM CS[0] base 0x00000000   size 256MB
&gt; DRAM Total size 256MB  16bit width
&gt; Addresses 8M - 0M are saved for the U-Boot usage.
&gt; Mem malloc Initialization (8M - 7M): Done
&gt; [512kB@f8000000] Flash: 512 kB
&gt; 
&gt; CPU : Marvell Feroceon (Rev 1)
&gt; 
&gt; Streaming disabled
&gt; Write allocate disabled
&gt; 
&gt; Module 1 is RGMII
&gt; 
&gt; USB 0: host mode
&gt; MacicKey = 0x00
&gt; buffalo_IsStopAtUbootStatus &gt; MagicKey = 0x00
&gt; bfSetMagicKey &gt; Changed to 0x5c from 0x00
&gt; 
&gt; Please switch a position of the POWER to ON or AUTO ...

*** スイッチOFF→ON
&gt; HDD0 Power ON
&gt; 
&gt; Marvell Serial ATA Adapter
&gt; Integrated Sata device found
&gt; [0 0 0]: Enable DMA mode (6)
&gt;   Device 0 @ 0 0:
&gt; Model: SAMSUNG HD103SI                          Firm: 1AG01118 Ser#: S1XGJ90Z523864
&gt;             Type: Hard Disk
&gt;             Supports 48-bit addressing
&gt;             Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
&gt; 
&gt; MAC Address : 00:24:A5:**:**:**
&gt; MAC Address read from block device 0 :
&gt; 
&gt; 10691817 bytes read
&gt; Booting from Device 0
&gt; Net:   egiga0, egiga1
&gt; hit any key to switch tftp boot.
&gt; Hit any key to stop autoboot:  0
&gt; Hit any key to stop autoboot:  0
&gt; 
&gt; 10691817 bytes read
&gt; 
&gt; 2724504 bytes read
&gt; ## Booting image at 00100000 ...
&gt;    Image Name:   Linux-2.6.31.8
&gt;    Created:      2011-06-23   8:57:59 UTC
&gt;    Image Type:   ARM Linux Kernel Image (uncompressed)
&gt;    Data Size:    2724440 Bytes =  2.6 MB
&gt;    Load Address: 00008000
&gt;    Entry Point:  00008000
&gt;    Verifying Checksum ... OK
&gt; OK
&gt; ## Loading Ramdisk Image at 00800000 ...
&gt;    Image Name:   initrd
&gt;    Created:      2011-06-23   8:59:00 UTC
&gt;    Image Type:   ARM Linux RAMDisk Image (gzip compressed)
&gt;    Data Size:    10691753 Bytes = 10.2 MB
&gt;    Load Address: 00000000
&gt;    Entry Point:  00000000
&gt;    Verifying Checksum ... OK
&gt; 
&gt; Starting kernel ...
&gt; 
&gt; Uncompressing Linux........................................................................................................................................................................ done, booting the kernel.
&gt; Linux version 2.6.31.8 (root@NAS) (gcc version 4.2.0 20070413 (prerelease)) #11 Thu Jun 23 17:57:55 JST 2011
&gt; CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
&gt; CPU: VIVT data cache, VIVT instruction cache
&gt; Machine: Feroceon-KW
&gt; Using UBoot passing parameters structure
&gt; Memory policy: ECC disabled, Data cache writeback
&gt; Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 65024
&gt; Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.21
&gt; PID hash table entries: 1024 (order: 10, 4096 bytes)
&gt; Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
&gt; Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
&gt; Memory: 256MB = 256MB total
&gt; Memory: 235776KB available (4960K code, 270K data, 152K init, 0K highmem)
&gt; Hierarchical RCU implementation.
&gt; NR_IRQS:128
&gt; Console: colour dummy device 80x30
&gt; Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
&gt; Mount-cache hash table entries: 512
&gt; CPU: Testing write buffer coherency: ok
&gt; xor: measuring software checksum speed
&gt;    arm4regs  :  1089.600 MB/sec
&gt;    8regs     :   826.400 MB/sec
&gt;    32regs    :   926.400 MB/sec
&gt; xor: using function: arm4regs (1089.600 MB/sec)
&gt; NET: Registered protocol family 16
&gt; Feroceon L2: Enabling L2
&gt; Feroceon L2: Cache support initialised.
&gt; 
&gt; CPU Interface
&gt; -------------
&gt; SDRAM_CS0 ....base 00000000, size 256MB
&gt; SDRAM_CS1 ....disable
&gt; SDRAM_CS2 ....disable
&gt; SDRAM_CS3 ....disable
&gt; PEX0_MEM ....base e0000000, size 128MB
&gt; PEX0_IO ....base f2000000, size   1MB
&gt; PEX1_MEM ....no such
&gt; PEX1_IO ....no such
&gt; INTER_REGS ....base f1000000, size   1MB
&gt; NFLASH_CS ....base fa000000, size   2MB
&gt; SPI_CS ....base f4000000, size  16MB
&gt; BOOT_ROM_CS ....no such
&gt; DEV_BOOTCS ....no such
&gt; CRYPT_ENG ....base f0000000, size   2MB
&gt; 
&gt;   Marvell Development Board (LSP Version KW_LSP_5.1.3_patch13)-- MVLSXH  Soc: 88F6281 A1 LE
&gt; 
&gt;  Detected Tclk 200000000 and SysClk 400000000
&gt; MV Buttons Device Load
&gt; Marvell USB EHCI Host controller #0: c8040800
&gt; PEX0 interface detected no Link.
&gt; PCI: bus0: Fast back to back transfers enabled
&gt; mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
&gt; bio: create slab &lt;bio-0&gt; at 0
&gt; SCSI subsystem initialized
&gt; raid6: int32x1    112 MB/s
&gt; raid6: int32x2    131 MB/s
&gt; raid6: int32x4    129 MB/s
&gt; raid6: int32x8    117 MB/s
&gt; raid6: using algorithm int32x2 (131 MB/s)
&gt; NET: Registered protocol family 2
&gt; IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
&gt; TCP established hash table entries: 8192 (order: 4, 65536 bytes)
&gt; TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
&gt; TCP: Hash tables configured (established 8192 bind 8192)
&gt; TCP reno registered
&gt; NET: Registered protocol family 1
&gt; Trying to unpack rootfs image as initramfs...
&gt; rootfs image is not initramfs (no cpio magic); looks like an initrd
&gt; Freeing initrd memory: 12288K
&gt; rtc mv_rtc: rtc core: registered kw-rtc as rtc0
&gt; RTC registered
&gt; MICON ctrl (C) BUFFALO INC. V.1.00 installed.
&gt; Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
&gt; Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
&gt; Kernel event proc (C) BUFFALO INC. V.1.00 installed.
&gt; initial_polarity_val = 0x000c0000
&gt; initial_polarity_val_high = 0x00034ef0
&gt; Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.
&gt; XOR registered 4 channels
&gt; XOR 2nd invalidate WA enabled
&gt; cesadev_init(c000fd64)
&gt; MV Buttons Driver Load
&gt; VFS: Disk quotas dquot_6.5.2
&gt; Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
&gt; Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
&gt; JFFS2 version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
&gt; fuse init (API version 7.12)
&gt; SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
&gt; SGI XFS Quota Management subsystem
&gt; msgmni has been set to 485
&gt; alg: No test for cipher_null (cipher_null-generic)
&gt; alg: No test for ecb(cipher_null) (ecb-cipher_null)
&gt; alg: No test for digest_null (digest_null-generic)
&gt; alg: No test for compress_null (compress_null-generic)
&gt; alg: No test for stdrng (krng)
&gt; alg: No test for hmac(digest_null) (hmac(digest_null-generic))
&gt; async_tx: api initialized (sync-only)
&gt; Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
&gt; io scheduler noop registered
&gt; io scheduler anticipatory registered (default)
&gt; Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
&gt; serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
&gt; console [ttyS0] enabled
&gt; serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
&gt; brd: module loaded
&gt; loop: module loaded
&gt; Integrated Sata device found
&gt; mvSataInitAdapter : regVal changed(0x00000010)
&gt; IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
&gt; scsi0 : Marvell SCSI to SATA adapter
&gt; scsi1 : Marvell SCSI to SATA adapter
&gt; ** BUFFALO Disable Command Queuing Function [0 0] **
&gt; scsi 0:0:0:0: Direct-Access     SAMSUNG  HD103SI          1AG0 PQ: 0 ANSI: 5
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
&gt; sd 0:0:0:0: [sda] 0-byte physical blocks
&gt; sd 0:0:0:0: Attached scsi generic sg0 type 0
&gt; Loading Marvell Ethernet Driver:
&gt;   o Cached descriptors in DRAM
&gt;   o DRAM SW cache-coherency
&gt;   o 2 Giga ports supported
&gt;   o Single RX Queue support - ETH_DEF_RXQ=0
&gt;   o Single TX Queue support - ETH_DEF_TXQ=0
&gt;   o Receive checksum offload supported
&gt;   o Transmit checksum offload supported
&gt;   o Network Fast Processing (Routing) supported - (Disabled)
&gt;   o Driver ERROR statistics enabled
&gt;   o Driver INFO statistics enabled
&gt;   o Proc tool API enabled
&gt;   o SKB Reuse supported - (Disabled)
&gt;   o SKB Recycle supported - (Disabled)
&gt;   o Gateway support enabled
&gt;      o Using Marvell Header Mode
&gt;      o L2 IGMP support
&gt;   o Rx descripors: q0=128
&gt;   o Tx descripors: q0=532
&gt;   o Loading network interface(s):
&gt;      o register under mv88fx_eth platform
&gt; sd 0:0:0:0: [sda] Write Protect is off
&gt;      o eth0, ifindex = 2, GbE port = 0
&gt;      o eth1, ifindex = 3, GbE port = 1
&gt; 
&gt; mvFpRuleDb (c130c000): 2048 entries, 8192 bytes
&gt; SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
&gt; sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn&#039;t support DPO or FUA
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; NAND init: NAND device not found on board
&gt; mice: PS/2 mouse device common for all mice
&gt; Linux telephony interface: v1.00
&gt; md: linear personality registered for level -1
&gt; md: raid0 personality registered for level 0
&gt; md: raid1 personality registered for level 1
&gt; md: raid6 personality registered for level 6
&gt; md: raid5 personality registered for level 5
&gt; md: raid4 personality registered for level 4
&gt; device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
&gt; TCP cubic registered
&gt; NET: Registered protocol family 17
&gt; NET: Registered protocol family 15
&gt;  sda:
&gt; RPC: Registered udp transport module.
&gt; RPC: Registered tcp transport module.
&gt; rtc mv_rtc: setting system clock to 2000-01-13 03:34:08 UTC (947734448)
&gt;  sda1 sda2 sda3 sda4 sda5 sda6
&gt; sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
&gt; sd 0:0:0:0: [sda] Attached SCSI disk
&gt; md: Waiting for all devices to be available before autodetect
&gt; md: If you don&#039;t use raid, use raid=noautodetect
&gt; md: Autodetecting RAID arrays.
&gt; md: Scanned 0 and added 0 devices.
&gt; md: autorun ...
&gt; md: ... autorun DONE.
&gt; RAMDISK: gzip image found at block 0
&gt; VFS: Mounted root (ext2 filesystem) on device 1:0.
&gt; ---- in linuxrc ---
&gt; Version 1.00 2008/ 7/ 1
&gt; hwclock: can&#039;t open &#039;/dev/misc/rtc&#039;: No such file or directory
&gt; Thu Nov  1 00:00:00 JST 2007
&gt; hwclock: can&#039;t open &#039;/dev/misc/rtc&#039;: No such file or directory
&gt; Thu Nov  1 00:00:00 JST 2007
&gt; CheckDevices
&gt; linuxrc:choose operation (timeout 4[s])
&gt;  1:RamRoot other:HddRoot  ? -HddRoot-
&gt; Starting :fsck_disks(boot) ...         [Failed. ]
&gt; Starting :mount(boot) ...              kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda1, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; [Success.]
&gt; Starting :umount(boot) ...             [Success.]
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda2, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; PRODUCTID=0x00000011 PRODUCTID=0x00000000
&gt; /dev/sda2:/mnt:18%
&gt; -- CopyFromInitrdToHdd --
&gt; .........Finish
&gt; 
&gt; umount: cannot open /proc/mounts
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda2, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; VFS: Mounted root (ext3 filesystem) on device 8:2.
&gt; Trying to move old root to /initrd ... okay
&gt; Freeing init memory: 152K
&gt; --- rcStart (hddroot) ---
&gt; cleanup lock files...
&gt; Thu Nov  1 00:00:06 JST 2007
&gt; ldconfig: /usr/local/lib/libfuse.so.2 is not a symbolic link
&gt; 
&gt; ldconfig: /usr/local/webaxs/lib/libuuid.so.1 is not a symbolic link
&gt; 
&gt; ** step1 **
&gt; Mounting /dev
&gt; Starting udevd
&gt; Waiting for uevents to be processed
&gt; 
&gt; EXT3-fs: Unrecognized mount option &quot;relatime&quot; or missing value
&gt; mount: mounting /dev/root on / failed: Invalid argument
&gt; ln: /var/spool/cron/cron: File exists
&gt; Adding 1000440k swap on /dev/sda5.  Priority:-1 extents:1 across:1000440k
&gt; create dir : /dev/null
&gt; mkdir: cannot create directory &#039;/dev/null&#039;: File exists
&gt; configure files from Buffalo parameters.
&gt; kjournald starting.  Commit interval 5 seconds
&gt; EXT3 FS on sda1, internal journal
&gt; EXT3-fs: mounted filesystem with writeback data mode.
&gt; Successfully unmounted /dev/ram0
&gt; Successfully unmounted /dev/ram0
&gt; usbcore: registered new interface driver usbfs
&gt; usbcore: registered new interface driver hub
&gt; usbcore: registered new device driver usb
&gt; ehci_hcd: USB 2.0 &#039;Enhanced&#039; Host Controller (EHCI) Driver
&gt; ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
&gt; ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
&gt; ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
&gt; ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
&gt; usb usb1: configuration #1 chosen from 1 choice
&gt; hub 1-0:1.0: USB hub found
&gt; hub 1-0:1.0: 1 port detected
&gt; ohci_hcd: USB 1.1 &#039;Open&#039; Host Controller (OHCI) Driver
&gt; uhci_hcd: USB Universal Host Controller Interface driver
&gt; Initializing USB Mass Storage driver...
&gt; usbcore: registered new interface driver usb-storage
&gt; USB Mass Storage support registered.
&gt; usbcore: registered new interface driver usblp
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Clear /etc/dhcpc/dhcpcd-eth1.pid eth1
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Read dhcpc file eth1
&gt; /etc/rc.d/sysinit.d/S13networking.sh : configure : eth1
&gt; create network files.. (eth1)
&gt; IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
&gt; /etc/rc.d/sysinit.d/S13networking.sh : Delete /etc/dhcpc/dhcpcd-eth1.pid
&gt; Configuration network interface: eth1
&gt; /sbin/ifconfig eth1 mtu 1500 multicast
&gt; requesting DHCP  tout=30[s]
&gt; networking.sh: dhcp requesting...
&gt; DontDownIface
&gt; alwaysFork
&gt; eth1: link down
&gt; eth1: started
&gt; eth1: link up, full duplex, speed 1 Gbps
&gt; sendto:  count 6   sync 1
&gt; sendto:  count 5   sync 0
&gt; sendto:  count 6   sync 0
&gt; sendto:  count 6   sync 0
&gt; dhcpcd.exe: interface eth1 has been configured with new IP=192.168.11.236 GATEWAY=192.168.11.1
&gt; ** eth1 : networking.sh dhcp fin.
&gt; configure files from Buffalo parameters.
&gt; ntpserver = ntp.jst.mfeed.ad.jp : specified as a fqdn type
&gt; /etc/rc.d/sysinit.d/S14update_ntp.sh: line 31: /usr/local/bin/time_set.sh: No such file or directory
&gt; Starting system logger:
&gt; Starting kernel logger:
&gt; Starting inetd:Starting errormon:Starting kernelmon: * Starting BuffaloXMLRPCServer ...    [ ok ]
&gt; KERNELMOn (lanact 0 full eth1)
&gt; This model doesn&#039;t support RAID!!!
&gt; 
&gt; This model doesn&#039;t support RAID!!!
&gt; Mounting /dev/disk1_6 to /mnt/disk1
&gt; KERNELMOn (lanact 1000 full eth1)
&gt; XFS mounting filesystem sda6
&gt; 
&gt; usbdisk1&lt;&gt;usbdisk1&lt;&gt;USB Disk1&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk2&lt;&gt;usbdisk2&lt;&gt;USB Disk2&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk3&lt;&gt;usbdisk3&lt;&gt;USB Disk3&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt; usbdisk4&lt;&gt;usbdisk4&lt;&gt;USB Disk4&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;all&lt;&gt;1&lt;&gt;1&lt;&gt;0&lt;&gt;1&lt;&gt;&lt;&gt;0&lt;&gt;0&lt;&gt;0&lt;&gt;&lt;&gt;0&lt;&gt;0;
&gt;  * This model does&#039;t support EDP.
&gt;  * Starting hddspaced ...    [ ok ]
&gt; Starting logchkd: * Starting smartfanctld ...    [ ok ]
&gt; ** step2 **
&gt; ** step3 **
&gt; === diskmon.sh ===
&gt; === ftpd.sh ===
&gt; ftp is OFF
&gt; === atalk.sh ===
&gt; atalk is OFF
&gt; === httpd.sh ===
&gt; start
&gt; Starting HTTPD services:
&gt; 
&gt; === smb.sh ===
&gt; configure samba
&gt; load_info ItemValue = off
&gt; LoadConfFileStringEx:key=[ad_dns] not found in /etc/melco/info.
&gt; LoadConfFileOnOffEx:key=[info_visible] not found in /etc/melco/info.
&gt; LoadConfFileStringEx:key=[array1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[array2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[msdfs_link1_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link2_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link3_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link4_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link5_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link6_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link7_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link8_unc1] not found in /etc/melco/msdfs.
&gt; LoadConfFileStringEx:key=[msdfs_link9_name] not found in /etc/melco/msdfs.
&gt; file:/etc/samba/smb.conf
&gt; &gt;IconvCodeCharset CodePage=0,charset=CP932
&gt; file:/etc/pam_smb.conf
&gt; Setting up msdfs symbolic links... [Failed ]
&gt; Starting SMB services:
&gt; Starting NMB services:
&gt; === clientUtil_servd.sh ===
&gt; Starting clientUtil_server:starting on eth1
&gt; === bonjour.sh ===
&gt; Starting Bonjour services: done
&gt; === lsprcvd.sh ===
&gt; Starting lsprcvd:=== daemonwatch.sh ===
&gt; Starting daemonwatch:daemonwatch Ver.1.01
&gt; watch list file : /etc/daemonwatch.list
&gt; === cron.sh ===
&gt; Start services: crondlogrotate state -- version 2
&gt; === checkconfig.sh ===
&gt; === ups.sh ===
&gt; ups_link.ups.melco.etc is not &quot;on&quot;(off)
&gt; === pwrmgr.sh ===
&gt; AutoPowerSW status is off. So no need to bootup pwrmgr.
&gt; Shutting down pwrmgr:
&gt; AutoPowerSW status is off. So no need to bootup pwrmgr.
&gt; ** step4 **
&gt; === lprng.sh ===
&gt; /mnt/disk1/spool/samba created
&gt; /mnt/disk1/spool/lp created
&gt; Start services: lpd
&gt; lprmd 1.00 started.(BUILD DATE May  8 2009 18:02:38)
&gt; === ltbootd.sh ===
&gt; Starting services: rarpd tftpd rarpcfgd fwupdated.
&gt; === pmcd.sh ===
&gt;  * Starting foolwatch ...    [ ok ]
&gt;  * Starting twonky.sh in background...
&gt;  * Starting update_notifications.sh in background...
&gt; bittorrent is off
&gt; eyefi service is off. terminated.
&gt; eyefid: no process killed
&gt; configfile doesn&#039;t exists. terminated.
&gt;  * Starting lighttpd ... HTTPd is disabled.
&gt;  * Starting MySQL server ... MySQL is disabled.
&gt; PPP generic driver version 2.4.2
&gt; Squeezebox Server is disabled.
&gt; load_info ItemValue = off
&gt; LoadConfFileStringEx:key=[ad_dns] not found in /etc/melco/info.
&gt; LoadConfFileOnOffEx:key=[info_visible] not found in /etc/melco/info.
&gt; LoadConfFileStringEx:key=[array1] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[array2] not found in /etc/melco/diskinfo.
&gt; LoadConfFileStringEx:key=[usb_disk2] not found in /etc/melco/diskinfo.
&gt; file:/etc/sftponly_config
&gt; userinfo finished
&gt; groupname admin
&gt; groupname guest
&gt; groupname hdusers
&gt; file:/etc/pam.d/sshd
&gt; Disabling protocol version 1. Could not load host key
&gt; *** WebAxs2 file not found. ***
&gt; httpd: Could not open configuration file /usr/local/webaxs/apache/conf/httpd.conf: No such file or directory
&gt; thumbnaild service is not running.
&gt; WebAxs3 is OFF
&gt; === bootcomplete.sh ===
&gt; bfSetMagicKey &gt; Changed to 0x71 from 0x5c
&gt; ** step final(after bootcomplete) **
&gt; bootarg &quot;func&quot; is disabled.
&gt; KERNELMOn (PSW_on)

*** スイッチON→OFF
&gt; KERNELMOn (PSW_off)
&gt; CPU_STAT=normal_state
&gt; ##### shutdown start
&gt; --- rcDown ---
&gt; =====  exec:shutdown_start.sh  =====
&gt; called shutdown_start /etc/init.d/shutdown_start.sh
&gt; err:
&gt; bfSetMagicKey &gt; Changed to 0x02 from 0x71
&gt; =====  exec:shutdown_proc.sh  =====
&gt; Stop daemonwatch:done.
&gt; killall: dbrescan: no process killed
&gt; route: SIOCDELRT: No such process
&gt; *** WebAxs2 file not found. ***
&gt; httpd: Could not open configuration file /usr/local/webaxs/apache/conf/httpd.conf: No such file or directory
&gt; thumbnaild service is not running.
&gt; WebAxs3 is OFF
&gt; bittorrent: WaitBtDie is finished.
&gt; Stopping eyefid: eyefid: no process killed
&gt; 
&gt; /etc/rc.d/extensions.d/K60_flickrfs.sh: line 19: libbuffalo_bin: command not found
&gt; === flickrfs.sh ===
&gt; force stopping mode
&gt; flickrfs is already unmounted
&gt;  * Stopping lighttpd ... lighttpd has not yet been started.
&gt;    [ !! ]
&gt;  * Stopping MySQL server ...    [ ok ]
&gt; Stopping Squeezebox Server...
&gt; Squeezebox Server is not running!
&gt; /etc/rc.d/extensions.d/K60_sshd.sh: line 8: [: argument expected
&gt;  * Stopping foolwatch ...    [ ok ]
&gt; Stop logchkd:done.
&gt; Stop lsprcvd:Stop services: crondStop inetd:done.
&gt; Stop errormon:lcd_error_man.sh: no process killed
&gt; done.
&gt; Stop clientUtil_server:rm: cannot remove &#039;/var/run/clientUtil_server-eth1.pid&#039;: No such file or directory
&gt; Shutting down FTPD services: proftpd: no process killed
&gt; 
&gt; 
&gt; Shutting down SMB services:
&gt; Shutting down NMB services:
&gt; 
&gt; Cleanup msdfs symbolic links... [Success]
&gt; 
&gt; Shutting down WINBIND services:
&gt; winbindd: no process killed
&gt; 
&gt; Shutting down PAMSMBD services:
&gt; pamsmbd: no process killed
&gt; 
&gt; Stop servecies: atalkd afpd
&gt; Can&#039;t unregister LS-XHL***:Workstation@*
&gt; Can&#039;t unregister LS-XHL***:netatalk@*
&gt; atalkd: no process killed
&gt; afpd: no process killed
&gt; papd: no process killed
&gt; Starting Bonjour services: done
&gt; stop
&gt; Shutting down HTTPD services:
&gt; speedy: no process killed
&gt; speedy_backend: no process killed
&gt; /etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-eth1.pid eth1
&gt; /etc/init.d/networking.sh : Read dhcpc file eth1
&gt; Deconfiguration network interface: eth1
&gt; eth1: stopped
&gt; diskmon_exec.sh: no process killed
&gt; Stop kernelmon:/proc/buffalo/kernevnt: no process killed
&gt; done.
&gt; Stop services: lpd
&gt; lprmd: no process killed
&gt; Stop services: rarpd tftpd rarpcfgd fwupdated.
&gt; miconmon_exec.sh: no process killed
&gt; pmcd_exec.sh: no process killed
&gt; Stopping NUT : UPS monitor(master) ... Failed.
&gt; Stopping NUT : UPS daemon ... Failed.
&gt; Stopping NUT : UPS driver ... Failed.
&gt; ups.sh: Successfully stopped!
&gt; Stop errormon:lcd_error_man.sh: no process killed
&gt; errormon: no process killed
&gt; done.
&gt; Shutting down kernel logger:
&gt; Shutting down system logger:
&gt; Stop logchkd:logchkd: no process killed
&gt; done.
&gt;  * Stopping smartfanctld ...    [ ok ]
&gt;  * Stopping hddspaced ...    [ ok ]
&gt;  * This model does&#039;t support EDP.
&gt;  * Stopping BuffaloXMLRPCServer ...    [ ok ]
&gt; stopped /sbin/udevd (pid 659)
&gt; umount: cannot umount /dev: Device or resource busy
&gt; Save current configuration files
&gt; delete unnecessary samba lock files on //etc/samba/lock... done
&gt; tar: modules/*/etc: Cannot stat: No such file or directory
&gt; tar: usr/local/bittorrent/*.dat: Cannot stat: No such file or directory
&gt; tar: Error exit delayed from previous errors
&gt; =====  exec:umount_disk.sh  =====
&gt; \n==== unmounting all disks ====
&gt; umount: forced umount of /mnt/usbdisk1 failed!
&gt; umount: cannot umount /mnt/usbdisk1: No such file or directory
&gt; umount: forced umount of /mnt/usbdisk2 failed!
&gt; umount: cannot umount /mnt/usbdisk2: No such file or directory
&gt; umount: forced umount of /mnt/usbdisk1 failed!
&gt; umount: cannot umount /mnt/usbdisk1: No such file or directory
&gt; =====  exec:sendsigs.sh  =====
&gt; umount: cannot umount /proc: Device or resource busy
&gt; The system is going down NOW!
&gt; Sent SIGTERM to all processes
&gt; Sent SIGKILL to all processes
&gt; Requesting system halt
&gt; md: stopping all md devices.
&gt; sd 0:0:0:0: [sda] Synchronizing SCSI cache
&gt; System halted.
&gt; BuffaloChangePowerStatusBeforeHalt &gt; Check power status. MagicKey = 0x02
&gt; bfSetMagicKey &gt; Changed to 0x7a from 0x02
&gt;  ** LOADER **
&gt;  ** BUFFALO BOARD: MVLSXH LE
&gt;  ** Board ID: 0x80
&gt; 
&gt; U-Boot 1.1.4 (Mar 15 2011 - 14:53:08) Marvell version: 3.4.25
&gt; 
&gt; U-Boot code: 00600000 -&gt; 0066FFF0  BSS: -&gt; 006BCE40
&gt; BUFFALO_BOOTVER=0.21
&gt; 
&gt; Soc: 88F6281 A1 (DDR2)
&gt; CPU running @ 1200Mhz L2 running @ 400Mhz
&gt; SysClock = 400Mhz , TClock = 200Mhz
&gt; 
&gt; DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=5
&gt; DRAM CS[0] base 0x00000000   size 256MB
&gt; DRAM Total size 256MB  16bit width
&gt; Addresses 8M - 0M are saved for the U-Boot usage.
&gt; Mem malloc Initialization (8M - 7M): Done
&gt; [512kB@f8000000] Flash: 512 kB
&gt; 
&gt; CPU : Marvell Feroceon (Rev 1)
&gt; 
&gt; Streaming disabled
&gt; Write allocate disabled
&gt; 
&gt; Module 1 is RGMII
&gt; 
&gt; USB 0: host mode
&gt; MacicKey = 0x00
&gt; buffalo_IsStopAtUbootStatus &gt; MagicKey = 0x00
&gt; bfSetMagicKey &gt; Changed to 0x5c from 0x00
&gt; 
&gt; Please switch a position of the POWER to ON or AUTO ...

*** u-bootのhelp
&gt; BUFFALO&gt;&gt; help
&gt; ?       - alias for &#039;help&#039;
&gt; barled - control bar led (LS-AVL)
&gt; base    - print or set address offset
&gt; boot    - boot default, i.e., run &#039;bootcmd&#039;
&gt; bootd   - boot default, i.e., run &#039;bootcmd&#039;
&gt; bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name
&gt; bootm   - boot application image from memory
&gt; bootp   - boot image via network using BootP/TFTP protocol
&gt; bubt    - Burn an image on the Boot Flash.
&gt; chpart  - change active partition
&gt; cmp     - memory compare
&gt; cmpm    - Compare Memory
&gt; cp      - memory copy
&gt; cpumap - Display CPU memory mapping settings.
&gt; crc32   - checksum calculation
&gt; date    - get/set/reset date &amp; time
&gt; dclk    - Display the MV device CLKs.
&gt; diskboot- boot from IDE device
&gt; echo    - echo args to console
&gt; erase   - erase FLASH memory
&gt; exit    - exit script
&gt; ext2load- load binary file from a Ext2 filesystem
&gt; ext2ls  - list files in a directory (default /)
&gt; fatinfo - print information about filesystem
&gt; fatload - load binary file from a dos filesystem
&gt; fatls   - list files in a directory (default /)
&gt; fi      - Find value in the memory.
&gt; flinfo  - print FLASH memory information
&gt; fsinfo  - print information about filesystems
&gt; fsload  - load binary file from a filesystem image
&gt; g       - start application at cached address &#039;addr&#039;(default addr 0x40000)
&gt; go      - start application at address &#039;addr&#039;
&gt; help    - print online help
&gt; ide     - IDE sub-system
&gt; iminfo  - print header information for application image
&gt; ir      - reading and changing MV internal register values.
&gt; ledbc - change the led&#039;s brightness control. (LS-AVL)
&gt; loop    - infinite loop on address range
&gt; ls      - list files in a directory (default /)
&gt; map     - Diasplay address decode windows
&gt; md      - memory display
&gt; mm      - memory modify (auto-incrementing)
&gt; mmcinit - init mmc card
&gt; mtdparts- define flash/nand partitions
&gt; mtest   - simple RAM test
&gt; mw      - memory write (fill)
&gt; nm      - memory modify (constant address)
&gt; phyRead - Read PCI-E Phy register
&gt; pciePhyWrite    - Write PCI-E Phy register
&gt; phyRead - Read Phy register
&gt; phyWrite        - Write Phy register
&gt; phy_ident - print phy identping - send ICMP ECHO_REQUEST to network host
&gt; printenv- print environment variables
&gt; protect - enable or disable FLASH write protection
&gt; rarpboot- boot image via network using RARP/TFTP protocol
&gt; rcvr    - Satrt recovery process (Distress Beacon with TFTP server)
&gt; reset   - Perform RESET of the CPU
&gt; resetenv        - Return all environment variable to default.
&gt; run     - run commands in an environment variable
&gt; saveenv - save environment variables to persistent storage
&gt; setenv  - set environment variables
&gt; sflash  - read, write or erase the external SPI Flash.
&gt; sg      - scanning the PHYs status
&gt; sw_reg  - change/read the SW&#039;s register value. (LS-AVL)
&gt; switchRegRead   - Read switch register
&gt; switchRegWrite  - Write switch register
&gt; test    - minimal test like /bin/sh
&gt; tftpboot- boot image via network using TFTP protocol
&gt; usb     - USB sub-system
&gt; usbboot - boot from USB device
&gt; version - print monitor version
&gt; BUFFALO&gt;&gt;

*** u-bootのprintenv
&gt; BUFFALO&gt;&gt; printenv
&gt; baudrate=115200
&gt; loads_echo=0
&gt; ipaddr=192.168.11.150
&gt; serverip=192.168.11.1
&gt; rootpath=/mnt/ARM_FS/
&gt; netmask=255.255.255.0
&gt; eth1addr=00:24:A5:**:**:**
&gt; console=console=ttyS0,115200
&gt; CASset=min
&gt; MALLOC_len=1
&gt; bootargs_root=root=/dev/sda2 rw initrd=0x00800040,12M panic=5
&gt; bootargs_end=:::DB88FXX81:eth0:none
&gt; image_name=uImage
&gt; ethaddr=00:50:43:09:29:19
&gt; ethmtu=1500
&gt; eth1mtu=1500
&gt; mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
&gt; usb0Mode=host
&gt; netretry=no
&gt; rcvrip=169.254.100.100
&gt; loadaddr=0x02000000
&gt; autoload=no
&gt; stdin=serial
&gt; stdout=serial
&gt; stderr=serial
&gt; mainlineLinux=no
&gt; enaMonExt=no
&gt; enaCpuStream=no
&gt; enaWrAllo=no
&gt; pexMode=RC
&gt; disL2Cache=no
&gt; setL2CacheWT=yes
&gt; disL2Prefetch=yes
&gt; enaICPref=yes
&gt; enaDCPref=yes
&gt; sata_dma_mode=yes
&gt; buffalo_ver=BOOTVER=0.21
&gt; kernel=uImage.buffalo
&gt; initrd=initrd.buffalo
&gt; bootcommon=setenv bootargs $console $bootargs_root $bootargs_func $buffalo_ver $mtdparts $tftpboot $nandboot; bootm 0x00100000 0x00800000
&gt; tftpbootcmd=tftp 0x00100000 $kernel; tftp 0x00800000 $initrd; setenv tftpboot tftpboot=yes; run bootcommon
&gt; bootorder=ide
&gt; bootcmd=for i in $bootorder; do run ${i}bootcmd; done
&gt; bootdelay=3
&gt; disaMvPnp=no
&gt; enaAutoRecovery=yes
&gt; pcieTune=no
&gt; filesize=92B190
&gt; idebootcmd=ext2load ide 0:1 0x00800000 /initrd.buffalo; ext2load ide 0:1 0x00100000 /uImage.buffalo; setenv bootargs $console $bootargs_root $bootargs_func $buffalo_ver $mtdparts $tftpboot $nandboot; bootm 0x00100000 0x00800000
&gt; ethact=egiga0
&gt; 
&gt; Environment size: 1411/65532 bytes
&gt; BUFFALO&gt;&gt;

** 質問・コメント等ありましたらどうぞ
#comment(size=50,nsize=20,vsize=5)
----
#counter    </description>
    <dc:date>2011-12-27T21:52:54+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/213.html">
    <title>memo</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/213.html</link>
    <description>
      * メモ書き
(最終更新日時(JST): &amp;update())

NetBSDや玄箱/LinkStation/TeraStationに関係有ったり無かったりする駄文を載せる予定です。
# 内容は無保証です

→古いご連絡事項[[(2006年)&gt;memo/old/2006]], [[(2007年)&gt;memo/old/2007]], [[(2008年)&gt;memo/old/2008]]

[[2007/08&gt;memo/old/200708]], [[2007/09&gt;memo/old/200709]], [[2007/10&gt;memo/old/200710]], [[2007/11&gt;memo/old/200711]], [[2007/12(前半)&gt;memo/old/200712-1]], [[2007/12(後半)&gt;memo/old/200712-2]], 
[[2008/01(前半)&gt;memo/old/200801-1]],[[2008/01(後半)&gt;memo/old/200801-2]],[[2008/02&gt;memo/old/200802]],[[2008/03&gt;memo/old/200803]],[[2008/04&gt;memo/old/200804]],[[2008/05&gt;memo/old/200805]],[[2008/06&gt;memo/old/200806]],[[2008/07&gt;memo/old/200807]],[[2008/08&gt;memo/old/200808]],[[2008/09&gt;memo/old/200809]],[[2008/10&gt;memo/old/200810]],[[2008/11&gt;memo/old/200811]],[[2008/12&gt;memo/old/200812]],
[[2009/01&gt;memo/old/200901]],[[2009/02&gt;memo/old/200902]],[[2009/03&gt;memo/old/200903]],[[2009/04&gt;memo/old/200904]],[[2009/05&gt;memo/old/200905]],[[2009/06&gt;memo/old/200906]],[[2009/07-12&gt;memo/old/200907-12]],[[2010/01-03&gt;memo/old/201001-03]],[[2010/04-07&gt;memo/old/201004-07]]のメモ書きは移動しました。
検索で来られた方はこちらもチェックしてみて下さい。
----
*** ご連絡
- &amp;color(red){ニートなので基本的に暇です。}
-- 一応「療養中」なのでお手柔らかにお願いします orz
- 玄箱NetBSD関連のファイルのダウンロードは、http://kurobsd.ki.nu (プライマリ)、または http://kurobsd.kss.selfip.com (ミラー)をお使い下さい。
- ファンパルスエミュレータの話は[[こちら&gt;hardware/fan-pulse-emulator]]をご覧下さい。
- LS-GL・玄箱/PRO用シリアルコネクタの話は[[こちら&gt;NetBSD-evbarm/Serial-Console(LS-GL)]]をご覧下さい。
// -- コネクタ無料プレゼントキャンペーンも(懲りずに)行っています。(←資材の都合により2008-07末で終了予定です)
- BBR-4MGの話は2007-12～2008-01のメモ書きをご覧下さい。(まだ纏めていません _o_)
- USB複合デバイスでugenが隠れてしまうのを防ぐパッチ(作業メモは2008-02-14～2008-02-19あたり)は[[こちら&gt;http://kurobsd.ki.nu/download/testing/EyeToy/]]です。
-- カメラ(ugen)+マイク(uaudio)でテストしましたが、他でも使えそうです。
- &amp;color(red){玄箱/LinkStation類が以前より不安定になってきている場合は電源がヘタレているのかもしれません。発煙・発火にご注意下さい。}
- nandさんの成果を取り込んだevbppc-currentパッチについては、上記「古いご連絡事項(2008年)」に書いてあります。
- kiyoharaさん作の玄箱PRO/LS-GL/HS-DHGL等対応のパッチは http://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas/ にあります(、と勝手に宣伝)。

----
*** ToDo＠駄
- 体調を回復させる。
-- (体調が回復したら)職に就くべく活動する。
- ジャンク漁りのための目を鍛える。
- ボケないように手先を使う作業をする。
- メモを取る習慣をつける。
- こまめに部屋を片付ける。
- 買ったものはカテゴライズして整理する。
- 腹囲の改善のため、出来るだけ自転車で行動する。
-- それ以前に食べ過ぎない。
- 決断力を身に憑ける^H^H^H付ける。
- 捨てられるものは捨てる。

----
//&amp;amazon2(728x90)
&amp;html(&lt;OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab&quot; id=&quot;Player_376c50c1-a323-460f-b5a5-0f1d0ed884e9&quot;  WIDTH=&quot;728px&quot; HEIGHT=&quot;90px&quot;&gt; &lt;PARAM NAME=&quot;movie&quot; VALUE=&quot;http://ws.amazon.co.jp/widgets/q?ServiceVersion=20070822&amp;MarketPlace=JP&amp;ID=V20070822%2FJP%2Fnetbsdsandpoi-22%2F8009%2F376c50c1-a323-460f-b5a5-0f1d0ed884e9&amp;Operation=GetDisplayTemplate&quot;&gt;&lt;PARAM NAME=&quot;quality&quot; VALUE=&quot;high&quot;&gt;&lt;PARAM NAME=&quot;bgcolor&quot; VALUE=&quot;#FFFFFF&quot;&gt;&lt;PARAM NAME=&quot;allowscriptaccess&quot; VALUE=&quot;always&quot;&gt;&lt;embed src=&quot;http://ws.amazon.co.jp/widgets/q?ServiceVersion=20070822&amp;MarketPlace=JP&amp;ID=V20070822%2FJP%2Fnetbsdsandpoi-22%2F8009%2F376c50c1-a323-460f-b5a5-0f1d0ed884e9&amp;Operation=GetDisplayTemplate&quot; id=&quot;Player_376c50c1-a323-460f-b5a5-0f1d0ed884e9&quot; quality=&quot;high&quot; bgcolor=&quot;#ffffff&quot; name=&quot;Player_376c50c1-a323-460f-b5a5-0f1d0ed884e9&quot; allowscriptaccess=&quot;always&quot;  type=&quot;application/x-shockwave-flash&quot; align=&quot;middle&quot; height=&quot;90px&quot; width=&quot;728px&quot;&gt;&lt;/embed&gt;&lt;/OBJECT&gt; &lt;NOSCRIPT&gt;&lt;A HREF=&quot;http://ws.amazon.co.jp/widgets/q?ServiceVersion=20070822&amp;MarketPlace=JP&amp;ID=V20070822%2FJP%2Fnetbsdsandpoi-22%2F8009%2F376c50c1-a323-460f-b5a5-0f1d0ed884e9&amp;Operation=NoScript&quot;&gt;Amazon.co.jp ウィジェット&lt;/A&gt;&lt;/NOSCRIPT&gt;)
----
#comment(size=50,nsize=20,vsize=5,below)
(2011-12-25)
- (雑)
-- LS-VLのu-bootシリアル入出力有効化に成功しました。ページにまとめてありますのでご参照ください。
-- 相変わらず1005サイズの抵抗の付け替えですので、無理して壊さないように注意してください。慣れた人にお任せするのが正解でしょう。

(2011-12-20)
- (雑)
-- LS-XHLとLS-AVLのシリアルコンソール情報を書きました。u-bootのシリアル入出力有効化情報も書いてあります。
-- 公開情報のみを使ったので、問題は無いと思います。内容の間違い等がありましたらお教えください。
--- LS-VLはシリアル有効化は出来たのですがu-bootのシリアル入出力がまだ出来ていません...。出来たら公開します。
-- その他のマシンは持っていませんので、リクエストされてもお応えすることは出来ません。予めご承知ください。

(2011-09-08)
- (何か)
-- evbarm用NetBSD-5.1サンプルカーネルとパッチを用意しました。
--- (サンプルカーネル置き場) http://kurobsd.ki.nu/download/testing/evbarm/kernel/netbsd-5.1/　
--- (カーネルパッチ置き場) http://kurobsd.ki.nu/download/testing/evbarm/patch/
-- だいぶ安定した感じですので興味のあるかたはお試しください。

(2011-06-25)
- (雑)
-- BuffShopの初代玄箱(新品?)が3800円に値下げされてますね...。

(2011-05-25)
- (雑)
-- 管理者あてメールを下さった方がいらっしゃいましたが、お返事差し上げましたが届いたでしょうか？

(2011-04-27)
- (駄)
-- buffshopに初代玄箱が7900円で出ています。
-- 新品？みたいですが、既に新古品と呼んで差し支え無い程度の時が過ぎていますね...。

(2011-03-14)
- (雑)
-- 計画停電により、各種ダウンロードに使用しているサーバや途中のネットワークの障害が予想されます。
-- しばらくの間はご迷惑をおかけしますが、あらかじめご了承ください _o_

(2011-02-27)
- (雑)
-- 謎サーバーがまた落ちていると思ったら、電源が抜かれてしまったのでした。
--- 『ファンがうるさくて眠れん』とブチ切りしたとのこと。
-- ファンの軸にグリスを塗ったくって復旧させました。しばらくは保つんじゃ無いかと...

(2011-01-23)
- (雑)
-- ダウンロードが死んでいたようで、大変失礼しました _o_
-- 現在はprimary/secondary/謎(?)すべてで動いているはずです。
-- 最近はtwitterにかまけていることが多いので、@kuro_bsdで連絡していただけるとレスポンスが早いと思います。

(2011-01-01)
- (駄)
-- あけましておめでとうございます。
-- 今年こそは...

(2010-12-19)
- (駄)
-- TCS-8101@電脳売王、やっとリストに戻ってきました。お一人様1台限りですが999円になっています。
-- 相変わらずRAM容量が誇大に記載されてます。だれか教える人は居ないんでしょうか？
--- ...え？私？(^＿^;)

(2010-12-05)
- (駄)
-- 電脳売王のリアル店舗(伊勢崎店)、まだTCS-8101を売ってました。20台程度は有ったと思います。
-- リアル店舗へ行けない方は、TCS-8101のページの直リンを辿ってみてください。

(2010-11-28)
- (雑)
-- evbppc版のほうを引き続きテストしていますが、今のところ「運用中は」大丈夫そうです。WAPBLも問題なく動いています。
-- 起動時にinitで1回、shutdown時に1回panicを経験していますが、再現性はかなり低そうです。

(2010-11-23)
- (雑)
-- LinkStation2(MIPS機)用NetBSD/evbmipsel-5.1のパッチとカーネルをいつもの場所にuploadしました。
-- # 使ってらっしゃる方は少なそうですが(^__^;)

(2010-11-21)
- (雑)
-- 玄箱NetBSD/evbppc-5.1のパッチとカーネルをいつもの場所(↓)にuploadしました。
--- カーネル: http://kurobsd.ki.nu/download/testing/evbppc/kernel-5/
--- パッチ: http://kurobsd.ki.nu/download/testing/evbppc/patch-5/
-- カーネルオプションとしてSOFTDEP, WAPBL, QUOTAを有効にしています。
-- カーネルは&quot;-Os&quot;(サイズ最適化)でコンパイルしています。
--- これを外して&quot;-O2&quot;にすると若干不安定になる気がします。気のせいかもしれませんが。

(2010-11-19)
- (雑)
-- NetBSD 5.1がやっとアナウンスされたようです。
-- 玄箱NetBSD/evbppcでも前のパッチで動きますが、WAPBLとかSOFTDEPを有効にするにはカーネルコンフィグファイルに↓を追加してください。
--- makeoptions CCPUOPTS=&quot;-mcpu=603e&quot;
-- 後でパッチとしてまとめる予定ですが、とりあえず。

(2010-11-14)
- (駄)
-- みなさんお元気ですか(古
-- またまた腰を痛めたので復活は遅れそうです orz

(2010-11-07)
- (駄)
-- 引き続き低空飛行状態のまま
-- 5.1のタグが打たれたようなので実験せねば...。

(2010-10-31)
- (駄)
-- まだ本調子には至らず orz
-- 気を失っている間にBuffShopで玄箱/HG+HDDが出てた(4000円と4500円)みたいですね...

(2010-10-24)
- (駄)
-- 少しずつ回復中です。もうしばらくおとなしくしてます。

(2010-10-17)
- (駄)
-- 何とか生きてます
-- 腰痛の後は頭痛やら背筋痛やら風邪やらで生命力低下中です orz

(2010-10-10)
- (駄)
-- まだ生きてます
-- 腰痛でダウン中につき暫くの間おとなしくしてます orz

(2010-10-07)
- (駄)
-- 生存証明
-- 体調不良で死にかけている orz

(2010-10-05)
- (駄)
-- 熱収縮チューブの箱が見つからない...最近物忘れが激しいな

(2010-10-03)
- (駄)
-- 地デジアンテナ工事の手伝い作業で体が痛い
-- # もつ鍋は家族の抵抗にあって断念 orz

(2010-10-02)
- (駄)
-- もつ会に参加出来ないので明日はもつ鍋にしよう...
-- # 東京に引っ越せばおｋ

(2010-10-01)
- (駄)
-- 自転車乗ってたらパトカーに併走されてしまった(^＿^;)
-- とくに挙動不審には見えなかったようで、30秒ほどで追い抜いていった。ああよかった(？)

(2010-09-30)
- (駄)
-- PCIなSATAカードにしたら速くなった。45MB/sec。
-- CardBusが腐っているのか、ノートPCが非力なのか...

(2010-09-29)
- (駄)
-- eSATA@CardBusなカードを買ってファイルコピーしたが遅くて遅くて... orz
-- eSATAの口を2口同時に使うと極端に遅くなるみたい。なんだかなぁ。

(2010-09-28)
- (駄)
-- 通院。特に改善は見られず orz
- (駄2)
-- ケミコンが足りない &gt;&gt; 電源修理

(2010-09-27)
- (駄)
-- 工作活動が忙しくてこちらがお留守になってしまった(^＿^;)
-- # 玄箱故障電源のリペア実験中

(2010-09-25)
- (駄)
-- 荷物が続々と到着。家族に心配されるレベル。
-- 心配されるのは遺憾だが、野望(?)のためには仕方が無い(^__^;)

(2010-09-24)
- (駄)
-- 生存証明
-- 寒い...

(2010-09-23)
- (駄)
-- 荷物が届いたので早速組み込み作業。また一歩野望(?)に近付いた。

(2010-09-22)
- (駄)
-- 荷物の発送通知がやっと来た。
- (駄2)
-- 工作部屋のエントロピーが限界に達したので一日かけて掃除したが、まだ終わらない orz

(2010-09-21)
- (駄)
-- 某所からの荷物が届かず。うーむ。
-- # 最近衝動買い多発気味

(2010-09-20)
- (駄)
-- Age++;

(2010-09-18)
- (駄)
-- まだお腹の調子が悪い
- (駄2)
-- BluRay(書込)ドライブ、そろそろ1万円を切りませんかねぇ

(2010-09-17)
- (駄)
-- 何とか復活中
- (駄2)
-- m2tsって難しいですねぇ

(2010-09-15)
- (駄)
-- 引き続き腹痛でダウン orz

(2010-09-14)
- (駄)
-- 通院。病院から帰ってきたら腹痛でダウン orz
-- 何のために病院へ行ったのやら...

(2010-09-13)
- (駄)
-- 寝ている間に暴れ(？)てハードディスクを叩き落し(？)て全損 orz
-- # 確かな記憶が無い

(2010-09-12)
- (駄)
-- 風邪ひいて一回休み orz

(2010-09-11)
- (駄)
-- 暑さがぶり返して機械も体も不調。今年は凄い年だ。

(2010-09-10)
- (駄)
-- 記憶が何時間かとんでる orz
- (駄2)
-- 喉が痛いと思ったら血がにじんでいた orz

(2010-09-09)
- (駄)
-- 一気に涼しくなって体調不良 orz

(2010-09-08)
- (駄)
-- 秋月の部品(レギュレータ)を使ってハードディスクのコントロール基板を修理。無事HDDレコーダが復活した。

(2010-09-07)
- (駄)
-- 今日も38℃だった orz
-- 台風で雨が降れば涼しくなるだろうか。
- (駄2)
-- 秋月の部品が届いた。9割方は勢いだけで買ったので、しばらくの間はタンスの肥やし。

(2010-09-06)
- (駄)
-- 秋月の部品は明日届く見込み。

(2010-09-05)
- (駄)
-- 1.5TBのHDDを購入。田舎なので高い。

(2010-09-04)
- (駄)
-- いろいろなものを秋月通販で購入。
-- 某品の部品も一部含まれている...かも。

(2010-09-03)
- (駄)
-- 口内炎が酷くなってきている。声を出すと痛い。

(2010-09-02)
- (駄)
-- 喉の奥のほうに口内炎？が出来て痛い orz
-- なんだか味覚もおかしいし...

(2010-09-01)
- (駄)
-- 夏バテ中。喉も何故か痛い。
-- # 涼しくなったら本気出す

(2010-08-31)
- (駄)
-- 暑くてやる気ゼロ orz
-- 早く涼しくなりませんかねぇ...金魚水槽に保冷材を入れるのも億劫で...

(2010-08-30)
- (駄)
-- @wikiがすごく重い...
- (駄2)
-- 腰痛＆頭痛で休み中。
-- # 夏バテかなぁ

(2010-08-29)
- (駄)
-- アタックによるネットワーク不調はsshの設定を見直したのとアタックを受けると自動でブロックするようにしたことで落ち着いた。
-- どうせ相手はただの踏み台だろうから通報せず。

(2010-08-27)
- (駄)
-- 生存証明
-- ネットワーク不調は断続的にアタックを(外国から)受けているための模様。対象ポートはssh。
-- パスワード認証は切ってあるので総当りをされても問題無いはずだがウザいのは間違い無いので対策を検討中。

(2010-08-26)
- (駄)
-- ネットワーク不調につき一回休み。
-- どうやらDNSのレスポンスが非常に遅い模様。なんだろう。

(2010-08-25)
- (駄)
-- 生存証明
-- アンテナ線の配線ミス発覚につき要再工事 orz
-- 炎天下に屋根裏に入って作業するとミイラ化しそうだ...

(2010-08-24)
- (駄)
-- 円高なので何か個人輸入しようかと物色中

(2010-08-23)
- (駄)
-- 生存証明
-- 屋根裏にもぐってみたが暑くて3分もたなかった orz

(2010-08-22)
- (駄)
-- 生存証明
-- 暑くて暑くて... orz

(2010-08-21)
- (駄)
-- 生存証明
-- サカマキガイの退治(放逐)など
-- PCの不調で借り出されて確認。CPUファンの爪が1つ外れてて熱暴走だった。
-- # タダ働きばかり orz

(2010-08-20)
- (駄)
-- 生存証明
-- サカマキガイ気持ち悪い orz

(2010-08-19)
- (駄)
-- 金魚水槽にサカマキガイが大量発生中。
-- 水槽内に2～3匹だったので油断していたら、外掛けフィルターに40匹くらい住まっていた orz
-- 週末に時間をとって追い出す、つもり。
- (駄2)
-- アンテナ線工事のために屋根裏にもぐって作業。暑すぎて死ねる。
-- 結局アンテナ線を張りなおすことに。現在の線の製造年を見たら20年前(1990年)だったので。

(2010-08-18)
- (駄)
-- 生存証明
-- 池の金魚が一匹お亡くなりに。煮えたわけでは無さそうだが。

(2010-08-17)
- (駄)
-- 暑い...が、昨日よりマシ。36℃くらい。
-- 屋根裏工事をせねばならないが、しゃれにならないので中断中。
- (駄2)
-- 運試しのサッカーくじは末等が当たったのみ。
-- はたして運試しになったのだろうか？

(2010-08-16)
- (駄)
-- 軽い熱中症につき一回休み
-- 頭痛い... orz

(2010-08-15)
- (駄)
-- 生存証明
-- Lyumo bookのページも作りましょうかねぇ...

(2010-08-14)
- (駄)
-- 某CDイメージ、サーバが落ちていたので復活させておきました。

(2010-08-13)
- (駄)
-- ノートPCを蹴飛ばして落としたらタッチパネルが突然直った。さすが13日の金曜日。
-- # 運が良さそうなのでサッカーくじを...

(2010-08-12)
- (駄)
-- 明日は13日の金曜日ですね。わくわく(何

(2010-08-11)
- (駄)
-- 雑用：某社製HDDレコーダの光ドライブを交換してトラブル復旧。
-- このレコーダ、底板が非常に熱い。調べてみたら(闇で?)改修されていたみたいだが...

(2010-08-10)
- (駄)
-- だいたい直ったみたい。
- (駄2)
-- ハード屋とソフト屋の地位の違いをいまさら実感中。

(2010-08-09)
- (駄)
-- 開発用PCが不調 orz
-- ディスクの吸出しは終了しているので最悪の事態は避けられそうだが...

(2010-08-08)
- (駄)
-- ナイシトール v.s. コレストン の実験中
-- # 不摂生が原因なのは自明 orz

(2010-08-07)
- (駄)
-- 予告通り電脳売王伊勢崎店へちょっとだけ寄ったのでレポート。
-- TCS-8101は売り場が棚の上からプラかごへ格下げになっていた。残りは20個+見本1個。1999円。買わず。
-- KURO-SATAが980円で売っていた。買わず。
-- Nexterm  SV-II TC3500が炎天下のかごに1つだけ置いてあった。本体のみ199円。購入。
-- # またつまらぬものを買ってしまった orz

(2010-08-06)
- (駄)
-- 引き続き雑用 orz
-- # やせるよりも萎びるほうが早そう
- (駄2)
-- 明日は伊勢崎方面に出かけるので、ついでに電脳売王も巡回してくる予定です。

(2010-08-05)
- (駄)
-- 雑用多発につきもう一回休み。
-- 痩せられそう...

(2010-08-04)
- (駄)
-- 体温調整に失敗して一回休み orz
-- なぜか風呂に入っても寒気が...

(2010-08-03)
- (駄)
-- DB-366でxtermを(本体だけで)起動できたのでメモ。
--- Firefoxを起動して、アドレスバーに&quot;about:config&quot; を入力。(ダブルクォートは除く。以下同じ。)
--- &quot;network.protocol-handler.app.shell&quot;を文字列で新規作成。中身は&quot;/bin/xterm&quot;。
--- アドレスバーに&quot;shell:&quot;を入力。 
--- 何やら出るので、『アプリケーションを起動』ボタンを押す。
-- 以上。rootユーザなので便利だが扱いにはくれぐれも注意されたし。

(2010-08-02)
- (駄)
-- 電脳売王でTCS-8101を探している時に玄箱HGが見つかっていたのでメモ。
--- 本体のみ: http://www2.dennobaio.jp/shopdetail/017001000080/031/004/brandname/
--- 本体+KURO-SATA: http://www2.dennobaio.jp/shopdetail/021001000016/031/004/brandname/
-- そろそろ入手困難ということで、此処の役割もそろそろ...(^__^;)

(2010-08-01)
- (駄)
-- 電脳売王のカートシステムが変わって、TCS-8101が見つからなくて焦った(^__^;)
-- # http://www2.dennobaio.jp/shopdetail/002001000083/ に有りました


----
&amp;counter()    </description>
    <dc:date>2011-12-25T22:48:07+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/128.html">
    <title>hardware/power-control</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/128.html</link>
    <description>
      * 玄箱の（外部からの）電源制御

** &amp;color(red){警告}
これらの実験はハードウェアの改造を伴う。当然ながらメーカー保証は望めない状態となる。
また、はんだ付けに不慣れであると簡単に故障し、再起不能となるおそれがある。
電源まわりにはんだ付けする際、ショートをしてしまうと発煙、発火のおそれがある。最悪、火災や感電によって死に至るおそれもある。
これらを総合的に考慮し、自己責任のもとに実験遂行の可否を判断すること。貴方以外のだれも責任は負わない。
----
** AC電源復旧時の自動電源復旧
サーバ用途では万が一の停電の場合出来る限り自動的に復旧してほしいものだが、残念ながら玄箱は復旧しない。
本来ならばAVRのプログラムを書き換えて制御するところだろうが、ここは簡単なハードウェアを追加してこれを実現してみる。

*** 回路図
&amp;ref(auto-poweron.jpg)
回路図はフリーのBSch3Vを使用して記述した。（作者に感謝）
*** 結線
VCCは+5Vへつなぐ。細かいところなのでショートに注意。テスタ等でチェックすること。
&amp;ref(vcc_5v.jpg)
SWは玄箱の電源スイッチのうち、GNDで無いほうにつなぐ。（前列左側がGND）
&amp;ref(pow_sw.jpg)
GNDはどこか適当なGNDへつなぐ。
*** 動作概要
タイマICのNE555を2つ(またはNE556を1つ)使用し、各々を連動させることで電源SWにつながったトランジスタを駆動する。各タイマ回路はワンショットマルチバイブレータを構成している。
左側(U1)のNE555は30秒タイマである。電源がONされると同時にR1,C1によって負パルスが生成され、タイマがスタートする。
タイマの定数はR2,C2によって決定する。
TP1の電位は30秒の間、正となる。30秒経過すると負(GND)になる。このダウンエッジを捉え、短い負パルスを生成しているのがQ1,C3,Q2である。
短い負パルスを受け、U2のタイマが始動する。このタイマの定数はR6,C4によって決定する。
U2のタイマによって、約1秒の正パルスが生成される。これでQ3のトランジスタが駆動され、オープンコレクタ接続されたスイッチが閉じられる。
以上により、AC電源復旧30秒後に玄箱の電源が投入される。
SW1はこの機能の有効/無効を選択するために入れてある。
即座に復旧させないのは、チャタリングによる故障を防ぐためである。
*** 時定数計算
555のタイマ時間は (1.1×C×R)(秒)で計算できる。左側は(1.1×47×10^(-6)×680×10^3)であるので、35.156(秒)となる。実際には各素子の誤差や経年変化、温度特性等もあるので凡その目安である。
右側も同様に、(1.1×10×10^(-6)×100×10^3)=1.1(秒)となる。
より正確に時間を合わせるには、半固定抵抗を使用して調節することになる。

*** 補足
タイマ時定数を決定しているCR*以外*の定数はかなりいいかげんである。これは手持ち部品の不足に起因している。
Tr(UN4219)は抵抗が入っているものを使用しているが、この抵抗値はベースにシリーズなものが1k, エミッタ-ベース間は10kである。2SC1815等で代用する場合はこの値を参考にされたし。
（もちろんこれを使用したのも部品不足によるものであり、特に抵抗を必要としていない部分も有る。)
TP1-GND, TP2-GNDに1k程度の抵抗とLEDを直列につないだものを接続すると、タイマの動作が目に見えるようになる。
消費電流実測値は、動作中が約10mA, 動作完了後が約5.5mAである。これらは上記デバッグLEDを含んでいるため、実際には動作中はもっと小さいと思われる。

*** バグ
回路図は実験成功後の基板から写し取ったので、写し取りミスが有るかもしれない。
C1,C3の電荷は放ったらかしなので、何か問題があるかもしれない。
基本的に正論理で構成したが、一部負論理とすることで部品点数が削減できるはずである。
----
** Wake On LANパケットによる玄箱のリモート電源ON
*** きっかけ
玄箱はWoLが使えない。内蔵LANコントローラへ電源が供給されていないため、実現できる可能性はほぼ無い。
しかしながら、山下さんBBSに書かれた文章(byそのさん)をきっかけに調査を開始した。
概要としては、外部にWoL対応のNICを用意し、そちらで受け取ったWoLイベントを玄箱へ通知することで電源ON、を実現しようというもの。
通常のWoL対応NICというものはただ単に+5VSBを供給するだけではWoL動作せず、PCIバス側からの制御が必要であり、+5VSBを供給しておくことでこの制御された情報を覚えておくことで実現していると思っていたため、ダメ元でとりあえず実験を行ってみた。
# 他のPCに挿した状態でWoLケーブルを引っ張ってくる、というのは100%動きそうだが現実的で無いと思うので実験していない。
# (昔のタワー型PCに玄箱を格納しておく形を採るならば現実的かもしれないが...)

*** プレ実験準備＆プレ実験
いまどきのPCI2.2での電源制御では無い、WoLケーブルがつながるタイプのNICを探したり借りたりして実験。
PCIバスは挿さずに+5VSB,GND,WoLのみで実験。+5VSB-GNDにはスイッチング電源、WoL-GNDにはLED+抵抗を接続。
結果、RTL8139Cが実装されたCorega FEther PCI-TXS(未開封:新古品)がWoLパケットに反応した。(いまのところこのNICのみ正常動作を確認)
予想外の結果に驚いたが、これでNICの廃物利用(失礼!)が出来るならと、実験をすすめることにした。
# BBSには書かなかったが、3comのNICも動作していない。最安値が動作したのは嬉しい?限り。
# なお、現在出回っている&amp;color(red){8139C+では動作するかどうか不明}。

*** 回路動作(予定)
プレ実験ではLEDはWoLパケットを受けると点灯し、その後+5VSBを切るまで点灯しつづけた。というわけで次のような動きを行うものを作ることにする。
(これは当該品ならではの動作かもしれない。8139のWoL信号はプログラマブルであり、アクティブハイ、アクティブロー、ポジティブパルス、ネガティブパルスの4種類あるため。一応デフォルトはアクティブハイ。)

- WoL信号の立ち上がりエッジを捉え、1秒タイマを起動する。タイマの出力は正パルス(1秒間ONになる)。
- タイマの出力を2つに分け、1つはオープンコレクタのトランジスタを駆動してスイッチに接続する。もう一つはNICの+5VSBを切るためにトランジスタによるスイッチング回路へ向ける。

これでWoLパケットを受けると1秒間スイッチが押され、同時にNICの電源が遮断されることでWoL受信状態がクリアされることになる目論見である。

*** 実験準備(回路検討)
部品が入手出来た(Thanks to tyamaさん)ので、回路を検討。
部品は以下の通り。
- LM555(NE555同等品)×1
- UN4219(抵抗入りTr)×2
- 1秒タイマ用時定数部品
-- 10uF
-- 100kΩ
- リレー(2回路)
- 保護Di
- 抵抗を少し(シリーズやプルアップ/ダウン等)
- コンデンサも少し(+5VSB-GND間:リレーの先)

入力のWoL信号はアクティブハイなので、ダウンエッジを取る555のためにTrで反転する。
555はワンショットマルチバイブレータで1秒タイマを構成する。(上の回路図の右側を参照)
555の出力はTrで受けてからリレーにつなぐ。(ソリッドステート化は後回し _o_)
- LM555のドライブ能力は高い(200mA)ので、そのまま繋いでも良いかもしれない。
- LMC555(CMOS版)でも100mAなのでまだ余裕が有る。
リレーのSWの一方は+5VSBへつなぐ。(アクティブ時に開(断))
もう一方は玄箱の電源SWにつなぐ。(アクティブ時に閉(入))
リレーはインピーダンスが高いもの(5Vで約30mA駆動)なので、残留磁束での逆電圧を防ぐため保護ダイオードを入れておく。

*** 回路図
&amp;ref(wol_circ.jpg)
(D1は1N4007;ちょっと見難い _o_)
(RELAYは941H-2C-5D;秋月で購入)

*** 単体実験
&amp;ref(wol_exp1.jpg)
VCC-GNDに5Vのスイッチング電源を接続。
5VSB-GND-WOLはNICに接続。NIC(PCI-TXS)はスイッチングハブに接続。
WoLのマジックパケットの送信はNetBSD pkgsrcのnet/wakeupを使用。(wakeup xx:xx:xx:xx:xx:xx)
実験なのでまだ玄箱へは接続しない。

*** 単体実験結果
5Vの電源をONすると、スイッチングハブのLEDが点灯(Link-Up)した。正常。
NIC側のLEDは点灯しない。たぶんこんなものだろう。
玄箱NetBSDからWoLパケットを送信。リレーが作動した音がし、1秒ほどで元に戻る音がした。正常。
リレーが作動するとリンクLEDが消灯。元に戻ってから1秒ほどで再度点灯。
連続して送出しても問題無し。
もちろんリンクLEDが点灯していない時には空振りする。
スイッチング電源をチャタリングさせても特に誤動作はしない様子。

今のところ全く問題無し。このまま使えそう。

*** 玄箱接続試験
玄箱接続試験と言いながら、現在蓋が開いているLinkStation(MIPS)へ接続。
接続先は前の電源自動復旧と同様。
結果は成功(^_^)。（ここで失敗する内容は無いが...)
まだ実運用にはいろいろ課題も多いので、今後解決する必要が有る。

*** 現状の課題
- 他に使えるNICが無いか
-- 93C46の書き換えで対応出来ないか
- 電流量測定
- リレーをソリッドステート化
- 筐体内への実装（基板実装の小型化）
-- NICとの接続部分をどうするか
- 電源自動復旧との統合

(続く...かも)
----
コメントが有りましたらどうぞ
#comment(size=50,nsize=20,vsize=5)
----
ご連絡先: E.Kawauchi atto gmail dotto com
#counter    </description>
    <dc:date>2011-12-18T12:11:33+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/153.html">
    <title>OLDBBS</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/153.html</link>
    <description>
      * 人力掲示板
** (旧)掲示板の内容(コメントは付けられます)
- [[OLDBBS/21]]  All nas-hacking-communities in the world
- [[OLDBBS/20]]  「無改造が可能な箱と、そうでない箱」
- [[OLDBBS/19]]  (HD LAN V2) boot selector2 のボタン入力
- [[OLDBBS/18]]  kuro-bootsel2.20060125.tar.bz2
- [[OLDBBS/17]]  evbppc 版を build.sh しました。
- [[OLDBBS/16]]  ./build.sh して見ました。
- [[OLDBBS/15]]　sysinst って作れないでしょうか
- [[OLDBBS/14]]　port-powerpc で話題になっていますが &amp;color(red){荒らしによりコメント停止}
- [[OLDBBS/13]]　DIAGNOSTICを外すとブートしない?
- [[OLDBBS/12]]　ls: /dev/null: Permission denied
- [[OLDBBS/11]]　hostapd + uralでWPA AP
- [[OLDBBS/10]]　カーネルコンフィグファイル
- [[OLDBBS/9]]　内蔵ATA + USB-HDD RAID1
- [[OLDBBS/8]]　NetBSD BoF 2006
- [[OLDBBS/7]]　SPIドライバ(Linkstation-mipsel)&amp;color(red){荒らしによりコメント停止}
- [[OLDBBS/6]]　cpu_probe_speed
- [[OLDBBS/5]]　bootcode
- [[OLDBBS/4]]　/mnt 全体を 4.2BSD (FFSv2 っていうのかな)
- [[OLDBBS/3]]　シリアルコンソールは必須? 

----
とりあえずの話題はこちらへどうぞ。手動で移動します。(題名は一行目にお願いします)
- TeraStation Living のガワを入手したのですが、SATA なディスクを４個も調達する余裕がないのでどなたか如何でしょう。  -- masato  (2008-10-11 16:11:13)
- がんばれば1台でも動くみたいですよ！  -- かわうち  (2008-10-11 22:02:42)
- 1台でも動きますか。うーん、どうしよう。  -- masato  (2008-10-11 22:40:38)
#comment(size=50,nsize=20,vsize=5)
----
#counter    </description>
    <dc:date>2011-12-18T12:11:06+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/163.html">
    <title>OLDBBS/12</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/163.html</link>
    <description>
      *ls: /dev/null: Permission denied  -- こいずみ &amp;size(80%){2006-05-15 01:58:45}

こいずみと申します。

3.0カーネルを使って初代玄箱にセットアップをしましたが、非rootユーザを作ってそいつが例えば/dev/nullをさわるとPermission deniedになります。

% ls -l /dev/null
ls: /dev/null: Permission denied

nullだけではなく、stdinやstdoutもPermission deniedになります。

% sort &lt; a &gt; b
sort: /dev/stdin: Permission denied

% cat .bashrc &gt; /dev/stdout
-bash: /dev/stdout: Permission denied

rootだと問題なく触れます(あたりまえですが)

Permissionはこんな状態ですが…

# ls -l /dev/null /dev/stdin /dev/stdout
crw-rw-rw-  1 root  wheel   2, 2 May 14 21:26 /dev/null
crw-rw-rw-  1 root  wheel  22, 0 Jan 28 17:30 /dev/stdin
crw-rw-rw-  1 root  wheel  22, 1 Jan 28 17:30 /dev/stdout

デーモンを非rootで動かそうとしたときに、一部のプログラムが/dev/nullを開こうとしてPermission deniedをくらってしまい動かないという状態なんですが、どなたか、何か心あたりありませんか?

今、anonymous cvsサーバからタグ&quot;netbsd-3&quot;(否&quot;netbsd-3-0&quot;)で取り出したソースにパッチを当てて、カーネルやらユーザランドやら作っているところですが…この結果は明日の夜にでも。

-- koizumi
そういえば、このサイトから(20060417.NetBSD-3.diff.bz2)を取ったら、何度取ってもサイズがゼロバイトでした(私だけ?)

----
- ls -l / | grep dev ではどうでしょうか。&amp;br()うちでは&amp;br()&gt; dr-xr-xr-x   4 root  wheel  22528 Nov  2  2005 dev&amp;br()になってます。&amp;br()&amp;br()&gt; そういえば、このサイトから(20060417.NetBSD-3.diff.bz2)を取ったら、何度取ってもサイズがゼロバイトでした(私だけ?)&amp;br()うげ、と思って自分も取ってみましたが大丈夫でした。なんでしょうか？  -- かわうち  (2006-05-15 20:11:56)
- &gt; うげ、と思って自分も取ってみましたが大丈夫でした。&amp;br()ごめんなさい。リンクミスでした。修正しました。&amp;br()# 下の一覧から取ったらOKだっただけです(あたりまえ) _o_&amp;br()  -- かわうち  (2006-05-15 20:21:10)
- ls -l / | grep dev の結果は同じです。&amp;br()結局原因はわからず、咋晩から仕込んだカーネルとユーザランドに入れ換えたら問題なくなりました。&amp;br()今週末にもう一度別のディスクにセットアップしますので、その時に追試します。&amp;br()(今使っているディスクは別の用途に使うためのものだし入れ換えなければ)&amp;br()&amp;br()ちなみに、セットアップは &quot;ブート用ディスクイメージの作成とブート、インストール手順&quot; に従ってやりました。&amp;br()お手軽にセットアップできたので、サーバとして働いてもらおうと思っています :-)&amp;br()&amp;br()-- こいずみ  -- こいずみ  (2006-05-16 03:07:30)
- 何かわかりましたらよろしくお願いします。&amp;br()# お手軽？手順も、脳内手順な部分をなんとかせねば、とは思っているのですが...(^^;)&amp;br()  -- かわうち  (2006-05-17 00:39:52)
- 再インストールしてみました。&amp;br()&amp;br()「ブート可能イメージの作成とそれを使用してのブート、インストール」で&amp;br()配布されている中身入りイメージの/devのパーミッションが444でした。&amp;br()&amp;br()これをそのままdump|restoreしてますから、インストール後は444のままですので&amp;br()一般ユーザでは触れないですね。&amp;br()&amp;br()中身入り-2.1,-3.0のいずれもそのようです。&amp;br()以上、お知らせまででした。&amp;br()&amp;br()  -- こいずみ  (2006-05-27 00:51:37)
- 再現確認しました。バグです。すみません。 _o_&amp;br()&amp;br()&quot;MAKEDEV -s&quot;で/dev/以下を作っているのですが、この出力がオリジナルの&amp;br()/devのパーミッションを変更してしまっているようです。&amp;br()Quick Hackで対応できそうですが、本当のところどのようにすべきか...&amp;br()&amp;br()旧) (cd dev; sh MAKEDEV -s all usbs) | sed -e &#039;s,^\.,./dev,&#039; &gt;&gt; ../live.mtree&amp;br()新) (cd dev; sh MAKEDEV -s all usbs) | sed -e &#039;s,^\.,./dev,&#039; &amp;color(red){-e &#039;s/type=dir$/type=dir mode=755 gid=0 uid=0/&#039;} &gt;&gt; ../live.mtree&amp;br()  -- かわうち  (2006-05-27 10:19:35)
- スクリプトと中身有りイメージファイルを入れ替えました。&amp;br()情報ありがとうございました _o_ &gt;&gt; こいずみさん&amp;br()  -- かわうち  (2006-05-28 16:06:35)
#comment(size=50,nsize=20,vsize=5)    </description>
    <dc:date>2011-12-18T12:10:46+09:00</dc:date>
  </item>
    <item rdf:about="http://www5.atwiki.jp/kuro-bsd/pages/162.html">
    <title>OLDBBS/11</title>
    <link>http://www5.atwiki.jp/kuro-bsd/pages/162.html</link>
    <description>
      *hostapd + uralでWPA AP  -- のぐち &amp;size(80%){2006-04-17 17:35:42}

続けざまにスミマセン。

最近、-currentソースツリーにhostapdが取り込まれたので、
uralドライバ(バッファローの11gドングル)でWPA APになれるか
試してみて、とりあえずWPA-PSK(TKIP)は動きました。

ただ、ウチはRAID化してUSB-HDDが常時アクセスかかってるので
USBの負荷が大きいせいなのか、802.11の通信は
成功したり失敗したりと不安定です。

----
- レポートありがとうございます。単体で家庭用無線ブロードバンドルータ＋ストレージ化&amp;br()出来そうで面白そうですね。&amp;br()&amp;br()やっぱりUSBは不安定？ですか...。ehciドライバは設計し直したほうがみんな幸せになれ&amp;br()そうなのはわかってきたところなのですが、まだまだ読み切れていません。&amp;br()# イベントを準ポーリングで待つのは非常によろしく無いです...&amp;br()これもそのうち手を出すかもしれません。  -- かわうち  (2006-04-17 23:20:38)
#comment(size=50,nsize=20,vsize=5)    </description>
    <dc:date>2011-12-18T12:10:19+09:00</dc:date>
  </item>
  </rdf:RDF>

