panic with CTL/FC at r251897 and beyond

John jwd at FreeBSD.org
Wed Sep 25 03:50:51 UTC 2013


Hi Folks,

   I've slowly been chasing down a panic with 9-stable and I've
gotten to the point where the large mfc commits of r251897 and
r251874 by Scott seem to be the culprit. I posted some info
about this a few weeks back.

   The last working commit (involving cam) is r251852 by Alexander.
This is the last commit where I can create and export a lun via
FC and have the client use it.

   The problem I see is in cam/ctl/scsi_ctl.c:ctlfedone() at
the end of the XPT_CONT_TARGET_IO: switch label:

/*
 * Release the CTIO.  The ATIO will be sent back
 * down to the SIM once we send status.
 */
softc->ccbs_freed++;
xpt_release_ccb(done_ccb);
                                
/* Call the backend move done callback */
io->scsiio.be_move_done(io);

   be_move_done is null so the code branches to 0


   Before I start trying to figure out the large number of
changes in the above 2 commits (a pair of mass mfc's) I was
hoping someone might have an idea of what is wrong and could
provide some pointers. I'd also be curious to know if anyone
is successfully using a recent 9-stable with CTL/FC and if
so, how they have it configured.

   Fbsd-10 works correctly on the same hardware also.

   I can provide ssh access and serial console debugging
if needed.

Thanks,
John


More information about the freebsd-scsi mailing list