This one time, at band camp, Stephen Gran said: > This one time, at band camp, Eduard Bloch said: > > #include <hallo.h> > > * Stephen Gran [Tue, Apr 26 2005, 09:59:45PM]: > > > > > Sorry, I see many nearly related bugs but I do not see this one in > > > particular. If I have missed one that adresses the same issue, please > > > feel free to close or merge this one as you see fit. > > > > > > The issue is that while running 2.6.10, cdrecord -prcap fails with > > > > > > cdrecord: Cannot allocate memory. SG I/O error > > > > > > This is with an ATAPI drive, and an /etc/default/cdrecord with > > > CDR_DEVICE=ATA:1,0,0 > > > (for /dev/hdc - I believe this is right, and earlier kernels don't > > > complain) > > > > Believe it or not, better use "-scanbus dev=ATA:"
OK, I found one way that does work: [EMAIL PROTECTED]:~$ cdrecord -scanbus -dev=ATAPI: Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <[EMAIL PROTECTED]>. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.10-1-686-smp cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. scsidev: 'ATAPI:' devname: 'ATAPI' scsibus: -1 target: -1 lun: -1 Warning: Using ATA Packet interface. Warning: The related Linux kernel interface code seems to be unmaintained. Warning: There is absolutely NO DMA, operations thus are slow. Using libscg version 'ubuntu-0.8ubuntu1'. cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling'). scsibus0: 0,0,0 0) 'TOSHIBA ' 'DVD-ROM SD-R5002' '1030' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * So now, I have it set to reflect this: [EMAIL PROTECTED]:~$ grep ATAPI /etc/default/cdrecord CDR_DEVICE=ATAPI:0,0,0 So: [EMAIL PROTECTED]:~$ id uid=1000(steve) gid=1000(steve) groups=4(adm),8(mail),20(dialout),24(cdrom),25(floppy),29(audio),40(src),44(video),50(staff),102(Debian-exim),1000(steve),1007(devel) [EMAIL PROTECTED]:~$ ll /usr/bin/cdrecord* -rwsr-xr-- 1 root cdrom 133 2005-04-30 11:20 /usr/bin/cdrecord -rwsr-xr-- 1 root cdrom 351404 2005-04-30 11:20 /usr/bin/cdrecord.mmap -rwsr-xr-- 1 root cdrom 351436 2005-04-30 11:20 /usr/bin/cdrecord.shm But: [EMAIL PROTECTED]:~$ cdrecord -prcap Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <[EMAIL PROTECTED]>. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.10-1-686-smp cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. scsidev: 'ATAPI:0,0,0' devname: 'ATAPI' scsibus: 0 target: 0 lun: 0 Warning: Using ATA Packet interface. Warning: The related Linux kernel interface code seems to be unmaintained. Warning: There is absolutely NO DMA, operations thus are slow. Using libscg version 'ubuntu-0.8ubuntu1'. cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling'). cdrecord: Cannot allocate memory. Cannot get SCSI I/O buffer. and still: [EMAIL PROTECTED]:~$ sudo !! sudo cdrecord -prcap Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <[EMAIL PROTECTED]>. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.10-1-686-smp cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. scsidev: 'ATAPI:0,0,0' devname: 'ATAPI' scsibus: 0 target: 0 lun: 0 Warning: Using ATA Packet interface. Warning: The related Linux kernel interface code seems to be unmaintained. Warning: There is absolutely NO DMA, operations thus are slow. Using libscg version 'ubuntu-0.8ubuntu1'. cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling'). Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'TOSHIBA ' Identifikation : 'DVD-ROM SD-R5002' Revision : '1030' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Drive capabilities, per MMC-3 page 2A: [...] WTF? This all works fine on 2.6.8-smp Debian kernel. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
pgp9rKiPgCxSJ.pgp
Description: PGP signature