カーネルのアップデート

玄柴(KURO-SHEEVA)

次はカーネルのアップデート。

インストーラの入手

http://sheeva.with-linux.com/sheeva/から README-2.6.37をいただいてくる。
root@debian:~# wget http://sheeva.with-linux.com/sheeva/README-2.6.37
-bash: wget: command not found
root@debian:~#
wget がない。インストールする。
root@debian:~# apt-get install wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libx11-data libxcb1 libxau6 libxdmcp6 libxcb-xlib0 libx11-6
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  wget
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 244kB of archives.
After this operation, 1970kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  wget
Install these packages without verification [y/N]? y
Get:1 http://ports.ubuntu.com jaunty/main wget 1.11.4-2ubuntu1 [244kB]
Fetched 244kB in 2s (96.2kB/s)
Selecting previously deselected package wget.
(Reading database ... 10231 files and directories currently installed.)
Unpacking wget (from .../wget_1.11.4-2ubuntu1_armel.deb) ...
Setting up wget (1.11.4-2ubuntu1) ...

root@debian:~#
もう一回、 README-2.6.37をいただいてくる。
root@debian:~# !wget
wget http://sheeva.with-linux.com/sheeva/README-2.6.37
--2011-02-06 11:01:35--  http://sheeva.with-linux.com/sheeva/README-2.6.37
Resolving sheeva.with-linux.com... failed: Name or service not known.
wget: unable to resolve host address `sheeva.with-linux.com'
root@debian:~#
ぐは。全然設定できていないし。

/etc/resolv.conf を設定する

root@debian:~# cat /etc/resolv.conf
domain yamasita.jp
search yamasita.jp
nameserver 127.0.0.1
root@debian:~#
何で、DHCP で nameserver がとれてない?
手動で追加する。
root@debian:~# echo nameserver 192.168.2.39 >> !$
echo nameserver 192.168.2.39 >> /etc/resolv.conf
root@debian:~# cat !$
cat /etc/resolv.conf
domain yamasita.jp
search yamasita.jp
nameserver 127.0.0.1
nameserver 192.168.2.39
root@debian:~#
もう一回 wget
root@debian:~# !wget
wget http://sheeva.with-linux.com/sheeva/README-2.6.37
--2011-02-06 11:03:36--  http://sheeva.with-linux.com/sheeva/README-2.6.37
Resolving sheeva.with-linux.com... 216.146.103.100, 2001:470:b:3e:250:43ff:fe01:c1bd
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3965 (3.9K) [text/plain]
Saving to: `README-2.6.37'

100%[======================================>] 3,965       --.-K/s   in 0.05s

2011-02-06 11:03:37 (78.1 KB/s) - `README-2.6.37' saved [3965/3965]

root@debian:~#
ようやく、できた。

インストーラの実行

README-2.6.37 を実行!する
root@debian:~# sh -x README-2.6.37 --nandkernel
+ set -e
+ set -u
+ KVer=2.6.37
README-2.6.37: 32: Syntax error: "(" unexpected
root@debian:~# ls -l /bin/sh
lrwxrwxrwx 1 1010 1011 4 Mar 18  2009 /bin/sh -> dash
root@debian:~#
おっと、bash じゃないといけないんだった。
root@debian:~# bash -x README-2.6.37 --nandkernel
+ set -e
+ set -u
+ KVer=2.6.37
+ [[ 1 < 1 ]]
+ [[ --nandkernel == \-\-\n\a\n\d\k\e\r\n\e\l ]]
+ Download
+ echo 'Downloading files'
Downloading files
+ local f=
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5 System.map
+ [[ ! -f sheeva-2.6.37-Modules.tar.gz ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ local 'sites=http://dev.plugapps.com/with-linux http://sheeva.with-linux.com/sheeva'
+ local s=
+ for s in '$sites'
+ wget -c http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-Modules.tar.gz
--2011-02-06 11:06:53--  http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-Modules.tar.gz
Resolving dev.plugapps.com... 216.24.193.251
Connecting to dev.plugapps.com|216.24.193.251|:80... failed: Connection refused.
+ for s in '$sites'
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-Modules.tar.gz
--2011-02-06 11:06:54--  http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-Modules.tar.gz
Resolving sheeva.with-linux.com... 216.146.103.100, 2001:470:b:3e:250:43ff:fe01:c1bd
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5652312 (5.4M) [application/x-tar]
Saving to: `sheeva-2.6.37-Modules.tar.gz'

100%[======================================>] 5,652,312   46.9K/s   in 2m 17s

2011-02-06 11:09:13 (40.2 KB/s) - `sheeva-2.6.37-Modules.tar.gz' saved [5652312/5652312]

+ break
+ [[ ! -f sheeva-2.6.37-Modules.tar.gz ]]
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5 System.map
+ [[ ! -f sheeva-2.6.37-Modules.tar.gz.md5 ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ local 'sites=http://dev.plugapps.com/with-linux http://sheeva.with-linux.com/sheeva'
+ local s=
+ for s in '$sites'
+ wget -c http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-Modules.tar.gz.md5
--2011-02-06 11:09:13--  http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-Modules.tar.gz.md5
Resolving dev.plugapps.com... 216.24.193.251
Connecting to dev.plugapps.com|216.24.193.251|:80... failed: Connection refused.
+ for s in '$sites'
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-Modules.tar.gz.md5
--2011-02-06 11:09:13--  http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-Modules.tar.gz.md5
Resolving sheeva.with-linux.com... 216.146.103.100, 2001:470:b:3e:250:43ff:fe01:c1bd
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 63 [text/plain]
Saving to: `sheeva-2.6.37-Modules.tar.gz.md5'

100%[======================================>] 63          --.-K/s   in 0s

2011-02-06 11:09:13 (1.85 MB/s) - `sheeva-2.6.37-Modules.tar.gz.md5' saved [63/63]

+ break
+ [[ ! -f sheeva-2.6.37-Modules.tar.gz.md5 ]]
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5 System.map
+ [[ ! -f sheeva-2.6.37-uImage ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ local 'sites=http://dev.plugapps.com/with-linux http://sheeva.with-linux.com/sheeva'
+ local s=
+ for s in '$sites'
+ wget -c http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-uImage
--2011-02-06 11:09:13--  http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-uImage
Resolving dev.plugapps.com... 216.24.193.251
Connecting to dev.plugapps.com|216.24.193.251|:80... failed: Connection refused.
+ for s in '$sites'
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-uImage
--2011-02-06 11:09:13--  http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-uImage
Resolving sheeva.with-linux.com... 216.146.103.100, 2001:470:b:3e:250:43ff:fe01:c1bd
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2773928 (2.6M) [application/octet-stream]
Saving to: `sheeva-2.6.37-uImage'

100%[======================================>] 2,773,928   52.7K/s   in 59s

2011-02-06 11:10:13 (46.2 KB/s) - `sheeva-2.6.37-uImage' saved [2773928/2773928]

+ break
+ [[ ! -f sheeva-2.6.37-uImage ]]
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5 System.map
+ [[ ! -f sheeva-2.6.37-uImage.md5 ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ local 'sites=http://dev.plugapps.com/with-linux http://sheeva.with-linux.com/sheeva'
+ local s=
+ for s in '$sites'
+ wget -c http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-uImage.md5
--2011-02-06 11:10:13--  http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-uImage.md5
Resolving dev.plugapps.com... 216.24.193.251
Connecting to dev.plugapps.com|216.24.193.251|:80... failed: Connection refused.
+ for s in '$sites'
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-uImage.md5
--2011-02-06 11:10:13--  http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-uImage.md5
Resolving sheeva.with-linux.com... 216.146.103.100, 2001:470:b:3e:250:43ff:fe01:c1bd
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55 [text/plain]
Saving to: `sheeva-2.6.37-uImage.md5'

100%[======================================>] 55          --.-K/s   in 0s

2011-02-06 11:10:13 (1.60 MB/s) - `sheeva-2.6.37-uImage.md5' saved [55/55]

+ break
+ [[ ! -f sheeva-2.6.37-uImage.md5 ]]
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5 System.map
+ [[ ! -f sheeva-2.6.37-System.map ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ local 'sites=http://dev.plugapps.com/with-linux http://sheeva.with-linux.com/sheeva'
+ local s=
+ for s in '$sites'
+ wget -c http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-System.map
--2011-02-06 11:10:13--  http://dev.plugapps.com/with-linux/2.6.37/sheeva-2.6.37-System.map
Resolving dev.plugapps.com... 216.24.193.251
Connecting to dev.plugapps.com|216.24.193.251|:80... failed: Connection refused.
+ for s in '$sites'
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-System.map
--2011-02-06 11:10:13--  http://sheeva.with-linux.com/sheeva/2.6.37/sheeva-2.6.37-System.map
Resolving sheeva.with-linux.com... 216.146.103.100, 2001:470:b:3e:250:43ff:fe01:c1bd
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1177276 (1.1M) [text/plain]
Saving to: `sheeva-2.6.37-System.map'

100%[======================================>] 1,177,276   53.1K/s   in 22s

2011-02-06 11:10:36 (52.5 KB/s) - `sheeva-2.6.37-System.map' saved [1177276/1177276]

+ break
+ [[ ! -f sheeva-2.6.37-System.map ]]
+ Md5Compare sheeva-2.6.37-Modules.tar.gz sheeva-2.6.37-Modules.tar.gz.md5
++ cat sheeva-2.6.37-Modules.tar.gz.md5
++ cut '-d ' -f1
++ md5sum sheeva-2.6.37-Modules.tar.gz
++ cut '-d ' -f1
+ [[ 01e79db639119f1b2f188bc7104d5bad != 01e79db639119f1b2f188bc7104d5bad ]]
+ Md5Compare sheeva-2.6.37-uImage sheeva-2.6.37-uImage.md5
++ cat sheeva-2.6.37-uImage.md5
++ cut '-d ' -f1
++ md5sum sheeva-2.6.37-uImage
++ cut '-d ' -f1
+ [[ 01da406b84c680f479c9cf00a78474cc != 01da406b84c680f479c9cf00a78474cc ]]
+ CheckSize
+ local uImageFile=sheeva-2.6.37-uImage
++ grep uImage /proc/mtd
++ sed s#:##
++ cut '-d ' -f1
+ local mtd=mtd0
++ grep uImage /proc/mtd
++ cut '-d ' -f2
+ local mtdHexSize=00400000
+ local mtdSize=
+ let mtdSize=0x00400000
++ stat -c%s sheeva-2.6.37-uImage
+ local uImageSize=2773928
+ ((  uImageSize > mtdSize  ))
+ ExtractModules
+ echo 'Extracting modules'
Extracting modules
+ tar x -C / --overwrite -zf sheeva-2.6.37-Modules.tar.gz
+ [[ -d /boot ]]
+ cp sheeva-2.6.37-System.map /boot/
+ depmod -eF /boot/sheeva-2.6.37-System.map 2.6.37
+ NandKernel
+ echo 'Flashing kernel to NAND'
Flashing kernel to NAND
++ grep uImage /proc/mtd
++ cut '-d ' -f1
++ sed s#:##
+ local Mtd=mtd0
+ flash_eraseall -j /dev/mtd0
Erasing 128 Kibyte @ 3e0000 -- 96 % complete. Cleanmarker written at 3e0000.
+ nandwrite -pm /dev/mtd0 sheeva-2.6.37-uImage
Writing data to block 0
Writing data to block 20000
Writing data to block 40000
Writing data to block 60000
Writing data to block 80000
Writing data to block a0000
Writing data to block c0000
Writing data to block e0000
Writing data to block 100000
Writing data to block 120000
Writing data to block 140000
Writing data to block 160000
Writing data to block 180000
Writing data to block 1a0000
Writing data to block 1c0000
Writing data to block 1e0000
Writing data to block 200000
Writing data to block 220000
Writing data to block 240000
Writing data to block 260000
Writing data to block 280000
Writing data to block 2a0000
root@debian:~#

U-Boot のコマンドプロンプトへ

再起動し、U-Boot のプロンプトにはいる
root@debian:~# reboot

Broadcast message from root@debian
        (/dev/ttyS0) at 11:12 ...
	:
	:
USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Marvell>>

環境変数の設定

README-2.6.37 のコメントにしたがって U-Boot の環境変数を設定する
Marvell>> setenv mainlineLinux yes
Marvell>> setenv arcNumber 2678
Marvell>>
玄柴は e-sata sheevaplugs 相当だと思うので、 arcNumber には 2678 をセットする
Marvell>> setenv bootargs rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.2.89:192.168.2.1:192.168.2.39:255.255.255.0:DB88FXX81:eth0:none
Marvell>>
IP アドレスは、私のサイトに合わせた。

保存する。

Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>>

再起動して確認

Marvell>> reset

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Sep  7 2009 - 20:21:09) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.37
   Created:      2011-01-23   5:39:39 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2773864 Bytes =  2.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (kelly@speedy) (gcc version 4.5.2 (PlugComputer G++ 20110117) ) #3 PREEMPT Sat Jan 22 22:39:36 MST 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell eSATA SheevaPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.2.89:192.168.2.1:192.168.2.39:255.255.255.0:DB88FXX81:eth0:none
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 513288k/513288k available, 11000k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0030000   ( 160 kB)
      .text : 0xc0030000 - 0xc0550620   (5250 kB)
      .data : 0xc0552000 - 0xc0584080   ( 201 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
FS-Cache: Loaded
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
FS-Cache: Netfs 'nfs' registered for caching
JFFS2 version 2.2. (NAND) 息 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 4010, nTxLock = 32080
msgmni has been set to 1002
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung )
Scanning device for bad blocks
2 cmdlinepart partitions found on MTD device orion_nand
Creating 2 MTD partitions on "orion_nand":
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "rootfs"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:50:43:01:44:96
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, using GPIO 47 for card detection
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
registered taskstats version 1
rtc-mv rtc-mv: setting system clock to 2011-02-06 11:19:45 UTC (1296991185)
IP-Config: Complete:
     device=eth0, addr=192.168.2.89, mask=255.255.255.0, gw=192.168.2.39,
     host=DB88FXX81, domain=, nis-domain=(none),
     bootserver=192.168.2.1, rootserver=192.168.2.1, rootpath=
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
VFS: Mounted root (jffs2 filesystem) on device 31:1.
Freeing init memory: 160K
 * Setting preliminary keymap...                                         [ OK ]
 * Setting the system clock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
 * Unable to set System Clock to: Sun Feb  6 11:20:23 UTC 2011
 * Starting basic networking...                                          [ OK ]
 * Starting kernel event manager...                                             udevd (675): /proc/675/oom_adj is deprecated, please use /proc/675/oom_score_adj instead.
                                                                         [ OK ]
 * Loading hardware drivers...                                                  sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
ata1: SATA link down (SStatus 0 SControl F300)
ata2: SATA link down (SStatus 0 SControl F300)
                                                                         [ OK ]
 * Setting the system clock
 * Loading kernel modules...                                                     * Loading manual drivers...                                             [ OK ]
 * Setting kernel variables (/etc/sysctl.conf)...                        [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...  [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...  [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-process-security.conf)...  [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-tcp-timestamps-workaround.conf)...                                                                         [ OK ]
 * Activating swap...                                                    [ OK ]
 * Starting early crypto disks...                                        [ OK ]
 * Starting remaining crypto disks...                                    [ OK ]
 * Checking file systems...                                                     fsck 1.41.3 (12-Oct-2008)
                                                                         [ OK ]
 * Mounting local filesystems...                                         [ OK ]
 * Activating swapfile swap...                                           [ OK ]
 * Configuring network interfaces...                                     [ OK ]
 * Setting up console font and keymap...                                 [ OK ]
 * Starting system log daemon...
Ubuntu jaunty (development branch) debian ttyS0

debian login:
                                                                                * Starting kernel log daemon...                                                 Killed
                                                                         [fail]
                                                                                * Starting OpenBSD Secure Shell server sshd                              [ OK ]
                                                                                * Starting periodic command scheduler crond                              [ OK ]

kernel log daemon が fail と言っているが、、、

KURO-SHEEVA
楽天市場

←(前のページ)
/etc/rc.local の修正
当月のハックの記録
SheevaPlug/玄柴(KURO-SHEEVA)をハックしよう トップ
(次のページ)→
Squeeze のインストール(1)debootstrap

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