From owner-svn-src-all@FreeBSD.ORG Sat Jan 11 14:23:38 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27D061B1; Sat, 11 Jan 2014 14:23:38 +0000 (UTC) Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3EC25165F; Sat, 11 Jan 2014 14:23:37 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id b57so2388190eek.12 for ; Sat, 11 Jan 2014 06:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=IYGBthbVzWYICoEAl6dKrm53nECfnQd7dcRZrhZCOig=; b=jYBAxgKac7fa0sXwaEceW7jO2B43INSUgR9JMl9rkgCSr404A16s1NMkO4hTg5X4/d KNAsFa6/WvrmAMuqewwESjAwGxpnmDhE8kEv6vA+B1lgubLU7vi+/kVri2xnMrSo4LQg w+B5Mw+RZZRPrnejc85J6CY1ksvsMH1Ic5z5t0HSeW6N3MsyUcBzycOkU3ZNiAKPc9KQ bkNldoqwWofNSuLPzQTBAwhV1FEm+qoiVMu6J4iC9ksUo37cRQ+Q4CS6Mzf0pEMMAVix MxW8wlg7Mg2WAo1CrEDf29+tOnVVhwO2Sn4U0lApaWQfiMtyq3MCrA1cD31R27U9QBLE t+Kg== X-Received: by 10.15.91.3 with SMTP id r3mr16537589eez.18.1389450215732; Sat, 11 Jan 2014 06:23:35 -0800 (PST) Received: from mavbook.mavhome.dp.ua ([134.249.139.101]) by mx.google.com with ESMTPSA id p45sm23222008eeg.1.2014.01.11.06.23.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 11 Jan 2014 06:23:34 -0800 (PST) Sender: Alexander Motin Message-ID: <52D153E4.1000400@FreeBSD.org> Date: Sat, 11 Jan 2014 16:23:32 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Andriy Gapon , src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org Subject: Re: svn commit: r260541 - in head/sys/cam: . scsi References: <201401111335.s0BDZaFU070072@svn.freebsd.org> <52D14ED6.8070708@FreeBSD.org> <52D1500B.4020007@FreeBSD.org> <52D15286.1000707@FreeBSD.org> In-Reply-To: <52D15286.1000707@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jan 2014 14:23:38 -0000 On 11.01.2014 16:17, Andriy Gapon wrote: > on 11/01/2014 16:07 Alexander Motin said the following: >> Could you please resolve xpt_done_process+0x50a ? > > Sure: > > (kgdb) fr 9 > #9 0xffffffff8029e9ea in xpt_done_process (ccb_h=) at > /usr/src/sys/cam/cam_xpt.c:5250 > 5250 mtx_lock(&devq->send_mtx); > (kgdb) list > 5245 ccb_h->pinfo.index = CAM_UNQUEUED_INDEX; > 5246 (*ccb_h->cbfcnp)(ccb_h->path->periph, (union ccb *)ccb_h); > 5247 if (mtx != NULL) > 5248 mtx_unlock(mtx); > 5249 > 5250 mtx_lock(&devq->send_mtx); > 5251 xpt_run_devq(devq); > 5252 mtx_unlock(&devq->send_mtx); > 5253 } > 5254 Thanks. I had suspicions about that part. It seems the code tries to process SIM send queue after SIM already gone. I'll think about it. -- Alexander Motin