errors with cdrecord and kernel 2.3.X

From: Thomas Molina (tmolina@home.com)
Date: Tue Apr 04 2000 - 15:08:40 EST


[1.] One line summary of the problem:
cdda2wav included in Ryan Weaver's packages (version
cdrecord-cdda2wav-1.8-1 for rh61) combined with kernel version 2.3.X
appears to produce an off-by-one error when recording the last track of
a cd.
[2.] Full description of the problem/report:
I issue the command:
cdda2wav -D/dev/cdrom -Ocdr -B
and tracks are recorded as expected until the last track. At the end of
the last track I get the following error:
 1/ 1/ 1/ 0 99%can't read frame #252351 (error 671088640).
and I hear clicking from from the cdrom drive as it sounds like it's
trying to read past the last track. The same command works fine on
kernel version 2.2.14.

I'm probably including too much information here, but I have the output
from trying to record the last two tracks from both 2.3.99pre4-3 and
2.2.14. I get similar output for 2.3.99pre4-2, 2.3.99pre4-3, and
2.3.47, which are the ones I have immediately available. Following is
the output from 2.3.99pre4-3:

[root@wr5z rw1]# cdda2wav -Ocdr -D/dev/cdrom -t13 audio99b
Table of Contents: total tracks:14, (total time 56:07.37)
  1.( 4:30.30), 2.( 4:34.22), 3.( 4:47.28), 4.( 4:14.02), 5.( 3:16.55)
  6.( 3:54.55), 7.( 3:45.03), 8.( 3:29.57), 9.( 4:07.03), 10.( 4:32.27)
 11.( 3:34.48), 12.( 3:55.72), 13.( 3:54.10), 14.( 3:29.00),
Table of Contents: starting sectors
  1.( 0), 2.( 20280), 3.( 40852), 4.( 62405), 5.( 81457)
  6.( 96212), 7.( 113817), 8.( 130695), 9.( 146427), 10.( 164955)
 11.( 185382), 12.( 201480), 13.( 219177), 14.( 236737), lead-out( 252412)
CDINDEX discid: lYte_gZxONNvuvQsXw7MoKXRO8k-
CDDB discid: 0xcd0d250e
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 41301120 bytes.
recording 234.01333 seconds stereo with 16 bits @ 44100.0 Hz ->'audio99b'...
overlap:min/max/cur, jitter, percent_done:
 1/ 1/ 1/ 0 100%
  track 13 successfully recorded
[root@wr5z rw1]# cdda2wav -Ocdr -D/dev/cdrom -t14 audio99b
cdrom device (/dev/cdrom) is not of type generic SCSI. Setting interface to cooked_ioctl.
724992 bytes buffer memory requested, 4 buffers, 75 sectors
#Cdda2wav version schily0.6_linux_2.0.36_i586_i586 real time sched. soundcard support
AUDIOtrack pre-emphasis copy-permitted tracktype channels
      1-14 no no audio 2
Table of Contents: total tracks:14, (total time 56:07.37)
  1.( 4:30.30), 2.( 4:34.22), 3.( 4:47.28), 4.( 4:14.02), 5.( 3:16.55)
  6.( 3:54.55), 7.( 3:45.03), 8.( 3:29.57), 9.( 4:07.03), 10.( 4:32.27)
 11.( 3:34.48), 12.( 3:55.72), 13.( 3:54.10), 14.( 3:29.00),
Table of Contents: starting sectors
  1.( 0), 2.( 20280), 3.( 40852), 4.( 62405), 5.( 81457)
  6.( 96212), 7.( 113817), 8.( 130695), 9.( 146427), 10.( 164955)
 11.( 185382), 12.( 201480), 13.( 219177), 14.( 236737), lead-out( 252412)
CDINDEX discid: lYte_gZxONNvuvQsXw7MoKXRO8k-
CDDB discid: 0xcd0d250e
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 36867600 bytes.
recording 209.00000 seconds stereo with 16 bits @ 44100.0 Hz ->'audio99b'...
overlap:min/max/cur, jitter, percent_done:
 1/ 1/ 1/ 0 99%can't read frame #252351 (error 671088640).
can't read frame #252350 (error 671088640).
 1/ 3/ 2/ 2352 99% track 14 successfully recorded
 1/ 3/14/9999999 100%

Following is the output from kernel version 2.2.14:
[root@wr5z rw1]# cdda2wav -Ocdr -D/dev/cdrom -t13 audio99b
cdrom device (/dev/cdrom) is not of type generic SCSI. Setting interface to cooked_ioctl.
724992 bytes buffer memory requested, 4 buffers, 75 sectors
#Cdda2wav version schily0.6_linux_2.0.36_i586_i586 real time sched. soundcard support
AUDIOtrack pre-emphasis copy-permitted tracktype channels
      1-14 no no audio 2
Table of Contents: total tracks:14, (total time 56:07.37)
  1.( 4:30.30), 2.( 4:34.22), 3.( 4:47.28), 4.( 4:14.02), 5.( 3:16.55)
  6.( 3:54.55), 7.( 3:45.03), 8.( 3:29.57), 9.( 4:07.03), 10.( 4:32.27)
 11.( 3:34.48), 12.( 3:55.72), 13.( 3:54.10), 14.( 3:29.00),
Table of Contents: starting sectors
  1.( 0), 2.( 20280), 3.( 40852), 4.( 62405), 5.( 81457)
  6.( 96212), 7.( 113817), 8.( 130695), 9.( 146427), 10.( 164955)
 11.( 185382), 12.( 201480), 13.( 219177), 14.( 236737), lead-out( 252412)
CDINDEX discid: lYte_gZxONNvuvQsXw7MoKXRO8k-
CDDB discid: 0xcd0d250e
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 41301120 bytes.
recording 234.01333 seconds stereo with 16 bits @ 44100.0 Hz ->'audio99b'...
overlap:min/max/cur, jitter, percent_done:
 1/ 1/ 1/ 0 100%
  track 13 successfully recorded
[root@wr5z rw1]# cdda2wav -Ocdr -D/dev/cdrom -t14 audio99b
cdrom device (/dev/cdrom) is not of type generic SCSI. Setting interface to cooked_ioctl.
724992 bytes buffer memory requested, 4 buffers, 75 sectors
#Cdda2wav version schily0.6_linux_2.0.36_i586_i586 real time sched. soundcard support
AUDIOtrack pre-emphasis copy-permitted tracktype channels
      1-14 no no audio 2
Table of Contents: total tracks:14, (total time 56:07.37)
  1.( 4:30.30), 2.( 4:34.22), 3.( 4:47.28), 4.( 4:14.02), 5.( 3:16.55)
  6.( 3:54.55), 7.( 3:45.03), 8.( 3:29.57), 9.( 4:07.03), 10.( 4:32.27)
 11.( 3:34.48), 12.( 3:55.72), 13.( 3:54.10), 14.( 3:29.00),
Table of Contents: starting sectors
  1.( 0), 2.( 20280), 3.( 40852), 4.( 62405), 5.( 81457)
  6.( 96212), 7.( 113817), 8.( 130695), 9.( 146427), 10.( 164955)
 11.( 185382), 12.( 201480), 13.( 219177), 14.( 236737), lead-out( 252412)
CDINDEX discid: lYte_gZxONNvuvQsXw7MoKXRO8k-
CDDB discid: 0xcd0d250e
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 36867600 bytes.
recording 209.00000 seconds stereo with 16 bits @ 44100.0 Hz ->'audio99b'...
overlap:min/max/cur, jitter, percent_done:
 1/ 1/ 1/ 0 100%
  track 14 successfully recorded

[3.] Keywords (i.e.,modules, networking, kernel):
kernel,cdrecord

[4.] Kernel version (from /proc/version):
[root@wr5z tmolina]# cat /proc/version
Linux version 2.3.99-pre4 (root@wr5z) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #2 Sat Apr 1 11:32:13 CST 2000

[5.] Output of Oops.. message (if applicable): N/A

[6.] A small shell script:N/A

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
[root@wr5z scripts]# sh ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux wr5z 2.3.99-pre4 #2 Sat Apr 1 11:32:13 CST 2000 i586 unknown
Kernel modules 2.3.10-pre1
Gnu C egcs-2.91.66
Binutils 2.9.1.0.24
Linux C Library 2.1.2
Dynamic linker ldd (GNU libc) 2.1.2
Procps 2.0.4
Mount 2.9u
Net-tools 1.53
Console-tools 1999.03.02
Sh-utils 2.0
Modules Loaded opl3

[7.2.] Processor information (from /proc/cpuinfo):

[root@wr5z scripts]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 451.035098
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mmx 3dnow
bogomips : 897.84

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:12 EST