*Hi John,Thanks for your help! It might be some wrong with the dns setup,
since I found one more error message: *

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

*But the dns service is open on the server, so I'm a little overwhelmed
which is not correct, the dhcp? the dns?  *

*Here is the result of typing "service nfs status" on the server(CentOS).
Not sure if it helps to diagnose. *
rpc.svcgssd is stopped
rpc.mountd (pid 4298) is running...
nfsd (pid 4363 4362 4361 4360 4359 4358 4357 4356) is running...
rpc.rquotad (pid 4294) is running...

*Here is the ipconfig msg: *

root@roach2:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:44:01:02:08:0a
          inet addr:192.168.40.63  Bcast:192.168.40.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7891 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3404 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9827602 (9.3 MiB)  TX bytes:512456 (500.4 KiB)
          Interrupt:32

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:588 (588.0 B)  TX bytes:588 (588.0 B)

*Here is the mount msg: *

root@roach2:~# mount
rootfs on / type rootfs (rw)
192.168.40.1:/home/nfs/roach2/current/ on / type nfs
(ro,noatime,vers=2,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,t)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,noexec,relatime,mode=620)
tmpfs0 on /var/tmp type tmpfs (rw,relatime,size=32768k)
tmpfs1 on /tmp type tmpfs (rw,relatime,size=16384k)


*Here is full messages during netboot: *

U-Boot 2011.06-rc2-00000-gd422dc0-dirty (Nov 26 2012 - 12:08:53)

CPU:   AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133 OPB=66 EBC=66)
       No Security/Kasumi support
       Bootstrap Option C - Boot ROM Location EBC (16 bits)
       32 kB I-Cache 32 kB D-Cache
Board: ROACH2
I2C:   ready
DRAM:  512 MiB
Flash: 128 MiB
In:    serial
Out:   serial
Err:   serial
CPLD:  2.1
USB:   Host(int phy)
SN:    ROACH2.2 batch=D#8#10 software fixups match
MAC:   02:44:01:02:08:0a
DTT:   1 is 27 C
DTT:   2 is 26 C
Net:   ppc_4xx_eth0
Sensors Config
type run netboot to boot via dhcp+tftp+nfs
type run soloboot to run from flash independent of network

Hit any key to stop autoboot:  0
=> run netboot
Waiting for PHY auto negotiation to complete.... done
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 192.168.40.63
Using ppc_4xx_eth0 device
TFTP from server 192.168.40.1; our IP address is 192.168.40.63
Filename 'uImage'.
Load address: 0x4000000
Loading: #################################################################
         #################################################################
         #######################
done
Bytes transferred = 2231549 (220cfd hex)
## Booting kernel from Legacy Image at 04000000 ...
   Image Name:   Linux-3.7.0-rc2+
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2231485 Bytes = 2.1 MiB
   Load Address: 00500000
   Entry Point:  005010d4
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
CPU clock-frequency <- 0x1fca0550 (533MHz)
CPU timebase-frequency <- 0x1fca0550 (533MHz)
/plb: clock-frequency <- 7f28154 (133MHz)
/plb/opb: clock-frequency <- 3f940aa (67MHz)
/plb/opb/ebc: clock-frequency <- 3f940aa (67MHz)
/plb/opb/serial@ef600300: clock-frequency <- 54c563 (6MHz)
/plb/opb/serial@ef600400: clock-frequency <- 54c563 (6MHz)
Memory <- <0x0 0x0 0x3ffff000> (1023MB)
ethernet0: local-mac-address <- 02:44:01:02:08:0a

zImage starting: loaded at 0x00500000 (sp: 0x1fe22b40)
Allocating 0x4b0508 bytes for kernel ...
gunzipping (0x00000000 <- 0x0050e000:0x00966034)...done 0x447880 bytes

Linux/PowerPC load: console=ttyS0,115200 root=/dev/nfs
rootpath=192.168.40.1:/home/nfs/roach2/curp
Finalizing device tree... flat tree at 0x973160
roach2: claiming matching platform
Using PowerPC 44x Platform machine description
Linux version 3.7.0-rc2+ (shanly@shanly-HP8710w) (gcc version 4.6.1
20110627 (prerelease) (GCC) )2
bootconsole [udbg0] enabled
setup_arch: bootmem
arch: exit
Zone ranges:
  DMA      [mem 0x00000000-0x2fffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x2fffffff]
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 195072
Kernel command line: console=ttyS0,115200 root=/dev/nfs
rootpath=192.168.40.1:/home/nfs/roach2/cup
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 774576k/786432k available (4176k kernel code, 11856k reserved, 208k
data, 417k bss, 144k )
Kernel virtual memory layout:
  * 0xfffdf000..0xfffff000  : fixmap
  * 0xfde00000..0xfe000000  : consistent mem
  * 0xfddfe000..0xfde00000  : early ioremap
  * 0xf1000000..0xfddfe000  : vmalloc & ioremap
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:512 nr_irqs:512 16
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
UIC2 (32 IRQ sources) at DCR 0xe0
clocksource: timebase mult[1e00000] shift[24] registered
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
regulator-dummy: no parameters
NET: Registered protocol family 16

bio: create slab <bio-0> at 0
SCSI subsystem initialized
Switching to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP: reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 1512
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x1ef600300 (irq = 16) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0x1ef600400 (irq = 17) is a 16550A
roach2_fpga: ROACH2 FPGA Access driver
roach2:  major 252Virtex 5 family
roach2_fpga 1d0000000.fpga: ROACH2 FPGA driver
roach2_fpga 1d0000000.fpga: check parameters,addr:0x1d0000000,size:0x4000000
roach2_fpga 1d0000000.fpga: ioremap 1d0000000 to f1080000 with size 4000000
roach2_fpga 1d0000000.fpga: ioremap 1c0100000 to f5100000 with size 200000
roach2_fpga 1d0000000.fpga: char devices successfully registered
brd: module loaded
1f8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank.
Manufacturer ID 0x000001 Chip ID 1
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
6 ofpart partitions found on MTD device 1f8000000.nor_flash
Creating 6 MTD partitions on "1f8000000.nor_flash":
0x000000000000-0x000000400000 : "kernel"
0x000000400000-0x000004400000 : "rootfs"
0x000004400000-0x000007400000 : "userfs"
0x000007400000-0x000007f00000 : "v6bitstream"
0x000007f40000-0x000007f80000 : "ubootenv"
0x000007f80000-0x000008000000 : "uboot"
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
PPC 4xx OCP EMAC driver, version 3.54
MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
ZMII /plb/opb/emac-zmii@ef600d00 initialized
RGMII /plb/opb/emac-rgmii@ef601000 initialized with MDIO support
/plb/opb/emac-rgmii@ef601000: input 0 in RGMII mode
eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 02:44:01:02:08:0a
eth0: found Marvell 88E1111 Ethernet PHY (0x01)
PPP generic driver version 2.4.2
mousedev: PS/2 mouse device common for all mice
input: roach2chassis as /devices/virtual/input/input0
ibm-iic 1ef600700.i2c: using standard (100 kHz) mode
ibm-iic 1ef600800.i2c: using standard (100 kHz) mode
ad7414 0-004c: chip found
ad7414 0-004e: chip found
max6650 0-0048: Fan voltage is set to 12V.
max6650 0-0048: Prescaler is set to 4.
max6650 0-004b: Fan voltage is set to 12V.
max6650 0-004b: Prescaler is set to 4.
max6650 0-001b: Fan voltage is set to 12V.
max6650 0-001b: Prescaler is set to 4.
max6650 0-001f: Fan voltage is set to 12V.
max6650 0-001f: Prescaler is set to 4.
cpuidle: using governor ladder
cpuidle: using governor menu
IPv4 over IPv4 tunneling driver
TCP: cubic registered
NET: Registered protocol family 17
Key type dns_resolver registered
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
### of_selftest(): No testcase data in device tree; not running tests
eth0: link is down
eth0: link is up, 1000 FDX, pause enabled
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.40.1, my address is 192.168.40.63
IP-Config: Complete:
     device=eth0, addr=192.168.40.63, mask=255.255.255.0, gw=255.255.255.255
     host=roach2, domain=ee.washington.edu, nis-domain=(none)
     bootserver=192.168.40.1, rootserver=192.168.40.1,
rootpath=/home/nfs/roach2/current,nolock
     nameserver0=192.168.40.1VFS: Mounted root (nfs filesystem) readonly on
device 0:11.
Freeing unused kernel memory: 144k freed
modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
such file or directory

modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
such file or directory

modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
such file or directory

INIT: version 2.88 booting
about to run simple init script
warning: can't open /etc/mtab: No such file or directory
mount: mount point /proc/bus/usb does not exist
INIT: Entering runlevel: 2
modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
such file or directory

 1 Jan 00:00:12 ntpdate[452]: no server suitable for synchronization found
Starting OpenBSD Secure Shell server: sshdmodprobe: FATAL: Could not load
/lib/modules/3.7.0-rc2+y

modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
such file or directory

.
Starting NFS common utilities: statd failed!
Starting NTP server: ntpdmodprobe: FATAL: Could not load
/lib/modules/3.7.0-rc2+/modules.dep: No y

.
tcpborphserver: ... loading roach mmap driver ...
insmod: can't read '/lib/modules/roach_mmap.ko': No such file or directory
version *3* using mmap
tcpborphserver3: about to go into background



On Wed, Dec 11, 2013 at 7:39 PM, John Ford <[email protected]> wrote:

> > *Dear Casperian,I met a problem when I netboot roach2-rev2 board. The
> > modprobe files in the debian_stable_devel folder are missing. I can only
> > run some simple scrip via minicom. The server used to control roach2 is
> an
> > CenOS system, not Debian, but I was able to install all tool kits
> required
> > according to 'roach2 production test machine setup'.  Here is the
> messages
> > shown in minicom: The netboot is good till the following the msg:*
> >
> > IP-Config: Complete:
> >      device=eth0, addr=192.168.40.63, mask=255.255.255.0,
> > gw=255.255.255.255
> >      host=roach2, domain=ee.washington.edu, nis-domain=(none)
> >      bootserver=192.168.40.1, rootserver=192.168.40.1,
> > rootpath=/home/nfs/roach2/current,nolock
> >      nameserver0=192.168.40.1VFS: Mounted root (nfs filesystem) readonly
> > on
> > device 0:11.
> >
> > *Then, the error msgs start to show up: *
> >
> > modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
> > such file or directory
> >
> > modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
> > such file or directory
> >
> > modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
> > such file or directory
> Hi Weiewei.  In spite of the message, the above messages are not so bad.
>
> >
> > INIT: version 2.88 booting
> > about to run simple init script
> > warning: can't open /etc/mtab: No such file or directory
> > mount: mount point /proc/bus/usb does not exist
> > INIT: Entering runlevel: 2
> > modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
> > such file or directory
>
> OK. Now these are bad.  :)
>
> the gw=255.255.255.255 argument above looks bogus to me.
>
> do you get a shell prompt on the minicom terminal you can use after all
> these messages?  If so, what does the `mount` command say?  And the
> 'ifconfig` command?
>
> It seems like something is going wrong with your dhcp server setup...
>
> The mounted filesystem clearly isn't right somehow...
>
> Ours looks like:
>
> root@vegasr2-3:/var/log# mount
> rootfs on / type rootfs (rw)
> 192.33.116.7:/vol/vol2/code/cicadaroots/vegasr2/ on / type nfs
>
> (ro,noatime,vers=2,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.33.116.7,mountvers=1,mountproto=udp,local_lock=all,addr=192.33.116.7)
> proc on /proc type proc (rw,relatime)
> sysfs on /sys type sysfs (rw,relatime)
> devpts on /dev/pts type devpts (rw,noexec,relatime,mode=620)
> tmpfs0 on /var/tmp type tmpfs (rw,relatime,size=32768k)
> tmpfs1 on /tmp type tmpfs (rw,relatime,size=16384k)
> root@vegasr2-3:/var/log#
>
> root@vegasr2-3:/var/log# ifconfig
> eth0      Link encap:Ethernet  HWaddr 02:44:01:02:06:16
>           inet addr:10.16.98.142  Bcast:10.16.98.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:51226388 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:368589 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1388598788 (1.2 GiB)  TX bytes:52583050 (50.1 MiB)
>           Interrupt:32
>
> Maybe you can post the messages of the whole boot sequence if this isn't
> any help.
>
> John
>
> >
> >  1 Jan 00:00:15 ntpdate[452]: no server suitable for synchronization
> found
> > Starting OpenBSD Secure Shell server: sshdmodprobe: FATAL: Could not load
> > /lib/modules/3.7.0-rc2+y
> >
> > modprobe: FATAL: Could not load /lib/modules/3.7.0-rc2+/modules.dep: No
> > such file or directory
> >
> > .
> > Starting NFS common utilities: statd failed!
> > Starting NTP server: ntpdmodprobe: FATAL: Could not load
> > /lib/modules/3.7.0-rc2+/modules.dep: No y
> >
> > .
> > tcpborphserver: ... loading roach mmap driver ...
> > insmod: can't read '/lib/modules/roach_mmap.ko': No such file or
> directory
> > version *3* using mmap
> > tcpborphserver3: about to go into background
> >
> >
> >
> > *Any suggestions are extremely appreciated! Weiwei *
> >
>
>
>

Reply via email to