From owner-freebsd-current@FreeBSD.ORG Tue May 29 09:54:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E120616A47A for ; Tue, 29 May 2007 09:54:12 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id AB55C13C484 for ; Tue, 29 May 2007 09:54:12 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=qEd7f0wJH2McQ2jemOtGhdDFJBTuY2s6Uhe01re8aejD4VLmM6LvG9Ecsg4PCcIGu5j2b3eARQbw2qwxZlITjMueqUhfYBJT6vkv5daGiK0YyByWQowpYE94NaPt8i2fkK75zqqjNUsZYU5ot0mYOKSOfhgf7z9An43fhSTg3yRIpguFvS+bbHhm8I4f4uNG1LuLg+bxsYWn9pOtOjtX3jnwYaBc3dMH0igxbE8qI/qKE/2gv27ZcheZQaSaBM8F; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1HsyP3-0004jr-Vt; Tue, 29 May 2007 09:54:10 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1HsyOU-00036G-3A; Tue, 29 May 2007 09:53:34 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HsyOS-0001Pg-7v; Tue, 29 May 2007 11:53:32 +0200 To: Rudy Rucker From: Ian FREISLICH In-Reply-To: Message from Rudy Rucker of "Tue, 29 May 2007 01:19:32 MST." <465BE214.8040502@monkeybrains.net> X-Attribution: BOFH Date: Tue, 29 May 2007 11:53:32 +0200 Message-Id: Cc: freebsd-current@freebsd.org Subject: Re: ifconfig carp0 destroy = kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 09:54:13 -0000 Rudy Rucker wrote: > > This is an old problem with FreeBSD 6.x. > > Three questions: > Why has this not been patched in the CVS tree? > Is there a solution that works? > Should I be posting this to freebsd-questions? This is just a "mee too". I find that after giving a CARP interface an address, it is impossible to remove the address using ifconfig carp200 delete ... Further using ifconfig carp200 destroy results in a panic. It's more of a frustration than a show stopper though since there are two firewalls and accidentally panicing one just has the other take over. It would be nice for this to be sorted out though. Here's a trace from the last one: #0 doadump () at pcpu.h:147 #1 0xc04f304d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc04f3416 in panic (fmt=0xc067a9fe "%s") at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0654ad8 in trap_fatal (frame=0xeb8bda20, eva=308) at /usr/src/sys/i386/i386/trap.c:868 #4 0xc065405a in trap (frame=0xeb8bda20) at /usr/src/sys/i386/i386/trap.c:276 #5 0xc063b9cb in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc04e6f9b in _mtx_lock_sleep (m=0xc519d64c, tid=3308401936, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:337 #7 0xc0584947 in if_delmulti (ifp=0xc519d400, sa=0xc568d770) at /usr/src/sys/net/if.c:2358 #8 0xc0595a27 in in_delmulti_locked (inm=0x6) at /usr/src/sys/netinet/in.c:1082 #9 0xc0595912 in in_delmulti (inm=0xc5692420) at /usr/src/sys/netinet/in.c:1055 #10 0xc0597bfe in carp_multicast_cleanup (sc=0xc525e400) at /usr/src/sys/netinet/ip_carp.c:1396 #11 0xc0596355 in carpdetach (sc=0xc525e400, unlock=1) at /usr/src/sys/netinet/ip_carp.c:458 #12 0xc05961a3 in carp_clone_destroy (ifp=0xc5249800) at /usr/src/sys/netinet/ip_carp.c:415 #13 0xc0586124 in ifc_simple_destroy (ifc=0xc06bfdc0, ifp=0x6) ---Type to continue, or q to quit--- at /usr/src/sys/net/if_clone.c:560 #14 0xc0585443 in if_clone_destroyif (ifc=0xc06bfdc0, ifp=0xc5249800) at /usr/src/sys/net/if_clone.c:218 #15 0xc0585358 in if_clone_destroy (name=0x1
) at /usr/src/sys/net/if_clone.c:196 #16 0xc0583c37 in ifioctl (so=0xc5177cf8, cmd=2149607801, data=0xca9608a0 "vlan1070_vrrp", td=0xc5323510) at /usr/src/sys/net/if.c:1810 #17 0xc052cb72 in soo_ioctl (fp=0x1, cmd=2149607801, data=0xca9608a0, active_cred=0xc56bc780, td=0xc5323510) at /usr/src/sys/kern/sys_socket.c:202 #18 0xc0526058 in kern_ioctl (td=0xc5323510, fd=3, com=2149607801, data=0xca9608a0 "vlan1070_vrrp") at file.h:266 #19 0xc0525bf2 in ioctl (td=0x1, uap=0xeb8bdd00) at /usr/src/sys/kern/sys_generic.c:553 #20 0xc0654e99 in syscall (frame=0xeb8bdd38) at /usr/src/sys/i386/i386/trap.c:1008 #21 0xc063ba30 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #22 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) Noteable from traces in the past that it's actually died in the carp code this time and not the arp code. Ian -- Ian Freislich