From owner-freebsd-scsi Tue Sep 22 22:17:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA04261 for freebsd-scsi-outgoing; Tue, 22 Sep 1998 22:17:07 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA04236 for ; Tue, 22 Sep 1998 22:16:54 -0700 (PDT) (envelope-from gibbs@narnia.plutotech.com) Received: (from gibbs@localhost) by narnia.plutotech.com (8.9.1/8.7.3) id XAA00733; Tue, 22 Sep 1998 23:10:20 -0600 (MDT) Date: Tue, 22 Sep 1998 23:10:20 -0600 (MDT) From: "Justin T. Gibbs" Message-Id: <199809230510.XAA00733@narnia.plutotech.com> To: shimon@simon-shapiro.org cc: scsi@FreeBSD.ORG Subject: Re: DPT boot In-Reply-To: User-Agent: tin/pre-1.4-971204 (UNIX) (FreeBSD/3.0-BETA (i386)) Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you wrote: > > Eivind Eklund, On 22-Sep-98 you wrote: >> I just tried to boot my box with a CAMified kernel, and found that it >> wouldn't. Everything probed fine, but after the NPX message it just >> hung >> for a long while. After a number of minutes (more than 2, as that was >> what >> I tried first, but less than 17, which was when I got back to the box) >> it >> spit out a message (something like "CCB (0:0:0:0:0) Timed out" - I >> unfortunately didn't write it down). Was Eivind's message originally on the SCSI list? This is the second time I've heard you reference messages that I haven't seen on the list. Strange. > I get similar symptoms, but much shorter timeouts, like fraction of a > second per CCB. Then I get the panic I reported. This is with the latest version of dpt.c in the tree? > since there is no > documentation for the driver layer, I can only guess at what I see; for > each possible drive, there is a CCB. Probably to handle the Inquiry or > some such. For non-existing drives, these indeed should timeout. For non-existing drives, the inquiry should not timeout. It should come back after a `selection timeout' (which is quite different than a command timeout) with a selection timeout error code. This, however, was not where the problem was. >> The CCB message was the only I got - no disk descriptions from either >> controller (though I don't know if I should expect them - this is my >> first CAM experiement). > > I would imagine these should come later, once the CCBs are answered. Yes. They come up after interrupt services are available and probing has been completed. >> Any clues? Anything I should test? (I can hook up a pretty complete >> debugging environment here, including doing remote kernel debugging if >> necessary - at the moment I also have 'scratch' disks I can use for >> testing, >> though not having this controller operational means I my main >> workstation is >> not usable, so I'd prefer to avoid tests that take a long time). > > I assume this controller works on the pre-CAM driver... :-) This problem has nothing to do with either DPT driver. It has to do with multi-lun probing and serial number inquiries. On my PM3224A card, it seems that RAID-1 DPT volumes will not tolerate inquiry requests to luns greater than 0. An inquiry request for a VPD page also hangs the controller. This was under firmware 7BG0. I need to get a 2Mb eeprom before I can test out newer firmware. Since the description of this problem matches my own experience, I can only guess that even the latest firmware still has this bug. I've added quirk entries to the generic SCSI layer to disable multi-lun probing and serial number requests to all DPT RAID volumes (although RAID-5 volumes did not seem to have this problem). If this is not sufficient to address your problem, please let me know. > ``...And Carthage shall fall..'' - Cicero > ``Documentation would have been nice'' - Simon This simply isn't fair Simon. I told you I couldn't provide CAM documentation because of my time constraints, so you asked me to port the DPT driver to CAM. If you are displeased with the results, you should talk to me about ways that this can be addressed instead of posting messages full of inuendo to a public list. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message