[mpls-linux-devel] IA64, unaligned access in mpls command
Status: Beta
Brought to you by:
jleu
From: David M. <dav...@bu...> - 2007-06-04 08:42:14
|
Hello list, 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. 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=0x40000000000035c1* (0 bytes, 0 pkts) 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); } 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. Is there someone who already ran this patch on ia64 or someone who can help me on this problem ? Thank you. Regards, -- David Marchand Bull, Architect of an Open World TM e-mail : dav...@bu... phone : +33 (0)1 30 80 36 79 http://www.bull.com/telco/ |