• «
  • 1
  • 2
  • 3
  • »
  • Pages: 1/3     Go
主题 : 我用NFS启动不了MINI2440 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 17
精华: 0
发帖: 18
金钱: 155 两
威望: 31 点
综合积分: 36 分
注册时间: 2008-01-08
最后登录: 2012-05-20
楼主  发表于: 2008-10-17 20:42

 我用NFS启动不了MINI2440

管理提醒: 本帖被 qq2440 从 QQ2440技术交流专区 移动到本区(2008-10-23)
我用的是FEDORA9的LINUX操作系统。用NFS启动MINI2440总是不成功,PC上测试是已经开启NFS了,并且测试OK的,但是用不知道为何不能启动MINI2440.  我输入的参数如下:
Supervivi> param set linux_cmd_line "console=ttySAC0 root=/dev/nfs             
          nfsroot=192.168.1.106:/opt/FriendlyARM/mini2440/root_nfs             
          ip=192.168.1.70:192.168.1.106:192.168.1.106:255.255.255.0:mini2440.arm
9.net:eth0:off"

下面是我boot输入后串口终端上输出的信息:
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                        nfs
root=192.168.1.106:/opt/FriendlyARM/mini2440/root_nfs                        ip=
192.168.1.70:192.168.1.106:192.168.1.106:255.255.255.0:mini2440.arm9.net:eth0:of
f"                                                                             
MACH_TYPE = 782                                                               
NOW, Booting Linux......                                                       
Uncompressing Linux.............................................................
............................................ done, booting the kernel.         
Linux version 2.6.13 (root@capcross) (gcc version 3.4.1) #19 Sun Sep 7 23:05:51
CST 2008                                                                       
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)                             
Machine: QQ2440                                                               
ATAG_INITRD is deprecated; please update your bootloader.                     
Memory policy: ECC disabled, Data cache writeback                             
CPU S3C2440A (id 0x32440001)                                                   
BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space               
S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz           
S3C2410 Clocks, (c) 2004 Simtec Electronics                                   
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                                                             
Kernel command line: console=ttySAC0 root=/dev/nfs                        nfsroo
t=192.168.1.106:/opt/FriendlyARM/mini2440/root_nfs                        ip=192
.168.1.70:192.168.1.106:192.168.1.106:255.255.255.0:mini2440.arm9.net:eth0:off 
irq: clearing subpending status 00000007                                       
irq: clearing subpending status 00000002                                       
PID hash table entries: 512 (order: 9, 8192 bytes)                             
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57         
Console: colour dummy device 80x30                                             
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                 
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)                   
Memory: 64MB = 64MB total                                                     
Memory: 61056KB available (2532K code, 1034K data, 144K init)                 
Mount-cache hash table entries: 512                                           
CPU: Testing write buffer coherency: ok                                       
NET: Registered protocol family 16                                             
USB Power Control, (c) 2004 Simtec Electronics                                 
S3C2440: Initialising architecture                                             
S3C2440: IRQ Support                                                           
S3C2440: Clock Support, UPLL 48.000 MHz                                       
SCSI subsystem initialized                                                     
usbcore: registered new driver hub                                             
S3C2410 DMA Driver, (c) 2003-2004 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                                             
NetWinder Floating Point Emulator V0.97 (double precision)                     
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)                         
devfs: boot_options: 0x1                                                       
yaffs Sep  7 2008 23:01:44 Installing.                                         
Initializing Cryptographic API                                                 
Console: switching to colour frame buffer device 30x20                         
S3C24X0 fb0: s3c2410fb frame buffer device initialize done                     
GPIO L3 bus interface for S3C2440, installed                                   
S3C2410 RTC, (c) 2004 Simtec Electronics                                       
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling                             
leds initialized                                                               
buttons initialized                                                           
qq2440_pwm initialized                                                         
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440                     
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440                     
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440                     
io scheduler noop registered                                                   
io scheduler anticipatory registered                                           
io scheduler deadline registered                                               
io scheduler cfq registered                                                   
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize         
loop: loaded (max 8 devices)                                                   
nbd: registered device at major 43                                             
DM9000 ethernet driver V1.26 I/O: c481a300, VID: 90000a46                     
Linux video capture interface: v1.00                                           
ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver                     
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2                       
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx   
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                               
s3c2440-nand: mapped registers at c4880000                                     
s3c2440-nand: timing: Tacls 9ns, Twrph0 39ns, Twrph1 9ns                       
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit
)                                                                             
NAND_ECC_NONE selected by board driver. This is not recommended !!             
Scanning device for bad blocks                                                 
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":                         
0x00000000-0x00030000 : "bootloader"                                           
0x00050000-0x00250000 : "kernel"                                               
0x00250000-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                           
hub 1-0:1.0: USB hub found                                                     
hub 1-0:1.0: 2 ports detected                                                 
Initializing USB Mass Storage driver...                                       
usbcore: registered new driver usb-storage                                     
USB Mass Storage support registered.                                           
usbcore: registered new driver usbhid                                         
drivers/usb/input/hid-core.c: v2.01:USB HID core driver                       
usbcore: registered new driver ov511                                           
drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver       
usbcore: registered new driver gspca                                           
drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registered         
mice: PS/2 mouse device common for all mice                                   
ts: Compaq touchscreen protocol output                                         
s3c2410 TouchScreen successfully loaded                                       
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-sdi s3c2410-sdi: powered down.                                         
s3c2410-sdi s3c2410-sdi: initialisation done.                                 
SBC2440 SOUND driver register                                                 
s3c2410-sdi s3c2410-sdi: running at 0kHz (requested: 0kHz).                   
SBC2440 SOUND driver probe!                                                   
SBC2440 UDA1341 audio driver initialized                                       
NET: Registered protocol family 2                                             
s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).               
s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).               
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card                               
s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).               
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card                               
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card                               
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card                               
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card                               
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card                               
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card                               
s3c2410-sdi s3c2410-sdi: powered down.                                         
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                 
TCP established hash table entries: 4096 (order: 3, 32768 bytes)               
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                     
TCP: Hash tables configured (established 4096 bind 4096)                       
TCP reno registered                                                           
TCP bic registered                                                             
NET: Registered protocol family 1                                             
NET: Registered protocol family 17                                             
enable_irq(51) unbalanced from c0173b50                                       
IP-Config: Complete:                                                           
      device=eth0, addr=192.168.1.70, mask=255.255.255.0, gw=192.168.1.106,   
    host=mini2440, domain=, nis-domain=arm9.net,                             
    bootserver=192.168.1.106, rootserver=192.168.1.106, rootpath=             
Looking up port of RPC 100003/2 on 192.168.1.106                               
portmap: server 192.168.1.106 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.106                               
portmap: server 192.168.1.106 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
_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                                   
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) 

我不知道问题出在哪里,还请各位高手指教,跪谢!!!
坚持到底
级别: 新手上路
UID: 17
精华: 0
发帖: 18
金钱: 155 两
威望: 31 点
综合积分: 36 分
注册时间: 2008-01-08
最后登录: 2012-05-20
1楼  发表于: 2008-10-18 09:34
在线等答案
坚持到底
级别: 新手上路
UID: 1790
精华: 0
发帖: 33
金钱: 350 两
威望: 222 点
综合积分: 66 分
注册时间: 2008-09-28
最后登录: 2015-08-07
2楼  发表于: 2008-10-18 18:32
你的NFS没设置好。
portmap: server 192.168.1.106 not responding, timed out 
你主机的IP和/etc/exports 设置好了嘛?
级别: 新手上路
UID: 17
精华: 0
发帖: 18
金钱: 155 两
威望: 31 点
综合积分: 36 分
注册时间: 2008-01-08
最后登录: 2012-05-20
3楼  发表于: 2008-10-18 20:10
我用的是动态IP,log如下:
[root@localhost /]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1A:4B:5A:27:A1 
          inet addr:192.168.1.106  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:4bff:fe5a:27a1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1539 errors:0 dropped:0 overruns:0 frame:0
          TX packets:764 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1118588 (1.0 MiB)  TX bytes:83594 (81.6 KiB)
          Interrupt:16

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4940 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4940 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:249056 (243.2 KiB)  TX bytes:249056 (243.2 KiB)

/etc/exports 也是配置好了的

/opt/FriendlyARM/mini2440/root_nfs *(rw,sync,no_root_squash)

所以我想我的参数应该没问题的吧
Supervivi> param set linux_cmd_line "console=ttySAC0 root=/dev/nfs           
          nfsroot=192.168.1.106:/opt/FriendlyARM/mini2440/root_nfs           
          ip=192.168.1.70:192.168.1.106:192.168.1.106:255.255.255.0:mini2440.arm
9.net:eth0:off"
坚持到底
级别: 新手上路
UID: 17
精华: 0
发帖: 18
金钱: 155 两
威望: 31 点
综合积分: 36 分
注册时间: 2008-01-08
最后登录: 2012-05-20
4楼  发表于: 2008-10-19 10:06
问题已经解决 : )
坚持到底
级别: 新手上路
UID: 2172
精华: 0
发帖: 6
金钱: 40 两
威望: 15 点
综合积分: 12 分
注册时间: 2008-10-30
最后登录: 2017-09-13
5楼  发表于: 2008-11-01 09:47
怎么解决的
级别: 新手上路
UID: 2161
精华: 0
发帖: 3
金钱: 30 两
威望: 3 点
综合积分: 6 分
注册时间: 2008-10-29
最后登录: 2008-11-19
6楼  发表于: 2008-11-02 00:15
我也是的,怎么解决的
级别: 新手上路
UID: 2161
精华: 0
发帖: 3
金钱: 30 两
威望: 3 点
综合积分: 6 分
注册时间: 2008-10-29
最后登录: 2008-11-19
7楼  发表于: 2008-11-02 00:28
我也是的,怎么解决的
级别: 新手上路
UID: 2161
精华: 0
发帖: 3
金钱: 30 两
威望: 3 点
综合积分: 6 分
注册时间: 2008-10-29
最后登录: 2008-11-19
8楼  发表于: 2008-11-02 01:45
已解决,呵呵
级别: 新手上路
UID: 2369
精华: 0
发帖: 8
金钱: 65 两
威望: 21 点
综合积分: 16 分
注册时间: 2008-11-13
最后登录: 2010-04-29
9楼  发表于: 2008-12-28 09:32
怎样解决的?我也是这个问题,楼主!!!
学无止境
  • «
  • 1
  • 2
  • 3
  • »
  • Pages: 1/3     Go