Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 1998 22:23:25 -0300 (EST)
From:      Joao Carlos Mendes Luis <jonny@coe.ufrj.br>
To:        scsi@FreeBSD.ORG
Subject:   CD locked on boot ?
Message-ID:  <199805070123.WAA04644@roma.coe.ufrj.br>

next in thread | raw e-mail | index | archive | help
Hi,

  Maybe the folks in this list may help me one way or another.

  I don't know why, my CDROM decided not to accept the user command
of manual eject.  In case it matters, it's a TEAC CD56-S (6X), SCSI
of course.  The controler is an AHA1542CF, and also controls an
internal ZIP drive.  The BIOS is hardware enabled, but software
disabled, as my hard disks are IDE (el cheapo).

  Playing a little with the DOS ASPI utilities, I found that
the drive is indeed locked.  (Why ???).  Well, at DOS I just
had to put the ASPI command to unlock the drive and everything
get ok.

  I was trying to do the same in FreeBSD, using the CDIO ioctls,
but open(2) returns ENXIO, which means "No disc in drive".  Ok,
there's no disc in drive, but it's locked, and I want to unlock
in order to put a disc inside.  It seems to be a chicken and egg
problem.  :)

  I would try the scsi commands if I knew then.  Even better,
I would love to know why this CD starts locked after every boot.
Does anybody have a suggestion ?

  TIA,

					Jonny

--
Joao Carlos Mendes Luis			jonny@gta.ufrj.br
+55 21 290-4698 ( Job )			jonny@coppe.ufrj.br
M.Sc. Student				Electrical Engineering
Universidade Federal do Rio de Janeiro

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805070123.WAA04644>