Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89084 - readcd -c2scan in app-cdr/cdrtools-2.01 does not work. atapi, kernel 2.6.10
Summary: readcd -c2scan in app-cdr/cdrtools-2.01 does not work. atapi, kernel 2.6.10
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
: 89090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-14 06:52 UTC by Honza
Modified: 2005-06-10 09:42 UTC (History)
0 users

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 Honza 2005-04-14 06:52:20 UTC
readcd -c2scan show some bug, then no progress and totally block IDE bus (I have HDD on same bus), while load is increasing. I stopped it after more that 6 minutes   by ejecting CD. Then of course more error appears ... refering to sector numbers under 100.

Reproducible: Always
Steps to Reproduce:
1. readcd -c2scan /dev/cdrom


Actual Results:  
# readcd -c2scan -dev=/dev/cdrom
Read  speed:  9173 kB/s (CD  52x, DVD  6x).
Write speed:  5645 kB/s (CD  32x, DVD  4x).
Capacity: 358541 Blocks = 717082 kBytes = 700 MBytes = 734 prMB
Sectorsize: 2048 Bytes
readcd: Success. mode select g1: scsi sendcmd: no error
CDB:  55 10 00 00 00 00 00 00 14 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (valid) 
cmd finished after 0.000s timeout 40s
Copy from SCSI (0,0,0) disk to file '/dev/null'
end:    358541
addr:        0 cnt: 49


Expected Results:  
addr should be increasing ... and load should not ... also, I expect some
numbers about that C2 bugs ... and it should not take so long, on 52x speed
whole CD should be readed in few minutes ...

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.2-r9,
2.6.10-gentoo-r6-32 i686)
=================================================================
System uname: 2.6.10-gentoo-r6-32 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3 [2.3.3 (#1, May  5 2004, 21:35:16)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.4.3-r3, 1.5.2-r7
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/Gentoo64/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X Xaw3d aalib alsa apache2 apm arts avi berkdb bitmap-fonts
caps cdr crypt cups curl dga directfb doc dvd encode esd f77 fbcon flac
font-server foomaticdb fortran gd gdbm ggi gif gnome gpm gtk gtk2 imagemagick
imlib innodb ipv6 java jpeg lcms lesstif libcaca libg++ libwww lirc mad
mailwrapper mbox mcal memlimit mikmod mmx mmx2 mng motif mozilla mpeg multislot
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sdl slang snmp spell sqlite sse ssl svga tcpd tetex theora tiff
truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts videos wmf x86
xml xml2 xmms xosd xv xvid zlib"
Unset:  LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-14 07:24:34 UTC
*** Bug 89090 has been marked as a duplicate of this bug. ***
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2005-04-25 12:40:21 UTC
I can reproduce the bug on my system.  addr increases, but stops at some point.  I will test it on my scsi-drives, if it is an ata-problem.
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2005-06-10 09:42:18 UTC
readcd -c2scan works with one of my two SCSI-drives.  So there seems to be a
problem on that bus as well.

I can't tell where exactly the problem exists.  Probably you may want to ask the
Author of readcd/cdrtools.