Those are 3 good suggestions. I will take them in order and tell what I
discovered.
1. I don't seem to have an 'eject' command on my system. Do you know if
there is a package that I could install that would give me that capability?
2. I ran lsof at various times and there was nothing accessing the drive
after it was umounted.
3. What I didn't say when stating the problem (because I didn't think
there was any connection at the time) was that there was already an ide
cdrom drive in my computer. I got the external usb CD/DVD drive to get
DVD capability. When I was looking around in the /proc/sys/dev/cdrom
subdirectory per your suggestion I noticed that the 'info' file had 2
columns, one for the ide drive and one for the usb/scsi drive. All the
other files ('lock', 'autoeject', etc) only had one value (0 or 1). So I
wondered to myself :
a) Which drive does the single value apply to? and
b) Could having 2 cdrom drives be causing a conflict somewhere?
So I went back to my kernel configuration and disabled support for the
ide drive. When I rebooted , the first thing I noticed was that the
entire /proc/sys/dev/cdrom directory no longer exists. Also the usb
drive now ejects properly!
So unless anyone can think of anything better, I guess i will have 2
different kernels, one for using the ide drive and one for using the usb
drive.
Thanks very much for the help..
p.s. Changing the /proc/sys/dev/cdrom/lock setting didn't have any effect.
Theodoros V. Kalamatianos wrote:
> On Tue, 27 Feb 2007, William Moon wrote:
>
>> the drive will not eject when I push the eject button. This is even
>> after I have unmounted the drive from the file system. The only way I
>> can get the cd out is to reboot to Windows and then eject it.
>
> 1. what about using the `eject' command ? Does that work ?
>
> 2. Can you verify with lsof that nothing is accessing the drive ?
>
> 3. what is your /proc/sys/dev/cdrom/lock setting ? Perhaps changing it
> to zero might help (bear in mind that this way you may get some I/O
> errors after you remove the disk).
>
>
> Regards,
>
> Theodoros Kalamatianos
>
> ______________________________________________________________________
> This e-mail has been scanned by Cut.Net Managed Email Content Service,
> using Skeptic(tm) technology powered by MessageLabs. For more
> information on Cut.Nets Content Service, visit http://www.cut.net
> ______________________________________________________________________
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users