Debian Wheezyのインストール前準備

以前から玄箱PROはDebian化して運用していたのですが、この度家庭内LAN上のLinkStationがHDD故障でトラブルに逢ったことが原因で、色々と整理を始めていました。
いつも分からないコマンドがあるとネットで調べていたのですが、色々なところに書いてあるのに私の環境では使えないものがあることに気が付きました。
例えば
apt-get autoremove
試しにinstallしては不要なuninstallなどしていたので、deborphanなどで依存関係を整理して削除などしていたのですが、こんな便利なものがあるなら是非使いたい。
Debian etch 4.0が古いのが問題で、最新のDebian wheezy 7.0まで上げればよいのだと思い知り、更にネットで「kurobox pro wheezy」で調べてみると"出来る"ことが分かったので、思い切って上げてみることにしました。

新しいHDDに入れ替えて新規にDebian環境をセットアップ

おそらくこれが一番トラブルが少ないであろうということで、新しいHDDに入れ替えてセットアップすることにしました。
使うのはノートPCのSSD化などで余っていた2.5inch 250G 5200rpmのHDDです。
玄箱PROはHDDのマウンターに2.5inch用のネジ穴が用意されているので、別途マウンターを用意する必要もありません。

シリアルコンソール必須です。私が使っているのはUP12C USB PDC Converterというやつです。
Windows7用のドライバー(U232-13.2.98.130315.zip)をインストールして準備完了。

TeraTermのSerial Port設定
Baud rate: 115200 bps 
Data: 8 bit 
Parity: none 
Stop: 1 bit 
Flow contro: none

玄箱PROの電源ON

作業開始
Orion1   CPU =  Low 

=== KURO U-Boot. ===
 ** LOADER **
 ** KUROBOX BOARD: KURO_BOX  LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 10 2007 - 18:10:08) Marvell version: 1.12.1 - TINY

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

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


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0 
<<system_bootend>>
Hit any key to stop autoboot:  3
ここでEnteryキーを押下してストップ
以下の5行を順番にコピペして貼り付け
setenv bootargs_root root=/dev/mtdblock2 rw panic=5
setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
setenv bootcmd 'nboot $(default_kernel_addr) 0 $(nand_uImage_offset) ;setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver); bootm $(default_kernel_addr)' 
setenv nand_boot yes
boot
続き
Marvell>> setenv bootargs_root root=/dev/mtdblock2 rw panic=5
Marvell>> setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
Marvell>> setenv bootcmd 'nboot $(default_kernel_addr) 0 $(nand_uImage_offset) ;setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver); bootm $(default_kernel_addr)' 
Marvell>> setenv nand_boot yes
Marvell>> boot
Loading from device 0: <NULL> at 0xfa000000 (offset 0x20000)
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2007-04-10  13:45:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1736548 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
<<stop_sound>>
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2007-04-10  13:45:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1736548 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

arg:console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091
CONFIG_KUROBOX_PLATFORM CONFIG_KUROBOX_KUROBOX ---
Uncompressing Linux................................................................................................................. done, booting the kernel.
Linux version 2.6.12.6-arm1 (root@dev-hara) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #27 Tue Apr 10 22:47:16 JST 2007
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 250000000, Tclk = 166664740
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 126208KB available (3037K code, 426K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
serial_initialize_ttyS1 (Debug): ttyS1 is initialized.
 config_device_cs Error : Unknown board 

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
PCI0_MEM ....base e8000000, size 128MB 
PCI0_IO ....base f2100000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
DEVICE_CS0 ....base fa000000, size   2MB 
DEVICE_CS1 ....base f4000000, size  32MB 
DEVICE_CS2 ....base fa800000, size   1MB 
DEV_BOOCS ....base ff800000, size   8MB 
CRYPTO ENG ....no such
Flash bankwidth 1, base ff800000, size 400000
KUROBOX FLASH size 4096[KB]

  Marvell Development Board (LSP Version 1.10.3.patch5_DB_NAS)-- KUROBOX_BOARD_KUROBOX  Soc: 88F5182 A2

 Detected Tclk 166664740 and SysClk 250000000 
Marvell USB EHCI Host controller #0: c04e4b00
Marvell USB EHCI Host controller #1: c04e4a40
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Use the XOR engines (offloading) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
  o copy user to/from kernel buffers
Number of XOR engines to use: 2
cesadev_init(c00122e4)
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
SGI XFS with no debug enabled
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 3 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (10)
'eth0' 
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: Hitachi   Model: HTS542525K9SA00   Rev: BBFO
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
 sda:
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
physmap flash device: 400000 at ff800000
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Debug nand_scan : nand_flash_ids[i].pagesize is exist
Debug nand_scan : mtd->erasesize=0x00020000
Debug nand_scan : mtd->oobblock=0x00000800
Debug nand_scan : mtd->oobsize=0x00000040
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 854 at 0x06ac0000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x00000000-0x00400000 : "uImage"
0x00400000-0x04400000 : "rootfs"
0x04400000-0x10000000 : "extra"
usbmon: debugs is not available
ehci_platform ehci_platform.4523: EHCI Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Host Controller
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   arm4regs  :   304.000 MB/sec
   8regs     :   215.200 MB/sec
   32regs    :   249.200 MB/sec
raid5: using function: arm4regs (304.000 MB/sec)
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Buffalo Platform Linux Driver(Light) 0.01 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Empty flash at 0x00df85f8 ends at 0x00df8800
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 112K
--- rcStart (NANDroot) ---
===== Starting MountSystemFolders =====
mounting procfs ... [Success]
mounting sysfs ... [Success]
mouting usbfs ... [Success]
remouting rootfs ... [Success]
mounting all devices ... [Success]


===== Starting checkroot.sh =====
rm: /var/lock/perfmon: is a directory
rm: /var/lock/printing: is a directory
rm: /var/lock/subsys: is a directory
[Success]


===== Starting Kevent.sh =====
[Success]


===== Starting mount_share.sh =====
Mounting /dev/sda on /mnt/disk1 as a xfs file system.
XFS: bad magic number
XFS: SB validate failed
mount: Mounting /dev/sda on /mnt/disk1 failed: Invalid argument
Failed.
Mounting /dev/sda on /mnt/disk1 as a ext3 file system.
mount: Mounting /dev/sda on /mnt/disk1 failed: Invalid argument
Failed.
Mounting /dev/mtd3 on /mnt/mtd as a jffs2 file system.
Success.

[Success]


===== Starting sethostname.sh =====
hostname is setted to KUROBOX-PRO
[Success]


===== Starting networking.sh =====
create network files..
IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
killall: dhcpcd: no process killed
route: SIOC[ADD|DEL]RT: No such process
Configuration network interface: lo eth0
requesting DHCP  tout=30[s]
eth0: link down
eth0: link up<5>, full duplex<5>, speed 100 Mbps<5>
/etc/dhcpc/dhcpcd.exe ::: /etc/dhcpc/dhcpcd-eth0.info up
dhcpcd.exe: interface eth0 has been configured with old IP=192.168.3.50
hostname is setted to KUROBOX-PRO
[Success]


===== Starting httpd.sh =====
[Success]


===== Starting telnet.sh =====
[Success]


===== Starting inetd.sh =====
[Success]


===== Starting smb.sh =====
$Starting SMB services: 
$Starting NMB services: 
[Success]


===== Starting clientUtil_servd.sh =====
Starting clientUtil_server:starting on eth0
[Success]


===== Starting bootcomplete.sh =====
[Success]


===== Starting FanController.sh =====
[Success]


===== Starting boss.sh =====
                                                                           
                           ...''''..                                       
               '-~~(~~'' .~<shDBDhz+(-.                                    
            .~+sDDBNBDhhszDBNNNNBNNNBDs<-                                  
           ~sBNNNNNNNNNNNNNNNNNNNNNNNNNBs<'                                
         -=DNNBNNNNNNNNNNNNNNNNNBNNNNNNNNBz<'                              
       .~zNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNz~                             
      '~hBNNNNBNNNNNNNNNNNNNNNNNNNNNNNNNNNNNND+'                           
      (hNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNBs-                          
    .~zNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNBNNBNNNNNNBs                          
    ~sBNNNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNNNNNNNz                         
   (+DNNNNNNNNNNNNNNNNNNNNNNDzNNNNNhzDNNBNNNNNNNNBs                        
   (sNNNNNNNNNNNNNNNNNNNNNNB=~hNNNN=~(sDNNNNNNNNNND                        
  (+DNNNNNNNNNNNNNNNNNNNNNNs'.=NNNNz- '(zDNNNNNNNNNz                       
  ~=BNNNNNNNNNNNNNNNNNNNNND- .=BNNNN<.  .(hNNNNNNNNB                       
  ~sNNNNNNNNNNNNNNNNNNNNND+. .+BNNNN+'    ~sBNNNNNNN                       
  (zNNNNNNNNNNNNNNNNNNNNND' ..+BNBNB=-     .+BNNNNNNh                      
  (zNNNNNNNNNNNNNNNNNNNBB= . 'hNBBNs+-      '+DNNNBND                      
  (sNNNNNNNNNNNNNNNNNNNND(   -DhDBN+<-    .  '=NNNNNB                      
  ~+DNNBNNNNNNNNNNNNNNNNz'  '=D=Dhh+('      . ~DBNNNB                      
  ~(sNNNNNNNNNNNNNNNNNNNz.  -hs(zz+<('      . .=NNNNN                      
   ~=NNBBBBNNNNNNNNNNNNB=  '==-=+s((~.        .~BNNNB                      
   ~=Nhs<+++hNNNNNNNNBz<- .~=-.s(+-(-          'hBNND                      
    =Ds+hz( ~hNNNNNNND+'..-+'.-((('<~''...     -hNNNNDs                    
   ~+z(BN=. .<BNNNNBhhDD=+<~. ~-=shBBDhz+('   -sBNNNBBNBz                  
  ~(=z(BD- '~~hBNNNs~-(<zDDs+~(shzssszDBNDh=<<sBNNNNNNNBN                  
  ~~+s<z=.-zh~sNNND<.  .''<zhhh==shDBNNNNNNNBDDNNNNNNNNNh                  
  ~~<ss+<.zBBs~zND+'      ..-+zDBNNNNNNNNNNNhzNNNNNNNNND+                  
  ~~(=h<<'+DBz-sBs~         .  (BBNNNNNNNNNz-<BBNNBNNND=                   
  ~(~<zss(('(z<sD+'            ~DNNNNNNNNNz~ 'sNNNNNNDs                    
    ~(=Ds=<...-(h<.    .     ..<BNNNNNNNNz~   -hNNNBh                      
     ~(hNs(.    =-            .=BNNNNNBNs-    .(hs==                       
     ''<BNz~    '.            .(hBNNBDz<'      .~''-                       
       -hNNh(. '..             .'<<(++~   .     -''.                       
       'hBNB+' '                   -+('.       .-''.                       
       'zDNz(  '.                 ~+<-'''..''. .-.                         
       ..~(-.  .'.              .~+(.   ..''--''.                          
                ''.           .'+<~         '~.                            
               .....          .-' .'---(~~~(<~.                            
                 ..'.            .((---'-~~(~                              
                   .'.            '+s=(-'-(+.   < Let's start a KURO-BOX!  
                    ....           .(hBDzDD=.       and have a fun time... 
                     ..'..          .'<sDh+.                               
                       .''..       .   ..-- .                              
                         ..''..         ...                                
                           .......     .'.                                 
                              ..''..'-'..                                  
                                  ...                                      
                                                                           
                                                                           
[Success]


KUROUTOSHIKOU KUROBOX Series KUROBOX/PRO(KOSHO)
KUROBOX-PRO login:
root, kuroadminでログイン
sdaとして識別されている新しい2.5inchのHDDでパーティションを作成する
BusyBox v1.1.1 (2007.04.06-12:02+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # fdisk /dev/sda

The number of cylinders for this disk is set to 30401.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-30401, default 1): 
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-30401, default 30401): 
Using default value 30401

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
 sda: sda1
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
 sda: sda1
Syncing disks.
次にファイルシステムの作成
~ # mkfs.ext2 /dev/sda1
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
30539776 inodes, 61049000 blocks
3052450 blocks (5.00%) reserved for the super user
First data block=0
1864 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables:    done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
続いてマウントして必要なファイルを取得
~ # mount -t ext2 /dev/sda1 /mnt/disk1
~ # cd /mnt/disk1
/mnt/disk1 # wget http://ftp.jp.debian.org/debian/dists/wheezy/main/installer-ar mel/current/images/orion5x/network-console/buffalo/kuroboxpro/config-debian
wget: ftp.jp.debian.org: Unknown host
と思いきや Unknown Host、、、あれ?ネットワークつながっていない?名前解決できていないのかな?
他の参考サイトではnsswitch.confを書き換えていたので試してみる。
/mnt/disk1 # vi /etc/nsswitch.conf
hosts:  files
↓dnsを追加
hosts:  files dns
で再起動
/mnt/disk1 # reboot
/mnt/disk1 # ----- rcDown -----

===== Starting shutdown_start.sh =====
[Success]


===== Starting shutdown_proc.sh =====

===== Starting clientUtil_servd.sh =====
Stop clientUtil_server:[Success]


===== Starting smb.sh =====
$Shutting down SMB services: killall: Could not kill pid '658': No such process

$Shutting down NMB services: 
[Failed ]


===== Starting networking.sh =====
Deconfiguration network interface: lo eth0
killall: dhcpcd: no process killed
[Success]


===== Starting Kevent.sh =====
[Success]


===== Starting FanController.sh =====
Stopping a fan ...........
[Success]

[Success]


===== Starting umount_disk.sh =====
[Success]

The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIPlease stand by while rebooting the system.
md: stopping all md devices.
md: md0 switched to read-only mode.
Synchronizing SCSI cache for disk sda: 
Restarting system.
Orion1   CPU =  Low 

=== KURO U-Boot. ===
 ** LOADER **
 ** KUROBOX BOARD: KURO_BOX  LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 10 2007 - 18:10:08) Marvell version: 1.12.1 - TINY

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

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


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0 
<<system_bootend>>
Hit any key to stop autoboot:  3
またここでEnteryキーでストップ
お決まりの5行を入力
Marvell>> setenv bootargs_root root=/dev/mtdblock2 rw panic=5
Marvell>> setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver)
Marvell>> setenv bootcmd 'nboot $(default_kernel_addr) 0 $(nand_uImage_offset) ;setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver); bootm $(default_kernel_addr)' 
Marvell>> setenv nand_boot yes
Marvell>> boot

Loading from device 0: <NULL> at 0xfa000000 (offset 0x20000)
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2007-04-10  13:45:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1736548 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
<<stop_sound>>
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2007-04-10  13:45:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1736548 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

arg:console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091
CONFIG_KUROBOX_PLATFORM CONFIG_KUROBOX_KUROBOX ---
Uncompressing Linux................................................................................................................. done, booting the kernel.
Linux version 2.6.12.6-arm1 (root@dev-hara) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #27 Tue Apr 10 22:47:16 JST 2007
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 250000000, Tclk = 166664740
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rw panic=5 BOOTVER=1.091
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 126208KB available (3037K code, 426K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
serial_initialize_ttyS1 (Debug): ttyS1 is initialized.
 config_device_cs Error : Unknown board 

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
PCI0_MEM ....base e8000000, size 128MB 
PCI0_IO ....base f2100000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
DEVICE_CS0 ....base fa000000, size   2MB 
DEVICE_CS1 ....base f4000000, size  32MB 
DEVICE_CS2 ....base fa800000, size   1MB 
DEV_BOOCS ....base ff800000, size   8MB 
CRYPTO ENG ....no such
Flash bankwidth 1, base ff800000, size 400000
KUROBOX FLASH size 4096[KB]

  Marvell Development Board (LSP Version 1.10.3.patch5_DB_NAS)-- KUROBOX_BOARD_KUROBOX  Soc: 88F5182 A2

 Detected Tclk 166664740 and SysClk 250000000 
Marvell USB EHCI Host controller #0: c04e4b00
Marvell USB EHCI Host controller #1: c04e4a40
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Use the XOR engines (offloading) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
  o copy user to/from kernel buffers
Number of XOR engines to use: 2
cesadev_init(c00122e4)
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
SGI XFS with no debug enabled
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 3 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (10)
'eth0' 
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: Hitachi   Model: HTS542525K9SA00   Rev: BBFO
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
 sda: sda1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
physmap flash device: 400000 at ff800000
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Debug nand_scan : nand_flash_ids[i].pagesize is exist
Debug nand_scan : mtd->erasesize=0x00020000
Debug nand_scan : mtd->oobblock=0x00000800
Debug nand_scan : mtd->oobsize=0x00000040
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 854 at 0x06ac0000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x00000000-0x00400000 : "uImage"
0x00400000-0x04400000 : "rootfs"
0x04400000-0x10000000 : "extra"
usbmon: debugs is not available
ehci_platform ehci_platform.4523: EHCI Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Host Controller
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   arm4regs  :   304.000 MB/sec
   8regs     :   215.200 MB/sec
   32regs    :   249.200 MB/sec
raid5: using function: arm4regs (304.000 MB/sec)
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Buffalo Platform Linux Driver(Light) 0.01 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Empty flash at 0x00df85f8 ends at 0x00df8800
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 112K
--- rcStart (NANDroot) ---
===== Starting MountSystemFolders =====
mounting procfs ... [Success]
mounting sysfs ... [Success]
mouting usbfs ... [Success]
remouting rootfs ... [Success]
mounting all devices ... [Success]


===== Starting checkroot.sh =====
rm: /var/lock/perfmon: is a directory
rm: /var/lock/printing: is a directory
rm: /var/lock/subsys: is a directory
[Success]


===== Starting Kevent.sh =====
[Success]


===== Starting mount_share.sh =====
Mounting /dev/sda1 on /mnt/disk1 as a xfs file system.
XFS: bad magic number
XFS: SB validate failed
mount: Mounting /dev/sda1 on /mnt/disk1 failed: Invalid argument
Failed.
Mounting /dev/sda1 on /mnt/disk1 as a ext3 file system.
mount: Mounting /dev/sda1 on /mnt/disk1 failed: Invalid argument
Failed.
Mounting /dev/mtd3 on /mnt/mtd as a jffs2 file system.
Success.

[Success]


===== Starting sethostname.sh =====
hostname is setted to KUROBOX-PRO
[Success]


===== Starting networking.sh =====
create network files..
IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
killall: dhcpcd: no process killed
route: SIOC[ADD|DEL]RT: No such process
Configuration network interface: lo eth0
requesting DHCP  tout=30[s]
eth0: link down
eth0: link up<5>, full duplex<5>, speed 100 Mbps<5>
/etc/dhcpc/dhcpcd.exe ::: /etc/dhcpc/dhcpcd-eth0.info up
dhcpcd.exe: interface eth0 has been configured with old IP=192.168.3.50
hostname is setted to KUROBOX-PRO
[Success]


===== Starting httpd.sh =====
[Success]


===== Starting telnet.sh =====
[Success]


===== Starting inetd.sh =====
[Success]


===== Starting smb.sh =====
$Starting SMB services: 
$Starting NMB services: 
[Success]


===== Starting clientUtil_servd.sh =====
Starting clientUtil_server:starting on eth0
[Success]


===== Starting bootcomplete.sh =====
[Success]


===== Starting FanController.sh =====
[Success]


===== Starting boss.sh =====
                                                                           
                           ...''''..                                       
               '-~~(~~'' .~<shDBDhz+(-.                                    
            .~+sDDBNBDhhszDBNNNNBNNNBDs<-                                  
           ~sBNNNNNNNNNNNNNNNNNNNNNNNNNBs<'                                
         -=DNNBNNNNNNNNNNNNNNNNNBNNNNNNNNBz<'                              
       .~zNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNz~                             
      '~hBNNNNBNNNNNNNNNNNNNNNNNNNNNNNNNNNNNND+'                           
      (hNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNBs-                          
    .~zNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNBNNBNNNNNNBs                          
    ~sBNNNNNNNNNNNNNNNNNNNNNNNNNNNNBNNNNNNNNNNNNNz                         
   (+DNNNNNNNNNNNNNNNNNNNNNNDzNNNNNhzDNNBNNNNNNNNBs                        
   (sNNNNNNNNNNNNNNNNNNNNNNB=~hNNNN=~(sDNNNNNNNNNND                        
  (+DNNNNNNNNNNNNNNNNNNNNNNs'.=NNNNz- '(zDNNNNNNNNNz                       
  ~=BNNNNNNNNNNNNNNNNNNNNND- .=BNNNN<.  .(hNNNNNNNNB                       
  ~sNNNNNNNNNNNNNNNNNNNNND+. .+BNNNN+'    ~sBNNNNNNN                       
  (zNNNNNNNNNNNNNNNNNNNNND' ..+BNBNB=-     .+BNNNNNNh                      
  (zNNNNNNNNNNNNNNNNNNNBB= . 'hNBBNs+-      '+DNNNBND                      
  (sNNNNNNNNNNNNNNNNNNNND(   -DhDBN+<-    .  '=NNNNNB                      
  ~+DNNBNNNNNNNNNNNNNNNNz'  '=D=Dhh+('      . ~DBNNNB                      
  ~(sNNNNNNNNNNNNNNNNNNNz.  -hs(zz+<('      . .=NNNNN                      
   ~=NNBBBBNNNNNNNNNNNNB=  '==-=+s((~.        .~BNNNB                      
   ~=Nhs<+++hNNNNNNNNBz<- .~=-.s(+-(-          'hBNND                      
    =Ds+hz( ~hNNNNNNND+'..-+'.-((('<~''...     -hNNNNDs                    
   ~+z(BN=. .<BNNNNBhhDD=+<~. ~-=shBBDhz+('   -sBNNNBBNBz                  
  ~(=z(BD- '~~hBNNNs~-(<zDDs+~(shzssszDBNDh=<<sBNNNNNNNBN                  
  ~~+s<z=.-zh~sNNND<.  .''<zhhh==shDBNNNNNNNBDDNNNNNNNNNh                  
  ~~<ss+<.zBBs~zND+'      ..-+zDBNNNNNNNNNNNhzNNNNNNNNND+                  
  ~~(=h<<'+DBz-sBs~         .  (BBNNNNNNNNNz-<BBNNBNNND=                   
  ~(~<zss(('(z<sD+'            ~DNNNNNNNNNz~ 'sNNNNNNDs                    
    ~(=Ds=<...-(h<.    .     ..<BNNNNNNNNz~   -hNNNBh                      
     ~(hNs(.    =-            .=BNNNNNBNs-    .(hs==                       
     ''<BNz~    '.            .(hBNNBDz<'      .~''-                       
       -hNNh(. '..             .'<<(++~   .     -''.                       
       'hBNB+' '                   -+('.       .-''.                       
       'zDNz(  '.                 ~+<-'''..''. .-.                         
       ..~(-.  .'.              .~+(.   ..''--''.                          
                ''.           .'+<~         '~.                            
               .....          .-' .'---(~~~(<~.                            
                 ..'.            .((---'-~~(~                              
                   .'.            '+s=(-'-(+.   < Let's start a KURO-BOX!  
                    ....           .(hBDzDD=.       and have a fun time... 
                     ..'..          .'<sDh+.                               
                       .''..       .   ..-- .                              
                         ..''..         ...                                
                           .......     .'.                                 
                              ..''..'-'..                                  
                                  ...                                      
                                                                           
                                                                           
[Success]


KUROUTOSHIKOU KUROBOX Series KUROBOX/PRO(KOSHO)
KUROBOX-PRO login: root
Password: 
login[782]: root login  on `ttyS0'



BusyBox v1.1.1 (2007.04.06-12:02+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # mount -t ext2 /dev/sda1 /mnt/disk1
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
~ # cd /mnt/disk1
/mnt/disk1 # ls -l
-rw-r--r--    1 root     root            0 Mar 10 13:00 config-debian
drwx------    2 root     root        16384 Mar 10 13:00 lost+found
警告が出ているけど気にしない。
さっき失敗した必要なファイルのwgetを実行してみる。
/mnt/disk1 # wget http://ftp.jp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/orion5x/network-console/buffalo/kuroboxpro/config-debian
Connecting to ftp.jp.debian.org[203.178.137.175]:80
config-debian        100% |*****************************|  1535       00:00 ETA
/mnt/disk1 # wget http://ftp.jp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/orion5x/network-console/buffalo/kuroboxpro/initrd.buffalo
Connecting to ftp.jp.debian.org[203.178.137.175]:80
initrd.buffalo       100% |*****************************|  5035 KB    00:00 ETA
/mnt/disk1 # wget http://ftp.jp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/orion5x/network-console/buffalo/kuroboxpro/uImage.buffalo
Connecting to ftp.jp.debian.org[203.178.137.175]:80
uImage.buffalo       100% |*****************************|  1450 KB    00:00 ETA
いけた
では早速セットアップへ
/mnt/disk1 # sh config-debian
Saving U-Boot environment to ubootenv.bak... done.
Changing U-Boot environment... 
>nvram_set:bootcmd = ide reset; ext2load ide 0:1 $(default_kernel_addr) /$(kernel); ext2load ide 0:1 $(default_initrd_addr) /$(initrd); setenv bootargs $(bootargs_base); bootm $(default_kernel_addr) $(default_initrd_addr)
done.
Please reboot your Kurobox Pro.
nvram使って書き換えればシリアルコンソール要らないのか…
では再起動
nvramで書き換えられたので今度はストップが要らないので気楽に待つ。
/mnt/disk1 # reboot
/mnt/disk1 # ----- rcDown -----

===== Starting shutdown_start.sh =====
[Success]


===== Starting shutdown_proc.sh =====

===== Starting clientUtil_servd.sh =====
Stop clientUtil_server:[Success]


===== Starting smb.sh =====
$Shutting down SMB services: 
$Shutting down NMB services: 
[Success]


===== Starting networking.sh =====
Deconfiguration network interface: lo eth0
killall: dhcpcd: no process killed
[Success]


===== Starting Kevent.sh =====
[Success]


===== Starting FanController.sh =====
Stopping a fan ...........
[Success]

[Success]


===== Starting umount_disk.sh =====
[Success]

The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIPlease stand by while rebooting the system.
md: stopping all md devices.
md: md0 switched to read-only mode.
Synchronizing SCSI cache for disk sda: 
Restarting system.
Orion1   CPU =  Low 

=== KURO U-Boot. ===
 ** LOADER **
 ** KUROBOX BOARD: KURO_BOX  LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 10 2007 - 18:10:08) Marvell version: 1.12.1 - TINY

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

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


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
hit any key to switch tftp boot.
Hit any key to stop autoboot:  2  1  0 
<<system_bootend>>
Hit any key to stop autoboot:  3  2  1  0 

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: Hitachi HTS542525K9SA00                  Firm: BBFOC31P Ser#: 080422BB6F00WDDDBT6G
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)

Using device ide0, partition 1

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

1485560 bytes read
Using device ide0, partition 1

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

5156040 bytes read
<<stop_sound>>
## Booting image at 00100000 ...
   Image Name:   Debian kernel
   Created:      2015-01-05   9:34:29 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1485496 Bytes =  1.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02000000 ...
   Image Name:   debian-installer ramdisk
   Created:      2015-01-05   9:34:30 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5155976 Bytes =  4.9 MB
   Load Address: 02000000
   Entry Point:  02000000
   Verifying Checksum ... OK

Starting kernel ...

arg:console=ttyS0,115200
Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-4-orion5x (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Debian 3.2.65-1
[    0.000000] CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Buffalo/Revogear Kurobox Pro
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 120408k/120408k available, 10664k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xfd800000   ( 848 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc039c088   (3665 kB)
[    0.000000]       .init : 0xc039d000 - 0xc03c0000   ( 140 kB)
[    0.000000]       .data : 0xc03c0000 - 0xc03f9fc0   ( 232 kB)
[    0.000000]        .bss : 0xc03f9fe4 - 0xc045ca7c   ( 395 kB)
[    0.000000] NR_IRQS:64
[    0.000000] sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
[    0.000000] Console: colour dummy device 80x30
[   12.137424] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[   12.207116] pid_max: default: 32768 minimum: 301
[   12.207429] Security Framework initialized
[   12.207612] Mount-cache hash table entries: 512
[   12.208337] Initializing cgroup subsys cpuacct
[   12.208386] Initializing cgroup subsys memory
[   12.208447] Initializing cgroup subsys devices
[   12.208479] Initializing cgroup subsys freezer
[   12.208509] Initializing cgroup subsys net_cls
[   12.208538] Initializing cgroup subsys blkio
[   12.208594] Initializing cgroup subsys perf_event
[   12.208780] CPU: Testing write buffer coherency: ok
[   12.211324] devtmpfs: initialized
[   12.214771] print_constraints: dummy: 
[   12.215226] NET: Registered protocol family 16
[   12.216750] Orion ID: MV88F5182-A2. TCLK=166666667.
[   12.220449] Applying Orion-1/Orion-NAS PCIe config read transaction workaround
[   12.221209] PCI: bus0: Fast back to back transfers disabled
[   12.227298] bio: create slab <bio-0> at 0
[   12.228474] vgaarb: loaded
[   12.230422] Switching to clocksource orion_clocksource
[   12.275838] NET: Registered protocol family 2
[   12.309253] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   12.311082] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   12.311351] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   12.311497] TCP: Hash tables configured (established 4096 bind 4096)
[   12.311529] TCP reno registered
[   12.311571] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   12.311643] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   12.312257] NET: Registered protocol family 1
[   12.312796] Unpacking initramfs...
[   13.580333] Freeing initrd memory: 5032K
[   13.580367] NetWinder Floating Point Emulator V0.97 (double precision)
[   13.581885] audit: initializing netlink socket (disabled)
[   13.581971] type=2000 audit(1.440:1): initialized
[   13.585681] VFS: Disk quotas dquot_6.5.2
[   13.585931] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   13.586223] msgmni has been set to 245
[   13.587723] alg: No test for stdrng (krng)
[   13.588000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   13.588042] io scheduler noop registered
[   13.588070] io scheduler deadline registered
[   13.588224] io scheduler cfq registered (default)
[   13.588469] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   13.620611] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   13.660607] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   13.661638] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   13.683265] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
[   14.110384] console [ttyS0] enabled
[   14.134756] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A
[   14.143600] physmap platform flash device: 00040000 at f4000000
[   14.149754] Found: SST 39LF020
[   14.152909] physmap-flash.0: Found 1 x8 devices at 0x0 in 8-bit bank
[   14.159280] number of JEDEC chips: 1
[   14.193019] NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)
[   14.201822] Scanning device for bad blocks
[   14.238566] Bad eraseblock 854 at 0x000006ac0000
[   14.300751] Creating 3 MTD partitions on "orion_nand":
[   14.305909] 0x000000000000-0x000000400000 : "uImage"
[   14.313476] 0x000000400000-0x000004400000 : "rootfs"
[   14.321188] 0x000004400000-0x000010000000 : "extra"
[   14.330054] mousedev: PS/2 mouse device common for all mice
[   14.336587] i2c /dev entries driver
[   14.344783] rtc-rs5c372 0-0032: rs5c372a found, 24hr, driver version 0.6
[   14.356860] rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
[   14.366220] TCP cubic registered
[   14.369459] NET: Registered protocol family 17
[   14.374013] Registering the dns_resolver key type
[   14.378787] VFP support v0.3: not present
[   14.384110] registered taskstats version 1
[   14.390002] rtc-rs5c372 0-0032: setting system clock to 2015-03-10 13:08:56 UTC (1425992936)
[   14.398628] Initializing network drop monitor service
[   14.405299] Freeing init memory: 140K
[   14.826405] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   14.936417] mv643xx_eth smi: probed
[   15.061986] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address XX:XX:XX:XX:XX:XX
[   15.214283] usbcore: registered new interface driver usbfs
[   15.219976] usbcore: registered new interface driver hub
[   15.277235] SCSI subsystem initialized
[   15.283887] usbcore: registered new device driver usb
[   15.292303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.298959] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   15.385903] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   15.480681] orion-ehci orion-ehci.0: irq 17, io mem 0xf1050000
[   15.501970] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   15.508052] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   15.514915] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.522165] usb usb1: Product: Marvell Orion EHCI
[   15.526876] usb usb1: Manufacturer: Linux 3.2.0-4-orion5x ehci_hcd
[   15.533085] usb usb1: SerialNumber: orion-ehci.0
[   15.665815] hub 1-0:1.0: USB hub found
[   15.669602] hub 1-0:1.0: 1 port detected
[   15.702305] sata_mv sata_mv.0: slots 32 ports 2
[   15.741857] scsi0 : sata_mv
[   15.764300] scsi1 : sata_mv
[   15.767884] ata1: SATA max UDMA/133 irq 29
[   15.772067] ata2: SATA max UDMA/133 irq 29
[   15.800881] orion-ehci orion-ehci.1: Marvell Orion EHCI
[   15.806200] orion-ehci orion-ehci.1: new USB bus registered, assigned bus number 2
[   15.860686] orion-ehci orion-ehci.1: irq 12, io mem 0xf10a0000
[   15.880672] orion-ehci orion-ehci.1: USB 2.0 started, EHCI 1.00
[   15.886761] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   15.893624] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.900882] usb usb2: Product: Marvell Orion EHCI
[   15.905592] usb usb2: Manufacturer: Linux 3.2.0-4-orion5x ehci_hcd
[   15.911801] usb usb2: SerialNumber: orion-ehci.1
[   15.988111] hub 2-0:1.0: USB hub found
[   16.000727] hub 2-0:1.0: 1 port detected
[   16.280569] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   16.320626] ata1.00: ATA-8: Hitachi HTS542525K9SA00, BBFOC31P, max UDMA/133
[   16.327593] ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   16.390642] ata1.00: configured for UDMA/133
[   16.395692] scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54252 BBFO PQ: 0 ANSI: 5
[   16.750560] ata2: SATA link down (SStatus 0 SControl 300)
[   16.875256] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[   16.886139] sd 0:0:0:0: [sda] Write Protect is off
[   16.891416] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   17.271393]  sda: sda1
[   17.277923] sd 0:0:0:0: [sda] Attached SCSI disk
Starting system log daemon: syslogd, klogd.
mount: mounting /dev/mtdblock2 on /tmp/oldsys-preseed/rootfs failed: Input/output error
umount: can't umount /tmp/oldsys-preseed/rootfs: Invalid argument
無事にセットアップが始まりました。
続きはDebian Wheezy Install
最終更新:2015年03月12日 13:07