LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: mengdeming

从nfs下启动失败?

[复制链接]
发表于 2010-2-1 10:56:54 | 显示全部楼层
U-Boot 1.2.0-utulinux_s3c2440_bootloader (Oct  7 2008 - 23:05:31)

DRAM:  64 MB
Flash:  0 kB
NAND:  Bad block table not found for chip 0
Bad block table not found for chip 0
64 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
dm9000 i/o: 0x18000300, id: 0x90000a46                                         
MAC: 00:0c:20:02:0a:5b                                                         
Hit any key to stop autoboot:  0                                               
utu-bootloader=>>>

setenv bootargs 'console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.149:/utuLinux2.6.24/s3c2440_recover ip=192.168.1.15:192.168.1.1:192.168.1.1:255.255.255.0:www.yctek.com:eth0ff'


utu-bootloader=>>>boot                                                         
                                                                              
NAND read: device 0 offset 0x60000, size 0x200000                              
                                                                              
Reading data from 0x25fe00 -- 100% complete.                                   
2097152 bytes read: OK                                                        
## Booting image at 32000000 ...                                               
   Image Name:   Linux-2.6.24.4                                                
   Created:      2008-10-18  15:28:39 UTC                                      
   Image Type:   ARM Linux Kernel Image (uncompressed)                        
   Data Size:    1944516 Bytes =  1.9 MB                                       
   Load Address: 30008000                                                      
   Entry Point:  30008000                                                      
   Verifying Checksum ... OK                                                   
OK                                                                             
                                                                              
Starting kernel ...                                                            
                                                                              
Uncompressing Linux.............................................................
Linux version 2.6.24.4 (azure@azure) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) 8
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177                       
Machine: UTU2440                                                               
Memory policy: ECC disabled, Data cache writeback                              
CPU S3C2440A (id 0x32440001)                                                   
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz           
S3C24XX Clocks, (c) 2004 Simtec Electronics                                    
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on                           
CPU0: D VIVT write-back cache                                                  
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets            
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets            
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256     
Kernel command line: console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.149:/utuLif
irq: clearing pending ext status 00000200                                      
irq: clearing subpending status 00000003                                       
irq: clearing subpending status 00000002                                       
PID hash table entries: 256 (order: 8, 1024 bytes)                             
timer tcon=00500000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57         
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: 60440KB available (3524K code, 735K data, 172K init)                  
SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1        
Mount-cache hash table entries: 512                                            
CPU: Testing write buffer coherency: ok                                       
net_namespace: 64 bytes                                                        
NET: Registered protocol family 16                                             
S3C2440: Initialising architecture                                             
S3C2440: IRQ Support                                                           
S3C2440: Clock Support, DVS off                                                
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics                     
DMA channel 0 at c4800000, irq 33                                             
DMA channel 1 at c4800040, irq 34                                             
DMA channel 2 at c4800080, irq 35                                             
DMA channel 3 at c48000c0, irq 36                                             
SCSI subsystem initialized                                                     
usbcore: registered new interface driver usbfs                                 
usbcore: registered new interface driver hub                                   
usbcore: registered new device driver usb                                      
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                                                            
NetWinder Floating Point Emulator V0.97 (double precision)                     
NTFS driver 2.1.29 [Flags: R/W].                                               
fuse init (API version 7.9)                                                   
yaffs Oct 18 2008 23:08:31 Installing.                                         
io scheduler noop registered                                                   
io scheduler cfq registered (default)                                          
Console: switching to colour frame buffer device 30x40                        
fb0: s3c2410fb frame buffer device                                             
GPIO L3 bus interface for S3C2440, installed                                   
utu2440 LED Driver v1.00                                                      
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                                                            
nbd: registered device at major 43                                             
dm9000 Ethernet Driver                                                         
eth0: dm9000 at c4802300,c4804304 IRQ 53 MAC: 00:12:34:56:80:49               
Linux video capture interface: v2.00                                          
em28xx v4l2 driver version 0.0.1 loaded                                       
usbcore: registered new interface driver em28xx                                
usbcore: registered new interface driver gspca                                 
drivers/media/video/gspca/gspca_core.c: gspca driver 00.60.00 registered      
et61x251: V4L2 driver for ET61X[12]51 PC Camera Controllers v1:1.09            
usbcore: registered new interface driver et61x251                              
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10     
usbcore: registered new interface driver zc0301                                
videodev: "vivi" has no release callback. Please fix your driver for proper sys/
Video Technology Magazine Virtual Video Capture Board (Load status: 0)         
Driver 'sd' needs updating - please use bus_type methods                       
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                              
s3c2440-nand s3c2440-nand: Tacls=1, 9ns Twrph0=4 39ns, Twrph1=1 9ns            
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bi)
Scanning device for bad blocks                                                
Bad eraseblock 9 at 0x00024000                                                
Bad eraseblock 11 at 0x0002c000                                                
Bad eraseblock 12 at 0x00030000                                                
Bad eraseblock 13 at 0x00034000                                                
Bad eraseblock 1955 at 0x01e8c000                                             
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":                          
0x00000000-0x00060000 : "bootloader"                                          
0x00060000-0x00260000 : "kernel"                                               
0x00260000-0x03ffc000 : "root"                                                
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: 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 libusual                              
mice: PS/2 mouse device common for all mice                                    
Initial utulinux 2440 Buttons driver!                                          
Todo: mknod c /dev/utu2440-buttons 252 0                                       
s3c2440 TouchScreen successfully loaded                                       
input: s3c2440 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 2 to 0                                                         
usbcore: registered new interface driver usbkbd                                
drivers/hid/usbhid/usbkbd.c: :USB HID Boot Protocol keyboard driver            
usbcore: registered new interface driver usbmouse                              
drivers/hid/usbhid/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver         
We do iis iomap from here.                                                     
mapped channel 10 to 2                                                         
mapped channel 9 to 1                                                         
Now we have successfully init dma resourse.                                    
UDA1341 audio driver for utu2440 has been initialized                          
TCP cubic registered                                                           
NET: Registered protocol family 1                                             
NET: Registered protocol family 17                                             
RPC: Registered udp transport module.                                          
RPC: Registered tcp transport module.                                          
s3c2410-rtc s3c2410-rtc: setting system clock to 2010-02-01 09:37:30 UTC (12650)
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1                                
IP-Config: Complete:                                                           
      device=eth0, addr=192.168.1.15, mask=255.255.255.0, gw=192.168.1.1,      
     host=www, domain=, nis-domain=yctek.com,                                 
     bootserver=192.168.1.1, rootserver=192.168.1.149, rootpath=               
Looking up port of RPC 100003/2 on 192.168.1.149                              
rpcbind: server 192.168.1.149 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.149                              
rpcbind: server 192.168.1.149 not responding, timed out                        
Root-NFS: Unable to get mountd port number from server, using default         
mount: server 192.168.1.149 not responding, timed out                          
Root-NFS: Server returned error -5 while mounting /utuLinux2.6.24/s3c2440_recovr
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      63088 mtdblock2 (driver?)                                            
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
                                                                              
                                                                              
U-Boot 1.2.0-utulinux_s3c2440_bootloader (Oct  7 2008 - 23:05:31)              
                                                                              
DRAM:  64 MB                                                                  
Flash:  0 kB                                                                  
NAND:  Bad block table not found for chip 0                                    
Bad block table not found for chip 0                                          
64 MiB                                                                        
*** Warning - bad CRC or NAND, using default environment                       
                                                                              
In:    serial                                                                  
Out:   serial                                                                  
Err:   serial                                                                  
dm9000 i/o: 0x18000300, id: 0x90000a46                                         
MAC: 00:0c:20:02:0a:5b                                                         
Hit any key to stop autoboot:  0                                               
utu-bootloader=>>>setenv bootargs 'console=ttySAC0 root=/dev/nfs nfsroot=192.16'
utu-bootloader=>>>boot                                                         
                                                                              
NAND read: device 0 offset 0x60000, size 0x200000                              
                                                                              
Reading data from 0x25fe00 -- 100% complete.                                   
2097152 bytes read: OK                                                        
## Booting image at 32000000 ...                                               
   Image Name:   Linux-2.6.24.4                                                
   Created:      2008-10-18  15:28:39 UTC                                      
   Image Type:   ARM Linux Kernel Image (uncompressed)                        
   Data Size:    1944516 Bytes =  1.9 MB                                       
   Load Address: 30008000                                                      
   Entry Point:  30008000                                                      
   Verifying Checksum ... OK                                                   
OK                                                                             
                                                                              
Starting kernel ...                                                            
                                                                              
Uncompressing Linux.............................................................
Linux version 2.6.24.4 (azure@azure) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) 8
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177                       
Machine: UTU2440                                                               
Memory policy: ECC disabled, Data cache writeback                              
CPU S3C2440A (id 0x32440001)                                                   
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz           
S3C24XX Clocks, (c) 2004 Simtec Electronics                                    
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on                           
CPU0: D VIVT write-back cache                                                  
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets            
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets            
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256     
Kernel command line: console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.149:/utuLif
irq: clearing pending ext status 00000200                                      
irq: clearing subpending status 00000003                                       
irq: clearing subpending status 00000002                                       
PID hash table entries: 256 (order: 8, 1024 bytes)                             
timer tcon=00500000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57         
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: 60440KB available (3524K code, 735K data, 172K init)                  
SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1        
Mount-cache hash table entries: 512                                            
CPU: Testing write buffer coherency: ok                                       
net_namespace: 64 bytes                                                        
NET: Registered protocol family 16                                             
S3C2440: Initialising architecture                                             
S3C2440: IRQ Support                                                           
S3C2440: Clock Support, DVS off                                                
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics                     
DMA channel 0 at c4800000, irq 33                                             
DMA channel 1 at c4800040, irq 34                                             
DMA channel 2 at c4800080, irq 35                                             
DMA channel 3 at c48000c0, irq 36                                             
SCSI subsystem initialized                                                     
usbcore: registered new interface driver usbfs                                 
usbcore: registered new interface driver hub                                   
usbcore: registered new device driver usb                                      
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                                                            
NetWinder Floating Point Emulator V0.97 (double precision)                     
NTFS driver 2.1.29 [Flags: R/W].                                               
fuse init (API version 7.9)                                                   
yaffs Oct 18 2008 23:08:31 Installing.                                         
io scheduler noop registered                                                   
io scheduler cfq registered (default)                                          
Console: switching to colour frame buffer device 30x40                        
fb0: s3c2410fb frame buffer device                                             
GPIO L3 bus interface for S3C2440, installed                                   
utu2440 LED Driver v1.00                                                      
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                                                            
nbd: registered device at major 43                                             
dm9000 Ethernet Driver                                                         
eth0: dm9000 at c4802300,c4804304 IRQ 53 MAC: 00:12:34:56:80:49               
Linux video capture interface: v2.00                                          
em28xx v4l2 driver version 0.0.1 loaded                                       
usbcore: registered new interface driver em28xx                                
usbcore: registered new interface driver gspca                                 
drivers/media/video/gspca/gspca_core.c: gspca driver 00.60.00 registered      
et61x251: V4L2 driver for ET61X[12]51 PC Camera Controllers v1:1.09            
usbcore: registered new interface driver et61x251                              
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10     
usbcore: registered new interface driver zc0301                                
videodev: "vivi" has no release callback. Please fix your driver for proper sys/
Video Technology Magazine Virtual Video Capture Board (Load status: 0)         
Driver 'sd' needs updating - please use bus_type methods                       
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                              
s3c2440-nand s3c2440-nand: Tacls=1, 9ns Twrph0=4 39ns, Twrph1=1 9ns            
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bi)
Scanning device for bad blocks                                                
Bad eraseblock 9 at 0x00024000                                                
Bad eraseblock 11 at 0x0002c000                                                
Bad eraseblock 12 at 0x00030000                                                
Bad eraseblock 13 at 0x00034000                                                
Bad eraseblock 1955 at 0x01e8c000                                             
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":                          
0x00000000-0x00060000 : "bootloader"                                          
0x00060000-0x00260000 : "kernel"                                               
0x00260000-0x03ffc000 : "root"                                                
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: 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 libusual                              
mice: PS/2 mouse device common for all mice                                    
Initial utulinux 2440 Buttons driver!                                          
Todo: mknod c /dev/utu2440-buttons 252 0                                       
s3c2440 TouchScreen successfully loaded                                       
input: s3c2440 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 2 to 0                                                         
usbcore: registered new interface driver usbkbd                                
drivers/hid/usbhid/usbkbd.c: :USB HID Boot Protocol keyboard driver            
usbcore: registered new interface driver usbmouse                              
drivers/hid/usbhid/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver         
We do iis iomap from here.                                                     
mapped channel 10 to 2                                                         
mapped channel 9 to 1                                                         
Now we have successfully init dma resourse.                                    
UDA1341 audio driver for utu2440 has been initialized                          
TCP cubic registered                                                           
NET: Registered protocol family 1                                             
NET: Registered protocol family 17                                             
RPC: Registered udp transport module.                                          
RPC: Registered tcp transport module.                                          
s3c2410-rtc s3c2410-rtc: setting system clock to 2010-02-01 09:43:38 UTC (12650)
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1                                
IP-Config: Complete:                                                           
      device=eth0, addr=192.168.1.15, mask=255.255.255.0, gw=192.168.1.1,      
     host=www, domain=, nis-domain=yctek.com,                                 
     bootserver=192.168.1.1, rootserver=192.168.1.149, rootpath=               
Looking up port of RPC 100003/2 on 192.168.1.149                              
rpcbind: server 192.168.1.149 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.149                              
rpcbind: server 192.168.1.149 not responding, timed out                        
Root-NFS: Unable to get mountd port number from server, using default         
mount: server 192.168.1.149 not responding, timed out                          
Root-NFS: Server returned error -5 while mounting /utuLinux2.6.24/s3c2440_recovr
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      63088 mtdblock2 (driver?)                                            
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
eth0: link down
大家帮忙看看吧,好头疼
回复 支持 反对

使用道具 举报

发表于 2010-2-23 23:31:35 | 显示全部楼层
其实上面很多TX都提到防火墙的问题。很多发行版的防火墙一般都有几层:
1. TCP Wrapper ( man /etc/hosts.allow )
2. iptables
3. selinux
回复 支持 反对

使用道具 举报

发表于 2010-3-9 21:09:35 | 显示全部楼层
网络连接,或者nfs sever 配置问题,鉴定完毕
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表