
15 Jan
2003
15 Jan
'03
1:53 p.m.
Hi, all: I used tftp to download kernel into SDRAM at 0x180000, and then went to boot the kernel. But error occurred when trying to mount root fs via NFS.
The whole message is in the attachment.
--
An expert is one who knows more and more about less and less
until he knows absolutely everything about nothing.
U-Boot 0.2.0 (Jan 15 2003 - 19:40:31)
CPU: XPC860SRZPnnC1 at 50 MHz: 4 kB I-Cache 4 kB D-Cache
MPC860 Processor Card
SDRAM: 32 MB
Top of RAM usable for U-Boot at: 02000000
Reserving 272k for U-Boot at: 01fbc000
Reserving 384k for malloc() at: 01f5c000
Reserving 60 Bytes for Board Info at: 01f5bfc4
Reserving 44 Bytes for Global Data at: 01f5bf98
Stack Pointer at: 01f5bf78
New Stack Pointer is: 01f5bf78
Now running in RAM - U-Boot at: 01fbc000
FLASH: 2 MB
In: serial
Out: serial
Err: serial
U-Boot relocated to 01fbc000
Net: SCC ETHERNET
=>printenv
bootargs=root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off
bootcmd=bootp 0x00180000
baudrate=19200
loads_echo=1
ethaddr=52:54:ab:54:82:5e
rootpath="/opt/ppc_8xx"
bootfile="/tftpboot/pImage"
stdin=serial
stdout=serial
stderr=serial
Environment size: 296/1020 bytes
=>bootcmd
Trying SCC ETHERNET
BOOTP broadcast 1
got BOOTP packet (src=67, dst=68, len=300 want_len=300)
Filtering pkt = 0
Bootfile: /tftpboot/pImage
Got good BOOTP
ARP broadcast 1
Got good ARP - start TFTP
TFTP from server 192.168.0.113; our IP address is 192.168.0.253
Filename '/tftpboot/pImage'.
Load address: 0x180000
Loading: #################################################################
###########################
done
Bytes transferred = 466491 (71e3b hex)
=>printenv
bootargs=root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off
bootcmd=bootp 0x00180000
baudrate=19200
loads_echo=1
ethaddr=52:54:ab:54:82:5e
stdin=serial
stdout=serial
stderr=serial
bootfile=/tftpboot/pImage
filesize=71e3b
gatewayip=192.168.0.254
netmask=255.255.255.0
hostname=procard
rootpath=/opt/ppc_8xx
ipaddr=192.168.0.253
serverip=192.168.0.113
Environment size: 414/1020 bytes
=>
=>bootm 0x180000
## Booting image at 00180000 ...
Image Name: Linux Kernel Image
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 466427 Bytes = 455.5 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x01F5BC20 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF72
bd address = 0x01F5BFC4
memstart = 0x00000000
memsize = 0x02000000
flashstart = 0xFFE00000
flashsize = 0x00200000
flashoffset = 0x00044000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0xFF000000
bootflags = 0x00000001
intfreq = 50 MHz
busfreq = 50 MHz
ethaddr = 52:54:AB:54:82:5E
IP addr = 192.168.0.253
baudrate = 19200 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
Linux version 2.4.18 (root@hi-jack) (gcc version 2.95.3 20010315 (release)) #1 Wed Jan 15 17:35:12 CST 2003
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=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off
Decrementer Frequency = 187500000/60
Warning: real time clock seems stuck!
Calibrating delay loop... 49.86 BogoMIPS
Memory: 30976k available (896k kernel code, 288k data, 52k 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
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: CPM ENET Version 0.2 on SCC1, 52:54:ab:54:82:5e
loop: loaded (max 8 devices)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
IP-Config: Unable to set interface netmask (-22).
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 157.0.0.0
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 157.0.0.0
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 /tftpboot/$(serverip):$(root
path)
VFS: Unable to mount root fs via NFS, trying floppy.
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..