From owner-freebsd-scsi Tue Dec 7 20:52: 9 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from mayhem.com (mayhem.com [204.254.116.10]) by hub.freebsd.org (Postfix) with ESMTP id C25E414C04; Tue, 7 Dec 1999 20:52:01 -0800 (PST) (envelope-from jacob@mayhem.com) Received: (from jacob@localhost) by mayhem.com (8.9.1/8.9.1) id XAA06171; Tue, 7 Dec 1999 23:51:57 -0500 (EST) (envelope-from jacob) From: Jacob DeGlopper Message-Id: <199912080451.XAA06171@mayhem.com> Subject: Re: SCSI/CAM errors with Yamaha CRW6416sz CD-RW and NCR 815 card In-Reply-To: <199911250558.WAA00813@panzer.kdm.org> from "Kenneth D. Merry" at "Nov 24, 1999 10:58:16 pm" To: ken@kdm.org (Kenneth D. Merry) Date: Tue, 7 Dec 1999 23:51:57 -0500 (EST) Cc: freebsd-scsi@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Final followup. With an Adaptec 2940, the system boots fine with a CD in the drive. It was some strange interaction with the NCR card and the drive's response when there was a CD loaded at boot. > Jacob DeGlopper wrote... > > Followup on this problem. I have an Adaptec 2940 SCSI card on the way, > > which seems to be more of a standard, but maybe that's not the problem. > > I discovered that if there is no CD in the drive when I boot FreeBSD, > > it works fine. What does that indicate? > > > > cd0 at ncr0 bus 0 target 2 lun 0 > > cd0: Removable CD-ROM SCSI2 device > > cd0: 10.0MB/s transfers (10.0MHz, offset 8) > > cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c > > losed > > > > Put a CD in, and you can mount it just fine and use it. Leave the CD in > > when you reboot, and it locks up with the same NCR timeout errors I > > was seeing below. > > This sounds like it may be a drive firmware problem, although it's > difficult to say for sure. How long does it take to mount the CD? How > long does it take for the error messages to pop up when there isn't a CD in > the drive? Mounting the CD once the system is up seems to be normal, and there weren't any errors or delays booting with an empty drive. > > > I am running FreeBSD 3.0-RELEASE. I have recently acquired a Yamaha > > > CRZ6416sz SCSI CD-RW drive. I have an existing SCSI chain with a > > > NCR 815 card, Seagate disk, and HP DAT drive; all those have been > > > working fine. > > > > > > When booting the system with the new drive installed, I get some errors, > > > and then the system halts. Running a kernel without the SCSI cd device > > > configured gets the CD-ROM recognized by the pass driver without errors. > > > I have double-checked the terminator, and tried other SCSI ids with no > > > change. The drive appears to work fine in Windows. I have also tried > > > adjusting the SCSI_DELAY timeout up to 20 seconds with no change. > > > > > > The specific errors I get are: > > > > > > cd0:ncr0:0:2:0: got CAM status 0x4a > > > fatal error, failed to attach to device (cd0:ncr0:0:2:0) removing device > > > entry > > Oooh, that's not good at all. Status 0x4a is a selection timeout. That > means the drive isn't responding to attempts to contact it over the SCSI > bus. > > > > I've also tried the drive in another FreeBSD system with an NCR 875 card, > > > and it failed with the same messages, as did booting with the 3.3 boot > > > disks. > > > > > > I haven't found anything very promising in the archives related to these > > > NCR timeout problems; does anyone have any ideas, or do I have to > > > go out and get a more expensive SCSI card? > > Well, since you've already ordered a 2940, it'll be good to see what > happens with that. The Adaptec driver is generally less buggy than the ncr > driver. > > Have you tried different CDs in the drive? It could be that there is > something about the CD you're using that makes the drive barf. It seemed to happen with all the CDs I tried. > This really sounds like a firmware issue of some sort with your CDROM drive, > although I'll be more confident in saying that once you've tried the drive > with an Adaptec controller. -- Jacob DeGlopper, FF/EMT-B, N3RHI jacob@mayhem.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message