Package: cdrdao Version: 1:1.2.2-18.2 Severity: normal Tags: patch
|$ cdrecord -scanbus |scsibus451: | 451,0,0 45100) 'TSSTcorp' 'CDDVDW SE-S084B ' 'TS00' Removable CD-ROM | 451,1,0 45101) * | 451,2,0 45102) * | 451,3,0 45103) * | 451,4,0 45104) * | 451,5,0 45105) * | 451,6,0 45106) * | 451,7,0 45107) * |$ cdrdao read-toc --device /dev/scd0 test.toc |Cdrdao version 1.2.2 - (C) Andreas Mueller <andr...@daneb.de> | SCSI interface library - (C) Joerg Schilling | Paranoia DAE library - (C) Monty | |Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables. | |ERROR: Cannot open SCSI device '/dev/scd0': Illegal value for busno, target or lun '451,0,0' | |Transport name: sg |Transport descr.: Generic transport independent SCSI |Transp. layer ind.: |Target specifier: bus,target,lun |Target example: 1,2,0 |SCSI Bus scanning: supported |Open via UNIX device: not supported | |Transport name: pg |Transport descr.: SCSI transport for ATAPI over Parallel Port |Transp. layer ind.: |Target specifier: bus,target,lun |Target example: 1,2,0 |SCSI Bus scanning: supported |Open via UNIX device: not supported | |Transport name: ATA |Transport descr.: ATA Packet specific SCSI transport |Transp. layer ind.: ATAPI: |Target specifier: bus,target,lun |Target example: ATAPI:1,2,0 |SCSI Bus scanning: supported |Open via UNIX device: not supported | |Transport name: ATA |Transport descr.: ATA Packet specific SCSI transport using sg interface |Transp. layer ind.: ATA: |Target specifier: bus,target,lun |Target example: 1,2,0 |SCSI Bus scanning: supported |Open via UNIX device: not supported |ERROR: Please use option '--device [proto:]bus,id,lun', e.g. --device 0,6,0 or --device ATA:0,0,0 |ERROR: Cannot setup device /dev/scd0. |Supported SCSI transports for this platform: I don't know if upping the MAX_SCG value to 1024 is sufficient for all cases, but it works for me. :) Patched cdrdao: |$ cdrdao read-toc --device /dev/scd0 test.toc |Cdrdao version 1.2.2 - (C) Andreas Mueller <andr...@daneb.de> | SCSI interface library - (C) Joerg Schilling | Paranoia DAE library - (C) Monty | |Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables. | |Using libscg version 'ubuntu-0.8ubuntu1' | |/dev/scd0: TSSTcorp CDDVDW SE-S084B Rev: TS00 |Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000) | |Reading toc data... | |Track Mode Flags Start Length |------------------------------------------------------------ | 1 AUDIO 0 00:00:00( 0) 04:08:12( 18612) | 2 AUDIO 0 04:08:12( 18612) 01:25:15( 6390) | 3 AUDIO 0 05:33:27( 25002) 02:04:20( 9320) | 4 AUDIO 0 07:37:47( 34322) 01:52:18( 8418) | 5 AUDIO 0 09:29:65( 42740) 01:34:55( 7105) | 6 AUDIO 0 11:04:45( 49845) 01:45:42( 7917) | 7 AUDIO 0 12:50:12( 57762) 01:38:08( 7358) | 8 AUDIO 0 14:28:20( 65120) 01:35:25( 7150) | 9 AUDIO 0 16:03:45( 72270) 03:44:72( 16872) |10 AUDIO 0 19:48:42( 89142) 01:10:15( 5265) |11 AUDIO 0 20:58:57( 94407) 02:40:43( 12043) |12 AUDIO 0 23:39:25(106450) 01:22:65( 6215) |13 AUDIO 0 25:02:15(112665) 02:01:22( 9097) |14 AUDIO 0 27:03:37(121762) 02:56:45( 13245) |15 AUDIO 0 30:00:07(135007) 01:58:10( 8860) |16 AUDIO 0 31:58:17(143867) 02:28:13( 11113) |17 AUDIO 0 34:26:30(154980) 02:24:20( 10820) |18 AUDIO 0 36:50:50(165800) 02:16:42( 10242) |19 AUDIO 0 39:07:17(176042) 01:55:65( 8690) |20 AUDIO 0 41:03:07(184732) 01:46:48( 7998) |21 AUDIO 0 42:49:55(192730) 03:43:37( 16762) |22 AUDIO 0 46:33:17(209492) 01:50:53( 8303) |23 AUDIO 0 48:23:70(217795) 02:33:60( 11535) |24 AUDIO 0 50:57:55(229330) 01:34:22( 7072) |25 AUDIO 0 52:32:02(236402) 02:49:53( 12728) |26 AUDIO 0 55:21:55(249130) 01:16:62( 5762) |27 AUDIO 0 56:38:42(254892) 01:18:53( 5903) |28 AUDIO 0 57:57:20(260795) 04:08:62( 18662) |Leadout AUDIO 0 62:06:07(279457) |[...] Patch follows: --- cdrdao-1.2.2/scsilib/libscg/scsi-linux-sg.c.orig 2006-09-20 19:51:11.000000000 +0900 +++ cdrdao-1.2.2/scsilib/libscg/scsi-linux-sg.c 2010-07-02 00:07:42.217495458 +0900 @@ -144,7 +144,7 @@ * XXX Should add extra space in buscookies and scgfiles for a "PP bus" * XXX and for two or more "ATAPI busses". */ -#define MAX_SCG 256 /* Max # of SCSI controllers */ +#define MAX_SCG 1024 /* Max # of SCSI controllers */ #define MAX_TGT 16 #define MAX_LUN 8 -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (1001, 'testing'), (990, 'unstable'), (40, 'lucid'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.35-rc3 (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cdrdao depends on: ii libao2 0.8.8-5 Cross Platform Audio Output Librar ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.2-9 GCC support library ii libmad0 0.15.1b-4 MPEG audio decoder library ii libogg0 1.1.4~dfsg-2 Ogg bitstream library ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3 ii libvorbis0a 1.2.3-3 The Vorbis General Audio Compressi ii libvorbisfile3 1.2.3-3 The Vorbis General Audio Compressi cdrdao recommends no packages. cdrdao suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org