Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 16:23:32 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Andriy Gapon <avg@FreeBSD.org>, src-committers@FreeBSD.org,  svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r260541 - in head/sys/cam: . scsi
Message-ID:  <52D153E4.1000400@FreeBSD.org>
In-Reply-To: <52D15286.1000707@FreeBSD.org>
References:  <201401111335.s0BDZaFU070072@svn.freebsd.org> <52D14ED6.8070708@FreeBSD.org> <52D1500B.4020007@FreeBSD.org> <52D15286.1000707@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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=<value optimized out>) 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D153E4.1000400>