Subject: NFS mounting on a Sandpoint-based, diskless system
To: None <port-sandpoint@NetBSD.org>
From: Park Chan-youn <phygeeks@gmail.com>
List: port-sandpoint
Date: 02/01/2005 11:57:40
I'm trying to mount NFS on a diskless, PowerPC+Sandpoint-based system.
NFS server is a NetBSD on i386.
I've followed the whole steps in 'Diskless NetBSD Howto', but when I
boot my diskless system, booting stops in the middle. The following is
the boot message.
----
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
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 1.6.2 (XEPRO-$Revision: 1.2 $) #1: Mon Jan 31 17:43:58 KST 2005
phygeeks@netbsd.psia.co.kr:/home/phygeeks/netbsd/src/sys/arch/sandpoint/comp
ile/XEPRO
total memory = 128 MB
avail memory = 115 MB
using 1664 buffers containing 6656 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 8245 (Revision 0.4), ID 0 (primary)
cpu0: HID0 90c000<DOZE,DPM,ICE,DCE>
pci0 at mainbus0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC8245 Host Bridge (rev. 0x12)
tdsp0 at pci0 dev 16 function 0: Texas Instruments TMS320C6415 DSP, rev 1
tdsp0: interrupting at irq 0
tdsp0: emifb config addr=0x280000 val=0x1270c
tdsp0: emifb config addr=0x280018 val=0x62117000
tdsp0: emifb config addr=0x28001c val=0x25e6600
tdsp0: emifb config addr=0x280008 val=0xffffff1f
tdsp0: emifb config addr=0x280004 val=0xffffff1f
tdsp0: emifb config addr=0x280010 val=0x90
tdsp0: emifb config addr=0x280014 val=0x90
tdsp0: emifb config addr=0x280048 val=0x47
tdsp0: emifb config addr=0x280044 val=0x47
tdsp0: emifb config addr=0x280050 val=0x47
tdsp0: emifb config addr=0x280054 val=0x47
tdsp intr before src = 00000880 mask = 00000008 hsr = 00000004
rstsrc = 00000023
tdsp intr after src = 00000000 mask = 00000008 hsr = 00000004
rstsrc = 00000020
fxp0 at pci0 dev 17 function 0: i82550 Ethernet, rev 16
fxp0: interrupting at irq 1
fxp0: Ethernet address 00:03:47:97:d0:89
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eumb0 at mainbus0
com0 at eumb0 base=0xfc004500 irq=20: ns16550a, working fifo
com0: console
lbus0 at mainbus0 cpld ver. 2.0
usbn0 at lbus0 base=0xe00000 irq=4 rev A
biomask 0 netmask 3 ttymask 3
boot device: <unknown>
root on fxp0
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=211.240.96.118 (RARP from 211.240.96.99)
nfs_boot: server_addr=211.240.96.99
nfs_boot: hostname=xepro
nfs_boot: gateway=211.240.96.1
nfs_boot: my_mask=255.255.255.128
root on netbsd.psia.co.kr:/usr/cross/xepro/root
----
I also tried BOOTP, but the same symptom - stops at the point.

I checked until where the kernel goes, and found that in start_init(),
when the kernel tries to start init(8) through sys_execve(), it goes
into, I think, some infinite loop.

When I mounted the NFS on another Linux machine or on the NetBSD machine
itself, it worked.

Where could I find a clue?  :( 

ps.I just heard about the encoding problem so I send this again in UTF-8. Sorry! :)