From owner-freebsd-scsi Wed Jul 5 7:20:10 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from thelab.hub.org (nat196.249.mpoweredpc.net [142.177.196.249]) by hub.freebsd.org (Postfix) with ESMTP id EE23637BE5E for ; Wed, 5 Jul 2000 07:20:04 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.3) with ESMTP id LAA52229; Wed, 5 Jul 2000 11:18:27 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Wed, 5 Jul 2000 11:18:27 -0300 (ADT) From: The Hermit Hacker To: Matthew Jacob Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: chio inserted tape, but gives error? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 4 Jul 2000, Matthew Jacob wrote: > > You have to find out what command timed out. Build a CAMDEBUG kernel and use > camcontrol to turn on command tracing for that device. Okay, built the new kernel and just ran the following: thor# chio move drive 0 slot 0 thor# chio move slot 0 drive 0 chio: /dev/ch0: CHIOMOVE: Input/output error Trying to do a subsequent 'unload' fails: thor# chio status picker 0: slot 0: slot 1: slot 2: slot 3: drive 0: thor# chio move drive 0 slot 0 chio: /dev/ch0: CHIOMOVE: Input/output error thor# chio status picker 0: slot 0: slot 1: slot 2: slot 3: drive 0: thor# part of my /var/log/messages follows (camcontrol debug -T 0:4:1) ... this machine is semi-production, so I can reboot as required (its doing secondary DNS and anon-ftp ... no shell, no web) ... Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): entering cdgetccb Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_schedule Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_action Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): ahc_action Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): ahc_done - scb 4 Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_done Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): camisr(ch0:ahc0:0:4:1): xpt_action Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): ahc_action Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): ahc_done - scb 4 Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_done Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): camisr(ch0:ahc0:0:4:1): entering chioctl Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): trying to do ioctl 0x800a6301 Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): entering cdgetccb Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_schedule Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): xpt_action Jul 5 10:10:37 thor /kernel: (ch0:ahc0:0:4:1): ahc_action Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): SCB 0x5 - timed out while idle, SEQADDR == 0xa Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): Queuing a BDR SCB Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): Bus Device Reset Message Sent Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_compile_path Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): ahc_done - scb 5 Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): no longer in timeout, status = 34b Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): xpt_done Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_async Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_async Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_compile_path Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_release_path Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_free_path Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_release_path Jul 5 10:12:17 thor /kernel: ahc0: Bus Device Reset on A:4. 1 SCBs aborted Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): camisr(ch0:ahc0:0:4:1): xpt_action Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): xpt_action Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): ahc_action Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_compile_path Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_async Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_free_path Jul 5 10:12:17 thor /kernel: (noperiph:ahc0:0:4:1): xpt_release_path Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): ahc_done - scb 5 Jul 5 10:12:17 thor /kernel: (ch0:ahc0:0:4:1): xpt_done Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): camisr(ch0:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): xpt_action Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): xpt_action Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): xpt_action Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): ahc_action Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): ahc_done - scb 10 Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): xpt_done Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): camisr(ch0:ahc0:0:4:1): xpt_setup_ccb Jul 5 10:12:18 thor /kernel: (ch0:ahc0:0:4:1): xpt_action To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message