Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164300 - media-sound/cdparanoia-3.9.8-r5 not setting count and/or reply_len properly
Summary: media-sound/cdparanoia-3.9.8-r5 not setting count and/or reply_len properly
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-28 20:30 UTC by Thomas Meyer
Modified: 2007-10-23 19:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Meyer 2007-01-28 20:30:43 UTC
cdparanoia triggers this warning in drivers/scsi/sg.c:
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 214 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 216 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly

This warning is also triggered when using kio_audiocd kio slave, because it seems to call cdparanoia.

CD ripping seems to be really slow, because of the log writing overhead.

Version infos:
media-sound/cdparanoia-3.9.8-r5
linux-2.6.20-rc6-g7d620a4e


Reproducible: Always

Steps to Reproduce:
1.rip a audio cd with program cdparanoia
2.
3.
Comment 1 Stian Skjelstad 2007-04-24 18:50:52 UTC
Are you using a IDE cdrom or an SCSI cdrom?

And if you are using an IDE cdrom with SCSI emulation, what config are you using? Does it happen if you use the ide interface instead of the emulated scsi interface?
Comment 2 Matěj Laitl 2007-08-27 17:34:21 UTC
I can reproduce this bug. It is AFAIK triggered only when the CD-ROM is SCSI one or you are using new libata kernel stack to access the drive (thus the drive is emulated SCSI drive, accesible via /dev/sr0 and /dev/sg0).

This is caused by a very strange hack in cdparanoia, see http://lists.xiph.org/pipermail/paranoia/2005-July/001438.html (thanks to Aaron V. I googled it!)

Reputedly it has been fixed in cdparanoia III 10pre0 (cdparanoia-3.10_pre0 in gentoo land), see Bug 153823. (I'm not sure if I should add a bug dependency)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-10-20 19:05:32 UTC
3.10_pre0 is in tree now, but it's package.masked (only because it needs to be tested on Gentoo FreeBSD) so please test it.
Comment 4 Matěj Laitl 2007-10-23 19:32:51 UTC
Hi,

I can confirm that media-sound/cdparanoia-3.10_pre0 rips just fine and no kernel warning messages are seen any more.

Thanks for the Bump, Samuli