(usagi-users 03863) sparc64 and mip6d
Alexander Clouter <[email protected]> Sat, 23 Jun 2007 03:06:32 +0100
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Organization | diGriz |
| Message-ID | <[email protected]> |
Hi,
I have been trying to fix myself up with Mobile IPv6 to my co-location box
but have run into a problem.
I can get the daemon to run fine[1] on the MN (a i386 laptop running Debian
Unstable) but the HA (sparc64 running Debian Etch) fires up with a 'Bus
Error' and dies less than gracefully; bombs straight out. Thats when
compiled with '-g -O2'. If I compile with '-g -O0' then mip6d fails but
gracefully exits stating it cannot add the policy.
Both of these events take place when 'xfrm_cn_init: Adding policies and
states for CN' is sent to STDERR; as you can see below.
I am stumped with not a clue how to fix this, is it a bug?
The MN and HA are both running 2.6.21.5 with the umip-0.3 patch applied as
per the instructions. 'ip6_tunnel' has been modprobe'd and all the other
needed kernel configuration options needed lined out in INSTALL.kernel (from
the mip6d tarball) I have observed and modprobe'd as necessary too.
If there is anything else you need to work our where this bug is or what I
have broken horribly then do ask.
Cheers
Alex
[1] well it borks up my IPv6 routing for the laptop but I can address that
issue later... :)
===== /etc/mip6d.conf ==========
# This is an example of mip6d Home Agent configuration file
NodeConfig HA;
## If set to > 0, will not detach from tty
DebugLevel 10;
## List of interfaces where we serve as Home Agent
Interface "eth0";
#Interface "eth1";
##
## IPsec configuration
##
UseMnHaIPsec disabled;
## Key Management Mobility Capability
#KeyMngMobCapability disabled;
IPsecPolicySet {
HomeAgentAddress 2001:1b40:0:1001:d993:52d1:ffff:1;
HomeAddress 2001:1b40:0:1001:d993:52d1:ffff:1001/112;
# HomeAddress 3ffe:2620:6:1::1235/64;
IPsecPolicy Mh UseESP;
IPsecPolicy TunnelMh UseESP;
# IPsecPolicy Mh UseESP 1 2;
# IPsecPolicy ICMP UseESP 5;
# IPsecPolicy TunnelMh UseESP 3 4;
}
===============
====== running mip6d on a sparc64 =========
woodchuck:/usr/src/deb-src/mip6d/mip6d-2.0.3~git20070417# file /usr/sbin/mip6d
/usr/sbin/mip6d: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, not stripped
woodchuck:/usr/src/deb-src/mip6d/mip6d-2.0.3~git20070417# mip6d
mip6d[1685]: MIPL Mobile IPv6 for Linux v2.0.2 started (Home Agent)
Sat Jun 23 02:51:17 main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from terminal
Sat Jun 23 02:51:17 conf_show: config_file = /etc/mip6d.conf
Sat Jun 23 02:51:17 conf_show: mip6_entity = 2
Sat Jun 23 02:51:17 conf_show: debug_level = 10
Sat Jun 23 02:51:17 conf_show: debug_log_file = stderr
Sat Jun 23 02:51:17 conf_show: PolicyModulePath = [internal]
Sat Jun 23 02:51:17 conf_show: DefaultBindingAclPolicy = 0
Sat Jun 23 02:51:17 conf_show: NonVolatileBindingCache = disabled
Sat Jun 23 02:51:17 conf_show: KeyMngMobCapability = disabled
Sat Jun 23 02:51:17 conf_show: UseMnHaIPsec = disabled
Sat Jun 23 02:51:17 conf_show: MnMaxHaBindingLife = 262140
Sat Jun 23 02:51:17 conf_show: MnMaxCnBindingLife = 420
Sat Jun 23 02:51:17 conf_show: MnRouterProbes = 0
Sat Jun 23 02:51:17 conf_show: MnRouterProbeTimeout = 0.000000
Sat Jun 23 02:51:17 conf_show: InitialBindackTimeoutFirstReg = 1.500000
Sat Jun 23 02:51:17 conf_show: InitialBindackTimeoutReReg = 1.000000
Sat Jun 23 02:51:17 conf_show: UseCnBuAck = disabled
Sat Jun 23 02:51:17 conf_show: DoRouteOptimizationMN = enabled
Sat Jun 23 02:51:17 conf_show: MnUseAllInterfaces = disabled
Sat Jun 23 02:51:17 conf_show: MnDiscardHaParamProb = disabled
Sat Jun 23 02:51:17 conf_show: SendMobPfxSols = enabled
Sat Jun 23 02:51:17 conf_show: OptimisticHandoff = disabled
Sat Jun 23 02:51:17 conf_show: SendMobPfxAdvs = enabled
Sat Jun 23 02:51:17 conf_show: SendUnsolMobPfxAdvs = enabled
Sat Jun 23 02:51:17 conf_show: MaxMobPfxAdvInterval = 86400
Sat Jun 23 02:51:17 conf_show: MinMobPfxAdvInterval = 600
Sat Jun 23 02:51:17 conf_show: HaMaxBindingLife = 262140
Sat Jun 23 02:51:17 conf_show: DoRouteOptimizationCN = enabled
Sat Jun 23 02:51:17 xfrm_cn_init: Adding policies and states for CN
Sat Jun 23 02:51:17 Failed to add policy:
Sat Jun 23 02:51:17 nlmsg_flags 405
nlmsg_type 19
Sat Jun 23 02:51:17 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 5
sel.sport_mask ffff
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 135
sel.ifindex 0
Sat Jun 23 02:51:17 priority 9
dir 0
action 0
type 1
Sat Jun 23 02:51:17 xfrma_tmpl.id.daddr 0:0:0:0:0:0:0:0
xfrma_tmpl.id.spi 0
xfrma_tmpl.id.proto 60
xfrma_tmpl.saddr 0:0:0:0:0:0:0:0
xfrma_tmpl.reqid 0
xfrma_tmpl.mode 2
xfmra_tmpl.optional 0
xfrma_tmpl.aalgos 0
xfrma_tmpl.ealgos 0
xfrma_tmpl.calgos 0
Sat Jun 23 02:51:17 xfrm_ha_cleanup: Deleting policies and states for HA
Sat Jun 23 02:51:17 xfrm_cn_cleanup: Deleting policies and states for CN
Sat Jun 23 02:51:17 Failed to del policy:
Sat Jun 23 02:51:17 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 5
sel.sport_mask ffff
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 135
sel.ifindex 0
Sat Jun 23 02:51:17 dir 0
type 1
Sat Jun 23 02:51:17 Failed to del state:
Sat Jun 23 02:51:17 daddr 0:0:0:0:0:0:0:0
spi 0
proto 60
saddr 0:0:0:0:0:0:0:0
Sat Jun 23 02:51:17 Failed to del policy:
Sat Jun 23 02:51:17 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
Sat Jun 23 02:51:17 dir 1
type 1
Sat Jun 23 02:51:17 Failed to del policy:
Sat Jun 23 02:51:17 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 87
sel.sport_mask ffff
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 58
sel.ifindex 0
Sat Jun 23 02:51:17 dir 1
type 1
Sat Jun 23 02:51:17 Failed to del policy:
Sat Jun 23 02:51:17 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 88
sel.sport_mask ffff
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 58
sel.ifindex 0
Sat Jun 23 02:51:17 dir 1
type 1
Sat Jun 23 02:51:17 Failed to del policy:
Sat Jun 23 02:51:17 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 80
sel.prefixlen_d 0
sel.prefixlen_s 0
sel.proto 58
sel.ifindex 0
Sat Jun 23 02:51:17 dir 1
type 1
mip6d[1685]: MIPL Mobile IPv6 for Linux v2.0.2 stopped (Home Agent)
===============
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGfIAoNv5Ugh/sRBYRAmAkAJ43V4c5y2ZYCqzGlci4DRYWuZB26gCeN2wo 2l/3vOXhJhoP2/pSaVoR8hA= =N0JH -----END PGP SIGNATURE-----