Summary: DVD drive ejected

From: Johan Hartzenberg <>
Date: Wed Jul 05 2006 - 11:21:14 EDT
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.


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

Paul Gress <pgress>
07/04/2006 07:37 PM
        To:     Johan Hartzenberg/GIS/CSC@CSC
        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 
> machine?  I would like to avvoid having to rive out to the remote site 
> possible.
> For what it is worth, the system is running Solaris 9.
> Thanx,
>   _Johan
> _______________________________________________
> sunmanagers mailing list
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.

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)

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.

sunmanagers mailing list
Received on Wed Jul 5 17:55:19 2006

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