From owner-freebsd-stable Fri May 28 23: 7:33 1999 Delivered-To: freebsd-stable@freebsd.org Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (Postfix) with ESMTP id 4840015112 for ; Fri, 28 May 1999 23:07:30 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.3/8.8.5) id AAA30262; Sat, 29 May 1999 00:07:27 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199905290607.AAA30262@panzer.plutotech.com> Subject: Re: SMP and SCSI problems in 3.2 In-Reply-To: <3.0.32.19990528152604.023c79f0@mail.ok-connect.com> from Darcy Buskermolen at "May 28, 1999 03:26:05 pm" To: Darcy@ok-connect.com (Darcy Buskermolen) Date: Sat, 29 May 1999 00:07:27 -0600 (MDT) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM927958047-30193-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ELM927958047-30193-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Darcy Buskermolen wrote... > Since we are on the topic 3.2 scsi problems, here is my dmsg output on a > system I can't mount the SCSI drives on ( yes this box worked as an NT > box), I'm able to newfs them ect, but when I go to mount I get an error of > mount: Device is busy. It's generally better to send SCSI problems to the SCSI list (freebsd-scsi@FreeBSD.ORG). You're much more likely to get a response. The more noise that hits this list, the less I read it. :) > Intel L440GX+ Server board > single Intel Petium III 450MHz (not over clocked) > 2x 256MB ECC DIMMS > 4 Seagate 18.2 GB Cheetah Hotswap SCA Hard drives. > 1 6.4 GB IDE (boot device) > 1 IDE cd rom master on secondary chain. > Intel Astor case (if that helps since it has an adaptec Hotswap cage > controller on it) > 3.2 release with a CVSup as of 10PM-PDT last night. > dmsg to follow: > > Waiting 15 seconds for SCSI devices to settle > (probe0:ahc1:0:6:1): parity error during Data-In phase. > SEQADDR == 0x49 > SCSIRATE == 0x0 > (probe0:ahc1:0:6:1): parity error during Data-In phase. > SEQADDR == 0x87 > SCSIRATE == 0x0 [ ... ] > pass4 at ahc1 bus 0 target 6 lun 0 > pass4: Fixed Processor SCSI-2 device > pass4: 3.300MB/s transfers > da0 at ahc1 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing > Enabled > da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) > da3 at ahc1 bus 0 target 3 lun 0 > da3: Fixed Direct Access SCSI-2 device > da3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing > Enabled > da3: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) > da2 at ahc1 bus 0 target 2 lun 0 > da2: Fixed Direct Access SCSI-2 device > da2: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing > Enabled > da2: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) > da1 at ahc1 bus 0 target 1 lun 0 > da1: Fixed Direct Access SCSI-2 device > da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing > Enabled > da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) In general, I would say you have a cabling or termination problem. But, there is another possible explanation. Your enclosure seems to be the device that may be generating the problems, and the parity errors only seem to happen during probe of non-zero luns on that device. Try the attached patch for sys/cam/cam_xpt.c. It will hopefully disable multi-LUN probing for that device. I think I've properly separated the vendor ID from the device id, but it could be that you'll need to tweak this a bit. Note that the patch is against -current, but it should apply to -stable all right. Ken -- Kenneth Merry ken@plutotech.com --ELM927958047-30193-0_ Content-Type: text/plain; charset=US-ASCII Content-Disposition: attachment; filename=cam_xpt.c.encl_diffs.052999 Content-Description: cam_xpt.c.encl_diffs.052999 Content-Transfer-Encoding: 7bit ==== //depot/cam/sys/cam/cam_xpt.c#196 - /usr/home/ken/perforce/cam/sys/cam/cam_xpt.c ==== *** /tmp/tmp.7724.0 Sat May 29 00:05:30 1999 --- /usr/home/ken/perforce/cam/sys/cam/cam_xpt.c Fri May 28 23:59:55 1999 *************** *** 389,394 **** --- 389,401 ---- /*quirks*/0, /*mintags*/2, /*maxtags*/32 }, { + /* + * Can't handle multiple lun probing. + */ + { T_PROCESSOR, SIP_MEDIA_FIXED, "ESG-SHV", "SCA HSBP*", "*"}, + /*quirks*/ CAM_QUIRK_NOLUNS, /*mintags*/ 0, /*maxtags*/ 0 + }, + { /* Really only one LUN */ { T_ENCLOSURE, SIP_MEDIA_FIXED, "SUN", "SENA*", "*" --ELM927958047-30193-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message