problems with xcdroast + ide-scsi
Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o module
I had to disable DMA on this CD drive as any operation on the device
freezed totally the
machine!
now I can mount & acccess this /dev/sg1 device ok but readcd does detect
a garbled disk:
a music disk instead of a data disk (see below)
any hints?
thanks
Olivier
PS: please reply me directly, I'm not on this alias
------------------------------------------------------------------------------------------
texavery:~ # uname -a
Linux texavery 2.4.16 #4 Sun Nov 16 13:04:01 CET 2003 i586 unknown
texavery:~ # mount /writer
mount: No medium found
texavery:~ # lsmod
Module Size Used by
ncr53c8xx 51184 0 (autoclean) (unused)
sr_mod 11392 0 (autoclean)
scsi_mod 51056 2 (autoclean) [ncr53c8xx sr_mod]
nvidia 1629248 11 (autoclean)
pcnet32 11216 1 (autoclean)
serial 43952 1 (autoclean)
isa-pnp 28176 0 (autoclean) [serial]
nls_iso8859-1 2880 3 (autoclean)
nls_cp437 4384 3 (autoclean)
vfat 9200 3 (autoclean)
fat 28864 0 (autoclean) [vfat]
unix 13696 15 (autoclean)
texavery:~ # cdrecord -scanbus
Cdrecord 1.11a19 (i586-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.20
Using libscg version 'schily-0.6'
scsibus0:
0,0,0 0) *
0,1,0 1) 'TRAXDATA' 'CDRW4260 PRO ' '1.0q' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
1,0,0 100) 'GoldStar' 'CD-ROM GCD-R540 ' '1.18' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
texavery:~ # readcd -vv dev=1,0,0 -f /tmp/test2.raw
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.20
readcd: Warning: controller returns wrong size for CD capabilities page.
readcd: Warning: controller returns wrong size for CD capabilities page.
Capacity: 354656 Blocks = 709312 kBytes = 692 MBytes = 726 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (1,0,0) disk to file '/tmp/test2.raw'
end: 354656
addr: 0 cnt: 128
texavery:~ # xcdroast -d 10
....
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0"
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 '
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CDINDEX discid: ctX64YCFDdH8.g2cRitwZoA7Bms-
DGB10: readtoc: CDDB discid: 0x02124301
DGB10: readtoc: CD-Text: not detected
DGB10: readtoc: CD-Extra: not detected
DGB10: readtoc: Album title: '' from ''
DGB10: readtoc: T01: 0 77:55.39 audio pre-emphasized copydenied
stereo title '' from ''
DGB10: readtoc: Leadout: 350664
DGB2: ------ cdinfo-structure -----
DGB2: nr_tracks: 1
DGB2: total_size: 350814
DGB2: cddb_discid: 02124301
DGB2: have_cdtext: 0, have_cdextra: 0
DGB2: title/artist: /
DGB2: cddb_dtitle: (NULL)
DGB2: leadout: 350664
DGB2: track: 1 start: 0 size: 350664
DGB2: type: 1, rec_type: 0, preemp: 1, copyperm: 0, stereo: 1
DGB2: title/artist: / cddb_title: (NULL) volname: (NULL)
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "1,0,0"
f=- sectors=0-0 2>&1
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong
size for CD capabilities page.
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong
size for CD capabilities page.
DGB10: check_medium_loaded: Capacity: 350664 Blocks = 701328 kBytes =
684 MBytes = 718 prMB
DGB10: check_medium_loaded: Sectorsize: 2048 Bytes
DGB10: -> Detected sectorsize of 2048 bytes
DGB10: check_medium_loaded: Copy from SCSI (1,0,0) disk to file '-'
DGB10: check_medium_loaded: end: 0
DGB10: check_medium_loaded: addr: 0
DGB10: check_medium_loaded: Time total: 0.000sec
DGB10: check_medium_loaded: Read 0.00 kB at 0.0 kB/sec.
DGB10: medium loaded return code: 0
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0"
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 '
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CDINDEX discid: ctX64YCFDdH8.g2cRitwZoA7Bms-
DGB10: readtoc: CDDB discid: 0x02124301
DGB10: readtoc: CD-Text: not detected
DGB10: readtoc: CD-Extra: not detected
DGB10: readtoc: Album title: '' from ''
DGB10: readtoc: T01: 0 77:55.39 audio pre-emphasized copydenied
stereo title '' from ''
DGB10: readtoc: Leadout: 350664
DGB2: ------ cdinfo-structure -----
DGB2: nr_tracks: 1
DGB2: total_size: 350814
DGB2: cddb_discid: 02124301
DGB2: have_cdtext: 0, have_cdextra: 0
DGB2: title/artist: /
DGB2: cddb_dtitle: (NULL)
DGB2: leadout: 350664
DGB2: track: 1 start: 0 size: 350664
DGB2: type: 1, rec_type: 0, preemp: 1, copyperm: 0, stereo: 1
DGB2: title/artist: / cddb_title: (NULL) volname: (NULL)
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap WRITETEST "/winhome/CDs"
DGB1: calling: /bin/df -k "/winhome/CDs"
DGB10: df: Filesystem 1k-blocks Used Available Use%
Mounted on
DGB10: df: /dev/hda5 22616448 1615456 21000992 8% /winhome
DGB2: filesystem lookup for /winhome/CDs = 21000992 blocks, fs = (NULL)
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "1,0,0"
f=- sectors=0-0 2>&1
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong
size for CD capabilities page.
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong
size for CD capabilities page.
DGB10: check_medium_loaded: Capacity: 350664 Blocks = 701328 kBytes =
684 MBytes = 718 prMB
DGB10: check_medium_loaded: Sectorsize: 2048 Bytes
DGB10: -> Detected sectorsize of 2048 bytes
DGB10: check_medium_loaded: Copy from SCSI (1,0,0) disk to file '-'
DGB10: check_medium_loaded: end: 0
DGB10: check_medium_loaded: addr: 0
DGB10: check_medium_loaded: Time total: 0.000sec
DGB10: check_medium_loaded: Read 0.00 kB at 0.0 kB/sec.
DGB10: medium loaded return code: 0
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0"
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 '
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CDINDEX discid: ctX64YCFDdH8.g2cRitwZoA7Bms-
DGB10: readtoc: CDDB discid: 0x02124301
DGB10: readtoc: CD-Text: not detected
DGB10: readtoc: CD-Extra: not detected
DGB10: readtoc: Album title: '' from ''
DGB10: readtoc: T01: 0 77:55.39 audio pre-emphasized copydenied
stereo title '' from ''
DGB10: readtoc: Leadout: 350664
DGB2: ------ cdinfo-structure -----
DGB2: nr_tracks: 1
DGB2: total_size: 350814
DGB2: cddb_discid: 02124301
DGB2: have_cdtext: 0, have_cdextra: 0
DGB2: title/artist: /
DGB2: cddb_dtitle: (NULL)
DGB2: leadout: 350664
DGB2: track: 1 start: 0 size: 350664
DGB2: type: 1, rec_type: 0, preemp: 1, copyperm: 0, stereo: 1
DGB2: title/artist: / cddb_title: (NULL) volname: (NULL)
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "1,0,0"
f=- sectors=0-0 2>&1
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong
size for CD capabilities page.
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong
size for CD capabilities page.
DGB10: check_medium_loaded: Capacity: 350664 Blocks = 701328 kBytes =
684 MBytes = 718 prMB
DGB10: check_medium_loaded: Sectorsize: 2048 Bytes
DGB10: -> Detected sectorsize of 2048 bytes
DGB10: check_medium_loaded: Copy from SCSI (1,0,0) disk to file '-'
DGB10: check_medium_loaded: end: 0
DGB10: check_medium_loaded: addr: 0
DGB10: check_medium_loaded: Time total: 0.000sec
DGB10: check_medium_loaded: Read 0.00 kB at 0.0 kB/sec.
DGB10: medium loaded return code: 0
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0"
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 '
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CDINDEX discid: ctX64YCFDdH8.g2cRitwZoA7Bms-
DGB10: readtoc: CDDB discid: 0x02124301
DGB10: readtoc: CD-Text: not detected
DGB10: readtoc: CD-Extra: not detected
DGB10: readtoc: Album title: '' from ''
DGB10: readtoc: T01: 0 77:55.39 audio pre-emphasized copydenied
stereo title '' from ''
DGB10: readtoc: Leadout: 350664
DGB2: ------ cdinfo-structure -----
DGB2: nr_tracks: 1
DGB2: total_size: 350814
DGB2: cddb_discid: 02124301
DGB2: have_cdtext: 0, have_cdextra: 0
DGB2: title/artist: /
DGB2: cddb_dtitle: (NULL)
DGB2: leadout: 350664
DGB2: track: 1 start: 0 size: 350664
DGB2: type: 1, rec_type: 0, preemp: 1, copyperm: 0, stereo: 1
DGB2: title/artist: / cddb_title: (NULL) volname: (NULL)
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap WRITETEST "/winhome/CDs"
DGB1: calling: /bin/df -k "/winhome/CDs"
DGB10: df: Filesystem 1k-blocks Used Available Use%
Mounted on
DGB10: df: /dev/hda5 22616448 1615456 21000992 8% /winhome
DGB2: filesystem lookup for /winhome/CDs = 21000992 blocks, fs = (NULL)
DGB10: calling allocate_track_filenames
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap WRITETEST "/winhome/CDs"
DGB1: calling: /bin/df -k "/winhome/CDs"
DGB10: df: Filesystem 1k-blocks Used Available Use%
Mounted on
DGB10: df: /dev/hda5 22616448 1615456 21000992 8% /winhome
DGB2: filesystem lookup for /winhome/CDs = 21000992 blocks, fs = (NULL)
DGB2: ------ trackreadset-structure -----
DGB2: nrtracks: 1
DGB2: cdsize: 0
DGB2: tocfile:
DGB2: cdtitle:
DGB2:
trackinfo_index: 0
DGB2: starttrack: 1
DGB2: endtrack: 0
DGB2: tracktype: 1
DGB2: startoffset: 0
DGB2: endoffset: 0
DGB2: percent: 100.000000
DGB2: kbyte: 805431
DGB2: frames: 350664
DGB2: trackfile: /winhome/CDs/track-01.wav
DGB8: displaying show_and_do_read_tracks
DGB1: spawning: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0"
-g -v2 -O wav -t 1 -S 1 -i 1 -P 0 -n 0 "/winhome/CDs/track-01.wav"
DGB10: cdda2wav: Incorrect nsectors setting: 0
DGB10: cdda2wav: Please use -h or consult the man page for help.
Reply to: