On 20/2/20 14:37, Joerg Schilling wrote:
Antonio Larrosa <alarrosa@suse.de> wrote:
I'm testing the 5.6.0rc2 kernel from Kernel:HEAD with Tumbleweed and I noticed that cdparanoia doesn't work with it. I specified -d /dev/sr0 as usual in the command line to use the cdrom device but with kernel 5.6.0rc2 it returns:
"Error trying to open /dev/sga exclusively (No such file or directory)"
And in verbose mode it adds:
Testing /dev/sr0 for SCSI/MMC interface no SG_IO support for device: /dev/sr0
cdparanoia is de-facto dead, it did not get any fix or enhancement since 2001, just a minor code maintenance in 2008.
I just noticed that when I went to their (svn!) repository to see if there was any recent patch from upstream... I guess I better not wait for it :) .
Even more: cdparanoia is no more than a patched cdda2wav source from 1997 that did never get any update and the code is not really portable. Simething that may be also important here is that cdparanoia splits the data at the wrong places when creating separate track images.
The underlying basic idea and implementation is however still alive.
In April 2002, I extracted the important parts of the cdparanoia program and created libparanoia by making the code highly portable and by fixing plenty of bugs. Some of these bugs caused even core dumps. At the same time, libparanoia is part of the official maintained cdda2wav program that offers much better extraction features than cdparanoia.
Since then, the many code enhancements have been added (e.g. using defect information from the drive).
I therefore recommand you to leave cdparanoia where it belongs and to switch to the maintained cdda2wav that is part of the cdrtools package since late 2000.
Thanks for the history lesson. I'm afraid I've been using cdparanoia for too long and didn't know all of that. I just noticed the -paranoia option in cdda2wav so I'll use that. Btw, running 'LANG=C sudo cdda2wav -D /dev/sr0", it says: cdda2wav: Invalid argument. Illegal value for busno, target or lun '-1,208,11'. Cannot open or use SCSI driver. cdda2wav: For possible targets try 'cdda2wav -scanbus'. (the 2nd and 3rd lun numbers seem to be random each time it's run) But at least cdda2wav works with the 5.6.0rc2 kernel when using "-D 4,0,0" to specify the device . Thanks! -- Antonio Larrosa -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org