Re: [mpls-linux-devel] IA64, unaligned access in mpls command
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2007-06-04 13:31:11
|
Hello, As far as I know, you are the first person to try mpls-linux on a 64 bit machine. I do not have a 64 bit environment to test on, without access to a 64 bit environment, all I can do it suggest things to try. I will look to see how other 64 bit counters are handled in iproute2 and see if I can come up with a suggested change for you. On Mon, Jun 04, 2007 at 10:42:00AM +0200, David Marchand wrote: > Hello list, >=20 > I am currently testing mpls-linux-1.955 on a Bull NovaScale 3045 server > with one Itanium2 processor running Redhat AS5 (ia64). > I have recompiled kernel, iptables and iproute2 using source rpms from > redhat and the mpls-linux patches. >=20 > The box is running fine with the mpls module inserted but I have a > message I am interpreting as a warning when running commands like : > # mpls nhlfe add key 0 instructions nexthop eth0:2 ipv4 192.168.0.1 > NHLFE entry key 0x0000002d mtu 0 propagate_ttl > *mpls(30410): unaligned access to 0x60000fffff476e44, ip=3D0x400000000000= 35c1* > (0 bytes, 0 pkts) >=20 > I have identified this ip to print_mpls_stats function in iproute2 > mpls.c file : > void print_mpls_stats(FILE *fp, struct gnet_stats_basic *st) > { > fprintf(fp, " (%llu bytes, %u pkts)", > (unsigned long long)st->bytes, st->packets); > } >=20 > I think this format and cast are not really appropriate. > I tried using PRIu64 as format and removing the (unsigned long long) > cast. Compilation is ok but at runtime, the "unaligned access" message > won't go away. > So the real problem is something else. >=20 > Is there someone who already ran this patch on ia64 or someone who can > help me on this problem ? >=20 > Thank you. >=20 >=20 > Regards, >=20 > --=20 > David Marchand >=20 > Bull, Architect of an Open World TM > e-mail : dav...@bu... > phone : +33 (0)1 30 80 36 79 > http://www.bull.com/telco/ >=20 >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel --=20 James R. Leu jl...@mi... |