Package: eject
Version: 2.1.5+deb1+cvs20081104-9
Severity: important

I use eject to unmount and eject my iPod (i.e. stop mass-storage mode).
This fails with kernel 3.2.0 (and also with 3.1.0 I believe).

(The iPod data partition is /dev/sdb2, mounted on /mnt/ipod)

> # eject /mnt/ipod
> eject: unable to eject, last error: Inappropriate ioctl for device

The following does succeed:
> sudo eject /dev/sdb 

This is most probably the result of the following kernel commit:
> commit 0bfc96cb77224736dfa35c3c555d37b3646ef35e
> Author: Paolo Bonzini <pbonz...@redhat.com>
> Date:   Thu Jan 12 16:01:28 2012 +0100
> 
>       block: fail SCSI passthrough ioctls on partition devices

It no longer allows unsafe ioctl calls to be passed through partitions to
the physical device.
Presumably eject will need to be adapted to send the eject ioctls
directly to the physical device instead of the partition.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (990, 'stable'), (650, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eject depends on:
ii  libc6               2.13-26
ii  libdevmapper1.02.1  2:1.02.67-2

eject recommends no packages.

Versions of packages eject suggests:
pn  cdtool  <none>
pn  setcd   <none>

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to