Re: cdrom eject fails in 2.2.2-ac7

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
9 Mar 1999 09:26:55 -0800


In article <linux.kernel.36E1476F.9F8E016C@image.dk>,
Jens Axboe <axboe@image.dk> wrote:
>Keith Bennett wrote:
>> okay, not of grave significance, but it used to work.
>> i'm new to this so i'm not sure what info you might need. here's
>> the tail-end from 'strace eject'. hdc is my cd drive and it's
>> not mounted.
>>
>> munmap(0x4000b000, 4096) = 0
>> fstat(3, {st_mode=S_IFIFO|S_ISGID|S_ISVTX, st_size=0, ...}) = 0
>> ioctl(3, FIBMAP, 0x804ba20) = -1 EINVAL (Invalid argument)
>> ioctl(3, CDROMEJECT, 0x4000a3c8) = -1 EBUSY (Device or resource
>> busy)
>> write(2, "eject: CDROMEJECT ioctl failed f"..., 71eject: CDROMEJECT ioctl
>> failed for `/dev/hdc': Device or resource busy
>> ) = 71
>> _exit(1)
>>
>> sorry if i'm just wasting space here.
>
>You need to upgrade your version of eject. I believe that 2.0 is
>"2.2 ready" - if not, let me know.

As a matter of idle curiosity, why do you need to change your
version of eject? Did the published interface for the CDROMEJECT
ioctl change in 2.2?

____
david parsons \bi/ Aaargh.
\/

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