Re: [Mtx-general] Mode Sense Hanging
Brought to you by:
elgreen,
robertnelson
|
From: Charles M. R. <cm...@ii...> - 2003-07-22 18:54:58
|
> > /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. > This tells how many of > each type of element are mapped into the loader's address space, and where > they start, element address wise. mtx uses that information to allocate its > internal structures using malloc() and in order to know how many elements to > request from READ_ELEMENT_STATUS for each type of element. > I have no idea why things are hanging at this point. The Overland should > support the EAAP, Overland generally puts out good gear that's pretty > SMC-compliant (I'm trying to get the manual from their website to make sure, > but I'm 99% positive there's no problem there). Can you find out what driver > you're using for /dev/changer? definitely sgen: lrwxrwxrwx 1 root other 24 Mar 18 11:24 /dev/changer -> /dev/scsi/changer/c3t3d0 lrwxrwxrwx 1 root root 58 Jun 2 16:02 /dev/scsi/changer/c3t3d0 -> ../../../devices/pci@1f,4000/pci@2/scsi@5/sgen@3,0:changer I am sticking a few more debug/frintfs in scsi_sun.c but am definitely open to suggestions. 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 2246 FAX (781) 647 3665 Cellular (781) 389 9777 * *********************************************************************** |