obsA7のDebian7 wheezy 再起動不可をきっかけに、Debian8 jessie に移行した時のメモです。
1.Debian7 wheezy 再起動不可
初回のDebian7 wheezyインストール (記事2013年12月16日
obsA7-001 購入SSD取付け起動) から、問題なく動いていたが、ある日のこと2016.8.11再起動するとread: ERRORとBad Data CRCで停止してしまった。
reading NAND page at offset 0x128c800 failed
62914560 bytes read: ERROR
## Booting image at 02000000 ...
Image Name: OBSA7 3.2.54-1
Created: 2014-11-26 1:15:22 UTC
Image Type: ARM Linux Multi-File Image (uncompressed)
Data Size: 47747335 Bytes = 45.5 MB
Load Address: 00008000
Entry Point: 00008000
Contents:
Image 0: 2583736 Bytes = 2.5 MB
Image 1: 45163587 Bytes = 43.1 MB
Verifying Checksum ... Bad Data CRC
openblocks>>
パッケージuboot-imageは1.2.13-2だけれど、これは以下のFAQから、
http://openblocks.plathome.co.jp/products/obs_a/a7/faq4.html#faq-517
FAQ.ファームウェアアップデートを実行したら起動しなくなりました。どうすれば復旧できますか。
A.TFTPサーバを利用したファームウェアのアップデートを行うことで復旧できます。
にて復活するようだったが、これを機会にDebian7 wheezyからDebian8 jessieにアップグレードし、kernelは3.2.54から4.1.19になる。さらにSSDも増量することにした。
2.準備物と参照したページと必要ファイル
2-1. OpenBlocks A7 リリース情報
http://openblocks.plathome.co.jp/support/software/a7/
2-1-1. OpenBlocks A7 7から8へのアップグレード
http://openblocks.plathome.co.jp/support/guide/a7/verup_to_8.html
2-1-2. Debian 8のファームウェアのダウンロード(2016-04-04版)
http://ftp.plathome.co.jp/pub/OBSA7/jessie/4.1.19-0/uImage.initrd.obsa7
ここのuImage.initrd.obsa7をTFTPサーバ側に置いて、obsA7のSW2 ON起動でobsA7復旧用となる。
このuImage.initrd.obsa7で不便がなければ以降のkernelビルド操作は不要。
obsa7_defconfig.txt:42:# CONFIG_BRIDGE is not set
この2016-04-04版のuImage.initrd.obsa7はBRIDGEが無効だったので、kernelビルドすることにした。
2.2. OpenBlocksファームウェア作成ガイド
https://github.com/plathome/debian_based_firmware
対応ファームウェア
機種 Debian TARGET DIST ARCH
A7 8 obsa7 jessie armel
にてobsa7はjessieに対応している。で、
# cd build_ramdisk
# ./buildall.sh -M obsa7 -D jessie
準備ブツが整っていれば、このbuildall.sh一発でuImage.initrd.obsa7ができそうだが、
ここplathomeガイドの丁寧な解説に補足してステップごとに確認しながら作業を進める。
2.3. 調達したSSD
Samsung SSD 850EVOシリーズ 250GB(ベーシックキット) MZ-75E250B/IT
SSDの選定が正しいか不明だが、コスパで選んだ。
https://www.google.co.jp/webhp?rls=ig&gws_rd=ssl#q=MZ-75E250B

3. 準備
3.1 作成ホスト
Macbook Pro(Early 2011)OSX El Capitan のParallels Desktop 11 for Macに、
ubuntu-ja-16.04-desktop-amd64.isoからUbuntuをインストールして母艦とした。
◯ubuntu 16.04 LTS 日本語 Remix リリース
https://www.ubuntulinux.jp/News/ubuntu1604-ja-remix
tsubota@macbp:Ubuntu16.04% ls -lh ubuntu-ja-16.04-desktop-amd64.iso
-rw-rw-r-- 1 tsubota wheel 1.3G 4 29 13:24 ubuntu-ja-16.04-desktop-amd64.iso
[ubuntu 16.04 parallels]でググるとデスクトップ画面が真っ黒になるのは、3Dアクセラレーション設定をオンにした状態でParallels Toolsを再インストールとありにて解決。
3.2. Gitリポジトリの取得
Ubuntu16.04# apt-get update
Ubuntu16.04# apt-get install git
Gitリポジトリを取得します。
Ubuntu16.04$ git clone git://github.com/plathome/debian_based_firmware.git
以下では、ディレクトリdebian_based_firmwareに移動したものとして説明。とあり、ここではパス${BASEDIR}/debian_based_firmwareとする。
3.3. クロス開発環境
ファームウェアの作成に必要なパッケージをインストール。
Ubuntu16.04# cd ${BASEDIR}/debian_based_firmware/build_ramdisk
Ubuntu16.04# ./build_crossenv.sh
問題なくbuild_crossenv.shは実行された。$ gcc --version|head -1で、
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609 がgccバージョン。
3.4. カーネルソース
3.4.1. カーネル取得
カーネルソースをぷらっとホームのFTPサイトからダウンロード。
Ubuntu16.04$ cd ${BASEDIR}/debian_based_firmware/source/obsa7
Ubuntu16.04:obsa7$ wget http://ftp.plathome.co.jp/pub/OBSA7/jessie/4.1.19-0/linux-4.1.19-obs-20160401.tar.xz
Ubuntu16.04:obsa7$ ls -l linux-4.1.19-obs-20160401.tar.xz
86704504 Apr 1 12:01 linux-4.1.19-obs-20160401.tar.xz
3.4.2. カーネル展開
Ubuntu16.04$ cd ${BASEDIR}/debian_based_firmware/source/obsa7
Ubuntu16.04:obsa7$ xz -dc linux-4.1.19-obs-20160401.tar.xz| tar xf -
3.5. DVDイメージ取得
Ubuntu16.04$ cd ${BASEDIR}/debian_based_firmware/isofiles
Ubuntu16.04:isofiles$ wget http://ftp.riken.jp/Linux/debian/debian-cd/current/armel/iso-dvd/debian-8.5.0-armel-DVD-1.iso
Ubuntu16.04:isofiles$ ls -l debian-8.5.0-armel-DVD-1.iso
4694073344 Jun 5 06:17 debian-8.5.0-armel-DVD-1.iso
4. ファームウェアを作成する。
Ubuntu16.04# cd ${BASEDIR}/debian_based_firmware/build_ramdisk
#### ./buildall.sh -M obsa7 -D jessie
buildall.shはステップごとに確認するのでこの一発スクリプトは実行せず5.へ。
5. カスタマイズはステップごとに
シェルスクリプトbuild_ramdisk/buildall.shを実行することは、DIST=jessie, TARGET=obsa7の場合、以下の通り実行することと同じ。
Ubuntu16.04# cd ${BASEDIR}/debian_based_firmware/build_ramdisk
Ubuntu16.04:build_ramdisk# DIST=jessie TARGET=obsa7 ./build_debootstrap.sh
Ubuntu16.04:build_ramdisk# DIST=jessie TARGET=obsa7 ./build_kernel.sh
Ubuntu16.04:build_ramdisk# DIST=jessie TARGET=obsa7 ./build_ramdisk.sh
Ubuntu16.04:build_ramdisk# DIST=jessie TARGET=obsa7 ./release_firmware.sh
(# export DIST=jessie TARGET=obsa7とするのもよい)
5.0.1 build_debootstrap.sh
Debian 基本システムをインストールdebootstrapを実行し、ディレクトリrootfs/jessie_obsa7以下にDebianを仮インストールする。
<Check_5.0.1>
→cd ${BASEDIR}/debian_based_firmware/rootfs/jessie_obsa7
にルート構成があるか?
5.0.2 build_kernel.sh
カーネルとカーネルモジュールのコンパイル。
<Check_5.0.2>
→cd ${BASEDIR}/debian_based_firmware/source/obsa7/linux-4.1.19
に以下のファイルが出来ているか?
Ubuntu16.04:linux-4.1.19# ls -l net/bridge/bridge.ko
-rw-r--r-- 1 root wheel 116300 8 25 13:58 net/bridge/bridge.ko
Ubuntu16.04:linux-4.1.19# ls -l arch/arm/boot/zImage
-rwxr-xr-x 1 root wheel 2899384 8 25 13:58 arch/arm/boot/zImage
Ubuntu16.04:linux-4.1.19# ls -l arch/arm/boot/dts/kirkwood-openblocks_a7.dtb
-rw-r--r-- 1 root wheel 11479 8 25 13:22 arch/arm/boot/dts/kirkwood-openblocks_a7.dtb
zImageとkirkwood-openblocks_a7.dtbをcatして、zImage.dtbになる。
5.0.3 build_ramdisk.sh
ディレクトリrootfs/jessie_obsa7以下に仮インストールしたDebianをOpenBlocks用に変更して、RAMディスクイメージを作成。
<Check_5.0.3>
→cd ${BASEDIR}/debian_based_firmware/rootfs
に以下のファイルが出来ているか?
Ubuntu16.04:rootfs# ls -l ramdisk-jessie.obsa7.img
-rw-r--r-- root wheel 188743680 Aug 25 14:04 ramdisk-jessie.obsa7.img
5.0.4 release_firmware.sh
ファームウェア一式を作成。
→cd ${BASEDIR}/debian_based_firmware/release/obsa7/jessie/4.1.19-0
に以下のファイルが出来ているか?
Ubuntu16.04:4.1.19-0# ls -l
-rw-r--r-- 1 root wheel 337 Aug 28 23:18 MD5.obsa7
-rw-r--r-- 1 root wheel 1237687 Aug 28 23:17 System.map
-rw-r--r-- 1 root wheel 8950032 Aug 28 23:17 kernel+modules-4.1.19-0.tar.xz
-rw-r--r-- 1 root wheel 59792790 Aug 28 23:17 kernel-image-4.1.19-0-obsa7.deb
-rw-r--r-- 1 root wheel 58335052 Aug 28 23:17 ramdisk-jessie.obsa7.img.gz
-rw-r--r-- 1 root wheel 61245992 Aug 28 23:17 uImage.initrd.obsa7
-rw-r--r-- 1 root wheel 2910863 Aug 28 23:17 zImage.dtb
ここで出来たuImage.initrd.obsa7をflashcfgする。
5.1. カーネル
5.1.1. コンフィグレーションの変更
cd ${BASEDIR}/debian_based_firmware/source/obsa7/linux-4.1.19/
の.configからビルド構成される。元ネタは、
Ubuntu16.04:linux-4.1.19# ls -l arch/arm/configs/obsa7_defconfig
-rw-r--r-- 1 root wheel 96194 3 31 17:09 arch/arm/configs/obsa7_defconfig
# cp -p arch/arm/configs/obsa7_defconfig .config
# make oldconfig
# make menuconfig ここで、CONFIG_BRIDGEを生かす。
# cp -p .config ../linux-4.1.19.dot.config
もしくは、
# DIST=jessie TARGET=obsa7 ./kernel_menuconfig.sh
オリジナルなobsa7_defconfigで5.0.2 build_kernel.shが通り、5.0.4 release_firmware.shで出来たuImage.initrd.obsa7をflashcfgして正しく起動確認したあと、CONFIG_BRIDGEを有効にした。
*menuconfigのBRIDGEモジュールへ変更位置
Networking --->
Networking options --->
<M> 802.1d Ethernet Bridging ←BRIDGEモジュールへ変更
いろいろいじったので正確さに欠けるがついでに以下のあたりが変わった。
% diff linux-4.1.19.dot.config_ORG linux-4.1.19.dot.config_3
633a634
> CONFIG_BRIDGE_NETFILTER=m
767a769
> # CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
915a918,919
> # CONFIG_NF_TABLES_BRIDGE is not set
> # CONFIG_BRIDGE_NF_EBTABLES is not set
924c928,930
< # CONFIG_BRIDGE is not set
---
> CONFIG_STP=m
> CONFIG_BRIDGE=m
> CONFIG_BRIDGE_IGMP_SNOOPING=y
927a934
> CONFIG_LLC=m
5.9 気づいたことの変更点
正常に起動するものの /sbin/initからの/etc/init.d/rcSが起動するコンソールメッセージがttyS0に表示されなかった。以下のように/dev/consoleを作ると解消された。
<Update_5.0.1>
cd ${BASEDIR}/debian_based_firmware/rootfs/jessie_obsa7/dev
root@ubuntu1604:dev# mknod -m 600 console c 5 1
root@ubuntu1604:dev# ls -l console
crw------- 1 root root 5, 1 8月 28 22:37 console
この後、RAMディスクイメージを作成しなおす。
# DIST=jessie TARGET=obsa7 ./99_create_ramdisk.sh
さらに、ファームウェアを作成しなおす。
# DIST=jessie TARGET=obsa7 ./release_firmware.sh
6. ファームウェアの反映
uImage.initrd.obsa7をOBSA7に送って、flashcfgのあと再起動する。
root@obsa7:~# flashcfg -y -f uImage.initrd.obsa7
root@obsa7:~# reboot
再起動のコンソールメッセージを以下に示す。
Broadcast message from root@obsa7 (ttyS0) (Mon Aug 29 11:04:51 2016):
The system is going down for reboot NOW!
[ ok Sending processes the T[....] Stopping MTA: exim4_listener.
[ ok ] Stopping ISC DHCP server: dhcpd.
[ ok ] Stopping internet superserver: inetd.
[ ok ] Stopping monitoring init button daemon for openblocks: pshd.
[ ok ] Stopping LED control daemon for openblocks: runled.
[ ok ] Saving random seed...done.
[....] Stopping domain name service...: bind9waiting for pid 1753 to die
. ok
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 2 seconds...done.
[ ok ] Stopping enhanced syslogd: rsyslogd.
[info] Saving the system clock.
[info] Hardware Clock updated to Mon Aug 29 11:04:57 JST 2016.
[ ok ] Deconfiguring network interfaces...done.
[ ok ] Will now deactivate swap:.
[....] Will now unmount union filesystems ( /etc /bin /home /lib /sbin /usr /var[ ok t /opt /srv /media):.
[....] Will now unmount /.rw filesystem (/.rw):umount: /.rw (/dev/sda1) unmounted
. ok
[....] Will now unmount local filesystems:umount: /dsk/sda4 (/dev/sda4) unmounted
umount: /dsk/sda2 (/dev/sda2) unmounted
. ok
[info] Will now restart.
[42054.565904] reboot: Restarting system
U-Boot 1.1.4 (Feb 5 2014 - 12:38:30)
Plat'Home version: 1.2.13 A7 (Base: Marvell version: 3.5.9)
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CF480
Soc: 88F6282 A1CPU running @ 600Mhz L2 running @ 300Mhz
SysClock = 300Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 6 tRP = 5 tRAS = 15 tRCD=5
DRAM CS[0] base 0x00000000 size 256MB
DRAM CS[1] base 0x10000000 size 256MB
DRAM CS[2] base 0x20000000 size 256MB
DRAM CS[3] base 0x30000000 size 256MB
DRAM Total size 1GB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
POST: mac verify Eth0 PASSED Eth1 PASSED
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
Module 0 is RGMII
USB 0: host mode
USB 1: host mode
USB 2: host mode
USB 3: host mode
Net: egiga0, egiga1
Hit any key to stop autoboot: 0
Run Boot Selection Script
*** SW 1 IS OFF ***
*** SW 2 IS OFF ***
*** SW 3 IS OFF, Standard Boot ***
Bootargs: root=/dev/ram vmalloc=200M rootdelay=7 mtdparts=nand_mtd:0x1c0000@0x0(uboot)ro,0x2c0000@0x1c0000(env),0x160000@0x480000(test)ro,0x540000@0x5e0000(conf),0x3d40000@0xb20000(linux),0x9660000@0x4860000(user),0x2140000@0xdec0000(opt) ubi.mtd=4 console=ttyS0,115200
NAND read: device 0 offset 0xb20000, size 0x3c00000
Reading data from 0x471f800 -- 100% complete.
62914560 bytes read: OK
## Booting image at 02000000 ...
Image Name: OBSA7 4.1.19-0
Created: 2016-08-28 14:17:25 UTC
Image Type: ARM Linux Multi-File Image (uncompressed)
Data Size: 61245928 Bytes = 58.4 MB
Load Address: 00008000
Entry Point: 00008000
Contents:
Image 0: 2910863 Bytes = 2.8 MB
Image 1: 58335052 Bytes = 55.6 MB
Verifying Checksum ... OK
OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.19 (root@ubuntu1604) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #2 PREEMPT Thu Aug 25 13:58:36 JST 2016
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: Plat'Home OpenBlocksA7
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260528
[ 0.000000] Kernel command line: root=/dev/ram vmalloc=200M rootdelay=7 mtdparts=nand_mtd:0x1c0000@0x0(uboot)ro,0x2c0000@0x1c0000(env),0x160000@0x480000(test)ro,0x540000@0x5e0000(conf),0x3d40000@0xb20000(linux),0x9660000@0x4860000(user),0x2140000@0xdec0000(opt) ubi.mtd=4 console=ttyS0,115200
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 976768K/1048576K available (4167K kernel code, 173K rwdata, 1128K rodata, 152K init, 98K bss, 71808K reserved, 0K cma-reserved, 221184K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf3000000 - 0xff000000 ( 192 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf2800000 ( 808 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0533f18 (5296 kB)
[ 0.000000] .init : 0xc0534000 - 0xc055a000 ( 152 kB)
[ 0.000000] .data : 0xc055a000 - 0xc0585700 ( 174 kB)
[ 0.000000] .bss : 0xc0585700 - 0xc059df78 ( 99 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
(省略)
[ 2.275993] Waiting 7 sec before mounting root device...
[ 2.281794] ata1.00: supports DRM functions and may not be fully accessible
[ 2.289408] ata1.00: configured for UDMA/133
[ 2.306690] scsi 0:0:0:0: Direct-Access ATA Samsung SSD 850 2B6Q PQ: 0 ANSI: 5
[ 2.316454] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[ 2.324641] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 2.331072] sd 0:0:0:0: [sda] Write Protect is off
[ 2.336689] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.347862] sda: sda1 sda2 sda3 sda4
[ 2.354801] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.506247] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.656778] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[ 2.663542] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.672070] hub 1-1:1.0: USB hub found
[ 2.676042] hub 1-1:1.0: 4 ports detected
[ 2.956242] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[ 3.104024] usb 1-1.2: New USB device found, idVendor=0411, idProduct=015d
[ 3.110997] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.118376] usb 1-1.2: Product: 802.11 n WLAN
[ 3.122773] usb 1-1.2: Manufacturer: Ralink
[ 3.127008] usb 1-1.2: SerialNumber: 1.0
[ 9.296368] RAMDISK: gzip image found at block 0
[ 20.045354] EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
[ 20.053454] EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem
[ 20.062703] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
[ 20.070100] VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
[ 20.077605] Freeing unused kernel memory: 152K (c0534000 - c055a000)
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
INIT: version 2.88 booting
[....] Starting the hotplug events dispatcher: udevd[ 20.833029] systemd-udevd[654]: starting version 215
[ 20.852631] random: udevd urandom read with 31 bits of entropy available
. ok
[....] Synthesizing the initial hotplug events...[ 21.336776] orion_wdt: Initial timeout 21 sec
[ 21.562971] cfg80211: Calling CRDA to update world regulatory domain
done.
[....] Waiting for /dev to be fully populated...[ 21.986330] usb 1-1.2: reset high-speed USB device number 3 using orion-ehci
[ 22.169046] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[ 22.250825] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[ 22.362382] usbcore: registered new interface driver rt2800usb
done.
[ 24.266767] EXT4-fs (ram0): re-mounted. Opts: (null)
[ 24.766317] cfg80211: Calling CRDA to update world regulatory domain
fsck from util-linux 2.25.2
DEBIAN: clean, 95279/1313760 files, 723360/5245214 blocks
dumpe2fs 1.42.12 (29-Aug-2014)
[ 25.451062] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 25.538766] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 25.592866] EXT4-fs (sda1): re-mounted. Opts: discard
[ 25.653320] aufs test_add:283:mount[893]: uid/gid/perm /etc 0/0/0775, 0/0/0755
[ 26.057151] aufs test_add:283:mount[921]: uid/gid/perm /root 0/0/0700, 0/0/0755
[....] Starting the hotplug events dispatcher: udevd[ 26.573598] systemd-udevd[955]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[ 27.946330] cfg80211: Calling CRDA to update world regulatory domain
done.
Extract optional files from FlashROM(mtd6)... [ 31.106499] cfg80211: Calling CRDA to update world regulatory domain
fail(or empty).
[ ok ] Setting hostname to 'obsa7'...done.
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.25.2
Checking all file systems.
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[info] Loading kernel module ipv6.
[ 32.701231] NET: Registered protocol family 10
[ 32.826989] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 34.326253] cfg80211: Calling CRDA to update world regulatory domain
[ 35.967705] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, full duplex, flow control disabled
[ 35.977659] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 37.506275] cfg80211: Calling CRDA to update world regulatory domain
[ 37.987206] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[ ok ] Initializing random number generator...done.
[ ok ] Configuring network interfaces...done.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ] Starting domain name service...: bind9.
[ ok ] Starting internet superserver: inetd.
[ ok ] Starting monitoring init button daemon for openblocks: pshd.
[ ok ] Starting LED control daemon for openblocks: runled.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting MTA: exim4.
[....] Running local boot scripts (/etc/rc.local)/etc/init.d/bridge.sh start
Debian GNU/Linux 8 obsa7 ttyS0
obsa7 login: root
Password:
Last login: Sun Aug 28 23:26:19 JST 2016 on ttyS0
Linux obsa7 4.1.19 #2 PREEMPT Thu Aug 25 13:58:36 JST 2016 armv5tel
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@obsa7:~# date
Mon Aug 29 11:08:04 JST 2016
root@obsa7:~# uname -a
Linux obsa7 4.1.19 #2 PREEMPT Thu Aug 25 13:58:36 JST 2016 armv5tel GNU/Linux
root@obsa7:~# cat /etc/issue
Debian GNU/Linux 8 \n \l
root@obsa7:~# cat /etc/os-release|head -1
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
root@obsa7:~#
root@obsa7:~# df -H [995] (16-08-29 Mon 11:15:58 AM)
Filesystem Size Used Avail Use% Mounted on
/dev/root 183M 153M 22M 88% /
tmpfs 106M 189k 106M 1% /run
tmpfs 5.3M 0 5.3M 0% /run/lock
devtmpfs 11M 0 11M 0% /dev
tmpfs 212M 0 212M 0% /run/shm
/dev/sda1 22G 2.5G 18G 13% /.rw
aufs 22G 2.5G 18G 13% /etc
aufs 22G 2.5G 18G 13% /bin
aufs 22G 2.5G 18G 13% /home
aufs 22G 2.5G 18G 13% /lib
aufs 22G 2.5G 18G 13% /sbin
aufs 22G 2.5G 18G 13% /usr
aufs 22G 2.5G 18G 13% /var
aufs 22G 2.5G 18G 13% /root
aufs 22G 2.5G 18G 13% /opt
aufs 22G 2.5G 18G 13% /srv
aufs 22G 2.5G 18G 13% /media
/dev/sda2 32G 9.3G 21G 31% /dsk/sda2
/dev/sda4 189G 5.7G 174G 4% /dsk/sda4
root@obsa7:~# [996] (16-08-29 Mon 11:17:13 AM)
root@obsa7:~# brctl show [1001] (16-08-30 Tue 18:24:24 PM)
bridge name bridge id STP enabled interfaces
br0 8000.000a85090174 no eth0
wlan0
安定版(stable)ディストリビューションのDebian8 jessieに無事アップデート出来た。このobsA7はさらに長生きし活躍するだろう。
この移行中にobs600が代行稼働していた。こちらも今はDebian7 wheezyなので、jessieに移行したい。