Your message dated Tue, 7 Jun 2016 18:48:43 +0100
with message-id <[email protected]>
and subject line Re: Bug#766250: eject: [kfreebsd] fails to open cdrom tray
has caused the Debian Bug report #766250,
regarding eject: [kfreebsd] fails to open cdrom tray
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
766250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766250
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: eject
Version: 2.1.5+deb1+cvs20081104-13
Severity: grave
User: [email protected]
Usertags: kfreebsd
User: [email protected]
Usertags: gift
X-Debbugs-Cc: [email protected], [email protected]
Hi,
I'm creating an actual bug ticket for this issue, reported at:
https://lists.debian.org/debian-bsd/2014/10/msg00278.html
and further discussed here:
https://lists.debian.org/debian-bsd/2014/10/msg00287.html
I'm leaving this tagged 'gift', as a nice easy bug that a relative
beginner to kfreebsd can try to take a look at:
On 20/10/14 20:54, DAVID Henderson wrote:
> Ejecting /media/cdrom from the Debian kfreebsd-i386 command line results
> in an io error.
> The media in the cdrom tray is Wheezy 7.0.0 kfreebsd-i386 DVD 1.
> root@hpdkfre:~# eject /media/cdrom
> eject: unable to eject, last error: Input/output error
It would be helpful to know ASAP what version of the kfreebsd kernel and
eject utility are affected. The reporter only mentioned wheezy; there
were 8.3 and 9.0 kernels in wheezy and I'm not sure which was used. And
is sid/jessie affected?
eject should be a very simple C program. Actually ejecting a CD-ROM
drive probably involves only a single ioctl.
I suggest to try `camcontrol eject cd0` (from freebsd-utils) to see if
that works right.
Perhaps use the ktrace and kdump tools to see the ioctl being used by
eject or by camcontrol, and compare. Or use gdb if you're familiar.
See here how ioctl calls are encoded:
https://www.freebsd.org/cgi/man.cgi?query=ioctl&apropos=0&sektion=2&manpath=FreeBSD+10.0-RELEASE&arch=i386&format=html
http://fxr.watson.org/fxr/source/sys/ioccom.h?v=FREEBSD10#L36
And some other useful services are:
http://codesearch.debian.net/
http://sources.debian.net/
Thanks, have fun!
Regards,
--
Steven Chamberlain
[email protected]
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source-Version: 2.1.5+deb1+cvs20081104-13.1
Closing this old bug now, as it is fixed in jessie-kfreebsd.
Regards,
--
Steven Chamberlain
[email protected]
--- End Message ---