Subject: FAST_IPSEC panics domU kernel
To: None <port-xen@NetBSD.org>
From: Jeff Rizzo <riz@NetBSD.org>
List: port-xen
Date: 03/28/2006 13:57:02
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2644228CB8C3D60656CEECDF
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Trying to test a pullup request, I discovered that options FAST_IPSEC
does not seem to play nicely with Xen:


xen5# ping fubar=20
PING fubar.york.redcrowgroup.com (192.168.3.8): 56 data bytes
panic: m_copyback0: read-only
Stopped in pid 3.1 (cryptoret) at       netbsd:cpu_Debugger+0x4:      =20
popl    %ebp
db> bt
cpu_Debugger(c041ed20,ca803e48,ca803e7c,c0317c26,c0488200) at
netbsd:cpu_Debugger+0x4
panic(c041bc1d,ca804334,c07c0e00,b6cef66c,99) at netbsd:panic+0x12c
m_copyback0(ca803ec4,9,1,ca803f26,9) at netbsd:m_copyback0+0x913
m_copyback(c07c0e00,9,1,ca803f26,1e5) at netbsd:m_copyback+0x42
esp_input_cb(0,24,c040d32f,0,0) at netbsd:esp_input_cb+0x45f
cryptoret(c9fcbdec,52d000,c0537000,0,c010017c) at netbsd:cryptoret+0x12e
db>


I saw some changes to the xennet device related to m_copyback() a short
while ago... might this be related?  Any suggestions what might be going
wrong?

To duplicate, just add:

options FAST_IPSEC

to the XENU kernel, configure some SPD entries, and try to use them...

(KAME IPSEC works fine in that instance, as does FAST_IPSEC on a "real"
i386 box)

I've sent-pr, it's port-xen/33162 .

+j



--------------enig2644228CB8C3D60656CEECDF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRCmxM7OuUtxCgar5AQOwaQP/UtvxBY37Q0Lh3coLBXeNXIG3nVv2nXdB
tpgXd5qAxTTp4L/1bIxV2CuZQV/+FIvzHHYNkmH3+BCSBK7iFgUT2EpmfF+uQ8ke
0Jb8dW/aLvh/5fdmRh5Ovvh8ImWOJ3gmFTsJZ8xRM/Wlt+HTjPtmjwZKghqvHgWl
8Xf7ybRDcFY=
=9Man
-----END PGP SIGNATURE-----

--------------enig2644228CB8C3D60656CEECDF--