主题 : NFS 启动 mini2440 失败,跪求,高手指点!!! 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 7282
精华: 0
发帖: 6
金钱: 50 两
威望: 42 点
综合积分: 12 分
注册时间: 2009-07-08
最后登录: 2010-08-24
楼主  发表于: 2009-07-22 00:04

 NFS 启动 mini2440 失败,跪求,高手指点!!!

超级终端显示内容:

Supervivi> param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1."
Change linux command line to "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.108:/op"
Supervivi> boot                                                                      
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done          
zImage magic = 0x016f2818                                                            
Setup linux parameters at 0x30000100                                                  
linux command line is: "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.108:/opt/Frie"
MACH_TYPE = 782                                                                      
NOW, Booting Linux......                                                              
Uncompressing Linux...................................................................
Linux version 2.6.29-FriendlyARM (root@tom) (gcc version 4.3.2 (Sourcery G++ Lite 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177                              
CPU: VIVT data cache, VIVT instruction cache                                          
Machine: FriendlyARM Mini2440 development board                                      
ATAG_INITRD is deprecated; please update your bootloader.                            
Memory policy: ECC disabled, Data cache writeback                                    
CPU S3C2440A (id 0x32440001)                                                          
S3C24XX Clocks, (c) 2004 Simtec Electronics                                          
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz                  
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on                                  
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256            
Kernel command line: console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.108:/opt/Friendlf
irq: clearing subpending status 00000007                                              
irq: clearing subpending status 00000002                                              
PID hash table entries: 256 (order: 8, 1024 bytes)                                    
Console: colour dummy device 80x30                                                    
console [ttySAC0] enabled                                                            
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                        
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                          
Memory: 64MB = 64MB total                                                            
Memory: 60608KB available (3724K code, 407K data, 128K init)                          
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1              
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)                                
Mount-cache hash table entries: 512                                                  
CPU: Testing write buffer coherency: ok                                              
net_namespace: 296 bytes                                                              
NET: Registered protocol family 16                                                    
S3C2440: Initialising architecture                                                    
S3C2440: IRQ Support                                                                  
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics                            
DMA channel 0 at c4808000, irq 33                                                    
DMA channel 1 at c4808040, irq 34                                                    
DMA channel 2 at c4808080, irq 35                                                    
DMA channel 3 at c48080c0, irq 36                                                    
S3C244X: Clock Support, DVS off                                                      
bio: create slab <bio-0> at 0                                                        
SCSI subsystem initialized                                                            
usbcore: registered new interface driver usbfs                                        
usbcore: registered new interface driver hub                                          
usbcore: registered new device driver usb                                            
cfg80211: Using static regulatory domain info                                        
cfg80211: Regulatory domain: US                                                      
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)            
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)                  
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)                  
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)                  
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)                  
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)                  
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)                  
cfg80211: Calling CRDA for country: US                                                
NET: Registered protocol family 2                                                    
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                        
TCP established hash table entries: 2048 (order: 2, 16384 bytes)                      
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                              
TCP: Hash tables configured (established 2048 bind 2048)                              
TCP reno registered                                                                  
NET: Registered protocol family 1                                                    
yaffs Apr 28 2009 21:49:48 Installing.                                                
msgmni has been set to 118                                                            
alg: No test for stdrng (krng)                                                        
io scheduler noop registered (default)                                                
Console: switching to colour frame buffer device 30x20                                
fb0: s3c2410fb frame buffer device                                                    
backlight       initialized                                                          
leds    initialized                                                                  
buttons initialized                                                                  
pwm     initialized                                                                  
adc     initialized                                                                  
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440            
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440            
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440            
loop: module loaded                                                                  
dm9000 Ethernet Driver, V1.31                                                        
Now use the default MAC address: 08:90:90:90:90:90                                    
eth0 (dm9000): not using net_device_ops yet                                          
eth0: dm9000e at c4810000,c4814004 IRQ 51 MAC: 08:90:90:90:90:90 (friendly-arm)      
usbcore: registered new interface driver rt73usb                                      
Linux video capture interface: v2.00                                                  
gspca: main v2.4.0 registered                                                        
usbcore: registered new interface driver conex                                        
conex: registered                                                                    
usbcore: registered new interface driver etoms                                        
etoms: registered                                                                    
usbcore: registered new interface driver finepix                                      
finepix: registered                                                                  
usbcore: registered new interface driver mars                                        
mars: registered                                                                      
usbcore: registered new interface driver ov519                                        
ov519: registered                                                                    
usbcore: registered new interface driver ov534                                        
ov534: registered                                                                    
usbcore: registered new interface driver pac207                                      
pac207: registered                                                                    
usbcore: registered new interface driver pac7311                                      
pac7311: registered                                                                  
usbcore: registered new interface driver sonixb                                      
sonixb: registered                                                                    
usbcore: registered new interface driver sonixj                                      
sonixj: registered                                                                    
usbcore: registered new interface driver spca500                                      
spca500: registered                                                                  
usbcore: registered new interface driver spca501                                      
spca501: registered                                                                  
usbcore: registered new interface driver spca505                                      
spca505: registered                                                                  
usbcore: registered new interface driver spca506                                      
spca506: registered                                                                  
usbcore: registered new interface driver spca508                                      
spca508: registered                                                                  
usbcore: registered new interface driver spca561                                      
spca561: registered                                                                  
usbcore: registered new interface driver sunplus                                      
sunplus: registered                                                                  
usbcore: registered new interface driver stk014                                      
stk014: registered                                                                    
usbcore: registered new interface driver t613                                        
t613: registered                                                                      
usbcore: registered new interface driver tv8532                                      
tv8532: registered                                                                    
usbcore: registered new interface driver vc032x                                      
vc032x: registered                                                                    
usbcore: registered new interface driver zc3xx                                        
zc3xx: registered                                                                    
usbcore: registered new interface driver ALi m5602                                    
ALi m5602: registered                                                                
usbcore: registered new interface driver STV06xx                                      
STV06xx: registered                                                                  
usbcore: registered new interface driver uvcvideo                                    
USB Video Class driver (v0.1.0)                                                      
initializing s3c2440 camera interface......                                          
s3c2440 camif init done                                                              
Loading OV9650 driver.........                                                        
SCCB address 0x60, manufacture ID 0xFFFF, expect 0x7FA2                              
SCCB address 0x60, manufacture ID 0xFFFF, expect 0x7FA2                              
No OV9650 found!!!                                                                    
Driver 'sd' needs updating - please use bus_type methods                              
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                                      
s3c2440-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns                
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)    
Scanning device for bad blocks                                                        
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":                                
0x000000000000-0x000000030000 : "supervivi"                                          
0x000000050000-0x000000250000 : "Kernel"                                              
0x000000250000-0x000003ffc000 : "root"                                                
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI                                              
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1              
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000                                  
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001                        
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1                    
usb usb1: Product: S3C24XX OHCI                                                      
usb usb1: Manufacturer: Linux 2.6.29-FriendlyARM ohci_hcd                            
usb usb1: SerialNumber: s3c24xx                                                      
usb usb1: configuration #1 chosen from 1 choice                                      
hub 1-0:1.0: USB hub found                                                            
hub 1-0:1.0: 2 ports detected                                                        
Initializing USB Mass Storage driver...                                              
usbcore: registered new interface driver usb-storage                                  
USB Mass Storage support registered.                                                  
usbcore: registered new interface driver usbserial                                    
usbserial: USB Serial Driver core                                                    
USB Serial support registered for pl2303                                              
usbcore: registered new interface driver pl2303                                      
pl2303: Prolific PL2303 USB to serial adaptor driver                                  
mice: PS/2 mouse device common for all mice                                          
s3c2410 TouchScreen successfully loaded                                              
input: s3c2410 TouchScreen as /devices/virtual/input/input0                          
S3C24XX RTC, (c) 2004,2006 Simtec Electronics                                        
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling                                    
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0                            
i2c /dev entries driver                                                              
s3c2440-i2c s3c2440-i2c: slave address 0x10                                          
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz                                  
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter                                      
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics                                  
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled              
mapped channel 0 to 0                                                                
s3c2440-sdi s3c2440-sdi: powered down.                                                
s3c2440-sdi s3c2440-sdi: initialisation done.                                        
s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).                          
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).                      
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).                      
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).                      
s3c2440-sdi s3c2440-sdi: powered down.                                                
usbcore: registered new interface driver usbhid                                      
usbhid: v2.6:USB HID core driver                                                      
Advanced Linux Sound Architecture Driver Version 1.0.18a.                            
No device for DAI UDA134X                                                            
No device for DAI s3c24xx-i2s                                                        
S3C24XX_UDA134X SoC Audio driver                                                      
UDA134X SoC Audio Codec                                                              
asoc: UDA134X <-> s3c24xx-i2s mapping ok                                              
ALSA device list:                                                                    
  #0: S3C24XX_UDA134X (UDA134X)                                                      
TCP cubic registered                                                                  
RPC: Registered udp transport module.                                                
RPC: Registered tcp transport module.                                                
lib80211: common routines for IEEE802.11 drivers                                      
s3c2410-rtc s3c2410-rtc: setting system clock to 2008-10-03 12:56:30 UTC (1223038590)
eth0: link down                                                                      
IP-Config: Complete:                                                                  
     device=eth0, addr=192.168.1.70, mask=255.255.255.0, gw=192.168.1.108,            
     host=sbc2440, domain=, nis-domain=arm9.net,                                      
     bootserver=192.168.1.108, rootserver=192.168.1.108, rootpath=                    
Looking up port of RPC 100003/2 on 192.168.1.108                                      
eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1                                      
rpcbind: server 192.168.1.108 not responding, timed out                              
Root-NFS: Unable to get nfsd port number from server, using default                  
Looking up port of RPC 100005/1 on 192.168.1.108                                      
rpcbind: server 192.168.1.108 not responding, timed out                              
Root-NFS: Unable to get mountd port number from server, using default                
Root-NFS: Server returned error -5 while mounting /opt/FriendlyARM/mini2440/root_qtopa
VFS: Unable to mount root fs via NFS, trying floppy.                                  
VFS: Cannot open root device "nfs" or unknown-block(2,0)                              
Please append a correct "root=" boot option; here are the available partitions:      
1f00             192 mtdblock0 (driver?)                                              
1f01            2048 mtdblock1 (driver?)                                              
1f02           63152 mtdblock2 (driver?)                                              
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)  


我现在用的是fedora 11,之前用ubuntu 9.04 都出现一样的现象。我的主机 IP  为:192.168.1.108 。
我已经尝试关闭防火墙,用命令:/etc/init.d/iptables stop .
我个人怀疑是NFS是不是没有配置好,可是我又找不出哪又问题,都忙活了,好几天了,还搞不定,跪求高手指点一下啊!!!
级别: 新手上路
UID: 10690
精华: 0
发帖: 16
金钱: 80 两
威望: 16 点
综合积分: 32 分
注册时间: 2009-11-12
最后登录: 2011-08-27
1楼  发表于: 2010-04-06 12:58
楼主试试在ip前面加上-o nolock
级别: 新手上路
UID: 16042
精华: 0
发帖: 47
金钱: 245 两
威望: 49 点
综合积分: 94 分
注册时间: 2010-03-13
最后登录: 2012-03-23
2楼  发表于: 2010-04-06 23:12
Supervivi> param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1."
Change linux command line to "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.108:/op"
貌似参数没有给全?
级别: 新手上路
UID: 24756
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
综合积分: 2 分
注册时间: 2010-07-13
最后登录: 2010-07-14
3楼  发表于: 2010-07-13 22:20
我也遇到这个问题,复制过去,显示参数不全
级别: 侠客
UID: 11611
精华: 0
发帖: 50
金钱: 250 两
威望: 50 点
综合积分: 100 分
注册时间: 2009-12-14
最后登录: 2018-02-08
4楼  发表于: 2010-07-14 10:13
Root-NFS: Server returned error -5
我也遇到过,我的解决方法:
参考:
http://www.delnabla.cn/article.asp?id=239
级别: 新手上路
UID: 61444
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2011-12-29
最后登录: 2012-05-07
5楼  发表于: 2012-05-07 17:44
我也遇到了这个问题,为什么没得人回答啊? 晓得这个问题的哥们分享一下你的成功经验啊 谢谢啊
级别: 新手上路
UID: 85277
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2013-01-02
最后登录: 2013-07-10
6楼  发表于: 2013-01-06 10:36
我用的串口转usb 也出现一样的问题,解决了的分享一下。