Chinaunix首页 | 论坛 | 博客
  • 博客访问: 701724
  • 博文数量: 130
  • 博客积分: 2192
  • 博客等级: 大尉
  • 技术积分: 1410
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-31 15:37
文章分类

全部博文(130)

文章存档

2013年(1)

2012年(4)

2011年(27)

2010年(97)

2009年(1)

分类: 嵌入式

2010-07-11 14:47:01

之前按照开发板用户指南想把pc作为NFS服务器,使根文件系统在pc就行,而不用在目标板上了。

但是怎么试 都不行,出来的提示如下:
                                                        
Supervivi> param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.101:/opt/Friend
lyARM/mini2440/root_qtopia ip=192.168.1.110:192.168.1.101:192.168.1.1:255.255.255.0:sbc2440.arm9.net
:eth0:off"                                                                                         
Change linux command line to "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.101:/opt/FriendlyARM/m
ini2440/root_qtopia ip=192.168.1.110:192.168.1.101:192.168.1.1:255.255.255.0:sbc2440.arm9.net:eth0:o
ff"                                                                                                
Supervivi> boot                                                                                    
Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... done                        
zImage magic = 0x016f2818                                                                          
Setup linux parameters at 0x30000100                                                               
linux command line is: "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.101:/opt/FriendlyARM/mini244
0/root_qtopia ip=192.168.1.110:192.168.1.101:192.168.1.1:255.255.255.0:sbc2440.arm9.net:eth0:off"  
MACH_TYPE = 1999                                                                                   
NOW, Booting Linux......                                                                           
Uncompressing Linux.................................................................................
.................................................................................. done, booting the
 kernel.                                                                                           
Linux version 2.6.32.2-FriendlyARM (root@tom) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1
Fri Jan 8 12:53:23 CST 2010                                                                        
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.101:/opt/FriendlyARM/mini2440/r
oot_qtopia ip=192.168.1.110:192.168.1.101:192.168.1.1:255.255.255.0:sbc2440.arm9.net:eth0:off      
PID hash table entries: 256 (order: -2, 1024 bytes)                                                
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: 59560KB available (4676K code, 469K data, 160K init, 0K highmem)                           
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                            
Hierarchical RCU implementation.                                                                   
NR_IRQS:85                                                                                         
irq: clearing subpending status 00000003                                                           
irq: clearing subpending status 00000002                                                           
Console: colour dummy device 80x30                                                                 
console [ttySAC0] enabled                                                                          
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)                                             
Mount-cache hash table entries: 512                                                                
CPU: Testing write buffer coherency: ok                                                            
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 at 0                                                                      
SCSI subsystem initialized                                                                         
usbcore: registered new interface driver usbfs                                                     
usbcore: registered new interface driver hub                                                       
usbcore: registered new device driver usb                                                          
s3c-i2c s3c2440-i2c: slave address 0x10                                                            
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz                                                   
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter                                                        
cfg80211: Calling CRDA to update world regulatory domain                                           
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                                                                  
RPC: Registered udp transport module.                                                              
RPC: Registered tcp transport module.                                                              
RPC: Registered tcp NFSv4.1 backchannel transport module.                                          
NetWinder Floating Point Emulator V0.97 (double precision)                                         
yaffs Jan  8 2010 12:48:07 Installing.                                                             
msgmni has been set to 116                                                                         
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                                                                                
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                                                   
s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns                              
s3c24xx-nand s3c2440-nand: NAND soft ECC                                                           
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)                 
Scanning device for bad blocks                                                                     
Bad eraseblock 748 at 0x000005d80000                                                               
Bad eraseblock 1132 at 0x000008d80000                                                              
Bad eraseblock 1495 at 0x00000bae0000                                                              
Bad eraseblock 1820 at 0x00000e380000                                                              
Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":                                             
0x000000000000-0x000000040000 : "supervivi"                                                        
0x000000040000-0x000000060000 : "param"                                                            
0x000000060000-0x000000560000 : "Kernel"                                                           
0x000000560000-0x000040560000 : "root"                                                             
mtd: partition "root" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to
 0xfaa0000                                                                                         
0x000000000000-0x000040000000 : "nand"                                                             
mtd: partition "nand" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to
 0x10000000                                                                                        
dm9000 Ethernet Driver, V1.31                                                                      
eth0: dm9000e at c4814300,c4818304 IRQ 51 MAC: 08:90:90:90:90:90 (chip)                            
Atmel at76x USB Wireless LAN Driver 0.17 loading                                                   
usbcore: registered new interface driver at76c50x-usb                                              
usbcore: registered new interface driver zd1211rw                                                  
usbcore: registered new interface driver rtl8187                                                   
usbcore: registered new interface driver zd1201                                                    
usbcore: registered new interface driver rt2500usb                                                 
usbcore: registered new interface driver rt73usb                                                   
usbcore: registered new interface driver rt2800usb                                                 
usbcore: registered new interface driver ar9170usb                                                 
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.32.2-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 ums-alauda                                                
usbcore: registered new interface driver ums-cypress                                               
usbcore: registered new interface driver ums-datafab                                               
usbcore: registered new interface driver ums-freecom                                               
usbcore: registered new interface driver ums-isd200                                                
usbcore: registered new interface driver ums-jumpshot                                              
usbcore: registered new interface driver ums-karma                                                 
usbcore: registered new interface driver ums-onetouch                                              
usbcore: registered new interface driver ums-sddr09                                                
usbcore: registered new interface driver ums-sddr55                                                
usbcore: registered new interface driver ums-usbat                                                 
usbcore: registered new interface driver usbserial                                                 
USB Serial support registered for generic                                                          
usbcore: registered new interface driver usbserial_generic                                         
usbserial: USB Serial Driver core                                                                  
USB Serial support registered for aircable                                                         
usbcore: registered new interface driver aircable                                                  
USB Serial support registered for ark3116                                                          
usbcore: registered new interface driver ark3116                                                   
USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter                     
usbcore: registered new interface driver belkin                                                    
belkin_sa: v1.2:USB Belkin Serial converter driver                                                 
USB Serial support registered for ch341-uart                                                       
usbcore: registered new interface driver ch341                                                     
USB Serial support registered for cp210x                                                           
usbcore: registered new interface driver cp210x                                                    
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver                                      
USB Serial support registered for Reiner SCT Cyberjack USB card reader                             
usbcore: registered new interface driver cyberjack                                                 
cyberjack: v1.01 Matthias Bruestle                                                                 
cyberjack: REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver                            
USB Serial support registered for DeLorme Earthmate USB                                            
USB Serial support registered for HID->COM RS232 Adapter                                           
USB Serial support registered for Nokia CA-42 V2 Adapter                                           
usbcore: registered new interface driver cypress                                                   
cypress_m8: v1.09:Cypress USB to Serial Driver                                                     
USB Serial support registered for Digi 2 port USB adapter                                          
USB Serial support registered for Digi 4 port USB adapter                                          
usbcore: registered new interface driver digi_acceleport                                           
digi_acceleport: v1.80.1.2:Digi AccelePort USB-2/USB-4 Serial Converter driver                     
USB Serial support registered for Edgeport 2 port adapter                                          
USB Serial support registered for Edgeport 4 port adapter                                          
USB Serial support registered for Edgeport 8 port adapter                                          
USB Serial support registered for EPiC device                                                      
usbcore: registered new interface driver io_edgeport                                               
io_edgeport: v2.7:Edgeport USB Serial Driver                                                       
USB Serial support registered for Edgeport TI 1 port adapter                                       
USB Serial support registered for Edgeport TI 2 port adapter                                       
usbcore: registered new interface driver io_ti                                                     
io_ti: v0.7mode043006:Edgeport USB Serial Driver                                                   
USB Serial support registered for empeg                                                            
usbcore: registered new interface driver empeg                                                     
empeg: v1.2:USB Empeg Mark I/II Driver                                                             
USB Serial support registered for FTDI USB Serial Device                                           
usbcore: registered new interface driver ftdi_sio                                                  
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver                                                 
USB Serial support registered for funsoft                                                          
usbcore: registered new interface driver funsoft                                                   
USB Serial support registered for Garmin GPS usb/tty                                               
usbcore: registered new interface driver garmin_gps                                                
garmin_gps: v0.33:garmin gps driver                                                                
USB Serial support registered for hp4X                                                             
usbcore: registered new interface driver hp4X                                                      
hp4x: v1.00:HP4x (48/49) Generic Serial driver                                                     
USB Serial support registered for PocketPC PDA                                                     
usbcore: registered new interface driver ipaq                                                      
ipaq: v0.5:USB PocketPC PDA driver                                                                 
USB Serial support registered for IPWireless converter                                             
usbcore: registered new interface driver ipwtty                                                    
ipw: v0.3:IPWireless tty driver                                                                    
USB Serial support registered for IR Dongle                                                        
usbcore: registered new interface driver ir-usb                                                    
ir_usb: v0.4:USB IR Dongle driver                                                                  
USB Serial support registered for iuu_phoenix                                                      
usbcore: registered new interface driver iuu_phoenix                                               
iuu_phoenix: v0.11:Infinity USB Unlimited Phoenix driver                                           
USB Serial support registered for Keyspan - (without firmware)                                     
USB Serial support registered for Keyspan 1 port adapter                                           
USB Serial support registered for Keyspan 2 port adapter                                           
USB Serial support registered for Keyspan 4 port adapter                                           
usbcore: registered new interface driver keyspan                                                   
keyspan: v1.1.5:Keyspan USB to Serial Converter Driver                                             
USB Serial support registered for Keyspan PDA                                                      
USB Serial support registered for Keyspan PDA - (prerenumeration)                                  
USB Serial support registered for Xircom / Entregra PGS - (prerenumeration)                        
usbcore: registered new interface driver keyspan_pda                                               
keyspan_pda: v1.1:USB Keyspan PDA Converter driver                                                 
USB Serial support registered for KL5KUSB105D / PalmConnect                                        
usbcore: registered new interface driver kl5kusb105d                                               
kl5kusb105: v0.3a:KLSI KL5KUSB105 chipset USB->Serial Converter driver                             
USB Serial support registered for KOBIL USB smart card terminal                                    
usbcore: registered new interface driver kobil                                                     
kobil_sct: 21/05/2004:KOBIL USB Smart Card Terminal Driver (experimental)                          
USB Serial support registered for MCT U232                                                         
usbcore: registered new interface driver mct_u232                                                  
mct_u232: z2.1:Magic Control Technology USB-RS232 converter driver                                 
USB Serial support registered for Moschip 2 port adapter                                           
mos7720: 1.0.0.4F:Moschip USB Serial Driver                                                        
usbcore: registered new interface driver moschip7720                                               
USB Serial support registered for Moschip 7840/7820 USB Serial Driver                              
mos7840: 1.3.2:Moschip 7840/7820 USB Serial Driver                                                 
usbcore: registered new interface driver mos7840                                                   
USB Serial support registered for moto-modem                                                       
usbcore: registered new interface driver moto-modem                                                
USB Serial support registered for navman                                                           
usbcore: registered new interface driver navman                                                    
USB Serial support registered for ZyXEL - omni.net lcd plus usb                                    
usbcore: registered new interface driver omninet                                                   
omninet: v1.1:USB ZyXEL omni.net LCD PLUS Driver                                                   
USB Serial support registered for opticon                                                          
usbcore: registered new interface driver opticon                                                   
USB Serial support registered for GSM modem (1-port)                                               
usbcore: registered new interface driver option                                                    
option: v0.7.2:USB Driver for GSM modems                                                           
USB Serial support registered for oti6858                                                          
usbcore: registered new interface driver oti6858                                                   
USB Serial support registered for pl2303                                                           
usbcore: registered new interface driver pl2303                                                    
pl2303: Prolific PL2303 USB to serial adaptor driver                                               
USB Serial support registered for Qualcomm USB modem                                               
usbcore: registered new interface driver qcserial                                                  
safe_serial: v0.0b:USB Safe Encapsulated Serial                                                    
USB Serial support registered for safe_serial                                                      
usbcore: registered new interface driver safe_serial                                               
USB Serial support registered for siemens_mpi                                                      
usbcore: registered new interface driver siemens_mpi                                               
Driver for Siemens USB/MPI adapter                                                                 
Version 0.1 09/26/2005 Thomas Hergenhahn@web.de
USB Serial support registered for Sierra USB modem                                                 
usbcore: registered new interface driver sierra                                                    
sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems                                          
USB Serial support registered for SPCP8x5                                                          
usbcore: registered new interface driver spcp8x5                                                   
spcp8x5: v0.04:SPCP8x5 USB to serial adaptor driver                                                
USB Serial support registered for symbol                                                           
usbcore: registered new interface driver symbol                                                    
USB Serial support registered for TI USB 3410 1 port adapter                                       
USB Serial support registered for TI USB 5052 2 port adapter                                       
usbcore: registered new interface driver ti_usb_3410_5052                                          
ti_usb_3410_5052: v0.9:TI USB 3410/5052 Serial Driver                                              
USB Serial support registered for Handspring Visor / Palm OS                                       
USB Serial support registered for Sony Clie 3.5                                                    
USB Serial support registered for Sony Clie 5.0                                                    
usbcore: registered new interface driver visor                                                     
visor: USB HandSpring Visor / Palm OS driver                                                       
USB Serial support registered for Connect Tech - WhiteHEAT - (prerenumeration)                     
USB Serial support registered for Connect Tech - WhiteHEAT                                         
usbcore: registered new interface driver whiteheat                                                 
whiteheat: v2.0:USB ConnectTech WhiteHEAT 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                                                                            
Linux video capture interface: v2.00                                                               
gspca: main v2.7.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 jeilinj                                                   
jeilinj: registered                                                                                
usbcore: registered new interface driver mars                                                      
mars: registered                                                                                   
usbcore: registered new interface driver mr97310a                                                  
mr97310a: 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 sn9c20x                                                   
sn9c20x: 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 sq905                                                     
sq905: registered                                                                                  
usbcore: registered new interface driver sq905c                                                    
sq905c: 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                                                                                
gspca_gl860: driver startup - version 0.9d10                                                       
usbcore: registered new interface driver gspca_gl860                                               
gspca_gl860: driver 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!!!                                                                                 
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics                                                
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled                            
s3c-sdi s3c2440-sdi: powered down.                                                                 
s3c-sdi s3c2440-sdi: mmc0 - using pio, sw SDIO IRQ                                                 
usbcore: registered new interface driver usbhid                                                    
usbhid: v2.6:USB HID core driver                                                                   
Advanced Linux Sound Architecture Driver Version 1.0.21.                                           
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                                                                               
lib80211: common routines for IEEE802.11 drivers                                                   
s3c2410-rtc s3c2410-rtc: setting system clock to 2010-06-26 18:52:04 UTC (1277578324)              
eth0: link down                                                                                    
IP-Config: Complete:                                                                               
     device=eth0, addr=192.168.1.110, mask=255.255.255.0, gw=192.168.1.1,                          
     host=sbc2440, domain=, nis-domain=arm9.net,                                                   
     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 0x45E1                                                    
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                              
Root-NFS: Server returned error -5 while mounting /opt/FriendlyARM/mini2440/root_qtopia            
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             256 mtdblock0 (driver?)                                                           
1f01             128 mtdblock1 (driver?)                                                           
1f02            5120 mtdblock2 (driver?)                                                           
1f03          256640 mtdblock3 (driver?)                                                           
1f04          262144 mtdblock4 (driver?)                                                           
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)                     
Backtrace:                                                                                         
[] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)                   
 r7:c39230cb r6:c0503ed0 r5:c3923000 r4:c3823f40                                                   
[] (dump_stack+0x0/0x1c) from [] (panic+0x4c/0x134)                            
[] (panic+0x0/0x134) from [] (mount_block_root+0x178/0x234)                    
 r3:00000000 r2:c386492c r1:c3823f40 r0:c0453700                                                   
[] (mount_block_root+0x0/0x234) from [] (mount_root+0xb0/0xf4)                 
[] (mount_root+0x0/0xf4) from [] (prepare_namespace+0xf8/0x190)                
 r7:c05038a0 r6:c0021808 r5:c0021808 r4:c0021818                                                   
[] (prepare_namespace+0x0/0x190) from [] (kernel_init+0xf0/0x124)              
 r7:00000000 r6:c00200dc r5:c00205d4 r4:c00205d4                                                   
[] (kernel_init+0x0/0x124) from [] (do_exit+0x0/0x62c)                         
 r7:00000000 r6:00000000 r5:00000000 r4:00000000 

试了很多次,因为自己用的是路由器,一度怀疑是路由器就不行了?
后来发现是几个问题搞错了。

第一,目标板的ip ,linux默认的是192.168.1.230。而我上面用错了。

第二,防火墙方面的配置。因为自己对liux的防火墙机制不熟,它分了好几个层次。所以都没往这上面去想,看了网上的文章才知道的。下面是一张鸟哥的 “網路封包進入本機的流程順序图”

    具体的话,要设置 三个地方:
    1.关闭防火墙lokkit,这个按照 用户手册的即可。(这个可能是下面2的 图形界面,同一个东西??)

    2.关闭ip filter。即iptables服务,这里又出现了问题。一般的linux distribution命令是 #service iptables stop。
       但ubuntu没有直接关掉iptables的命令。所以只能
       #iptables -P INPUT ACCEPT
       #iptables -P OUTPUT ACCEPT

     3.设置TCP Wrappers
       打开文件 /etc/hosts.allow
       如果文件是空的,加入如下几行:
       portmap:192.168.1.
       lockd:192.168.1.
       rquotad:192.168.1.
       mountd:192.168.1.
       statd:192.168.1.

如此一来,就OK了。
参考了:【1】.
            【2】.http://hi.baidu.com/ezrax/blog/item/113695ad16d7a90d4a36d664.html/cmtid/ef11f32c9c264deb8b1399a0
            【3】http://linux.vbird.org/linux_server/0240network-secure-1.php


 
阅读(2503) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

imjacob2010-08-10 10:49:30

发现这里的步骤2是不保存的,每次开机需要重做一遍