Re: cdrom eject fails in 2.2.2-ac7

Keith Bennett (keith@dcs.st-andrews.ac.uk)
Sat, 6 Mar 1999 19:32:20 +0000 (GMT)


On Sat, 6 Mar 1999, Jens Axboe wrote:

> You need to upgrade your version of eject. I believe that 2.0 is
> "2.2 ready" - if not, let me know.

okay. i upgraded eject. now i get (for 'strace eject -r /dev/hdc'):

open("/etc/mtab", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4000b000
read(3, "/dev/hdb1 / ext2 rw 0 0\nnone /p"..., 4096) = 508
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4000b000, 4096) = 0
open("/dev/hdc", O_RDONLY|O_NONBLOCK) = 3
ioctl(3, CDROMEJECT, 0xbffffab8) = -1 EBUSY (Device or resource
busy)
write(2, "eject: unable to eject, last err"..., 60eject: unable to eject,
last error: Device or resource busy
) = 60
_exit(1)

let me know if you need more info.

keith.

===========================================================================
Keith Bennett Tel: 01334 463731
Mathematics Institute Fax: 01334 463748
University of St.Andrews, mailto:keith@dcs.st-and.ac.uk
St.Andrews, Fife KY16 9SS
SCOTLAND http://www-solar.dcs.st-and.ac.uk/~keith
===========================================================================

-
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/