[Mtx-general] Mode Sense Hanging
Brought to you by:
elgreen,
robertnelson
|
From: Charles M. R. <cm...@ii...> - 2003-07-22 13:55:18
|
Using Solaris 2.8 with an Overland LibraryPro changer. I have a hang on all commands except 'inquiry'. The changer goes into a busy state as the hang is in the driver. I have verified this with each version of mtx from 1.2.15 to 1.2.18rel. I am told that mtx worked before, and that patches to Solaris might have been the gating factor to the problem. # mt -f /dev/rmt/0 offline /dev/rmt/0: no tape loaded or drive offline # mt -f /dev/rmt/1 offline /dev/rmt/1: no tape loaded or drive offline # mt -f /dev/changer offline /dev/changer offline 1 failed: Inappropriate ioctl for device # ./mtx inquiry ------CDB-------- 0000:12 00 00 00 38 00 --------input data----------- 0000:08 80 4a 02 33 00 00 30 4f 56 45 52 4c 41 4e 44 4c 49 42 52 41 52 59 50 52 0019:4f 20 20 20 20 20 20 30 34 32 30 31 39 2d 41 70 72 2d 30 32 00 00 00 00 00 0032:00 00 15 01 02 01 Product Type: Medium Changer Vendor ID: 'OVERLAND' Product ID: 'LIBRARYPRO ' Revision: '0420' Attached Changer: No (Note: the 12 is the inquiry command, the 38 is the byte count and the hex data corresponds to the return) # ./mtx load ------CDB-------- 0000:12 00 00 00 38 00 --------input data----------- 0000:08 80 4a 02 33 00 00 30 4f 56 45 52 4c 41 4e 44 4c 49 42 52 41 52 59 50 52 0019:4f 20 20 20 20 20 20 30 34 32 30 31 39 2d 41 70 72 2d 30 32 00 00 00 00 00 0032:00 00 15 01 02 01 ------CDB-------- 0000:1a 00 1d 00 88 00 (here is the hang. The load has issued an 'inquiry' which worked and then a 'mode sense(6)' where the '1a' is the cmd, the '1d' is supposedly device specific, and the '88' is the count for the data that is never returned.) Other commands have an identical response. And of course since the driver itself is hung, the device is in a device wait state that requires a reboot. Of course this is probably an "operator headspace adjustment" but I will be more than happy to dig into code. (see http://www.iisc.com/cmr for my past experience) Thanks in advance Charles --- *********************************************************************** * Charles Richmond Implemented Integrated Systems Corporation * * cm...@ii... cm...@ac... YIM:cmriisc http://www.iisc.com * * O/S I18N Systems Development Process and Integration Providers * * 131 Bishop's Forest Drive , Waltham , Ma. USA 02452 * * (781) 647 2269 FAX (781) 647 3665 Cellular (781) 389 9777 * *********************************************************************** |