Re: [Mtx-general] Mode Sense Hanging
Brought to you by:
elgreen,
robertnelson
|
From: Eric L. G. <er...@ba...> - 2003-07-22 20:27:32
|
On Tuesday 22 July 2003 11:54 am, Charles M. Richmond wrote: > > > /dev/changer offline 1 failed: Inappropriate ioctl for device > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > I assume you're using the 'sgen' driver? If so, the above ioctl attempt > > may have put the 'sgen' driver into an uncertain state (I have *not* been > > impressed by the stability of Solaris's drivers when it comes to tape and > > loaders). If you're using another driver, there may be more problems. > > Yes I am using the sgen driver. Yes I agree with you about the stability. > The hang exists for every permutation of fresh boot, with/without offline > and with/without inquiry. I tried to be thorough before running for help. > Doesn't mean I didn't miss something dumb but I did try not to. > > > > 0000:1a 00 1d 00 88 00 > > > > It's requesting the Element Address Assigment Page. > > Where can I find the decode for byte 2? I have David Demings very > thorough write up but I can not find that byte in his book. You might want to look at the archives of the SCSI T-10 working group. http://www.t11.org/t10/drafts.htm You are interested in the tail end of the SCSI SMC draft for the format of the Element Address Assignment Page, and the SCSI SPC draft for the format of the Mode Sense command in general. > I am sticking a few more debug/frintfs in scsi_sun.c but am definitely > open to suggestions. I'm afraid we're at the end of my expertise here. Not having a Sun to play with, I am not in a position to try to figure this out myself. Hopefully there are other Sun users out there who can help. -- Eric Lee Green mailto:er...@ba... Unix/Linux/Storage Software Engineer needs job -- see http://badtux.org for resume |