[U-Boot-Users] [Question] "RPC: sendmsg returned error 101" while conecting via nfs host...

Please, check u-boot monitor messages below... I changed bd_t data structure from u-boot to linux kernel.... ("Real time clock seems suck" and hangs resolved by doing this.)
in bdinfo command and linux boot message, ethaddr of target board seems set wrong...
please give a comments to solve the problem...
=========================================== U-Boot 0.4.0 (Sep 8 2003 - 13:29:36)
CPU: IBM PowerPC 405GP Rev. D at 200 MHz (PLB=100, OPB=50, EBC=50 MHz) PCI sync clock at 33 MHz, internal PCI arbiter enabled 16 kB I-Cache 8 kB D-Cache Board: ### No HW ID - assuming WALNUT405 I2C: ready DRAM: 32 MB FLASH: 512 kB In: serial Out: serial Err: serial KGDB: kgdb ready ready BEDBUG:ready Hit any key to stop autoboot: 0 => bdinfo memstart = 0x00000000 memsize = 0x02000000 flashstart = 0xFFF80000 flashsize = 0x00080000 flashoffset = 0x0002B700 sramstart = 0x00000000 sramsize = 0x00000000 bootflags = 0x0000A000 procfreq = 200 MHz plb_busfreq = 100 MHz pci_busfreq = 33.333 MHz ethaddr = 24:00:00:00:00:00 IP addr = 192.168.1.200 baudrate = 9600 bps => printenv ethaddr ethaddr=0x0004ace31224 => tftpboot 100000 /tftpboot/vmlinux.u-boot ENET Speed is 100 Mbps - FULL duplex connection TFTP from server 192.168.1.210; our IP address is 192.168.1.200 Filename '/tftpboot/vmlinux.u-boot'. Load address: 0x100000 Loading: ################################################################# ################################################# done Bytes transferred = 581935 (8e12f hex) => bootm 100000 ## Booting image at 00100000 ... Image Name: Kernel(PK2.0 mod for u-boot) Created: 2003-09-10 8:01:10 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 581871 Bytes = 568.2 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Linux version 2.4.18_mvl30-walnut (root@hwjang) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 2003. 09. 10. (수) 16:58:02 KST IBM Walnut (IBM405GP) Platform Port by MontaVista Software, Inc. (source@mvista.com) On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.210:/root/Work/src/ramdisk/rootfs_hhl ip=192.168.1.200:192.168.1.210:192.168.1.1:255.255.255.0:hwjang:eth0:off Calibrating delay loop... 199.88 BogoMIPS Memory: 30692k available (1032k kernel code, 400k data, 72k init, 0k highmem) Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes) Inode-cache hash table entries: 2048 (order: 2, 16384 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket OCP uart ver 1.2 init complete Starting kswapd Disabling the Out Of Memory Killer i2c-core.o: i2c core module version 2.6.2 (20011118) initialize_kbd: Keyboard reset failed, no ACK Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0xef600300 (irq = 0) is a 16550A ttyS01 at 0xef600400 (irq = 1) is a 16550A block: 64 slots per queue, batch=16 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) eth0: Phy @ 0x1, type DP83843 (0x20005c10) Reset ethernet interfaces NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 2048) opening eth0 on emac 0 eth0: IBM EMAC: link up, 100 Mbps Full Duplex, auto-negotiation complete. eth0: IBM EMAC: MAC 24:00:00:00:00:00. eth0: IBM EMAC: open completed IP-Config: Gateway not on directly connected network. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Looking up port of RPC 100003/2 on 192.168.1.210 RPC: sendmsg returned error 101 portmap: RPC call returned error 101 Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 100005/1 on 192.168.1.210 RPC: sendmsg returned error 101 portmap: RPC call returned error 101 Root-NFS: Unable to get mountd port number from server, using default RPC: sendmsg returned error 101 mount: RPC call returned error 101 Root-NFS: Server returned error -101 while mounting /root/Work/src/ramdisk/rootfs_hhl VFS: Unable to mount root fs via NFS, trying floppy. request_module[block-major-2]: Root fs not mounted VFS: Cannot open root device "nfs" or 02:00 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 02:00 <0>Rebooting in 180 seconds.. ==========================================
------------------------------------------------- Your Life on the Net DreamWiz Free Mail @ http://www.dreamwiz.com/

In message 200309100812.h8A8CAmL066038@mail0.dreamwiz.com you wrote:
Please, check u-boot monitor messages below...
Are you sure this is an U-Boot related problem? I think this is off topic here.
in bdinfo command and linux boot message, ethaddr of target board seems s et wrong...
What makes you think so?
=> bdinfo memstart = 0x00000000 memsize = 0x02000000 flashstart = 0xFFF80000 flashsize = 0x00080000 flashoffset = 0x0002B700 sramstart = 0x00000000 sramsize = 0x00000000 bootflags = 0x0000A000 procfreq = 200 MHz plb_busfreq = 100 MHz pci_busfreq = 33.333 MHz ethaddr = 24:00:00:00:00:00
Obviously your MAC address i set to 24:00:00:00:00:00.
Obviously this is NOT a valid MAC address. Please pay attention to standards and regulations. You should NOT use arbitrary MAC addresses.
See also http://www.denx.de/twiki/bin/view/DULG/EthernetDoesNotWork
Looking up port of RPC 100003/2 on 192.168.1.210 RPC: sendmsg returned error 101 portmap: RPC call returned error 101 Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 100005/1 on 192.168.1.210 RPC: sendmsg returned error 101 portmap: RPC call returned error 101 Root-NFS: Unable to get mountd port number from server, using default RPC: sendmsg returned error 101 mount: RPC call returned error 101 Root-NFS: Server returned error -101 while mounting /root/Work/src/ramdis k/rootfs_hhl
U-Boot booted Linux just fine. What you see here is not a U-Boot related problem.
Actually the message is pretty clear: "Server returned error -101"
The Linux kernel tells you that your NFS server returned error code 101. Looking this up in errno.h reveals: "Network is unreachable"
You will have to check your NFS server configuration.
--0-1288557707-1063181529ö6033 Content-Type: TEXT/HTML; CHARSETÿC-KR Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx-s0.dreamwiz.com id h8A8CAZs056873
<HTML> <BODY>
Arrrghhh...
Please do NOT post HTML.
Send plain ASCII text only.
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
장형욱