nfs를 루트로 부팅할때 이상한 점이 있어서 질문 드립니다.
저희 회사에서 만든 860 보드를 사용하고 있구요..
툴은 Denx의 ELDK 3.0과 U-boot 를 사용중입니다.
커널은 tftp로 받고 디스크는 nfs를 사용해서 부팅을 합니다.
tftpboot 100000 uImage
bootm 100000
이렇게 부팅을 하고 있습니다. 그런대...
[WRS]> bootm 100000
## Booting image at fe140000 ...
Image Name: Linux-2.4.24-pre2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 686223 Bytes = 670.1 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.24-pre2 (root@kpcho) (gcc version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #1 2005. 07. 08. (
금) 14:47:42 KST
I2C uCode patch installed
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.65:/opt/eldk/ppc_8xx ip=192.168.1.66:192.168.1.65:192.168.1.1:25
5.255.255.0:wrs:eth0:off
Decrementer Frequency = 187500000/60
Calibrating delay loop... 49.76 BogoMIPS
Memory: 30724k available (1188k kernel code, 408k 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
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-algo-8xx.o: i2c mpc8xx algorithm module version 2.6.1 (20010830)
i2c-rpx.o: i2c MPC8xx module version 2.6.1 (20010830)
i2c-proc.o version 2.6.1 (20010830)
CPM UART driver version 0.04
ttyS0 at 0x0280 is on SMC1 using BRG1
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2 on SCC1, 00:d0:93:00:05:b5
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
init_max_mtd: chip probing count 0
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
init_max_mtd: bank1, name:MAX8xxL0, size:8388608bytes
MAX flash0: Using Static image partition definition
Creating 7 MTD partitions on "MAX8xxL0":
0x00000000-0x00040000 : "u-boot"
0x00040000-0x00140000 : "linux kernel (boot=initrd)"
0x00140000-0x00240000 : "linux kernel (boot=nfs)"
0x00240000-0x00460000 : "Ramdisk"
0x00460000-0x00780000 : "MTD flash memory disk space"
0x00780000-0x007c0000 : "Empty Space for Future Use"
0x007c0000-0x00800000 : "FPGA data and Environment Variables"
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 4096)
IP-Config: Complete:
device=eth0, addr=192.168.1.66, mask=255.255.255.0, gw=192.168.1.1,
host=wrs, domain=, nis-domain=(none),
bootserver=192.168.1.65, rootserver=192.168.1.65, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Cannot open root device "nfs" or 00:ff
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:ff
<0>Rebooting in 180 seconds..
.보시는 바와 같이 kernel panic이 나타납니다.
마운트를 해야 할꺼 같은대 어떻게 마운트를 해야 하는지 잘 모르겠습니다.
고수님들 nfs를 사용하는대 필요한 지식을 나누어 주세요..
부탁드립니다.
댓글
댓글 리스트-
작성자Acid 작성자 본인 여부 작성자 작성시간 05.07.09 참고로 쌩 촛짜입니다 마운트를 어떻게 해야하는지도 nfs를 사용하기 위해 어떤 설정을 해야 하는지도 모르고 있습니다. 부탁드립니다.
-
작성자고도리 작성시간 05.07.10 리눅스에서 일단 마운트 되어 있는 넘을 리눅스 자체에서 마운트 해보시고, 제대로 마운트 되는지 확인해 보세요.그게 된 후에야 제대로 마운트가 될겁니다. 그리고, firewall이 걸려 있나 확인해 보시고요. 그리고, 인터넷을 찾아보시면 nfs에 대한 것이 많이 있을겁니다. 그럼...