Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68673 - cdda2wav produces bad files when using SCSI device spec
Summary: cdda2wav produces bad files when using SCSI device spec
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 21:04 UTC by Lindsay Haisley
Modified: 2004-12-06 12:00 UTC (History)
3 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 Lindsay Haisley 2004-10-23 21:04:09 UTC
I recently upgraded to kernel 2.6.8-gentoo-r10 from a 2.4 series kernel.  I'm no longer using ide-scsi, and 'cdrecord -scanbus' correctly finds my ide CD-RW

scsibus3:
        3,0,0   300) 'SONY    ' 'CD-RW  CRX230E  ' 'QYS1' Removable CD-ROM

Burning CDs works well, however when ripping files from a CD, both xcdroast and eroaster pass the location of the CD device as a SCSI triple int spec to cdda2wav in the form "-D 3,0,0".  While cdda2wav can find the device, the ripped files are badly distorted.  If I pass the device spec to cdda2wav in the form "-D /dev/hdc" there's no problem.  This may be a kernel problem, or it may be a library problem in one of the libs used by cdda2wav.

I believe this worked properly under kernels 2.4.x.
Comment 1 Lindsay Haisley 2004-10-23 21:38:22 UTC
Apparently this is in cdda2wav's routines.  If I use the '-paranoia' setting to use the paranoia lib, the problem goes away.
Comment 2 Nick Dimiduk (RETIRED) gentoo-dev 2004-10-24 07:31:13 UTC
CCed pylon as opti-media herd doesn't appear to have an email and you're the herd maintainer.
Comment 3 Chris White (RETIRED) gentoo-dev 2004-10-24 07:35:45 UTC
I've heard that scsi was somewhat broken in 2.6.8 by some overhaul.
Try it with 2.6.9 and see if it still occurs.
Comment 4 Lindsay Haisley 2004-10-24 07:52:14 UTC
I have kernel 2.6.9 on the box, but won't get a chance to try it out until after Nov. 3th or 4th.  I'll post results here, and if it works OK we can mark this resolved.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-26 12:10:19 UTC
dsd: what's the location of the kernel patch that reports failed scsi commands?

lindsay: please try g-d-s-2.6.9-r6 and apply the patch mentioned above... then report any failed commands mentioned in 'dmesg'

Thanks.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-26 14:42:39 UTC
Ah... I found it... lindsay, do the following in /usr/src/linux-2.6.9-gentoo-r6

lynx -source "http://www.reactivated.net/patches/linux-kernel/2.6.9/scsi_ioctl-debug-rejected-commands.patch" | patch -p1
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2004-11-27 09:19:06 UTC
You have to use /dev/hdc rather than ATAPI:X,Y,Z notation now.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-06 12:00:49 UTC
closing due to lack of response... pleasse try the latest g-d-s-2.6.9 sources