juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured"

View: New views
4 Messages — Rating Filter:   Alert me  

juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured"

by Paul Chvostek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/

_______________________________________________
freebsd-scsi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@..."

Re: juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured"

by Sean Bruno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-10-10 at 17:14 -0400, Paul Chvostek wrote:
> 000031L4


Huh ... have you tried moving the tape by "voltag" ??

e.g.

move voltag 000020L4 drive 0


Sean

_______________________________________________
freebsd-scsi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@..."

Re: juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured"

by Paul Chvostek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sean,

On Sat, Oct 10, 2009 at 02:49:19PM -0700, Sean Bruno wrote:
>
> On Sat, 2009-10-10 at 17:14 -0400, Paul Chvostek wrote:
> > 000031L4
>
> Huh ... have you tried moving the tape by "voltag" ??
>
> e.g.
>
> move voltag 000020L4 drive 0

I have now, but with the same result:

  # chio status -v | grep drive
  drive 0: <ACCESS,FULL> voltag: <000039L4:0>
  drive 1: <ACCESS,FULL> voltag: <000030L4:0>
  #
  # chio move voltag 000030L4 slot 44
  chio: /dev/ch0: CHIOMOVE: Device not configured
  #
  # tail -6 /var/log/messages
  Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): MOVE MEDIUM. CDB: a5 0 0 0 0 2 4 15 0 0 0 0
  Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): CAM Status: SCSI Status Error
  Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): SCSI Status: Check Condition
  Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): ILLEGAL REQUEST asc:25,0
  Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Logical unit not supported
  Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Unretryable error


Is there a way to determine whether this problem is with the device or
with FreeBSD?  Note that I *can* move the tapes around using the juke
box's web gui, so it's not a physical problem.

For reference:

  # grep 'at isp0' /var/run/dmesg.boot
  sa0 at isp0 bus 0 target 0 lun 0
  ch0 at isp0 bus 0 target 0 lun 1

Thanks muchly.


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

_______________________________________________
freebsd-scsi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@..."

Re: juke box problem - "chio: /dev/ch0: CHIOMOVE: Device not configured"

by Kenneth D. Merry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 14, 2009 at 02:53:09 -0400, Paul Chvostek wrote:

> Hi Sean,
>
> On Sat, Oct 10, 2009 at 02:49:19PM -0700, Sean Bruno wrote:
> >
> > On Sat, 2009-10-10 at 17:14 -0400, Paul Chvostek wrote:
> > > 000031L4
> >
> > Huh ... have you tried moving the tape by "voltag" ??
> >
> > e.g.
> >
> > move voltag 000020L4 drive 0
>
> I have now, but with the same result:
>
>   # chio status -v | grep drive
>   drive 0: <ACCESS,FULL> voltag: <000039L4:0>
>   drive 1: <ACCESS,FULL> voltag: <000030L4:0>
>   #
>   # chio move voltag 000030L4 slot 44
>   chio: /dev/ch0: CHIOMOVE: Device not configured
>   #
>   # tail -6 /var/log/messages
>   Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): MOVE MEDIUM. CDB: a5 0 0 0 0 2 4 15 0 0 0 0
>   Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): CAM Status: SCSI Status Error
>   Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): SCSI Status: Check Condition
>   Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): ILLEGAL REQUEST asc:25,0
>   Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Logical unit not supported
>   Oct 14 02:48:16 nas kernel: (ch0:isp0:0:0:1): Unretryable error

Typically a "Logical unit not supported" error means that that particular
LUN (in this case LUN 1) isn't supported/doesn't exist.  (Which would be
strange, given that it does probe.)

Could the changer be in autoloader mode?  That's the only thing I can think
of that would cause an error like that.  The only other explanation is that
they're misusing that error to say that it doesn't like the particular move
you're trying to do.

> Is there a way to determine whether this problem is with the device or
> with FreeBSD?  Note that I *can* move the tapes around using the juke
> box's web gui, so it's not a physical problem.
>
> For reference:
>
>   # grep 'at isp0' /var/run/dmesg.boot
>   sa0 at isp0 bus 0 target 0 lun 0
>   ch0 at isp0 bus 0 target 0 lun 1

Ken
--
Kenneth Merry
ken@...
_______________________________________________
freebsd-scsi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@..."