svn commit: r260541 - in head/sys/cam: . scsi

Alexander Motin mav at FreeBSD.org
Sat Jan 11 14:23:38 UTC 2014


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


More information about the svn-src-head mailing list