[ixp1200] chapter 8 ethernet header problem

nitin makhija makhija_nitin at rediffmail.com
Mon Nov 8 00:31:46 EST 2004


Hellow,
i'm not even able to debug the chapter 8 example, its giving error regarding hash unit.......so can anyone send me the files for example code of chapter 8....debug results are as follows::::

........................................................
D:\Study\Project_IXP\test_nitin\Chapter08\bridging-latency.c(158): error :  intrinsic data buffer "hashInput_103$1$0" cannot be read
 : 
 : bridging-latency.c
 : buffer.c
 : receive.c
 : Reading debug file D:\Study\Project_IXP\test_nitin\Chapter08\bridging-latency.dbg
 : Reading debug file D:\Study\Project_IXP\test_nitin\Chapter08\buffer.dbg
 : Reading debug file D:\Study\Project_IXP\test_nitin\Chapter08\receive.dbg
Compiling for receive-bridge-enqueue-me1.list...
 : Intel(r) Microengine C Compiler, Version 2.01 (2002/01/14 15:08:38)
 : Copyright (C) 1985-2001 Intel Corporation.  All rights reserved.
 : 
 : IPO: using IR in D:\Study\Project_IXP\test_nitin\Chapter08\bridging-latency.obj
 : IPO: using IR in D:\Study\Project_IXP\test_nitin\Chapter08\buffer.obj
 : IPO: using IR in D:\Study\Project_IXP\test_nitin\Chapter08\receive.obj
 : IPO: performing multi-file optimizations
D:\Study\Project_IXP\test_nitin\Chapter08\bridging-latency.c(158): error :  intrinsic data buffer "hashInput_103$1$0" cannot be read
 : 
 : bridging-latency.c
 : buffer.c
 : receive.c
 : Reading debug file D:\Study\Project_IXP\test_nitin\Chapter08\bridging-latency.dbg
 : Reading debug file D:\Study\Project_IXP\test_nitin\Chapter08\buffer.dbg
 : Reading debug file D:\Study\Project_IXP\test_nitin\Chapter08\receive.dbg

Build results: (2) errors, (0) warnings     [press F4 to select errors/warnings]
.........................................................................................................................................  

and when i tried this code while removing hash unit functions......then i'm getting a buffer overflow error.......
do reply soon if anyone knows?????

Thaxs in advance..
Regards,
Nitin


On Sat, 06 Nov 2004 Shweta Rao wrote :
>Hi,
>I was running the chapter 8 example on develper's workbench in simulation mode.
>The packet with ethernet addresses 'cafebabe' and 'deadbeef' arrives
>in sdram correctly but when the structure headerData in datawatch
>shows the first word of the quadword '0000cafe' repeated over and over
>again . it does not show the correct ethernet addresses.Can anyone
>tell me what is the problem?
>
>thanks,
>shweta
>_______________________________________________
>ixp1200 mailing list
>ixp1200 at lists.cs.princeton.edu
>https://lists.cs.princeton.edu/mailman/listinfo/ixp1200


More information about the ixp1200 mailing list