Your message dated Fri, 20 Apr 2007 16:50:28 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#382524: cdctrl does not more work under sarge
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cdtool
Version: 2.1.5-13
Severity: normal

Error description:

I am using ATA and SCSI Cd-Drives which are /dev/hdc or /dev/scd0.

Now if I try 'cdctrl e' it access the drive and nothing happen.
I must use ^C to interupt the operation, because other programs
like "eject" can not access the CD-Drive.

Output of strace:

----8<--------------------------------------------------------------
execve("/usr/bin/cdctrl", ["cdctrl", "e"], [/* 70 vars */]) = 0
uname({sys="Linux", node="michelle1.private", ...}) = 0
brk(0)                                  = 0x8051760
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40017000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=23534, ...}) = 0
old_mmap(NULL, 23534, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360^\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1244688, ...}) = 0
old_mmap(NULL, 1254852, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001e000
old_mmap(0x40146000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x127000) = 0x40146000
old_mmap(0x4014e000, 9668, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014e000
close(3)                                = 0
munmap(0x40018000, 23534)               = 0
close(2)                                = 0
dup2(1, 2)                              = 2
open("e", O_RDONLY|O_NONBLOCK)          = -1 ENOENT (No such file or directory)
write(2, "CDCTRL: can\'t open cdrom (e)", 28) = 28
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40018000
write(1, "\n", 1)                       = 1
munmap(0x40018000, 4096)                = 0
exit_group(1)                           = ?
----8<--------------------------------------------------------------

Please note, that cdctrl does not work at all, but cdplay does its job.

Oh yes, /dev/cdrom is a working symlink to the right devices...

Greetings
    Michelle Konzack
    Systemadministrator




-- System Information
Debian Release: 3.1
Kernel Version: Linux michelle1.private 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 
2005 i686 GNU/Linux


Versions of the packages cdtool depends on:
ii  debconf        1.4.30.13      Debian configuration management system
ii  libc6          2.3.2.ds1-22   GNU C Library: Shared libraries and Timezone



--- End Message ---
--- Begin Message ---
Hello Max,

I close this bug since I misunderstood the manpage...

I was thinking, 'cdctrl e' works on the commandline.
but insteed it open a "prompt where I can type it.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


Am 2007-04-15 02:17:50, schrieb Max Vozeler:
> Hi Michelle,
> 
> Am 2006-07-10 19:16:20, schrieb Michelle Konzack:
> > I am using ATA and SCSI Cd-Drives which are /dev/hdc or /dev/scd0.
> > 
> > Now if I try 'cdctrl e' it access the drive and nothing happen.
> > I must use ^C to interupt the operation, because other programs
> > like "eject" can not access the CD-Drive.
> 
> I'm not sure I understand your bug report correctly.
> 
> The strace shows that it tried to open a device called "e"
> in the current directory, because the first command line
> argument is intepreted as path to the device. This failed,
> and then cdctrl seems to have exited normally.
> 
> Is the problem that cdctrl keeps the device open if you
> use it like "cdctrl /dev/cdrom" and that this prevents 
> other programs from accessing the device? This could be,
> because IIRC that behaviour changed some versions back.
> 
> cheers,
> Max
------------------------- END OF REPLIED MESSAGE -------------------------




-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


--- End Message ---

Reply via email to