lkml.org 
[lkml]   [1999]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCSI CDROM on 2.2.1
Lenart Gabor wrote:
> > > > strace eject.
>
> I have got similar problem :
>
> root@oxygene:~# strace eject
> execve("/usr/bin/eject", ["eject"], [/* 21 vars */]) = 0
...
> open("/dev/hdc", O_RDONLYSegmentation fault

Same deal. For ioctl the device _should_ be opened O_NONBLOCK -
then the open won't fail when there is not a valid media in
the drive.

> With inserted CDROM it worked.

Yes, the open won't fail when a medium is inserted.

> 1.5-6 Debian eject.deb package

Since this problem comes up every now and then I'll work up
a little write explaining the problem to the maintainers of
the various cd-tools packages. I'd appreciate input on
who should be informed.

--
* Jens Axboe <axboe@image.dk>
* Linux CD-ROM Maintainer
* "The only thing that interferes with my
* learning is my education." -- A. Einstein

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

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.047 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site