public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] xcdroast 0.98alpha16: Empty CD
@ 2017-12-13 18:36 Hartmut Figge
  2017-12-13 20:53 ` Helmut Jarausch
  2017-12-14 10:24 ` [gentoo-user] " Joerg Schilling
  0 siblings, 2 replies; 9+ messages in thread
From: Hartmut Figge @ 2017-12-13 18:36 UTC (permalink / raw
  To: gentoo-user

Greetings,

on my current machine xcdroast fails to recognize an inserted CD in the
CD-reader. I do not often burn CDs and had switched to cdw which works
fine. Nevertheless, xcdroast was once my favorite and I am curious. :)

Starting xcdroast with -d 10 shows the problem:

DGB1: spawning: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "2,1,0"
-J -g -Q -H -v toc,summary,sectors,titles
DGB10: readtoc: cdda2wav: Invalid argument. Cannot open output fd 0.

On one partition I have an old Gentoo, last used 2011, also with
xcdroast 0.98alpha16. That one recognizes an inserted CD. Chrooting into
it and running xdroast with -d 10 gives this:

DGB1: spawning: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "2,1,0"
-J -g -Q -H -v toc,summary,sectors,titles
DGB10: readtoc: Type: ROM, Vendor 'HL-DT-ST' Model 'DVDROM DH18NS40 '
Revision '1.01' MMC+CDDA
[...]

Running the cdda2wav command in the console doesn't help.

Current machine:
i5-64 ~ # cdda2wav -D "2,1,0" -J -g -Q -H -v toc,summary,sectors,titles
Type: ROM, Vendor 'HL-DT-ST' Model 'DVDROM DH18NS40 ' Revision '1.01'
MMC+CDDA
569344 bytes buffer memory requested, transfer size 131072 bytes, 4
buffers, 55 sectors
cdda2wav: Read Full TOC MMC failed (probably not supported).
#Cdda2wav version
3.02a06_linux_4.12.12-gentoo-2_x86_64_intel-r--core-tm--i5-cpu-760-@-2.80ghz,
real time sched., soundcard, libparanoia support
Tracks:1 255:57.74
CDINDEX discid: flplyXqMOiodZEDJeDw5Ci6OD_g-
CDDB discid: 0x023bfd01
CD-Text: not detected
CD-Extra: not detected
Album title: '' from ''
T01:       0 255:57.74 data uninterrupted copydenied N/A
Leadout: 1151849
cdda2wav: This disk has no audio tracks.

Old Gentoo:
(chroot) i5-64 ~ # cdda2wav -D "2,1,0" -J -g -Q -H -v
toc,summary,sectors,titles
Type: ROM, Vendor 'HL-DT-ST' Model 'DVDROM DH18NS40 ' Revision '1.01'
MMC+CDDA
569344 bytes buffer memory requested, transfer size 131072 bytes, 4
buffers, 55 sectors
cdda2wav: Read Full TOC MMC failed (probably not supported).
#Cdda2wav version
3.00_linux_2.6.32-gentoo-r7-2_i686_intel-r--core-tm-2-duo-cpu-e6750-@-2.66ghz,
real time sched., soundcard, libparanoia support
Tracks:1 255:57.74
CDINDEX discid: flplyXqMOiodZEDJeDw5Ci6OD_g-
CDDB discid: 0x023bfd01
CD-Text: not detected
CD-Extra: not detected
Album title: '' from ''
T01:       0 255:57.74 data uninterrupted copydenied N/A
Leadout: 1151849
cdda2wav: This disk has no audio tracks.

Versions of cdda2wav and kernel are different, but in both cases the
output goes to the console. So the question is, where does this 'open
output fd 0' come from and what to do about it?

Hartmut



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] xcdroast 0.98alpha16: Empty CD
  2017-12-13 18:36 [gentoo-user] xcdroast 0.98alpha16: Empty CD Hartmut Figge
@ 2017-12-13 20:53 ` Helmut Jarausch
  2017-12-13 21:24   ` [gentoo-user] " Hartmut Figge
  2017-12-14 10:24 ` [gentoo-user] " Joerg Schilling
  1 sibling, 1 reply; 9+ messages in thread
From: Helmut Jarausch @ 2017-12-13 20:53 UTC (permalink / raw
  To: gentoo-user

On 12/13/2017 07:36:54 PM, Hartmut Figge wrote:
> Greetings,
> 
> on my current machine xcdroast fails to recognize an inserted CD in  
> the
> CD-reader. I do not often burn CDs and had switched to cdw which works
> fine. Nevertheless, xcdroast was once my favorite and I am curious. :)
> 

I have app-cdr/cdrtools 3.02_alpha07-r1 installed here.

Did you go to 'Setup' / 'Device-Scan' / 'Rescan devices'

Is your device listed there?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: xcdroast 0.98alpha16: Empty CD
  2017-12-13 20:53 ` Helmut Jarausch
@ 2017-12-13 21:24   ` Hartmut Figge
  2017-12-14 10:26     ` Joerg Schilling
  2017-12-14 10:30     ` Helmut Jarausch
  0 siblings, 2 replies; 9+ messages in thread
From: Hartmut Figge @ 2017-12-13 21:24 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch:
>On 12/13/2017 07:36:54 PM, Hartmut Figge wrote:

>I have app-cdr/cdrtools 3.02_alpha07-r1 installed here.

At the moment 3.02_alpha06, but I've tested the unstable version of
cdrtools also.

>Did you go to 'Setup' / 'Device-Scan' / 'Rescan devices'
>
>Is your device listed there?

Yes to both.

It seems that readtoc wishes to write to 'fd 0' instead to '-'. Perhaps
I should mention also that there is no desktop environment on my
machine. Only icewm.

Hartmut



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] xcdroast 0.98alpha16: Empty CD
  2017-12-13 18:36 [gentoo-user] xcdroast 0.98alpha16: Empty CD Hartmut Figge
  2017-12-13 20:53 ` Helmut Jarausch
@ 2017-12-14 10:24 ` Joerg Schilling
  2017-12-14 13:23   ` [gentoo-user] " Hartmut Figge
  1 sibling, 1 reply; 9+ messages in thread
From: Joerg Schilling @ 2017-12-14 10:24 UTC (permalink / raw
  To: gentoo-user

Hartmut Figge <h.figge@gmx.de> wrote:

> Greetings,
>
> on my current machine xcdroast fails to recognize an inserted CD in the
> CD-reader. I do not often burn CDs and had switched to cdw which works
> fine. Nevertheless, xcdroast was once my favorite and I am curious. :)
>
> Starting xcdroast with -d 10 shows the problem:
>
> DGB1: spawning: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "2,1,0"
> -J -g -Q -H -v toc,summary,sectors,titles
> DGB10: readtoc: cdda2wav: Invalid argument. Cannot open output fd 0.

This is a bug in cdda2wav that only hits when compiled in 64 bit mode. For this 
reason, it has not been detected for a long time as Solaris by default uses 32 
Bit applications as 64 bit application on an orthogonal CPU are usually 
slower...

The bug has been fixed on March 28, 2017 and published in schilytools.

Today, I published a separate source ball cdrtools-3.02a09.

Jörg

-- 
 EMail:joerg@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: xcdroast 0.98alpha16: Empty CD
  2017-12-13 21:24   ` [gentoo-user] " Hartmut Figge
@ 2017-12-14 10:26     ` Joerg Schilling
  2017-12-14 10:30     ` Helmut Jarausch
  1 sibling, 0 replies; 9+ messages in thread
From: Joerg Schilling @ 2017-12-14 10:26 UTC (permalink / raw
  To: gentoo-user

Hartmut Figge <h.figge@gmx.de> wrote:

> Helmut Jarausch:
> >On 12/13/2017 07:36:54 PM, Hartmut Figge wrote:
>
> >I have app-cdr/cdrtools 3.02_alpha07-r1 installed here.
>
> At the moment 3.02_alpha06, but I've tested the unstable version of
> cdrtools also.

You need at least 3.02a08 that has been published in:

	schily-2017-03-30.tar.bz2

today, a separate cdrtools-3.02a09 has been shipped.

Jörg

-- 
 EMail:joerg@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: xcdroast 0.98alpha16: Empty CD
  2017-12-13 21:24   ` [gentoo-user] " Hartmut Figge
  2017-12-14 10:26     ` Joerg Schilling
@ 2017-12-14 10:30     ` Helmut Jarausch
  2017-12-14 11:55       ` Joerg Schilling
  1 sibling, 1 reply; 9+ messages in thread
From: Helmut Jarausch @ 2017-12-14 10:30 UTC (permalink / raw
  To: gentoo-user

On 12/13/2017 10:24:14 PM, Hartmut Figge wrote:
> Helmut Jarausch:
> >On 12/13/2017 07:36:54 PM, Hartmut Figge wrote:
> 
> >I have app-cdr/cdrtools 3.02_alpha07-r1 installed here.
> 
> At the moment 3.02_alpha06, but I've tested the unstable version of
> cdrtools also.
> 
> >Did you go to 'Setup' / 'Device-Scan' / 'Rescan devices'
> >
> >Is your device listed there?
> 
> Yes to both.
> 
> It seems that readtoc wishes to write to 'fd 0' instead to '-'.  
> Perhaps
> I should mention also that there is no desktop environment on my
> machine. Only icewm.
> 

I'm using Icewm myself.
Perhaps you create an strace log and I'll compare that to one on my  
machine.
My whole machine is on "Gentoo unstable" - though it's very stable.

Helmut



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: xcdroast 0.98alpha16: Empty CD
  2017-12-14 10:30     ` Helmut Jarausch
@ 2017-12-14 11:55       ` Joerg Schilling
  0 siblings, 0 replies; 9+ messages in thread
From: Joerg Schilling @ 2017-12-14 11:55 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch <jarausch@skynet.be> wrote:

> Perhaps you create an strace log and I'll compare that to one on my  
> machine.
> My whole machine is on "Gentoo unstable" - though it's very stable.

Since the problem is an "int" variable that should have been "long", there is 
no chance to detect the problem with syscall tracig.

Jörg

-- 
 EMail:joerg@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: xcdroast 0.98alpha16: Empty CD
  2017-12-14 10:24 ` [gentoo-user] " Joerg Schilling
@ 2017-12-14 13:23   ` Hartmut Figge
  2017-12-14 15:06     ` Joerg Schilling
  0 siblings, 1 reply; 9+ messages in thread
From: Hartmut Figge @ 2017-12-14 13:23 UTC (permalink / raw
  To: gentoo-user

Joerg Schilling:
>Hartmut Figge <h.figge@gmx.de> wrote:

>> Starting xcdroast with -d 10 shows the problem:
>>
>> DGB1: spawning: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "2,1,0"
>> -J -g -Q -H -v toc,summary,sectors,titles
>> DGB10: readtoc: cdda2wav: Invalid argument. Cannot open output fd 0.
>
>This is a bug in cdda2wav that only hits when compiled in 64 bit mode. For this 
>reason, it has not been detected for a long time as Solaris by default uses 32 
>Bit applications as 64 bit application on an orthogonal CPU are usually 
>slower...

Ah, therefore it doesn't occur in a chroot to an old Gentoo.

>The bug has been fixed on March 28, 2017 and published in schilytools.
>
>Today, I published a separate source ball cdrtools-3.02a09.

Thanks, Joerg. In the meantime I had played a little, for the first
time, with an overlay to get the exact versions of the relevant programs
and was a little baffled that it didn't help.

I can imagine that finding the issue was tricky.

Hartmut



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: xcdroast 0.98alpha16: Empty CD
  2017-12-14 13:23   ` [gentoo-user] " Hartmut Figge
@ 2017-12-14 15:06     ` Joerg Schilling
  0 siblings, 0 replies; 9+ messages in thread
From: Joerg Schilling @ 2017-12-14 15:06 UTC (permalink / raw
  To: gentoo-user

Hartmut Figge <h.figge@gmx.de> wrote:

> I can imagine that finding the issue was tricky.

It was hard to trace as the problem is a result of a non-matching 

	variable <-> format string

in the option parser and the incorrect variable was not "outfd" 
but "userverbose".

Jörg

-- 
 EMail:joerg@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-12-14 15:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13 18:36 [gentoo-user] xcdroast 0.98alpha16: Empty CD Hartmut Figge
2017-12-13 20:53 ` Helmut Jarausch
2017-12-13 21:24   ` [gentoo-user] " Hartmut Figge
2017-12-14 10:26     ` Joerg Schilling
2017-12-14 10:30     ` Helmut Jarausch
2017-12-14 11:55       ` Joerg Schilling
2017-12-14 10:24 ` [gentoo-user] " Joerg Schilling
2017-12-14 13:23   ` [gentoo-user] " Hartmut Figge
2017-12-14 15:06     ` Joerg Schilling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox