Hi,

Your problem reminds me an issue reported by someone running mipl 2.0 on a 64-bit machine.

http://www.mobile-ipv6.org/pipermail/mipl/2006-February/006303.html

He had the same symptom on the daemon side and had the following kernel error message in dmesg:
"invalid netlink message attributes."

Do you get any kernel log (dmesg) associated with the daemon error?

Antti made a fix for his error, but I think the fix was included in 2.0.1. May be th error was in 2.0.1 and it is now fixed in 2.0.2.

Regards,
Benjamin




SZTANYIK Bence Tamas wrote:
Hi,

Replying to myself: the problem seems to be that I used an x86-64 CPU - but it compiled without any problems. So, it's a bug report aswell, I think.

Regards,
    Bence


SZTANYIK Bence Tamas wrote:
Hi,

I've got nearly the same problem. The daemon runs on the MN and the CN without problems but on the HA I get the following error/debug messages:

mip6d[8028]: MIPL Mobile IPv6 for Linux v2.0.1 started (Home Agent)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from termi
nal
conf_show: config_file = /usr/local/etc/mip6d.conf
conf_show: mip6_entity = 2
conf_show: debug_level = 10
conf_show: PolicyModulePath = [internal]
conf_show: DefaultBindingAclPolicy = 0
conf_show: NonVolatileBindingCache = disabled
conf_show: KeyMngMobCapability = disabled
conf_show: UseMnHaIPsec = disabled
conf_show: MnMaxHaBindingLife = 262140
conf_show: MnMaxCnBindingLife = 420
conf_show: MnRouterProbes = 0
conf_show: MnRouterProbeTimeout = 0.000000
conf_show: InitialBindackTimeoutFirstReg = 1.500000
conf_show: InitialBindackTimeoutReReg = 1.000000
conf_show: UseCnBuAck = disabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = disabled
conf_show: SendMobPfxSols = enabled
conf_show: SendMobPfxAdvs = enabled
conf_show: SendUnsolMobPfxAdvs = enabled
conf_show: MaxMobPfxAdvInterval = 86400
conf_show: MinMobPfxAdvInterval = 600
conf_show: HaMaxBindingLife = 262140
conf_show: DoRouteOptimizationCN = enabled
xfrm_cn_init: Adding policies and states for CN
Failed to add state:
nlmsg_flags 405
nlmsg_type 16
sel.daddr 0:0:0:0:0:0:0:0
sel.saddr 0:0:0:0:0:0:0:0
sel.dport 0
sel.dport_mask 0
sel.sport 0
sel.sport_mask 0
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 0
sel.ifindex 0
id.daddr 0:0:0:0:0:0:0:0
id.spi 0
id.proto 60
saddr 0:0:0:0:0:0:0:0
reqid 0
mode 2
flags 8
xfrma_addr 0:0:0:0:0:0:0:0
xfrm_ha_cleanup: Deleting policies and states for HA
xfrm_cn_cleanup: Deleting policies and states for CN
Failed to del state:
daddr 0:0:0:0:0:0:0:0
spi 0
proto 60
saddr 0:0:0:0:0:0:0:0
Failed to del policy:
sel.daddr 0:0:0:0:0:0:0:0
sel.saddr 0:0:0:0:0:0:0:0
sel.dport 0
sel.dport_mask 0
sel.sport 0
sel.sport_mask 0
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 135
sel.ifindex 0
dir 1
Failed to del policy:
sel.daddr 0:0:0:0:0:0:0:0
sel.saddr 0:0:0:0:0:0:0:0
sel.dport 0
sel.dport_mask 0
sel.sport 0
sel.sport_mask 8000
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 58
sel.ifindex 0
dir 1
mip6d[8028]: MIPL Mobile IPv6 for Linux v2.0.1 stopped (Home Agent)


The kernel (2.6.15.7) compiled clearly with the patch and the mip6 daemon too. My network settings are the following:

eth0      Link encap:Ethernet  HWaddr 00:30:05:AC:06:F5
          inet6 addr: 2001:abcd:1234::1/64 Scope:Global
          inet6 addr: fe80::230:5ff:feac:6f5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1420 errors:0 dropped:0 overruns:0 frame:0
          TX packets:488 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:164535 (160.6 Kb)  TX bytes:58175 (56.8 Kb)
          Interrupt:169

eth1      Link encap:Ethernet  HWaddr 00:04:E2:5C:8E:6E
          inet6 addr: 2001:1234:abcd::1/64 Scope:Global
          inet6 addr: fe80::204:e2ff:fe5c:8e6e/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:3 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:58 Base address:0x4000


The mip6.conf is this:

NodeConfig HA;
DebugLevel 10;
DoRouteOptimizationCN enabled;

Interface "eth0";
UseMnHaIPsec disabled;


The kernel settings are:

CONFIG_IPV6=y
CONFIG_IPV6_PRIVACY=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_INET6_IPCOMP=y
CONFIG_INET6_TUNNEL=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_ADVANCED_ROUTER=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MIP6=y
CONFIG_IPV6_MIP6_DEBUG=y
CONFIG_NETFILTER=y


I think, it must be some kind of a stupid problem but I haven't found any solution yet (google & list archive).

Thanks for your help in advance!

Best regards,
    Bence

_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl



--
B e n j a m i n   T h e r y  - BULL/DT/Open Software R&D

   http://www.bull.com

_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

Reply via email to