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