免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2647 | 回复: 2
打印 上一主题 下一主题

[桌面系统] NFS挂载文件系统nfs: server not responding, still tryin小文件可以大文件不行 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-20 21:02 |只看该作者 |倒序浏览
本帖最后由 zhenqi2008 于 2014-07-20 21:06 编辑

1、控制台输出信息
IP-Config: Complete:
     device=eth0, addr=192.168.0.104, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.104, domain=, nis-domain=(none),
     bootserver=192.168.0.107, rootserver=192.168.0.107, rootpath=
Root-NFS: TCP
Root-NFS: Mounting /home/radionfs on server 192.168.0.107 as root
Root-NFS:     rsize = 1024, wsize = 1024, timeo = 0, retrans = 0
Root-NFS:     acreg (min,max) = (3,60), acdir (min,max) = (30,60)
Root-NFS:     nfsd port = -1, mountd port = 0, flags = 000002c0
Root-NFS: ZZQ NFS_MOUNT_VER3
Looking up port of RPC 100003/3 on 192.168.0.107
eth0: link up (100/Full)
Root-NFS: Portmapper on server returned 2049 as nfsd port
Looking up port of RPC 100005/3 on 192.168.0.107
Root-NFS: mountd port is 39392
Root-NFS: zzq1
Root-NFS: zzq2
Root-NFS: zzq3
Root-NFS: zzq4
Root-NFS: zzq5
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 128K


2、wireshark抓包信息




3、客户端设置:
ipaddr=192.168.0.104
bootcmd=tftp 72000000 uImage ;bootm 0x72000000
serverip=192.168.0.107
bootargs=mem=64M console=ttyS0 115200 root=/dev/nfs rw nfsroot=192.168.0.107:/home/radionfs,rsize=1024,wsize=1024,nfsvers=3,proto=tcp
ip=192.168.0.104:192.168.0.107:192.168.0.1:255.255.255.0::eth0:0ff


请教:  NFS挂载失败的原因?我使用的fedora10,   内核文件使用为:linux-2.6.30
是否是因为NFS服务器发送的数据包大小过大,导致客户端无法接收?
那么怎样将NFS服务器设置为客户端需要的数据包大小?

论坛徽章:
0
2 [报告]
发表于 2014-07-20 21:04 |只看该作者
本帖最后由 zhenqi2008 于 2014-07-20 21:05 编辑

-- AT91bootstrap Project 3.0 --
-- AT91SAM9G45-EK
-- Compiled: Apr 26 2010 17:59:29 --
-I- Setting: MCK = 133MHz
-I- Init DDRAM
-I- Init NAND Flash
-I- Nandflash ID is 0x1580A1EC
-I- Nandflash driver initialized
-I- Size of the whole device in bytes : 0x8000000
-I- Size in bytes of one single block of a device : 0x20000
-I- Number of blocks in the entire device : 0x400
-I- Size of the data area of a page in bytes : 0x800
-I- Number of pages in the entire device : 0x40
-I- Bus width : 8
-I- Copy "" (196608 bytes) from NAND 0x00020000 to 0x73f00000
-I- Jump to 0x73f00000


U-Boot 1.3.4 (Jul  6 2014 - 02:53:32)

DRAM:  64 MB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x4de1)
Hit any key to stop autoboot:  0
macb0: link up, 100Mbps full-duplex (lpa: 0x4de1)
Using macb0 device
TFTP from server 192.168.0.107; our IP address is 192.168.0.104
Filename 'uImage'.
Load address: 0x72000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################
done
Bytes transferred = 1781108 (1b2d74 hex)
## Booting kernel from Legacy Image at 72000000 ...
   Image Name:   Linux-2.6.30
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1781044 Bytes =  1.7 MB
   Load Address: 70008000
   Entry Point:  70008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
................................................... done, booting the kernel.
Linux version 2.6.30 (root@localhost) (gcc version 4.4.1 (Sourcery G++ Lite 2009
q3-67) ) #26 Sun Jul 20 04:29:19 EDT 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9G45-EKES
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyS0 115200 root=/dev/nfs rw nfsroot=192.1
68.0.107:/home/radionfs,nfsvers=3,proto=tcp ip=192.168.0.104:192.168.0.107:192.1
68.0.1:255.255.255.0::eth0ff
NR_IRQS:192
AT91: 160 gpio irqs in 5 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttyS0] 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: 61316KB available (3080K code, 247K data, 128K init, 0K highmem)
Calibrating delay loop... 199.47 BogoMIPS (lpj=997376)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 296 bytes
NET: Registered protocol family 16
atmel_tcb: probe of atmel_tcb.0 failed with error -22
bio: create slab <bio-0> at 0
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 204
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
yaffs Jul 19 2014 22:01:52 Installing.
msgmni has been set to 119
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
ZYF ADD:
xres=480,yres=272,bits=16
fb size:255kb
atmel_lcdfb atmel_lcdfb.0: 255KiB frame buffer at 73980000 (mapped at ffa00000)
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00500000 (mapped at c4858000), i
rq 23
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfff90000 (irq = is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
Driver 'sd' needs updating - please use bus_type methods
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffbc000 irq 25 (00:22:33:11:44:55)
eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=ffffffff:00, irq=-
1)
NAND device: Manufacturer ID: 0xec, Chip ID: 0xa1 (Samsung NAND 128MiB 1,8V 8-bi
t)
AT91 NAND: 8-bit, Software ECC
Scanning device for bad blocks
Creating 2 MTD partitions on "atmel_nand":
0x000000000000-0x000001000000 : "artition 1"
0x000001000000-0x000008000000 : "artition 2"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffa4000 (irq 14)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
atmel-ehci atmel-ehci: Atmel EHCI UHP HS
atmel-ehci atmel-ehci: new USB bus registered, assigned bus number 1
atmel-ehci atmel-ehci: irq 22, io mem 0x00800000
atmel-ehci atmel-ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Atmel EHCI UHP HS
usb usb1: Manufacturer: Linux 2.6.30 ehci_hcd
usb usb1: SerialNumber: atmel-ehci
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 2
at91_ohci at91_ohci: irq 22, io mem 0x00700000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: AT91 OHCI
usb usb2: Manufacturer: Linux 2.6.30 ohci_hcd
usb usb2: SerialNumber: at91
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
atmel_usba_udc atmel_usba_udc: MMIO registers at 0xfff78000 mapped at c485c000
atmel_usba_udc atmel_usba_udc: FIFO at 0x00600000 mapped at c4900000
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
atmel_tsadcc atmel_tsadcc: Master clock is set at: 133333333 Hz
atmel_tsadcc atmel_tsadcc: Prescaler is set at: 221
input: atmel touch screen controller as /class/input/input1
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQs
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
i2c-gpio i2c-gpio.0: using pins 52 (SDA) and 53 (SCL)
Registered led device: d8
Registered led device: d6
Registered led device: d7
at_hdmac at_hdmac: Atmel AHB DMA Controller ( cpy slave ), 8 channels
Advanced Linux Sound Architecture Driver Version 1.0.20.
chip id = ffffffff
AC'97 0 does not respond - RESET
AC'97 0 access is not valid [0xffffffff], removing mixer.
atmel_ac97c: probe of atmel_ac97c.0 failed with error -5
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
atmel_mci atmel_mci.0: Using dma0chan0 for DMA transfers
atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff80000 irq 11, 1 slots
atmel_mci atmel_mci.1: Using dma0chan1 for DMA transfers
atmel_mci atmel_mci.1: Atmel MCI controller at 0xfffd0000 irq 29, 1 slots
IP-Config: Complete:
     device=eth0, addr=192.168.0.104, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.104, domain=, nis-domain=(none),
     bootserver=192.168.0.107, rootserver=192.168.0.107, rootpath=
Root-NFS: TCP
Root-NFS: Mounting /home/radionfs on server 192.168.0.107 as root
Root-NFS:     rsize = 2048, wsize = 2048, timeo = 0, retrans = 0
Root-NFS:     acreg (min,max) = (3,60), acdir (min,max) = (30,60)
Root-NFS:     nfsd port = -1, mountd port = 0, flags = 000002c0
Root-NFS: ZZQ NFS_MOUNT_VER3
Looking up port of RPC 100003/3 on 192.168.0.107
eth0: link up (100/Full)
Root-NFS: Portmapper on server returned 2049 as nfsd port
Looking up port of RPC 100005/3 on 192.168.0.107
Root-NFS: mountd port is 34503
Root-NFS: zzq1
Root-NFS: zzq2
Root-NFS: zzq3
Root-NFS: zzq4
Root-NFS: zzq5
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 128K
nfs: server 192.168.0.107 not responding, still trying
nfs: server 192.168.0.107 not responding, still trying
nfs: server 192.168.0.107 not responding, still trying
nfs: server 192.168.0.107 0k

论坛徽章:
0
3 [报告]
发表于 2014-07-21 19:18 |只看该作者
今晚准备用新版本linux2.6.38试试,路过的大侠给出出招呗。。。。。。。我已经把网上所有能试的方法都试了一遍,仍然是
nfs: server 192.168.0.107 not responding, still trying
nfs: server 192.168.0.107 not responding, still trying
nfs: server 192.168.0.107 not responding, still trying
nfs: server 192.168.0.107 0k
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP