Updated Summary: DVD drive ejected

From: Johan Hartzenberg <jhartzen_at_csc.com>
Date: Thu Jul 06 2006 - 03:55:31 EDT
For completeness' sake: I have received a few more answers to my original 
question, suggesting that you can use command which probes the SCSI bus, 
such as "disks", "devlinks".  Also I've received some suggestions to use 
the vold and/or volcheck commands.





Johan Hartzenberg/GIS/CSC
@CSC
Sent by: sunmanagers-bounces
07/05/2006 05:21 PM
 
        To:     sunmanagers@sunmanagers.org
        cc: 
        Subject:        Summary: DVD drive ejected


Thank you for the quick responses.

Some people suggested that I use the GNU version of "eject", which has got
a "-t" option to send a "retract tray" command to the device.

The second suggestion was to temporarily drop to the OBP and run
probe-scsi.  However I am weary of running probe-scsi on a running system,
and I cannot do this remotely on this system (No RSC network in place)

Others suggested "cdrecord".  The most complete answer was from Paul
Gress, quoted below.  I have not tried either option yet as I did not have
time to download or install additional software.

Thanx,
_Johan




----- Forwarded by Johan Hartzenberg/GIS/CSC on 07/05/2006 05:16 PM -----


Paul Gress <pgress
@optonline.net>
07/04/2006 07:37 PM

To:     Johan Hartzenberg/GIS/CSC@CSC
cc:
Subject:        Re: DVD drive ejected


Johan Hartzenberg wrote:
> Hi,
>
> I have a machine in a remote location and I have a CD in the DVD-rom
> drive, but the tray has been ejected by the eject command.  Is there a
> command which will cause the tray to pull back, similar to what happens
> when the machine is rebooted, but obviously without actually rebooting
the
> machine?  I would like to avvoid having to rive out to the remote site
if
> possible.
>
> For what it is worth, the system is running Solaris 9.
>
> Thanx,
>   _Johan
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
>
The utility I know of that will do this is "cdrecord".  It is going to
become part of Solaris 10 in the next release.  The command I issued was

# /usr/local/bin/cdrecord dev=1,2,0 -load

But your location of the binary may be different.




If cdrecord isn't on your computer, you can build it, it is now fully
opened sourced and works with DVD's (including dual layer 9.7 gig)
without a registration key.  It can be downloaded then compiled, Sun
Studio Compilers are now free.

ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a10.tar.bz2

To build a 64bit version of cdrecord using Studio 10/11 use

$ make COPTX=-xarch=amd64 LDOPTX=-xarch=amd64

$ make install




The second choice is to download a pre-built binary, it runs on Solaris
9.  This is located at (two choices)

http://www.blastwave.org
ftp://ftp.sunfreeware.com/pub/freeware/contributions/copley/

Their version's are older and still requires a key for DVD's, cdrecord
was just released fully open source about 2 weeks ago.  Cdrecord is
located in cdrtools.

Paul
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jul 6 03:57:29 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:59 EST