Re: Problems with eject and pktcdvd

From: Damian Pietras
Date: Mon Feb 06 2006 - 15:13:33 EST


On Sun, Feb 05, 2006 at 11:44:46PM +0100, Peter Osterlund wrote:
> Damian Pietras <daper@xxxxxxxxx> writes:
>
> > Now I can mount CD-R, CD-RW, DVD+RW using pktcdvd.
> >
> > Something strange happend when I copied files to DVD+RW und used eject.
> > After some time eject exitet, but the disc was stil in the burner, I was
> > allowed to open it by pressing the eject button, but then:
> >
> > hda: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
> > hda: media error (bad sector): error=0x34 { AbortedCommand LastFailedSense=0x03
>
> Thanks for testing. Please try this patch: It makes sure not to unlock
> the door if the disc is in use.

It still allows to eject the disc while `umount /media/cdrom0` is
waiting to finish.

--
Damian Pietras
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/