From nobody@FreeBSD.org  Mon Sep 24 23:40:49 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5C94016A417
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <muffaleta@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Ifconfig spins when creating carp(4) device on amd64/SMP
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         116620
>Category:       amd64
>Synopsis:       [hang] ifconfig spins when creating carp(4) device on amd64/SMP
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 24 23:50:01 GMT 2007
>Closed-Date:    Fri Nov 11 19:13:04 UTC 2011
>Last-Modified:  Fri Nov 11 19:13:04 UTC 2011
>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:

From: Andriy Gapon <avg@freebsd.org>
To: bug-followup@freebsd.org, muffaleta@gmail.com
Cc:  
Subject: Re: amd64/116620: [hang] ifconfig spins when creating carp(4) device
 on amd64/SMP
Date: Sun, 05 Dec 2010 12:09:19 +0200

 Is this still an issue with the latest versions of FreeBSD?
 
 -- 
 Andriy Gapon
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sat Sep 24 07:43:07 UTC 2011 
State-Changed-Why:  
Note that submitter has been asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116620 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Fri Nov 11 19:13:03 UTC 2011 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116620 
>Unformatted:
