IPSEC with IPv6 crashes

From: Maciej Milewski <milu_at_dat.pl>
Date: Thu, 12 Sep 2013 12:45:27 +0200
I'm trying to use IPSEC with IPv6 in transport mode. My configuration is 
simple: IPSEC + racoon from ipsec-utils.
One side is RS(MIPS) with HEAD-r252464 and 2nd side ALIX(i386) with 
9.1-STABLE. This error is visible only on MIPS side.

ipsec.conf:
spdadd [ipv6_addr1] [ipv6_addr2] any -P in ipsec
    esp/transport//require;
spdadd [ipv6_addr2] [ipv6_addr1] any -P out ipsec
    esp/transport//require;

And the error is reproducible with just getting transmission over the IPSEC:

Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode)
[ thread pid 0 tid 100027 ]
Stopped at      ipsec6_common_input_cb+0x364:   lw      v0,116(v1)
db> bt
Tracing pid 0 tid 100027 td 0x80dc2990
db_trace_thread+30 (?,?,?,?) ra c039f24000000018 sp 0 sz 0
80083c3c+114 (0,?,ffffffff,?) ra c039f25800000020 sp 100000000 sz 1
80082f84+388 (?,?,?,?) ra c039f278000000a8 sp 0 sz 0
db_command_loop+70 (?,?,?,?) ra c039f32000000018 sp 0 sz 0
80085a80+f4 (?,?,?,?) ra c039f338000001a8 sp 0 sz 0
kdb_trap+110 (?,?,?,?) ra c039f4e000000030 sp 0 sz 0
trap+f18 (?,?,?,?) ra c039f510000000b8 sp 0 sz 0
MipsKernGenException+134 (82bee380,81c84900,0,0) ra c039f5c8000000c8 sp 
100000001 sz 1
ipsec6_common_input_cb+364 (81c84900,?,28,?) ra c039f69000000038 sp 
100000000 sz 1
803c6684+568 (?,?,?,?) ra c039f6c800000078 sp 0 sz 0
crypto_done+11c (?,?,?,?) ra c039f74000000030 sp 0 sz 0
803fd608+fb4 (?,?,?,?) ra c039f770000001a0 sp 0 sz 0
803fb3a8+164 (?,?,?,?) ra c039f91000000028 sp 0 sz 0
crypto_dispatch+94 (?,?,?,?) ra c039f93800000020 sp 0 sz 0
803c708c+62c (?,?,?,?) ra c039f95800000058 sp 0 sz 0
803b2390+52c (?,?,?,?) ra c039f9b000000060 sp 0 sz 0
ipsec6_common_input+19c (?,?,?,?) ra c039fa1000000040 sp 0 sz 0
ip6_input+16d8 (81c84900,?,?,?) ra c039fa5000000120 sp 100000000 sz 0
netisr_dispatch_src+134 (?,?,?,?) ra c039fb7000000040 sp 0 sz 0
netisr_dispatch+14 (?,?,?,?) ra c039fbb000000018 sp 0 sz 0
ether_demux+218 (?,81c84900,?,?) ra c039fbc800000028 sp 1 sz 0
802d72ec+4a8 (81c84900,?,?,?) ra c039fbf000000030 sp 100000000 sz 0
netisr_dispatch_src+134 (?,?,?,?) ra c039fc2000000040 sp 0 sz 0
netisr_dispatch+14 (?,?,?,?) ra c039fc6000000018 sp 0 sz 0
802d6e9c+3c (?,?,?,?) ra c039fc7800000018 sp 0 sz 0
ieee80211_deliver_data+100 (?,?,?,?) ra c039fc9000000028 sp 0 sz 0
803387fc+bc4 (?,?,?,ffffffa0) ra c039fcb800000060 sp 0 sz 0
ath_rx_pkt+6c0 (?,?,0,?) ra c039fd1800000050 sp 0 sz 1
800aa98c+388 (?,1,?,?) ra c039fd6800000060 sp 1 sz 0
800aaef0+c4 (?,?,?,?) ra c039fdc800000020 sp 0 sz 0
8024e34c+e8 (?,?,?,?) ra c039fde800000038 sp 0 sz 0
taskqueue_thread_loop+8c (?,?,?,?) ra c039fe2000000038 sp 0 sz 0
fork_exit+b0 (?,?,?,?) ra c039fe5800000028 sp 0 sz 0
fork_trampoline+10 (?,?,?,?) ra c039fe8000000000 sp 0 sz 0
pid 0

I'm open to any hints.
Regards,
Maciej Milewski
Received on Thu Sep 12 2013 - 08:46:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC