Gentoo Archives: gentoo-user

From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Verification of audio CD copy?
Date: Thu, 04 Jun 2009 08:00:45
Message-Id: 4a277f28.nie2pPEgG48eivik%Joerg.Schilling@fokus.fraunhofer.de
In Reply to: Re: [gentoo-user] Verification of audio CD copy? by Mark Knecht
1 Mark Knecht <markknecht@×××××.com> wrote:
2
3 > > OK - I'll try that in a minute. Right now I'm stuck. Attempting to run
4 > > your readcd program it's locked up and I cannot kill it. Ctrl-C didn't
5 > > work. Trying to kill the process doesn't work. This is on one of the
6 > > CDs that doesn't play correctly so maybe it's showing the problem?
7 > >
8 > > mark@lightning ~/Desktop/cdda2wav $ readcd dev=1000,0,0 -c2scan
9 > > Read  speed:  7056 kB/s (CD  40x, DVD  5x, BD  1x).
10 > > Write speed:  7056 kB/s (CD  40x, DVD  5x, BD  1x).
11 > > Capacity: 263932 Blocks = 527864 kBytes = 515 MBytes = 540 prMB
12 > > Sectorsize: 2048 Bytes
13 > > readcd: Success. mode select g1: scsi sendcmd: no error
14 > > CDB:  55 10 00 00 00 00 00 00 14 00
15 > > status: 0x2 (CHECK CONDITION)
16 > > Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
17 > > Sense Key: 0x5 Illegal Request, Segment 0
18 > > Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
19 > > Sense flags: Blk 0 (not valid)
20 > > cmd finished after 0.001s timeout 40s
21 > > Copy from SCSI (1000,0,0) disk to file '/dev/null'
22 > > end:    263932
23 > > ^C^C^C    1911 cnt: 49
24 > >
25 > > ^C^C^C
26 > >
27 > > I cannot get out of this so far. Hate to think I need to reboot!
28 > >
29 > > - Mark
30 > >
31 >
32 > Humm.....rebooted and tried the command above with the CD that plays
33 > in the car. Same failure but slightly father along. (I think) It's
34 > reading 2009 instead of 1911, but again it seems stuck
35 >
36 > Bummer...
37 >
38 > Or is there a command that tells readcd to eventually give up?
39
40 This SCSI command needs support inside the drive...
41
42 It will not work for DVD media and some drives do not support it even for CDs.
43
44 Also note that there is still an unfixed problem on Linux that under unknown
45 conditions modifies the SCSI commands before they are send to the drive.
46 As long as Linux does not allow to retrieve at least the 18 standard bytes
47 of sense data there is no chance to find this problem as the drive writes the
48 information about the location of the unwanted bits into the last 2 bytes
49 that cannot be retrieved on Linux.....
50
51
52 Jörg
53
54 --
55 EMail:joerg@××××××××××××××××××××××××.de (home) Jörg Schilling D-13353 Berlin
56 js@××××××××××××.de (uni)
57 joerg.schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/
58 URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily