Package: wodim
Version: 9:1.1.9-1
Severity: grave
Justification: renders package unusable


The first error: "Cannot load media" happens when wodim is invoked as a
regular user that is a member of the cdrom group, so permissions should
not be a problem.

The second error: "Cannot init drive" happens when wodim is invoked as
root.

Using or not using the -dummy option doesn't make a difference.

The hardware: Philips CDD2600 CD burner connected to an Adaptec 1542CF
SCSI controller.  All the devices are recognized correctly.  Inserting
a good data CD in the drive generates the event and the contents can be
opened in a new window.

First, here's the output of the regular user invocation:


> wodim -v dev=/dev/scd0 -dummy debian-testing-i386-netinst.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK 
limits.scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'PHILIPS '
Identification : 'CDD2600         '
Revision       : '1.07'
Device seems to be: Philips CDD-2600.
Using driver for Philips CDD-522 (philips_cdd522).
Driver flags   :
Supported modes: TAO
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 12582912 = 12288 KB
Track 01: data   148 MB
Total size:      171 MB (16:57.05) = 76279 sectors
Lout start:      171 MB (16:59/04) = 76279 sectors
wodim: Cannot load media.

The invocation as root:

# wodim -v dev=/dev/scd0 -dummy debian-testing-i386-netinst.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'PHILIPS '
Identification : 'CDD2600         '
Revision       : '1.07'
Device seems to be: Philips CDD-2600.
Using driver for Philips CDD-522 (philips_cdd522).
Driver flags   :
Supported modes: TAO
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 12582912 = 12288 KB
Track 01: data   148 MB
Total size:      171 MB (16:57.05) = 76279 sectors
Lout start:      171 MB (16:59/04) = 76279 sectors
Current Secsize: 2048
ATIP info from disk:
  Is not unrestricted
  Disk application code: 0
  ATIP start of lead in:  -11849 (97:24/01)
  ATIP start of lead out: 359847 (79:59/72)
Disk type:    Long strategy type (Cyanine, AZO or similar)
Manuf. index: 25
Manufacturer: Taiyo Yuden Company Limited
wodim: Warning: controller returns zero sized Speed/Dummy information page.
wodim: Warning: controller returns wrong size for Speed/Dummy information page.
wodim: Warning: controller returns wrong page 0 for Speed/Dummy information 
page (23).
wodim: Cannot init drive.

The relevant parts of dmesg:


SCSI subsystem initialized
Driver 'sd' needs updating - please use bus_type methods
Configuring Adaptec (SCSI-ID 7) at IO:134, IRQ 10, DMA priority 5
scsi0 : Adaptec 1542
isa bounce pool size: 16 pages
scsi 0:0:1:0: Processor         HP       C1750A           3125 PQ: 0 ANSI: 1
scsi 0:0:1:0: Attached scsi generic sg0 type 3
scsi 0:0:4:0: Sequential-Access ARCHIVE  Python 25501-XXX 2.50 PQ: 0 ANSI: 2
scsi 0:0:4:0: Attached scsi generic sg1 type 1
st: Version 20080224, fixed bufsize 32768, s/g segs 256
Driver 'st' needs updating - please use bus_type methods
st 0:0:4:0: Attached scsi tape st0
st 0:0:4:0: st0: try direct i/o: no (alignment 4 B)
scsi 0:0:6:0: CD-ROM            PHILIPS  CDD2600          1.07 PQ: 0 ANSI: 2
scsi 0:0:6:0: Attached scsi generic sg2 type 5
osst :I: Tape driver with OnStream support version 0.99.4
osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
Driver 'osst' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
sr 0:0:6:0: Attached scsi CD-ROM sr0


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.261 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages wodim depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  libcap2                       2.11-2     support for getting/setting POSIX.

Versions of packages wodim recommends:
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

Versions of packages wodim suggests:
pn  cdrkit-doc                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to