|
From: B Thomas on 29 Sep 2006 20:02 I have a Sony CDRW/DVDRW drive that can burn DVD perfectly well using growisofs. However if I try to burn any CD-R using cdrecord it fails while performing OPC. This is an ATAPI drive. I replaced it with a SCSI Yamaha CD burner and the same problem occurs. I am using Debian/Sarge with the vesion of cdrecord that comes along with it. I was able find two bug reports at bugs.debian.org for the cdrecord package of the same nature. In one of those reports a cdrecord developer claims this is not a bug in cdrecord. Though I am not sure I understood all the details of his arguments. I used to be able to burn CDs easly with my ATAPI CDRW drive which died. Ever since neither the CD/DVD RW nor the SCSI CDRW work for burning CDs. I would be greatfull if someone is familiar with this problem and could shed some light on how I can fix or work around this problem. Here is verbose output from cdrecord indicating the error : ------------------------------------------------------------------ Warning: Using badly designed ATAPI via /dev/hd* interface. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: -1 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'TSSTcorp' Identifikation : 'CD/DVDW TS-H552B' Revision : 'TS04' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x0009 Profile: 0x002B Profile: 0x001B Profile: 0x001A Profile: 0x0014 Profile: 0x0013 Profile: 0x0011 Profile: 0x0010 Profile: 0x000A Profile: 0x0009 (current) Profile: 0x0008 cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on DVD support. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1968384 = 1922 KB FIFO size : 4194304 = 4096 KB Track 01: data 700 MB Total size: 804 MB (79:39.49) = 358462 sectors Lout start: 804 MB (79:41/37) = 358462 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -11834 (97:24/16) ATIP start of lead out: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 24 Manufacturer: SONY Corporation Blocks total: 359849 Blocks current: 359849 Blocks remaining: 1387 cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). cdrecord: WARNING: This causes a high risk for buffer underruns. Starting to write CD/DVD at speed 8 in real SAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is ON. Turning BURN-Free off Performing OPC... cdrecord: Success. send opc: scsi sendcmd: no error CDB: 54 01 00 00 00 00 00 00 00 00 status: 0x4 (CONDITION MET/GOOD) cmd finished after 200.098s timeout 200s cdrecord: OPC failed. Writing time: 200.137s cdrecord: fifo had 64 puts and 0 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. ------------------------------------------------------------------------------- TIA b thomas
From: ArameFarpado on 29 Sep 2006 20:28 What is your kernel version ? if it is 2.4 then you should be using scsi emulation, and you are not: > Warning: Using badly designed ATAPI via /dev/hd* interface. if it is 2.6 then there is a permission problem... in this case i used to work with a changed cdrecord (from mandriva distro), but now there is no more need for that as in Debian Sid, cdrecord was replaced by wodim. best regards ArameFarpado
From: B Thomas on 29 Sep 2006 20:41 Hi, I am using kernel 2.6.15 . What is the permission problem you talk about ? Can this be fixed by running cdrecord suid root. I gather wodim is part of cdrkit. I shall try and build this one sarge (hopefull all build dependencies can be satisfied). Also I would be greatfull if you could give me a pointer on which is the changed cdrecord version you used (from the mandriva distro). I try and package it for Debian/Sarge. Did you use it on Debian or Mandriva ? regards b thomas ArameFarpado <a-farpado.spam(a)netcabo.pt> wrote: > What is your kernel version ? > > if it is 2.4 then you should be using scsi emulation, and you are not: >> Warning: Using badly designed ATAPI via /dev/hd* interface. > > if it is 2.6 then there is a permission problem... in this case i used to > work with a changed cdrecord (from mandriva distro), but now there is no > more need for that as in Debian Sid, cdrecord was replaced by wodim. > > best regards > ArameFarpado
From: ArameFarpado on 29 Sep 2006 21:31 B Thomas wrote: > Hi, Hello > I am using kernel 2.6.15 . > > What is the permission problem you talk about ? Can this be fixed by > running cdrecord suid root. Can't tell you that because i'de never understand the situation myself... it happend after kernel 2.6.8. (if i'm not mistaken) All permissions settings looked ok, but cdrecord allways gave me permission problems. If this is your problem, you should be able to burn a cd if you start k3b (or just cdrecord) as root. you might wanna do this once just to see if your problem is really just cdrecord permissions. > I gather wodim is part of cdrkit. I shall try and build this one sarge > (hopefull all build dependencies can be satisfied). i don't recall any dependencies to install wodim (but then apt do that stuff for us, right), but you will need to to one thing if the package doesn't do it for you: you see, your version of k3b is programed to look for "cdrecord", not "wodim", so detete the cdrecord program and create a symlink called "cdrecord" pointing to wodin # ln -s ./wodim ./cdrecord (do this in /usr/bin) after this, k3b will still call cdrecord, but will be wodim that will work. > Also I would be greatfull if you could give me a pointer on which is > the changed cdrecord version you used (from the mandriva distro). > I try and package it for Debian/Sarge. Did you use it on Debian or > Mandriva ? No package :) I used to just replace the "cdrecord" file in /usr/bin with the same file copied from a mandriva instalation... just simply replace a file. This was my solution until wodim came out, now i don't need to do this anymore. Regards ArameFarpado
From: B Thomas on 30 Sep 2006 01:28 Here is some further information regarding this problem. 1) It is not a permissions issue. As running cdrecord suid root or as root makes not difference 2) It has nothing to do with the ATAPI interface or IDE/SCSI etc. As it occurs for both and ATAPI CDRW without using scsi emulation (i.e. dev=ATA: ... ), and a SCSI CDRW. 3) I was able to burn cd's with my previous (really old) cdwriter using EXACTLY the same software configuration (including the kernel 2.6.15) and the same batch of SONY CD-Rs regards b thomas
|
Next
|
Last
Pages: 1 2 3 4 5 6 Prev: xorg intel 915P and webcam Next: Core 2 Duo - Pentium M or Pentium 4? |