TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:7649] SCSI reset



> -----Original Message-----
> From: Yaron [mailto:jethro@yaron.org]
> Sent: Wednesday, August 18, 1999 12:20 PM
> To: TCLUG
> Subject: [TCLUG:7649] SCSI reset
> 
> 
>   Hi,
> 
> Well, speaking of CD-Rs...
> 
> When I interrupt a CD burn, even if it's in dummy mode, I 
> can't access the
> drive anymore. cdrecord reports no CD-R available, eject /dev/sr0 says
> device busy, etc.  I have to reboot to regain control of the 
> CD-R drive. 
> 
> Anyone have a solution?
> 

You could try 'fuser /dev/sr0' which will give you the pid of the
process(es) that has opened this device file. Then try to kill the process.
Sometimes the kill doesn't work if the process is in kernel code (don't know
if linux kernel has protection against this).  Usually kill -15 should
suffice.  If that doesn't work, try kill -9.  If that doesn't work, then
reboot.

-Unni