当前位置: 技术问答>linux和unix
使用nfs挂载文件系统出错
来源: 互联网 发布时间:2016-07-24
本文导语: CST 2009 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci EVM ...
CST 2009
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.1.109 noinitrd rw ip=192.168.1.108 root=/dev/nfs nfsroot=192.168.1.108:/root/workdir/practise/filesys,nolock mem=64M
PID hash table entries: 512 (order: 9, 8192 bytes)
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: 62208KB available (2013K code, 446K data, 112K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
DaVinci I2C DEBUG: 07:21:03 Nov 30 2009
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 30000K size 1024 blocksize
TI DAVINCI EMAC: Invalid or No value of link speed specified, defaulting to auto speed & auto mode.
TI DaVinci EMAC: MAC address is 00:0e:99:02:51:52
TI DaVinci EMAC Linux version 3.0 - EMAC DDC version 0.5
TI DaVinci EMAC: Installed 1 instances.
i2c /dev entries driver
Linux video capture interface: v1.00
DM644x v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: no response (status = 0xa1), resetting drive
hda: no response (status = 0xa1)
hdb: no response (status = 0xa1), resetting drive
hdb: no response (status = 0xa1)
Palm Chip BK3710 IDE Register Fail
elevator: using anticipatory as default io scheduler
DaVinci NAND Controller rev. 2.1
NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB 1,8V 8-bit)
Scanning device for bad blocks
Bad eraseblock 897 at 0x00e04000
Bad eraseblock 1836 at 0x01cb0000
Bad eraseblock 2056 at 0x02020000
Bad eraseblock 2098 at 0x020c8000
Bad eraseblock 2133 at 0x02154000
Bad eraseblock 2183 at 0x0221c000
Bad eraseblock 2291 at 0x023cc000
Bad eraseblock 2301 at 0x023f4000
Bad eraseblock 2313 at 0x02424000
Bad eraseblock 2377 at 0x02524000
Bad eraseblock 2384 at 0x02540000
Bad eraseblock 2443 at 0x0262c000
Bad eraseblock 2477 at 0x026b4000
Bad eraseblock 2482 at 0x026c8000
Bad eraseblock 2512 at 0x02740000
Bad eraseblock 2516 at 0x02750000
Bad eraseblock 2632 at 0x02920000
Bad eraseblock 2682 at 0x029e8000
Bad eraseblock 2774 at 0x02b58000
Bad eraseblock 2781 at 0x02b74000
Bad eraseblock 2801 at 0x02bc4000
Bad eraseblock 2842 at 0x02c68000
Bad eraseblock 2853 at 0x02c94000
Bad eraseblock 3011 at 0x02f0c000
Bad eraseblock 3115 at 0x030ac000
Bad eraseblock 3127 at 0x030dc000
Bad eraseblock 3137 at 0x03104000
Bad eraseblock 3144 at 0x03120000
Bad eraseblock 3188 at 0x031d0000
Bad eraseblock 3194 at 0x031e8000
Bad eraseblock 3330 at 0x03408000
Bad eraseblock 3342 at 0x03438000
Bad eraseblock 3353 at 0x03464000
Bad eraseblock 3407 at 0x0353c000
Bad eraseblock 3501 at 0x036b4000
Bad eraseblock 3509 at 0x036d4000
Bad eraseblock 3536 at 0x03740000
Bad eraseblock 3551 at 0x0377c000
Bad eraseblock 3565 at 0x037b4000
Bad eraseblock 3573 at 0x037d4000
Bad eraseblock 3608 at 0x03860000
Bad eraseblock 3675 at 0x0396c000
Bad eraseblock 3687 at 0x0399c000
Bad eraseblock 3794 at 0x03b48000
Bad eraseblock 3833 at 0x03be4000
Bad eraseblock 3834 at 0x03be8000
Bad eraseblock 3835 at 0x03bec000
Bad eraseblock 3842 at 0x03c08000
Bad eraseblock 3901 at 0x03cf4000
Bad eraseblock 3967 at 0x03dfc000
Bad eraseblock 3994 at 0x03e68000
Bad eraseblock 4078 at 0x03fb8000
Creating 4 MTD partitions on "NAND 64MiB 1,8V 8-bit":
0x00000000-0x00100000 : "Flash partition 0"
0x00100000-0x00300000 : "Flash partition 1"
0x00300000-0x00800000 : "Flash partition 2"
0x00800000-0x04000000 : "Flash partition 3"
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.108, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.108, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.1.108, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.108
RPC: sendmsg returned error 22
portmap: RPC call returned error 22
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.108
RPC: sendmsg returned error 22
portmap: RPC call returned error 22
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 22
mount: RPC call returned error 22
Root-NFS: Server returned error -22 while mounting /root/workdir/practise/filesys
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)
这是启动板上的数据
error 22这个错误我是第一次见 这是?
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.1.109 noinitrd rw ip=192.168.1.108 root=/dev/nfs nfsroot=192.168.1.108:/root/workdir/practise/filesys,nolock mem=64M
PID hash table entries: 512 (order: 9, 8192 bytes)
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: 62208KB available (2013K code, 446K data, 112K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
DaVinci I2C DEBUG: 07:21:03 Nov 30 2009
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 30000K size 1024 blocksize
TI DAVINCI EMAC: Invalid or No value of link speed specified, defaulting to auto speed & auto mode.
TI DaVinci EMAC: MAC address is 00:0e:99:02:51:52
TI DaVinci EMAC Linux version 3.0 - EMAC DDC version 0.5
TI DaVinci EMAC: Installed 1 instances.
i2c /dev entries driver
Linux video capture interface: v1.00
DM644x v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: no response (status = 0xa1), resetting drive
hda: no response (status = 0xa1)
hdb: no response (status = 0xa1), resetting drive
hdb: no response (status = 0xa1)
Palm Chip BK3710 IDE Register Fail
elevator: using anticipatory as default io scheduler
DaVinci NAND Controller rev. 2.1
NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB 1,8V 8-bit)
Scanning device for bad blocks
Bad eraseblock 897 at 0x00e04000
Bad eraseblock 1836 at 0x01cb0000
Bad eraseblock 2056 at 0x02020000
Bad eraseblock 2098 at 0x020c8000
Bad eraseblock 2133 at 0x02154000
Bad eraseblock 2183 at 0x0221c000
Bad eraseblock 2291 at 0x023cc000
Bad eraseblock 2301 at 0x023f4000
Bad eraseblock 2313 at 0x02424000
Bad eraseblock 2377 at 0x02524000
Bad eraseblock 2384 at 0x02540000
Bad eraseblock 2443 at 0x0262c000
Bad eraseblock 2477 at 0x026b4000
Bad eraseblock 2482 at 0x026c8000
Bad eraseblock 2512 at 0x02740000
Bad eraseblock 2516 at 0x02750000
Bad eraseblock 2632 at 0x02920000
Bad eraseblock 2682 at 0x029e8000
Bad eraseblock 2774 at 0x02b58000
Bad eraseblock 2781 at 0x02b74000
Bad eraseblock 2801 at 0x02bc4000
Bad eraseblock 2842 at 0x02c68000
Bad eraseblock 2853 at 0x02c94000
Bad eraseblock 3011 at 0x02f0c000
Bad eraseblock 3115 at 0x030ac000
Bad eraseblock 3127 at 0x030dc000
Bad eraseblock 3137 at 0x03104000
Bad eraseblock 3144 at 0x03120000
Bad eraseblock 3188 at 0x031d0000
Bad eraseblock 3194 at 0x031e8000
Bad eraseblock 3330 at 0x03408000
Bad eraseblock 3342 at 0x03438000
Bad eraseblock 3353 at 0x03464000
Bad eraseblock 3407 at 0x0353c000
Bad eraseblock 3501 at 0x036b4000
Bad eraseblock 3509 at 0x036d4000
Bad eraseblock 3536 at 0x03740000
Bad eraseblock 3551 at 0x0377c000
Bad eraseblock 3565 at 0x037b4000
Bad eraseblock 3573 at 0x037d4000
Bad eraseblock 3608 at 0x03860000
Bad eraseblock 3675 at 0x0396c000
Bad eraseblock 3687 at 0x0399c000
Bad eraseblock 3794 at 0x03b48000
Bad eraseblock 3833 at 0x03be4000
Bad eraseblock 3834 at 0x03be8000
Bad eraseblock 3835 at 0x03bec000
Bad eraseblock 3842 at 0x03c08000
Bad eraseblock 3901 at 0x03cf4000
Bad eraseblock 3967 at 0x03dfc000
Bad eraseblock 3994 at 0x03e68000
Bad eraseblock 4078 at 0x03fb8000
Creating 4 MTD partitions on "NAND 64MiB 1,8V 8-bit":
0x00000000-0x00100000 : "Flash partition 0"
0x00100000-0x00300000 : "Flash partition 1"
0x00300000-0x00800000 : "Flash partition 2"
0x00800000-0x04000000 : "Flash partition 3"
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.108, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.108, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.1.108, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.108
RPC: sendmsg returned error 22
portmap: RPC call returned error 22
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.108
RPC: sendmsg returned error 22
portmap: RPC call returned error 22
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 22
mount: RPC call returned error 22
Root-NFS: Server returned error -22 while mounting /root/workdir/practise/filesys
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)
这是启动板上的数据
error 22这个错误我是第一次见 这是?
|
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
从这行看是,可能网络通讯有问题,或者你的root file system不在这个目录内。
从这行看是,可能网络通讯有问题,或者你的root file system不在这个目录内。
|
呵呵 Please append a correct "root=" boot option 这句都讲了