First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 122256
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stuart W. Finlayson <stu@santa-li.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
eject-2.1.0-toggle-fix.patch Patch that fixes toggle problem patch Stuart W. Finlayson 2006-02-09 07:47 0000 793 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 122256 depends on: Show dependency tree
Bug 122256 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-09 07:46 0000
Toggling the tray when the media is mounted results in an I/O error:

wolverine ~ # mount -v /mnt/cdrom
/dev/hdd on /mnt/cdrom type iso9660 (ro,noexec,nosuid,nodev)
wolverine ~ # eject -T /mnt/cdrom
ioctl: Input/output error
wolverine ~ #

This is because the section that handles the -T option is misplaced.  It should
occur after the device is unmounted, otherwise it will not eject.  See attached
patch.


wolverine ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15.1
i686)
=================================================================
System uname: 2.6.15.1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://gentoo.seren.com/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts audiofile avi bash-completion bitmap-fonts bzip2
bzlib cdr crypt curl dvd dvdr eds emboss encode esd ethereal exif expat fam
ffmpeg flac fortran gif glut gmp gpm idn imlib ipv6 java jpeg kde
kdeenablefinal lcms libwww mad mikmod mmx mmx2 mng motif mp3 mpeg ncurses
network nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png python
qt quicktime readline rtc sdl slang spell sse sse2 ssl svga tcpd tetex tiff
truetype truetype-fonts type1-fonts udev vorbis xine xml2 xmms xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Stuart W. Finlayson 2006-02-09 07:47:45 0000 -------
Created an attachment (id=79327) [edit]
Patch that fixes toggle problem

------- Comment #2 From SpanKY 2006-02-09 20:55:07 0000 -------
*** Bug 106487 has been marked as a duplicate of this bug. ***

------- Comment #3 From SpanKY 2006-02-09 20:55:55 0000 -------
Patrik: think you could do me a favor and review this patch for me ?

------- Comment #4 From Patrik Kullman 2006-02-10 13:24:51 0000 -------
Stuart is right of course.
We didn't think it through properly.

It should be committed and also sent upstream.
Too bad our original patch went upstream for 2.1 without this change ;/

------- Comment #5 From Stuart W. Finlayson 2006-02-10 19:40:34 0000 -------
I already submitted it to Jeff, it's in CVS, and should be in the next stable
version (2.1.5).

------- Comment #6 From SpanKY 2006-02-10 20:16:13 0000 -------
added to eject-2.1.0-r1 then, thanks all

------- Comment #7 From Stuart W. Finlayson 2006-02-10 22:28:39 0000 -------
The patch was added, but isn't applied by the ebuild.

------- Comment #8 From SpanKY 2006-02-10 22:35:10 0000 -------
indeed, fixed in cvs

First Last Prev Next    No search results available      Search page      Enter new bug