From owner-freebsd-scsi Mon Aug 27 4:45:45 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from pmp.uni-hannover.de (kirk.pmp.uni-hannover.de [130.75.117.28]) by hub.freebsd.org (Postfix) with ESMTP id 3C47C37B403 for ; Mon, 27 Aug 2001 04:45:42 -0700 (PDT) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mako.pmp.uni-hannover.de (mako [130.75.117.34]) by pmp.uni-hannover.de (8.9.3+Sun/8.9.3) with SMTP id NAA27828; Mon, 27 Aug 2001 13:46:58 +0200 (MEST) From: Gerrit Kuehn To: "Kenneth D. Merry" Subject: Re: problems with camcontrol rescan Date: Mon, 27 Aug 2001 13:41:22 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <0108241008070E.15703@mako.pmp.uni-hannover.de> <20010824140054.A5088@panzer.kdm.org> In-Reply-To: <20010824140054.A5088@panzer.kdm.org> Cc: freebsd-scsi@FreeBSD.ORG MIME-Version: 1.0 Message-Id: <01082713450808.22981@mako.pmp.uni-hannover.de> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Am Fri, 24 Aug 2001 schrieb Kenneth D. Merry > It sounds like what is likely happening is that the controller isn't > returning some of the CCBs that are being sent down to scan the bus. Since > the CCBs don't get returned, the rescan hangs forever. This is just > speculation, though; I haven't looked at the driver. BTW: Joerg Wunsch, who advised me to state my problem in this list here, already did have a quick look at the source of the driver. This is what he sent me: case XPT_SCAN_BUS: { #ifdef DC395x_trm_DEBUG1 printf(" XPT_SCAN_BUS \n"); #endif pccb->ccb_h.status = CAM_REQ_INVALID; xpt_done(pccb); } break; ... case XPT_SCAN_LUN: { #ifdef DC395x_trm_DEBUG1 printf(" XPT_SCAN_LUN \n"); #endif pccb->ccb_h.status = CAM_REQ_INVALID; xpt_done(pccb); } break; From this fragment of code I really don't understand why there isn't at least an error message. And what is more: what happens when FreeBSD is scanning the devices on boot-time? That procedure obviously is working fine... cu Gerrit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message