From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 24 23:50:02 2007 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A6E516A41B for ; Mon, 24 Sep 2007 23:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F40A913C468 for ; Mon, 24 Sep 2007 23:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8ONo1xC013629 for ; Mon, 24 Sep 2007 23:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8ONo1JG013628; Mon, 24 Sep 2007 23:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 24 Sep 2007 23:50:01 GMT Resent-Message-Id: <200709242350.l8ONo1JG013628@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C94016A417 for ; Mon, 24 Sep 2007 23:40:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4A13B13C447 for ; Mon, 24 Sep 2007 23:40:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8ONen68067376 for ; Mon, 24 Sep 2007 23:40:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8ONenef067375; Mon, 24 Sep 2007 23:40:49 GMT (envelope-from nobody) Message-Id: <200709242340.l8ONenef067375@www.freebsd.org> Date: Mon, 24 Sep 2007 23:40:49 GMT From: Chris Chen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Tue, 25 Sep 2007 08:27:38 +0000 Cc: Subject: amd64/116620: Ifconfig spins when creating carp(4) device on amd64/SMP X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 23:50:02 -0000 >Number: 116620 >Category: amd64 >Synopsis: Ifconfig spins when creating carp(4) device on amd64/SMP >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 24 23:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Chris Chen >Release: 6.2 RELEASE with Patch from PR kern/92776 >Organization: >Environment: FreeBSD ear.bennett.laika.com 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Mon Sep 24 16:20:21 PDT 2007 root@ear.bennett.laika.com:/usr/src/sys/amd64/compile/DELL_PE860_AMD64 amd64 >Description: After startup, run ifconfig carp0 create. The process will spin. It is impossible to kill the spinning ifconfig process. The rest of the system remains operational, however, so you can reboot it. Here are the last lines of a ktrace of ifconfig carp0 create: 944 ifconfig CALL modstat(0x10a,0x7fffffffe280) 944 ifconfig RET modstat 0 944 ifconfig CALL modfnext(0x10a) 944 ifconfig RET modfnext 267/0x10b 944 ifconfig CALL modstat(0x10b,0x7fffffffe280) 944 ifconfig RET modstat 0 944 ifconfig CALL socket(0x2,0x2,0) 944 ifconfig RET socket 3 944 ifconfig CALL ioctl(0x3,SIOCIFCREATE,0x514ce0) After this point, the process take up 100% cpu, and just spins. >How-To-Repeat: Run ifconfig carp0 create. >Fix: >Release-Note: >Audit-Trail: >Unformatted: