主题 : mini2440的nfs文件系统挂不上问题“IP-Config: Device `eth0' not found” 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 11291
精华: 0
发帖: 6
金钱: 35 两
威望: 10 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2009-12-03
最后登录: 2017-09-13
楼主  发表于: 2009-12-03 17:31

 mini2440的nfs文件系统挂不上问题“IP-Config: Device `eth0' not found”

各位大师!
      我用mini2440开发板挂载nfs的文件系统,内核打印信息提示“IP-Config: Device `eth0' not found”,我的nfs服务无法完成
      一下是我的网络配置
      u-boot里配置--
           #define CONFIG_BOOTARGS        "console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.101:/opt/s3c2440/root_nfs  ip=192.168.0.99:192.168.0.101:192.168.0.1:255.255.255.0:www.sansung.com:eth0:off"
            我的windons网络 192.168.1.70    255.255.255.0 192.168.1.1  dns = 192.168.1.1
            我的linux网络     192.168.1.101 255.255.255.0 192.168.1.1  dns = 192.168.1.1

            内核通过串口打印的信息为
      
DRAM:  64 MB            
Flash:  2 MB            
NAND:  64 MiB            
*** Warning - bad CRC, using default environment                                                

In:    serial            
Out:   serial            
Err:   serial            
Hit any key to stop autoboot:  0                                
dm9000 i/o: 0x20000000, id: 0x90000a46                                      
MAC: 00:80:00:80:00:80                      
could not establish link                        
TFTP from server 192.168.1.70; our IP address is 192.168.1.99                                                            
Filename 'uImage'.                  
Load address: 0x32000000                        
Loading: checksum bad0000, irq 33dress 0x1
checksum bad            
#################################################################hannel 1 at c4800040, irq 343c2440-i2c: bus frequency set to    
         #################################################################at c4800080, irq 35 OUT_ENDP                                          
s3c
         #################################################################i                                                                  
S3C244
         #################################################################                                          
usbcore: registered new interf
         #####################################################  
CPU0:    
s3c2410-wdt s3c2410-wdt: watchd                
done    
Bytes transferred = 1599556 (186844 hex)driver hubtes, associativity 64, 32 byte
## Booting image at 32000000 ...                                
   Image Name:   Linux-2.6.26.5    
usbcore: registered new d
   Load Address: 30008000                
drivers/
   Entry Point:  30008000pen rtc device (rtc0)s: 1
   Verifying Checksum ... OK                            
OK  

Starting kernel ...h table entries: 20

Uncompressing Linux.............................................................                                                                                
.......................................... done, booting the kernel.able entries: 2048 (order: 1, 8192 byte                            
Linux version 2.6.26.5 (root@localhost.localdomain) (gcc version 3.4.1) #3 Fri Ns                                                      
Root-NFS        
io sch
ov 27 10:43:18 CST 2009e mounting /opt/s      
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz                            

1f02       2048 mtdblock2 (driver?)  
S3C24XX Clocks, (c) 2004 Simtec Electronics      
s3c2440-uart.1: s3c2410_serial1 at
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL onpport                                              
CPU0: D VIVT write-back cache                
S3C24XX DMA
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 setst.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440    
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets  
DMA c    

DRAM:  64 MB800000, irq                      
Flash
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)evision: 1.90 $ 4 ports, IRQ s                              
Memory: 64MB = 64MB total                        
Memory: 61476KB available (2932K code, 301K data, 140K init)#############################MB###                          
Mount-cache hash table entries: 512                      

s3c2440-i2
CPU: Testing write buffer coherency: okKHzq                                  
net_namespace: 192 bytesis      
Bytes transfer
NET: Registered protocol family 16                                

S3C2410 Power Management, (c) 2004 Simtec Electronicse at 32000000 ...1 at MMI24X                        
S3C2440: Initialising architecture                      
drivers/rtc
S3C2440: IRQ Support open rtc device (rt
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
OK##    

Starting kernel ... Driver, (c) 2004 S        
DMA channel 0 at c4800000, irq 33comp      
IP-Config: Device `eth
DMA channel 1 at c4800040, irq 3                              
ov 27 10:43:            

U-B
TCP established hash table entries: 2048 (order: 2, 16384 bytes)ck                                                              
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
Flash:  2 MB92.168.1.101                        
NAND:
TCP: Hash tables configured (established 2048 bind 2048)                                                        
ir
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.    
Err:   serial, (c) 2004 Si                    
msgmni has been set to 120utoboot:  0ble entries: 25
io scheduler noop registered                            
io scheduler anticipatory registered (default), id: 0x90000a46active, reset disa            
io scheduler deadline registered          
timer tcon=00500000
io scheduler cfq registered0:00:80:00:80200,00000000,
Console: switching to colour frame buffer device 30x40uld not establish linkCP cubic registeredcks,        
fb0: s3c2410fb frame buffer device  
TFTP from server 192.168.1.70;
lp: driver loaded but no devices found                                      
ppdev: user-space parallel port driver 256                          
RPC  
brd: module loaded                  
loop: module loadedi/o: 0x20000000, id
dm9000 Ethernet Driver, V1.30                            
Uniform Multi-Platform E-IDE driver                            
MAC: 0
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx      
could not establish link responding, tim                            
BAST NOR-Flash Driver, (c) 2004 Simtec                                    
mount: server 19                
Loading: checksum bad
)
s3c2410_nand_update_chip: chip c3dd4abc: 9                
checksum badcsator V0.97
Scanning device for bad blocks##############################
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":nfs32K code, 301K data,                              
0x00200000-0x00400000 : "kernel"                                
0x003c0000-0x00760000 : "Rootfs(YSFFS)"          
   Load Address: 30008000  
0x03e00000-0x04000000 : "Homefs(YAFFS)"      
NET: Regist          
   Entry
usbmon: debugfs is not availableons on "                        
s3c2410-ohci s3c2410-ohci: S3C24XX OHCIChecksum ... OK                        
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
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
IP-Config: Device `eth0' not found.
Looking up port of RPC 100003/2 on 192.168.1.101
rpcbind: server 192.168.1.101 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.101
rpcbind: server 192.168.1.101 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.1.101 not responding, timed out
Root-NFS: Server returned error -5 while mounting /opt/s3c2440/root_nfs
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       2048 mtdblock0 (driver?)
1f01       3712 mtdblock1 (driver?)
1f02       2048 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

      遇到个问题需要大家帮忙分析,分析,摆脱大家了!!!!!!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-12-03 17:56
1. 用超级终端的"传送"->"捕获文字"来保存屏幕上的输出;
2. 你的错别字反映了你做事的心态,先好好改改吧。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 11180
精华: 0
发帖: 7
金钱: 70 两
威望: 35 点
贡献值: 0 点
综合积分: 14 分
注册时间: 2009-11-29
最后登录: 2010-04-09
2楼  发表于: 2009-12-03 18:38
先看看Linux配置网络那里那个名字是不是叫eth0
级别: 新手上路
UID: 8200
精华: 0
发帖: 5
金钱: 40 两
威望: 17 点
贡献值: 0 点
综合积分: 10 分
注册时间: 2009-08-14
最后登录: 2017-09-13
3楼  发表于: 2009-12-07 18:02

 回 1楼(kasim) 的帖子

说的真对,本人做事有点粗心,大哥是个爽快人!
级别: 新手上路
UID: 8200
精华: 0
发帖: 5
金钱: 40 两
威望: 17 点
贡献值: 0 点
综合积分: 10 分
注册时间: 2009-08-14
最后登录: 2017-09-13
4楼  发表于: 2009-12-07 18:03

 回 2楼(beggar) 的帖子

您说的Linux配置网络,是指开发板的,还是我的pc机的。
级别: 新手上路
UID: 8200
精华: 0
发帖: 5
金钱: 40 两
威望: 17 点
贡献值: 0 点
综合积分: 10 分
注册时间: 2009-08-14
最后登录: 2017-09-13
5楼  发表于: 2009-12-08 17:58
原来是linux2.6.25.6对于迷你2440的驱动不对,现在已经能挂载nfs文件系统了。但是有提示不能打开控制台了。
内核打印信息如下
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 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
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.1.99, mask=255.255.255.0, gw=192.168.1.1,
     host=www, domain=, nis-domain=sansung.com,
     bootserver=192.168.1.101, rootserver=192.168.1.101, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.101
eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Looking up port of RPC 100005/1 on 192.168.1.101
VFS: Mounted root (nfs filesystem).
Freeing init memory: 140K
Warning: unable to open an initial console.
级别: 新手上路
UID: 61072
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
贡献值: 0 点
综合积分: 18 分
注册时间: 2011-12-22
最后登录: 2012-10-27
6楼  发表于: 2012-09-28 17:24
现在已经能挂载nfs文件系统了????你好 怎么样挂载的呢?
级别: 新手上路
UID: 69229
精华: 0
发帖: 35
金钱: 180 两
威望: 36 点
贡献值: 0 点
综合积分: 70 分
注册时间: 2012-05-03
最后登录: 2013-11-26
7楼  发表于: 2012-10-09 11:10

 回 6楼(chenyu1985) 的帖子

我用nfs挂载文件系统也遇到了问题 请问你现在能挂载文件系统了么?
级别: 新手上路
UID: 69229
精华: 0
发帖: 35
金钱: 180 两
威望: 36 点
贡献值: 0 点
综合积分: 70 分
注册时间: 2012-05-03
最后登录: 2013-11-26
8楼  发表于: 2012-10-09 11:11

 回 5楼(zcy_520) 的帖子

哥们 你能留个qq么  我在用nfs挂载根文件系统时也遇到了点问题 想跟你请教一下
级别: 新手上路
UID: 69229
精华: 0
发帖: 35
金钱: 180 两
威望: 36 点
贡献值: 0 点
综合积分: 70 分
注册时间: 2012-05-03
最后登录: 2013-11-26
9楼  发表于: 2012-10-09 11:13
我的错误信息:
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Gateway not on directly connected network.
Looking up port of RPC 100003/2 on 10.3.89.211
eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Looking up port of RPC 100005/1 on 10.3.89.211
mount: server 10.3.89.211 not responding, timed out
Root-NFS: Server returned error -5 while mounting /home/smb/rootfs
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             384 mtdblock0 (driver?)
1f01            2048 mtdblock1 (driver?)
1f02          259712 mtdblock2 (driver?)
1f03          262144 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
请大侠们不吝指教