From: Wolfgang Walter Subject: Kernel oops with 2.6.26 and ipsec (Was: Re: IPSEC in 2.6.25 causes stalled connections) Date: Thu, 17 Jul 2008 16:53:59 +0200 Message-ID: <200807171653.59177.wolfgang.walter@stwm.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE To: netdev@vger.kernel.org Return-path: Received: from dresden.studentenwerk.mhn.de ([141.84.225.229]:58241 "EHLO email.studentenwerk.mhn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755050AbYGQPzj convert rfc822-to-8bit (ORCPT ); Thu, 17 Jul 2008 11:55:39 -0400 Received: from mailhub.studentenwerk.mhn.de (mail.studentenwerk.mhn.de [10.148.7.34]) by email.studentenwerk.mhn.de (Postfix) with ESMTP id A440B58002 for ; Thu, 17 Jul 2008 16:53:59 +0200 (CEST) Received: from mist.as.studentenwerk.mhn.de (mist.as.studentenwerk.mhn.de [10.148.0.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub.studentenwerk.mhn.de (Postfix) with ESMTP id A020CDB98E for ; Thu, 17 Jul 2008 16:53:59 +0200 (CEST) Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Am Mittwoch, 9. Juli 2008 13:06 schrieben Sie: > On Wed, Jul 09, 2008 at 12:48:48PM +0200, Wolfgang Walter wrote: > > If this helps you indeed have a problem with dynamic pmtu. > > Do you still see this ICMP problem with the latest 2.6.26 kernel? > There was a bug fixed in the later 2.6.25 rcs which sounds like > what you're seeing. Do you mean the problem with IPSEC and icmp packets generated on the ro= uter? Couldn't check yet. I started testing 2.6.26 but I get a kernel oops, so I switched back to 2.6.25.11. Here is the output of dmesg (no logging was switched on so I= don't have the complete oops). But it happened on several of our routers with= in one day: xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] init+0x0/0xe [] update+0x0/0x46 [] final+0x0/0x54 [] digest+0x0/0x6b [] nosetkey+0x0/0xf [] dst_rcu_free+0x0/0x1c [] ip_forward+0x0/0x26e [] ip_output+0x0/0x90 [] dst_discard+0x0/0x8 [] ip_output+0x0/0x90 [] ip_forward+0x0/0x26e [] ip_output+0x0/0x90 [] dst_discard+0x0/0x8 [] ip_output+0x0/0x90 [] ip_forward+0x0/0x26e [] ip_output+0x0/0x90 [] hmac_init+0x0/0x70 [] hmac_update+0x0/0x4e [] hmac_final+0x0/0x84 [] hmac_digest+0x0/0x152 [] hash_setkey+0x0/0xae [] ip_forward+0x0/0x26e [] ip_output+0x0/0x90 [] hmac_init+0x0/0x70 [] hmac_update+0x0/0x4e [] hmac_final+0x0/0x84 [] hmac_digest+0x0/0x152 [] hash_setkey+0x0/0xae [] hmac_init+0x0/0x70 [] hmac_update+0x0/0x4e [] hmac_final+0x0/0x84 [] hmac_digest+0x0/0x152 [] hash_setkey+0x0/0xae [] hmac_init+0x0/0x70 [] hmac_update+0x0/0x4e [] hmac_final+0x0/0x84 [] hmac_digest+0x0/0x152 [] hash_setkey+0x0/0xae [] hmac_init+0x0/0x70 [] hmac_update+0x0/0x4e [] hmac_final+0x0/0x84 [] hmac_digest+0x0/0x152 [] hash_setkey+0x0/0xae [] dst_discard+0x0/0x8 [] ip_output+0x0/0x90 [] hmac_init+0x0/0x70 [] hmac_update+0x0/0x4e [] hmac_final+0x0/0x84 [] hmac_digest+0x0/0x152 [] hash_setkey+0x0/0xae [] hmac_init+0x0/0x70 [] hmac_update+0x0/0x4e [] hmac_final+0x0/0x84 [] hmac_digest+0x0/0x152 [] hash_setkey+0x0/0xae [] dst_rcu_free+0x0/0x1c [] ip_forward+0x0/0x26e [] ip_output+0x0/0x90 [] ip_forward+0x0/0x26e [] ip_output+0x0/0x90 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Code: d2 74 1f 8b 42 50 03 42 4c 39 42 54 73 03 89 42 54 8b 86 cc 00 00= 00 8b 50 5c 39 50 58 73 03 89 50 58 8b 86 bc 02 00 00 83 c0 04 08 0f 94 = c2 31 c0 84 d2 0f 95 c0 85 c0 89 04 24 74 4f a1 00 EIP: [] do_exit+0x119/0x54a SS:ESP 0068:d9f4e510 ---[ end trace 6ec2fadfd0262e4d ]--- =46ixing recursive fault but reboot is needed! note: cron[1207] exited with preempt_count 268435459 BUG: unable to handle kernel NULL pointer dereference at 00000004 IP: [] do_exit+0x119/0x54a *pde =3D 00000000 Oops: 0002 [#48] PREEMPT Modules linked in: Pid: 1207, comm: cron Tainted: G D W (2.6.26 #1) EIP: 0060:[] EFLAGS: 00010202 CPU: 0 EIP is at do_exit+0x119/0x54a EAX: 00000004 EBX: 10000003 ECX: ffffffff EDX: 00000000 ESI: dc42b130 EDI: 0000000b EBP: c041e382 ESP: d9f4e474 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 Process cron (pid: 1207, ti=3Dd9f4e000 task=3Ddc42b130 task.ti=3Dd9f4e0= 00) Stack: 00000002 c041e382 c011cea8 c041ebdc d9f4e494 d9f4e494 d9f4e4d8 00000206 00000002 c041e382 c010500f 00000000 00000004 dc42b130 0000003= 8 c01123d8 00000002 d9f4e4d8 00000000 dc42b130 10000003 dc42b130 c0111f5= 0 c041e382 Call Trace: [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_invalid_op+0x0/0x6b [] do_invalid_op+0x62/0x6b [] do_exit+0x53b/0x54a [] __wake_up_sync+0x26/0x44 [] do_notify_parent+0x187/0x18e [] getnstimeofday+0x32/0xb2 [] ktime_get_ts+0x1d/0x3f [] ktime_get+0xd/0x21 [] hrtick_start_fair+0xc4/0xfd [] error_code+0x6a/0x70 [] do_exit+0x53b/0x54a [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] do_exit+0x119/0x54a [] printk+0x14/0x18 [] die+0xfd/0x102 [] do_page_fault+0x488/0x53c [] do_page_fault+0x0/0x53c [] error_code+0x6a/0x70 [] __switch_to+0x23/0x103 [] schedule+0x257/0x2bf [] check_preempt_wakeup+0x9d/0xbb [] preempt_schedule+0x27/0x3c [] wake_up_new_task+0x92/0x96 [] do_fork+0x131/0x197 [] sys_clone+0x28/0x2d [] syscall_call+0x7/0xb [] sfq_drop+0x100/0x215 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Code: d2 74 1f 8b 42 50 03 42 4c 39 42 54 73 03 89 42 54 8b 86 cc 00 00= 00 8b 50 5c 39 50 58 73 03 89 50 58 8b 86 bc 02 00 00 83 c0 04 08 0f 94 = c2 31 c0 84 d2 0f 95 c0 85 c0 89 04 24 74 4f a1 00 EIP: [] do_exit+0x119/0x54a SS:ESP 0068:d9f4e474 ------------[ cut here ]------------ WARNING: at crypto/blkcipher.c:327 blkcipher_walk_first+0x46/0x15d() -- Wolfgang Walter Studentenwerk M=FCnchen Anstalt des =F6ffentlichen Rechts