from "strace eject /dev/sdb" ... open("/dev/sdb", O_RDONLY|O_NONBLOCK) = 3 ioctl(3, CDROMEJECT, 0x804d878) = -1 EIO (Input/output error) ioctl(3, SG_GET_VERSION_NUM, 0xbfea8610) = 0 ioctl(3, SG_IO, 0xbfea8204) = -1 EPERM (Operation not permitted) ioctl(3, FDEJECT, 0x804d878) = -1 EINVAL (Invalid argument) ioctl(3, MGSL_IOCGPARAMS or MTIOCTOP or SNDCTL_MIDI_MPUMODE, 0xbfea7a04) = -1 EINVAL (Invalid argument) ... write(2, "eject: unable to eject, last err"..., 53eject: unable to eject, last error: Invalid argument
From "sudo strace eject /dev/sda" open("/dev/sdb", O_RDONLY|O_NONBLOCK) = 3 ioctl(3, CDROMEJECT, 0x804d878) = -1 EIO (Input/output error) ioctl(3, SG_GET_VERSION_NUM, 0xbfda3620) = 0 ioctl(3, SG_IO, 0xbfda3214) = 0 ioctl(3, SG_IO, 0xbfda3214) = 0 ioctl(3, SG_IO, 0xbfda3214) = 0 ioctl(3, BLKRRPART
At this point the ipod is "ejected", it reboots and it gets mounted again. The eject command sometimes hangs.. (I can C-c it).
So it seems really the same bug.. (i'm on i386 too).
from "strace eject /dev/sdb" O_NONBLOCK) = 3 MIDI_MPUMODE, 0xbfea7a04) = -1
...
open("/dev/sdb", O_RDONLY|
ioctl(3, CDROMEJECT, 0x804d878) = -1 EIO (Input/output error)
ioctl(3, SG_GET_VERSION_NUM, 0xbfea8610) = 0
ioctl(3, SG_IO, 0xbfea8204) = -1 EPERM (Operation not permitted)
ioctl(3, FDEJECT, 0x804d878) = -1 EINVAL (Invalid argument)
ioctl(3, MGSL_IOCGPARAMS or MTIOCTOP or SNDCTL_
EINVAL (Invalid argument)
...
write(2, "eject: unable to eject, last err"..., 53eject: unable to eject, last
error: Invalid argument
From "sudo strace eject /dev/sda" O_NONBLOCK) = 3
open("/dev/sdb", O_RDONLY|
ioctl(3, CDROMEJECT, 0x804d878) = -1 EIO (Input/output error)
ioctl(3, SG_GET_VERSION_NUM, 0xbfda3620) = 0
ioctl(3, SG_IO, 0xbfda3214) = 0
ioctl(3, SG_IO, 0xbfda3214) = 0
ioctl(3, SG_IO, 0xbfda3214) = 0
ioctl(3, BLKRRPART
At this point the ipod is "ejected", it reboots and it gets mounted again. The
eject command sometimes hangs.. (I can C-c it).
So it seems really the same bug.. (i'm on i386 too).