uboot에서 nfs 개발 환경을 구성하려는데 막혀서 질문을 드립니
nfs를 통한 작업환경을 구축하려하고 있는데요....잘 읽어오질 못하고있습니다.
서버 ip는 192.168.10.133 이고요 보드 ip는 192.168.10.37 nfsroot=/root/usps3000/devel입니다. 커널 config에서 Root file system on NFS를 체크해주었습니다.
보드에서 환경설정은 다음과 같고요.
BOOT>printenv
bootdelay=3
hostname=USPS
ramdisk_size=52224
ipaddr=192.168.10.37
serverip=192.168.10.133
bootargs=root=/dev/nfs rw nfsroot=192.168.10.133:/root/usps3000/devel ip=192.168.10.37:192.168.10.133 mem=120M
bootcmd=tftp 900000 vmlinux.img;bootm
root=/dev/nfs
stdin=serial
stdout=serial
stderr=serial
에러 메세지는 다음과 같습니다.
TFTP from server 192.168.10.133; our IP address is 192.168.10.37
Filename 'vmlinux.img'.
Load address: 0x900000
Loading: ################################################################# #################################################################
##############
done
Bytes transferred = 736299 (b3c2b hex)
## Booting image at 00900000 ...
Image Name: vmlinux.bin.gz
Created: 2005-07-26 10:36:24 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 736235 Bytes = 718 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19-rc3 (root@omninote) (gcc version 2.95.4 20010319 (prerelease/franzo/20011204)) #339 2005. 07. 26. (화) 19:33:45 KST
PPCBoot Environment: 0xc01a1148
IP PNP: 802.3 Ethernet Address=<0:0:0:0:c0:23>
NOTICE: mounting root file system via NFS
On node 0 totalpages: 31744
zone(0): 31744 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=192.168.10.133:/root/usps3000/devel ip=192.168.10.37:192.168.10.133 mem=12
0M console=ttyS0,9600 ip=192.168.10.37:192.168.10.133:<NULL>:<NULL>:USPS:eth0 root=/dev/nfs rw nfsroot=<NULL>,timeo=200,
retrans=500 nfsaddrs=192.168.10.37:192.168.10.133
time_init: decrementer frequency = 24.750063 MHz
Calibrating delay loop... 131.89 BogoMIPS
Memory: 123324k available (1316k kernel code, 460k data, 120k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 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
Starting kswapd
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Real Time Clock Driver v1.10e
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
physmap flash device: 2000000 at 70000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit mode
phys_mapped_flash: Found 1 x16 devices at 0x1000000 in 8-bit mode
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Creating 3 MTD partitions on "phys_mapped_flash":
0x00000000-0x00200000 : "kernel"
mtd: Giving out device 0 to kernel
0x00200000-0x00800000 : "ramdisk"
mtd: Giving out device 1 to ramdisk
0x00800000-0x02000000 : "user"
mtd: Giving out device 2 to user
rtc: unable to get misc minor
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 8192 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
IP-Config: Device `eth0' not found.
ip_conntrack (992 buckets, 7936 max)
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Root-NFS: No NFS server available, giving up.
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..
어디서 잘못된 것입니까?
댓글 달기