From owner-freebsd-scsi Sat Jul 22 18:26:42 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from amonduul.ecn.ou.edu (amonduul.ecn.ou.edu [129.15.119.201]) by hub.freebsd.org (Postfix) with ESMTP id 808E637B562 for ; Sat, 22 Jul 2000 18:26:36 -0700 (PDT) (envelope-from servalan!ichotolot.servalan.com!rmtodd@amonduul.ecn.ou.edu) Received: from servalan (3705 bytes) by amonduul.ecn.ou.edu via rmail with P:uucp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for freebsd.org!freebsd-scsi; Sat, 22 Jul 2000 20:26:12 -0500 (CDT) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Apr-4) Received: from ichotolot.servalan.com([127.0.0.1]) (3363 bytes) by servalan.servalan.com via sendmail with P:esmtp/R:smart_host/T:uux (sender: ) id for ; Sat, 22 Jul 2000 20:06:36 -0500 (CDT) (Smail-3.2.0.106 1999-Mar-31 #1 built 1999-Aug-10) Message-Id: To: "George W. Dinolt" Cc: freebsd-scsi@freebsd.org, rmtodd@servalan.servalan.com Subject: Re: (noperiph:ahc0:0:-1:-1): ... error In-Reply-To: Your message of "Fri, 21 Jul 2000 22:01:42 PDT." <39792AB6.F4B7B1CB@pacbell.net> Date: Sat, 22 Jul 2000 20:06:35 -0500 From: Richard Todd Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <39792AB6.F4B7B1CB@pacbell.net>, "George W. Dinolt" writes: >I originally posted this on -current, but Matthew Jacob > suggested that I post this on -scsi as well. Ditto. I'm seeing problems similar, but not identical, to those seen by George W. Dinolt. >I am trying to boot a recent kernel (as of yesterday) and am seeing the >following pair of contiguous error messages when I try to boot:: > >(noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. >panic: Bogus resid sgptr value 0xbd68609 > I saw the (noperiph...) message you saw. After that, the machine didn't panic, but it didn't work very well, either. It did, after a few seconds, detect the SCSI tape drive I had (sa0), but failed on detecting the SCSI disk and CDROM, repeatedly timing out and resetting the bus. Here are some of the messages, as best I could write them down (since the machine never got to the point where it acknowledged having its disks, there was no way it could dump on panic()). (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. (noperiph:ahc1:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. SMP: AP CPU #1 Launched! sa0 at ahc0 bus 0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) Mounting root from ufs:/dev/da0s2a (da0:ahc0:0:6:0) SCB 0x3 - timed out in Command phase, SEQADDR=0xa0 (da0:ahc0:0:6:0) Other SCB Timeout (cd0:ahc0:0:1:0) SCB 0x9 - timed out in Command phase, SEQADDR=0xa0 (cd0:ahc0:0:1:0) BDR message in message buffer (cd0:ahc0:0:1:0) SCB 0x9 - timed out in Command phase, SEQADDR=0x9f (cd0:ahc0:0:1:0) no longer in timeout, status=34b ahc0: Issued Channel A Bus Reset, 2 SCBs aborted and then the bus reset and it did more of the same; eventually it gave up and declared itself unable to attach da0 and cd0. This was on an SMP box (Tyan Thunder 100GX), with an aic7895 SCSI controller, and the following three SCSI devices: sa0 at ahc0 bus 0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) Mounting root from ufs:/dev/da0s2a da0 at ahc0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C) cd0 at ahc0 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present A kernel built as of July 13th does not have this problem, so whatever caused this is presumably somewhere in the big CAM commit of the past week. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message