From owner-freebsd-current@FreeBSD.ORG Tue Apr 3 20:32:29 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 A214716A409 for ; Tue, 3 Apr 2007 20:32:29 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2AD0913C4BA for ; Tue, 3 Apr 2007 20:32:28 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so437609ugh for ; Tue, 03 Apr 2007 13:32:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mwqCWv7Zp8U0hVdbhIEMs/iGTleREGDSNNTYHvOb+IFKZYoWI9E7xXj7BEcSgL+jCgzsjeZJnOCoch7HK0CD9p9J1xad8klHYvZg1sY00jbS+h98iCkiW62AuWQvpR1yzAVZNKacWb+Ib5c39P6s7x+BO7LyjYglOui/TwIQTXA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j+v0GveHZ8asHFJq7BM/gzbqIvKUKHVeBjylahv8Wr5htFxb96v1iIY8p8oZB3d8Q72zWFMfIdpkiUBVrM7iac4sJkubTOp44Xq9OFLyWcQUEzXJg4h5+ZTiAJOTnpmU6iWctnCV6EU2LDOyCmYKX3LPJEtvdr/RsPepCQoS5Mk= Received: by 10.114.13.1 with SMTP id 1mr2428847wam.1175632346777; Tue, 03 Apr 2007 13:32:26 -0700 (PDT) Received: by 10.114.25.18 with HTTP; Tue, 3 Apr 2007 13:32:26 -0700 (PDT) Message-ID: <7579f7fb0704031332o64d0637coe17770971d5a6e29@mail.gmail.com> Date: Tue, 3 Apr 2007 13:32:26 -0700 From: "Matthew Jacob" To: "Alex Dupre" In-Reply-To: <461285E0.8000008@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46126585.8080204@FreeBSD.org> <46127DF4.5080703@samsco.org> <461285E0.8000008@FreeBSD.org> Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: targclose doesn't return 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, 03 Apr 2007 20:32:29 -0000 Yeah- I've seen this too. On 4/3/07, Alex Dupre wrote: > Scott Long wrote: > > Are there any other console messages from the targ driver? Can you > > turn on CAMDEBUG and send us the trace of what is going on? > > CAMDEBUG is already on, but simply opening/closing the targ device, > without sending any ioctl to enable it, shouldn't produce any CAM > message. I traced the kernel thread and I found that it doesn't return > from the destroy_devl() function: csw->d_purge is NULL and > dev->si_threadcount is '1'. The thread enters the following block > (kern_conf.c, row 690) and never exits. > > > while (dev->si_threadcount != 0) { > /* Use unique dummy wait ident */ > msleep(&csw, &devmtx, PRIBIO, "devdrn", hz / 10); > } > > > -- > Alex Dupre > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" >