Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 17:14:52 -0400
From:      Paul Chvostek <paul+fbsd@it.ca>
To:        freebsd-scsi@freebsd.org, freebsd-hardware@freebsd.org
Subject:   juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured"
Message-ID:  <20091010211452.GA44208@it.ca>

next in thread | raw e-mail | index | archive | help
Hi there.

I have a tape library, but I can't seem to send it commands.

It's recognized on the bus:

  # grep ch0 /var/run/dmesg.boot 
  ch0 at isp0 bus 0 target 0 lun 1
  ch0: <HP MSL G3 Series 6.00> Removable Changer SCSI-5 device 
  ch0: 400.000MB/s transfers
  ch0: Command Queueing Enabled
  ch0: 48 slots, 2 drives, 1 picker, 0 portals

And I can read status and voltags and such from it:

  # chio status -vS | tail -8
  slot 42: <ACCESS,FULL> voltag: <000026L4:0> source: <slot 42>
  slot 43: <ACCESS,FULL> voltag: <000020L4:0> source: <slot 43>
  slot 44: <ACCESS,FULL> voltag: <000039L4:0> source: <slot 44>
  slot 45: <ACCESS,FULL> voltag: <000040L4:0> source: <slot 45>
  slot 46: <ACCESS,FULL> voltag: <000043L4:0> source: <slot 46>
  slot 47: <ACCESS,FULL> voltag: <000031L4:0> source: <slot 47>
  drive 0: <ACCESS> voltag: <:0> source: <>
  drive 1: <ACCESS,FULL> voltag: <000030L4:0> source: <slot 16>

But I can't send commands:

  # chio move slot 43 drive 0
  chio: /dev/ch0: CHIOMOVE: Device not configured
  # tail -6 /var/log/messages
  Oct 10 17:13:14 nas kernel: (ch0:isp0:0:0:1): MOVE MEDIUM. CDB: a5 0 0 0 4 14 0 1 0 0 0 0 
  Oct 10 17:13:14 nas kernel: (ch0:isp0:0:0:1): CAM Status: SCSI Status Error
  Oct 10 17:13:14 nas kernel: (ch0:isp0:0:0:1): SCSI Status: Check Condition
  Oct 10 17:13:14 nas kernel: (ch0:isp0:0:0:1): ILLEGAL REQUEST asc:25,0
  Oct 10 17:13:14 nas kernel: (ch0:isp0:0:0:1): Logical unit not supported
  Oct 10 17:13:14 nas kernel: (ch0:isp0:0:0:1): Unretryable error

What am I missing?

Thanks.  :-)

p


-- 
  Paul Chvostek                                             <paul@it.ca>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091010211452.GA44208>