NetBSD/evbarm on Qnap TS-110のNFS rootでのブートメッセージ

NetBSD/evbarm on Qnap TS-110をNFSをroot filesystemにする方法が
分からなかったのだが、root device: とプロンプトが出た時に、
mvgbe0を指定してやれば良いと気づいた。

DHCPサーバーの設定と一緒に一連の流れを掲載しておく。
NetBSDでサポートしてほしくて、send-prもしてある。
http://mail-index.NetBSD.org/netbsd-bugs/2013/03/09/msg032363.html
http://gnats.NetBSD.org/47637


DHCPサーバーのdhcpd.confの抜粋
root-pathを指定してあると、それを使ってくれるのは、NetBSD/hp700や
NetBSD/sparc64のnetbootと一緒だ。
host phosphorus {
hardware ethernet 00:50:43:3c:3b:5d;
fixed-address 192.168.81.125;
ddns-hostname "phosphorus";
filename "F_TS-110_netbsd.ub";
next-server 192.168.81.249;
option root-path "/export/ts110";
}


u-bootから、loginプロンプトまでの一連の流れ
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F6281A-BP LE


U-Boot 1.1.4 (Apr 23 2009 - 19:01:28) Marvell version: 3.4.4


U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690DCC


Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 800Mhz 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 Total size 256MB  16bit width
[16384kB@f8000000] Flash: 16 MB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done


CPU : Marvell Feroceon (Rev 1)


Streaming disabled
Write allocate disabled




USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
QNAP: Recovery Button pressed: 0
Marvell>> dhcp
BOOTP broadcast 1
Bootfile Prefix: F_TS-110
DHCP client bound to address 192.168.81.125
Marvell>> tftp
Using egiga0 device
TFTP from server 192.168.81.249; our IP address is 192.168.81.125
Filename 'F_TS-110_netbsd.ub'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################
done
Bytes transferred = 4844992 (49edc0 hex)
Marvell>> bootm
## Booting image at 02000000 ...
   Image Name:   NetBSD/qnapts110 6.99.17
   Created:      2013-03-08  12:15:57 UTC
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    4844928 Bytes =  4.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Transferring control to NetBSD stage-2 loader (at address 00008000) ...


NetBSD/evbarm (qnapts110) booting ...
[ Kernel symbol table missing! ]
Loaded initial symtab at 0xc03d94d0, strtab at 0xc0412b8c, # entries 14617
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.


NetBSD 6.99.17 (QNAPTS110) #9: Fri Mar  8 21:15:55 JST 2013
        root@tellurium.elements.tetera.org:/usr/obj-evbarm/sys/arch/evbarm/compile/QNAPTS110
total memory = 256 MB
avail memory = 245 MB
cprng kernel: WARNING insufficient entropy at creation.
mainbus0 (root)
cpu0 at mainbus0 core 0: Sheeva 88SV131 rev 1 (ARM9E-S V5TE core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 16KB/32B 4-way L1 Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C L1 Data cache
mvsoc0 at mainbus0: Marvell 88F6281 Rev. A1  Kirkwood
mvsoc0: CPU Clock 800.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
mvsocgpp0 at mvsoc0 unit 0 offset 0x10100-0x101ff irq 35: Marvell SoC General Purpose I/O Port Interface
mvsocgpp0: 50 gpio pins
mvsocgpp0: interrupts 96..103, intr 35
mvsocgpp0: interrupts 104..111, intr 36
mvsocgpp0: interrupts 112..119, intr 37
mvsocgpp0: interrupts 120..127, intr 38
mvsocgpp0: interrupts 128..135, intr 39
mvsocgpp0: interrupts 136..143, intr 40
mvsocgpp0: interrupts 144..151, intr 41
mvsocgpp0:   Data Out:                  0x00000000
mvsocgpp0:   Data Out Enable Control:   0x00012000
mvsocgpp0:   Data Blink Enable:         0x00000000
mvsocgpp0:   Data In Polarity:          0x00000000
mvsocgpp0:   Data In:                   0x00010000
mvsocgpp0:   Interrupt Cause:           0x00000000
mvsocgpp0:   Interrupt Mask:            0x00000000
mvsocgpp0:   Interrupt Level Mask:      0x00000000
mvsocgpp0:   High Data Out:             0x0000000c
mvsocgpp0:   High Data Out Enable Ctrl: 0xffffffd3
mvsocgpp0:   High Blink Enable:         0x00000000
mvsocgpp0:   High Data In Polarity:     0x00000000
mvsocgpp0:   High Data In:              0x0000004c
mvsocgpp0:   High Interrupt Cause:      0x00000000
mvsocgpp0:   High Interrupt Mask:       0x00000000
mvsocgpp0:   High Interrupt Level Mask: 0x00000000
gpio0 at mvsocgpp0: 50 pins
mvsocrtc at mvsoc0 unit 0 not configured
com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
com0: console
com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 Interface
usb0 at ehci0: USB revision 2.0
gtidmac0 at mvsoc0 unit 0 offset 0x60000-0x60fff: Marvell IDMA Controller/XOR Engine
gtidmac0: XOR Engine 4 channels, intr 5...8
gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x110ff irq 29: Marvell TWSI controller
iic0 at gttwsi0: I2C bus
s390rtc0 at iic0 addr 0x30: Seiko Instruments 35390A Real-time Clock
mvcesa0 at mvsoc0 unit 0 offset 0x30000-0x3ffff irq 22: Marvell Cryptographic Engines and Security Accelerator
mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet Controller
mvgbe0 at mvgbec0 port 0 irq 11
mvgbe0: Ethernet address 00:50:43:3c:3b:5d
makphy0 at mvgbe0 phy 8: Marvell 88E1116R Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
mvsoc0: mvgbec1 clock disabled
mvpex0 at mvsoc0 unit 0 offset 0x40000-0x41fff irq 9: Marvell PCI Express Interface
pci0 at mvpex0
WARNING: module error: vfs load failed 45 for `pciverbose'
WARNING: module error: vfs load failed 45 for `pciverbose'
vendor 0x11ab product 0x6281 (miscellaneous memory, revision 0x03) at pci0 dev 0 function 0 not configured
mvsata0 at mvsoc0 unit 0 offset 0x80000-0x87fff irq 21: Marvell Serial-ATA Host Controller (SATAHC)
mvsata0: GenIIe, 1hc, 2port/hc
atabus0 at mvsata0 channel 0
atabus1 at mvsata0 channel 1
mvsdio at mvsoc0 unit 0 not configured
uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1 at uhub0 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/77.60, addr 2
uhub1: single transaction translator
cprng sysctl: WARNING insufficient entropy at creation.
boot device: <unknown>
root device:
use one of: mvgbe0 ddb halt reboot
root device: mvgbe0
dump device:
file system (default generic):
root on mvgbe0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.81.249
nfs_boot: my_domain=elements.tetera.org
nfs_boot: my_addr=192.168.81.125
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.81.1
root on 192.168.81.249:/export/ts110
root time: 0x513b353a
root file system type: nfs
warning: no /dev/console
init path (default /sbin/init):
init: copying out path `/sbin/init' 11
Sat Mar  9 13:12:30 UTC 2013
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
random_seed: /var/db/entropy-file: Not present
WARNING: module error: vfs load failed 78 for `compat'
WARNING: module error: vfs load failed 78 for `compat'
WARNING: module error: vfs load failed 78 for `compat'
WARNING: module error: vfs load failed 78 for `compat'
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for DAD completion for statically configured addresses...
Starting dhcpcd.
Building databases: dev, utmp, utmpx.
Starting syslogd.
cprng 292411d30: WARNING insufficient entropy at creation.
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
/etc/rc: WARNING: No swap space configured!
/etc/rc.d/swap2 exited with code 1
Starting virecover.
Checking for core dump...
savecore: no core dump (no dumpdev)
Starting local daemons:.
Updating motd.
/usr/sbin/postconf: warning: valid_hostname: empty hostname
/usr/sbin/postconf: fatal: unable to use my own hostname
Mar  9 13:12:53  postfix[539]: fatal: unable to use my own hostname
/etc/rc.d/postfix exited with code 1
Starting inetd.
Starting cron.
The following components reported failures:
    /etc/rc.d/swap2 /etc/rc.d/postfix
See /var/run/rc.log for more information.
Sat Mar  9 13:12:55 UTC 2013


NetBSD/evbarm (Amnesiac) (console)


login:

Comments

Popular posts from this blog

#5000へCメールを送れないau端末でezweb.ne.jpの電子メールアドレスをIMAP4/SMTPで扱う方法

Vaio Pro 11/13用のサードパーティーのACアダプター

Windows 7 Professional用のNFSクライアントを使う (NFS 4.1のみ)