Bug#330371: cdrecord: scsi buffer allocation fails
Package: cdrecord Followup-For: Bug #330371 Why do you think it's the buffer allocation which fails? That doesn't seem obvious to me from the output. I have a very similar problem. cdrecord fails in the same way. But I also get this message from the kernel: scsi: unknown opcode 0x01 Can you check dmesg, if you're getting the warning message too? I've found that SCSI opcode 0x01 is REZERO UNIT. I've patched cdrecord to not issue this SCSI command (it seems the command is not necessary). I'm attaching a patch you may try. Michal --- cdrtools-2.01.01/cdrecord/cdrecord.c.orig 2005-10-14 14:58:58.0 +0200 +++ cdrtools-2.01.01/cdrecord/cdrecord.c 2005-10-14 14:59:25.0 +0200 @@ -3880,7 +3880,7 @@ load_media(scgp, dp, doexit) scsi_start_stop_unit(scgp, 1, 0, immed); wait_unit_ready(scgp, 120); scgp-silent++; - rezero_unit(scgp); /* Is this needed? Not supported by some drvives */ +/* rezero_unit(scgp);*/ /* Is this needed? Not supported by some drvives */ scgp-silent--; test_unit_ready(scgp); scsi_start_stop_unit(scgp, 1, 0, immed);
Bug#330371: cdrecord: scsi buffer allocation fails
Package: cdrecord Version: 4:2.01+01a03-2 Severity: grave Justification: renders package unusable With latest version of cdrecord, k3b, gnomebaker and cdrecord command line fail to allocate a scsi buffer and fail. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages cdrecord depends on: ii debconf 1.4.58 Debian configuration management sy ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libcap1 1:1.10-14 support for getting/setting POSIX. ii makedev 2.3.1-78 creates device files in /dev Versions of packages cdrecord recommends: ii mkisofs 4:2.01+01a03-2 Creates ISO-9660 CD-ROM filesystem -- debconf information: cdrecord/SUID_bit: false cdrecord/MAKEDEVNEW: true cdrecord/do_it_yourself: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#330371: cdrecord: scsi buffer allocation fails
On Tue, Sep 27, 2005 at 03:30:51PM -0400, John McCutchan wrote: Package: cdrecord Version: 4:2.01+01a03-2 Severity: grave Justification: renders package unusable With latest version of cdrecord, k3b, gnomebaker and cdrecord command line fail to allocate a scsi buffer and fail. Can you please provide some command line output to demonstrate this? -- Steve McIntyre, Cambridge, UK.[EMAIL PROTECTED] You can't barbecue lettuce! -- Ellie Crane signature.asc Description: Digital signature