From owner-freebsd-scsi Tue Feb 29 22:21:48 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id 9AC4237BE01; Tue, 29 Feb 2000 22:21:45 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id WAA03657; Tue, 29 Feb 2000 22:21:39 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <200003010621.WAA03657@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Kenneth D. Merry" Cc: Mike Smith , scsi@FreeBSD.ORG Subject: Re: chio trap with not-ready changer In-reply-to: Your message of "Tue, 29 Feb 2000 22:50:36 MST." <20000229225036.B27747@panzer.kdm.org> Date: Tue, 29 Feb 2000 22:21:39 -0800 From: Mike Smith Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Okay, I think I know why the panic is happening at least. I don't > understand why you're getting the unit attention error, though, since we > generally retry unit attention errors unconditionally. > > Try the attached patch and see if it fixes things up. Once you've got the > panic fixed, we can attempt to solve the unit attention problem. Ok, it's not panicking anymore: pass0 at ahc0 bus 0 target 4 lun 0 pass0: Removable Changer SCSI-2 device pass0: Serial Number 3 pass0: 3.300MB/s transfers ... (ch0:ahc0:0:4:0): MODE SENSE(06). CDB: 1a 0 1d 0 20 0 (ch0:ahc0:0:4:0): UNIT ATTENTION asc:29,0 (ch0:ahc0:0:4:0): Power on, reset, or bus device reset occurred (ch0:ahc0:0:4:0): fatal error, failed to attach to device (ch0:ahc0:0:4:0): lost device (ch0:ahc0:0:4:0): removing device entry Now what? 8) (Sorry for the lag, rebooting this box is a bit slow due to the Mylex controller's interminable firmware diagnostics.) -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message