Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2000 11:18:27 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: chio inserted tape, but gives error?
Message-ID:  <Pine.BSF.4.21.0007051114190.33627-100000@thelab.hub.org>
In-Reply-To: <Pine.BSF.4.10.10007041159430.17504-100000@beppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ACCESS>
slot 1: <ACCESS,FULL>
slot 2: <ACCESS,FULL>
slot 3: <ACCESS,FULL>
drive 0: <ACCESS,FULL>
thor# chio move drive 0 slot 0
chio: /dev/ch0: CHIOMOVE: Input/output error
thor# chio status
picker 0: 
slot 0: <ACCESS>
slot 1: <ACCESS,FULL>
slot 2: <ACCESS,FULL>
slot 3: <ACCESS,FULL>
drive 0: <ACCESS,FULL>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007051114190.33627-100000>