<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Dear Robert and all friends,<BR>
&nbsp;<BR>
A little more progress on my problem. I just found that if I disable the hardware check-sum offloading options, the root file system could be mounted then. In combination with the previous information of "UDP bad checksum" I mentioned, it seems that you are absolutely right! The problem is on the hardware checksum logic!<BR>
&nbsp;<BR>
For this problem, maybe it will be better if xilinx could solve it. I am not pretty sure if we can rely on a stricter timing constraint. After all, we are not the original designer of the LL_TEMAC control logic. <BR>
&nbsp;<BR>
Any other idea or suggestion? Thanks in advance.<BR>
&nbsp;<BR>
BR<BR>
Ming<BR>
<BR><BR>&gt; Subject: RE: xilinx Ml405 NFS mount problem<BR>&gt; From: rwoodworth@securics.com<BR>&gt; To: eemingliu@hotmail.com<BR>&gt; CC: john.linn@xilinx.com; linuxppc-embedded@ozlabs.org<BR>&gt; Date: Tue, 1 Apr 2008 10:50:18 -0600<BR>&gt; <BR>&gt; I think you may be suffering from the latest LL_TEMAC packet loss<BR>&gt; problem. (NFS/UDP really does not like packet loss)<BR>&gt; <BR>&gt; <BR>&gt; Let me guess. <BR>&gt; You are using a base system from "Base System Builder Wizard"?<BR>&gt; EDK 9.2i. Default syntheses/P&amp;R options.<BR>&gt; <BR>&gt; I have seen a massive packet loss problems on my ML403 and two other<BR>&gt; boards I have with an FX60.<BR>&gt; <BR>&gt; This is probably a hardware problem.<BR>&gt; Xilinx has acknowledged an LL_TEMAC problem to me but has not provided a<BR>&gt; fix. I have heard that things are better with EDK/ISE-10.1 but I have<BR>&gt; not tested it.<BR>&gt; <BR>&gt; <BR>&gt; The vendor of one of my boards (Pico) has fixed the problem on the FX60<BR>&gt; by highly constraining the timing of the LL_TEMAC in map/PR. On my<BR>&gt; ML403 I used similar constraints and it fixed the problem, but only if<BR>&gt; the device is plugged into a GigE switch. The problem is still there<BR>&gt; with the same .bit file on a 100-T switch. <BR>&gt; <BR>&gt; <BR>&gt; Are you on a GigE switch?<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Rob.<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; On Tue, 2008-04-01 at 16:15 +0000, MingLiu wrote:<BR>&gt; &gt; Dear John,<BR>&gt; &gt; <BR>&gt; &gt; Thank you for your replying. <BR>&gt; &gt; <BR>&gt; &gt; &gt;It’s not obvious to me what the problem is as I don’t see any driver<BR>&gt; &gt; failures. Have you &gt;tried using a ramdisk and then seeing if the<BR>&gt; &gt; network is working before using NFS root? <BR>&gt; &gt; <BR>&gt; &gt; Not yet. I will try it soon. However from the information on the<BR>&gt; &gt; LL_TEMAC, it seems everything is fine and it should work. <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; &gt;And I’m assuming you have used the NFS root before so you know that<BR>&gt; &gt; it’s good for sure.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; &gt;I test on the ML405 with NFS root and haven’t seen this problem, but<BR>&gt; &gt; my setup is a little different. I use DHCP rather than &gt;a static IP,<BR>&gt; &gt; but other than that it’s similar.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; Yes. I used NFS before. I can make sure my NFS server works well. Also<BR>&gt; &gt; in principle, static IP should get a same result as DHCP, I think. <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; &gt;How long has it been since you pulled from the Xilinx Git tree?<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; I just pulled the Xilinx tree quite recently. I am using a latest<BR>&gt; &gt; kernel.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; BR <BR>&gt; &gt; <BR>&gt; &gt; Ming<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; And I’m assuming you have used the NFS root before so you know<BR>&gt; &gt; that it’s good for sure.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; I test on the ML405 with NFS root and haven’t seen this<BR>&gt; &gt; problem, but my setup is a little different. I use DHCP<BR>&gt; &gt; rather than a static IP, but other than that it’s similar.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; I’m assuming that you accidentally got 2 different powerup<BR>&gt; &gt; outputs in the message below as the 1st stops and a 2nd starts<BR>&gt; &gt; in the middle.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; How long has it been since you pulled from the Xilinx Git<BR>&gt; &gt; tree?<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; Thanks,<BR>&gt; &gt; <BR>&gt; &gt; John<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ______________________________________________________________<BR>&gt; &gt; From: linuxppc-embedded-bounces<BR>&gt; &gt; +john.linn=xilinx.com@ozlabs.org<BR>&gt; &gt; [mailto:linuxppc-embedded-bounces<BR>&gt; &gt; +john.linn=xilinx.com@ozlabs.org] On Behalf Of MingLiu<BR>&gt; &gt; Sent: Tuesday, April 01, 2008 8:12 AM<BR>&gt; &gt; To: linuxppc-embedded@ozlabs.org<BR>&gt; &gt; Subject: xilinx Ml405 NFS mount problem<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; Dear friends,<BR>&gt; &gt; <BR>&gt; &gt; I am bringing up my kernel from Xilinx git tree. Unfortunately I met some<BR>&gt; &gt; problem when mounting the root file system. Here is the information<BR>&gt; &gt; listed. I will appreciate a lot if someone can help me out of the trouble. <BR>&gt; &gt; Thanks a lot!<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; loaded at: 00400000 0059F19C<BR>&gt; &gt; board data at: 0059D120 0059D19C<BR>&gt; &gt; relocated to: 004050C8 00405144<BR>&gt; &gt; zimage at: 00405F3F 0059C025<BR>&gt; &gt; avail ram: 005A0000 08000000<BR>&gt; &gt; <BR>&gt; &gt; Linux/PPC load: root=/dev/nfs<BR>&gt; &gt; ip=192.168.0.4:192.168.0.3:192.168.0.3:255.255.255.0 rw<BR>&gt; &gt; nfsroot=192.168.0.3:/home/mingliu/ml403_rootfs console=ttyUL0,38400<BR>&gt; &gt; mem=32M<BR>&gt; &gt; Uncompressing Linux...done.<BR>&gt; &gt; Now booting the kernel<BR>&gt; &gt; Linux version 2.6.24-rc8-xlnx-g1db182b8-dirty (mingliu@cca01) (gcc version<BR>&gt; &gt; 3.4.1) #7 Tue Apr 1 14:55:25 CEST 2008<BR>&gt; &gt; Xilinx Generic PowerPC board support package (Xilinx ML405) (Virtex-4 FX)<BR>&gt; &gt; Zone PFN ranges:<BR>&gt; &gt; DMA 0 -&gt; 8192<BR>&gt; &gt; <BR>&gt; &gt; Normal 8192 -&gt; 8192<BR>&gt; &gt; <BR>&gt; &gt; HighMem 8192 -&gt; 8192<BR>&gt; &gt; Movable zone start PFN for each node<BR>&gt; &gt; early_node_map[1] active PFN ranges<BR>&gt; &gt; 0: 0 -&gt; 8192<BR>&gt; &gt; Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128<BR>&gt; &gt; Kernel command line: root=/de v/nfs<BR>&gt; &gt; ip=192.168.0.4:192.168.0.3:192.168.0.3:255.255.255.0 rw<BR>&gt; &gt; nfsroot=192.168.0.3:/home/mingliu/ml403_rootfs console=ttyUL0,38400<BR>&gt; &gt; mem=32M<BR>&gt; &gt; Xilinx INTC #0 at 0x81800000 mapped to 0xFDFFF000<BR>&gt; &gt; PID hash table entries: 128 (order: 7, 512 bytes)<BR>&gt; &gt; Console: colour dummy device 80x25<BR>&gt; &gt; Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)<BR>&gt; &gt; Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)<BR>&gt; &gt; Memory: 28884k available (2552k kernel code, 944k data, 84k init, 0k highmem)<BR>&gt; &gt; SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1<BR>&gt; &gt; Mount-cache hash table entries: 512<BR>&gt; &gt; net_namespace: 64 bytes<BR>&gt; &gt; NET: Registered protocol family 16<BR>&gt; &gt; Registering device uartlite:0<BR>&gt; &gt; Fixup MAC address for xilinx_lltemac:0<BR>&gt; &gt; Regis tering device xilinx_lltemac:0<BR>&gt; &gt; NET: Registered protocol family 2<BR>&gt; &gt; IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<BR>&gt; &gt; TCP established hash table entries: 1024 (order: 1, 8192 bytes)<BR>&gt; &gt; TCP bind hash table entries: 1024 (order: 0, 4096 bytes)<BR>&gt; &gt; TCP: Hash tables configured (established 1024 bind 1024)<BR>&gt; &gt; TCP reno registered<BR>&gt; &gt; sysctl table check failed: /kernel/l2cr .1.31 Missing strategy<BR>&gt; &gt; Call Trace:<BR>&gt; &gt; [c1c0fe50] [c0008b70] show_stack+0x40/0x194 (unreliable)<BR>&gt; &gt; [c1c0fe90] [c003aed4] set_fail+0x68/0x80<BR>&gt; &gt; [c1c0feb0] [c003b4ec] sysctl_check_table+0x600/0x77c<BR>&gt; &gt; [c1c0fef0] [c003b4d4] sysctl_check_table+0x5e8/0x77c<BR>&gt; &gt; [c1c0ff30] [c002605c] register_sysctl_table+0x64/0xb4<BR>&gt; &gt; [c1c0ff50] [c034579c] register_ppc_htab_sysctl+0x18/0x2c<BR>&gt; &gt; [c1c0ff60] [c034482c] kernel_init+0x94/0x2bc<BR>&gt; &gt; [c1c0fff0] [c0004d58] kernel_thread+0x44/0x60<BR>&gt; &gt; Installing knfsd (copyright (C) 1996 okir@monad.swb.de).<BR>&gt; &gt; fuse init (API version 7.9)<BR>&gt; &gt; io scheduler noop registered<BR>&gt; &gt; io scheduler anticipatory registered<BR>&gt; &gt; io scheduler deadline registered<BR>&gt; &gt; io scheduler cfq registered (default)<BR>&gt; &gt; uartlite.0: ttyUL0 at MM IO 0x84000003 (irq = 3) is a uartlite<BR>&gt; &gt; console [ttyUL0] enabled<BR>&gt; &gt; loop: module loaded<BR>&gt; &gt; nbd: registered device at major 43<BR>&gt; &gt; xilinx_lltemac xilinx_lltemac.0: MAC address is now 0: a:35: 1: 2: 3<BR>&gt; &gt; xilinx_lltemac xilinx_lltemac.0: XLlTemac: using DMA mode.<BR>&gt; &gt; XLlTemac: Dma base address: phy: 0x84600100, virt: 0xc3008100<BR>&gt; &gt; XLlTemac: buffer descriptor size: 32768 (0x8000)<BR>&gt; &gt; XLlTemac: Allocating DMA descriptors with kmalloc&lt;6&gt;XLlTemac:<BR>&gt; &gt; (buffer_descriptor_init) phy: 0x1d18000, virt: 0xc1d18000, size: 0x8000<BR>&gt; &gt; XTemac: PHY detected at address 7.<BR>&gt; &gt; xilinx_lltemac xilinx_lltemac.0: eth0: Xilinx TEMAC at 0x81C00000 mapped<BR>&gt; &gt; to 0xC3004000, irq=2<BR>&gt; &gt; console [netcon0] enabled<BR>&gt; &gt; Linux version 2.6.24-rc8-xlnx-g1db182b8-dirty (mingliu@cca01) (gcc version<BR>&gt; &gt; 3.4.1) #7 Tue Apr 1 14:55:25 CEST 2008<BR>&gt; &gt; <BR>&gt; &gt; Xilinx Generic PowerPC board support package (Xilinx ML405)<BR>&gt; &gt; (Virtex-4 FX)<BR>&gt; &gt; <BR>&gt; &gt; Zone PFN ranges:<BR>&gt; &gt; DMA 0 -&gt; 8192<BR>&gt; &gt; Normal 8192 -&gt; 8192<BR>&gt; &gt; HighMem 8192 -&gt; 8192<BR>&gt; &gt; Movable zone start PFN for each node<BR>&gt; &gt; early_node_map[1] active PFN range<BR>&gt; &gt; s<BR>&gt; &gt; 0: 0 -&gt; 8192<BR>&gt; &gt; Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128<BR>&gt; &gt; Kernel command line: root=/dev/nfs<BR>&gt; &gt; ip=192.168.0.4:192.168.0.3:192.168.0.3:255.255.255.0 rw<BR>&gt; &gt; nfsroot=192.168.0.3:/home/mingliu/ml403_rootfs console=ttyUL0,38400<BR>&gt; &gt; mem=32M<BR>&gt; &gt; Xilinx INTC #0 at 0x81800000 mapped to 0xFDFFF000<BR>&gt; &gt; PID hash table entries: 128 (order: 7, 512 bytes)<BR>&gt; &gt; Console: colour dummy device 80x25<BR>&gt; &gt; Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)<BR>&gt; &gt; Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)<BR>&gt; &gt; Memory: 28884k available (2552k kernel code, 944k data, 84k init, 0k highmem)<BR>&gt; &gt; SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1<BR>&gt; &gt; Mount-cache hash table entries: 512<BR>&gt; &gt; n<BR>&gt; &gt; et_namespace: 64 bytes<BR>&gt; &gt; NET: Registered protocol family 16<BR>&gt; &gt; Registering device uartlite:0<BR>&gt; &gt; Fixup MAC address for xilinx_lltemac:0<BR>&gt; &gt; Registering device xilinx_lltemac:0<BR>&gt; &gt; NET: Registered protocol family 2<BR>&gt; &gt; IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<BR>&gt; &gt; TCP established hash table entries: 1024 (order: 1, 8192 bytes)<BR>&gt; &gt; TCP bind hash table entries: 1024<BR>&gt; &gt; (order: 0, 4096 bytes)<BR>&gt; &gt; TCP: Hash tables configured (established 1024 bind 1024)<BR>&gt; &gt; TCP reno registered<BR>&gt; &gt; sysctl table check failed: /kernel/l2cr .1.31 Missing strategy<BR>&gt; &gt; Call Trace:<BR>&gt; &gt; [c1c0fe50] [c0008b70] show_stack+0x40/0x194 (unreliable)<BR>&gt; &gt; [c1c0fe90] [c003aed4] set_fail+0x68/0x80<BR>&gt; &gt; [c1c0feb0] [c003b4ec] sysctl_check_table+0x600/0x77c<BR>&gt; &gt; [c1c0fef0] [c003b4d4] sysctl_c<BR>&gt; &gt; heck_table+0x5e8/0x77c<BR>&gt; &gt; [c1c0ff30] [c002605c] register_sysctl_table+0x64/0xb4<BR>&gt; &gt; [c1c0ff50] [c034579c] register_ppc_htab_sysctl+0x18/0x2c<BR>&gt; &gt; [c1c0ff60] [c034482c] kernel_init+0x94/0x2bc<BR>&gt; &gt; [c1c0fff0] [c0004d58] kernel_thread+0x44/0x60<BR>&gt; &gt; Installing knfsd (copyright (C) 1996 okir@monad.swb.de).<BR>&gt; &gt; fuse init (API version 7.9)<BR>&gt; &gt; io scheduler noop registered&lt;<BR>&gt; &gt; /SPAN&gt;<BR>&gt; &gt; io scheduler anticipatory registered<BR>&gt; &gt; io scheduler deadline registered<BR>&gt; &gt; io scheduler cfq registered (default)<BR>&gt; &gt; uartlite.0: ttyUL0 at MMIO 0x84000003 (irq = 3) is a uartlite<BR>&gt; &gt; console [ttyUL0] enabled<BR>&gt; &gt; loop: module loaded<BR>&gt; &gt; nbd: registered device at major 43<BR>&gt; &gt; xilinx_lltemac xilinx_lltemac.0: MAC address is now 0: a:35: 1: 2: 3<BR>&gt; &gt; xilinx_lltemac xilinx_lltemac.0: XLlTemac: using DMA mode.<BR>&gt; &gt; XLlTemac: Dma base address: phy: 0x84600100, virt: 0xc3008100<BR>&gt; &gt; XLlTemac: buffer descriptor size: 32768 (0x8000)<BR>&gt; &gt; XLlTemac: Allocating DMA descriptors with kmalloc&lt;6&gt;XLlTemac:<BR>&gt; &gt; (buffer_descriptor_init) phy: 0x1d18000, virt: 0xc1d18000, size: 0x8000<BR>&gt; &gt; XTemac: PHY detected at address 7.<BR>&gt; &gt; xilinx_lltemac xilinx_lltemac.0: eth0: Xilinx TEMAC at 0x81C00000 mapped<BR>&gt; &gt; &lt;<BR>&gt; &gt; SPAN style="FONT-SIZE: 12pt"&gt;to 0xC3004000, irq=2<BR>&gt; &gt; console [netcon0] enabled<BR>&gt; &gt; netconsole: network logging started<BR>&gt; &gt; Generic platform RAM MTD, (c) 2004 Simtec Electronics<BR>&gt; &gt; mice: PS/2 mouse device common for all mice<BR>&gt; &gt; TCP cubic registered<BR>&gt; &gt; NET: Registered protocol family 1<BR>&gt; &gt; NET: Registered protocol family 17<BR>&gt; &gt; RPC: Registered udp transport module.<BR>&gt; &gt; RPC: Registered tcp transport module.<BR>&gt; &gt; eth0: XLlTemac: Options: 0x3fa<BR>&gt; &gt; eth0: XLlTemac: allocating interrupt 0 for dma mode tx.<BR>&gt; &gt; eth0: XLlTemac: allocating interrupt 1 for dma mode rx.<BR>&gt; &gt; eth0: XLlTemac: speed set to 1000Mb/s<BR>&gt; &gt; eth0: XLlTemac: Send Threshold = 24, Receive Threshold = 4<BR>&gt; &gt; eth0: XLlTemac: Send Wait bound = 254, Receive Wait bound = 254<BR>&gt; &gt; IP-Config: Complete:<BR>&gt; &gt; <BR>&gt; &gt; device=eth0, addr=192.168.0.4, mask=255.255.255.0, gw=192.168.0.3,<BR>&gt; &gt; host=192.168.0.4, domain=, nis-domain=(none),<BR>&gt; &gt; bootserver=192.168.0.3, rootserver=192.168.0.3, rootpath=<BR>&gt; &gt; Looking up port of RPC 100003/2 on 192.168.0.3<BR>&gt; &gt; rpcbind: server 192.168.0.3 not responding, timed out<BR>&gt; &gt; Root-NFS: Unable to get nfsd port number from server, using default<BR>&gt; &gt; Looking up port of RPC 10000<BR>&gt; &gt; 5/1 on 192.168.0.3<BR>&gt; &gt; rpcbind: server 192.168.0.3 not responding, timed out<BR>&gt; &gt; Root-NFS: Unable to get mountd port number from server, using default<BR>&gt; &gt; mount: server 192.168.0.3 not responding, timed out<BR>&gt; &gt; Root-NFS: Server returned error -5 while mounting /home/mingliu/ml403_rootfs<BR>&gt; &gt; VFS: Unable to mount root fs via NFS, trying floppy.<BR>&gt; &gt; VFS: Cannot open root device "nfs" or unknown-block(2,0)<BR>&gt; &gt; Please append a correct "root=" boot option; here are <BR>&gt; &gt; the available<BR>&gt; &gt; partitions:<BR>&gt; &gt; Kernel panic - not syncing: VFS: Unable to mount root fs on<BR>&gt; &gt; unknown-block(2,0)<BR>&gt; &gt; Rebooting in 180 seconds..<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; BR<BR>&gt; &gt; Ming<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ______________________________________________________________<BR>&gt; &gt; Windows Live Writer,支持离线撰写博客内容,随时随地想写就写。<BR>&gt; &gt; 立即使用!<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ______________________________________________________________________<BR>&gt; &gt; 使用新一代 Windows Live Messenger 轻松交流和共享! 立即体验! <BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Linuxppc-embedded mailing list<BR>&gt; &gt; Linuxppc-embedded@ozlabs.org<BR>&gt; &gt; https://ozlabs.org/mailman/listinfo/linuxppc-embedded<BR>&gt; <BR><BR><br /><hr />轻松把Hotmail下载到本地,试试 Windows Live Mail。 <a href='http://get.live.com/wl/all' target='_new'>立即尝试!</a></body>
</html>