Gravure debian sarge 2.6.8


#1

bonjour,

impossible de graver en console ou k3b il trouve toujours aucun cdr que je met dans le graveur :

$ cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright © 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.8-1-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
Using libscg version ‘schily-0.8’.
scsibus0:
0,0,0 0) 'ATAPI ’ 'CD-ROM 52X ’ ‘172A’ Removable CD-ROM
0,1,0 1) ‘Polaroid’ 'BurnMAX52 ’ ‘001H’ Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

aprés si j’ essaye de graver :

$ cdrecord -v -speed=16 -dev=0,1,0 -overburn -data Gang.De.Requins.FRENCH-TS.ReEnc.DivX-GGT.avi
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds…
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright © 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.8-1-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
TOC Type: 1 = CD-ROM
scsidev: '0,1,0’
scsibus: 0 target: 1 lun: 0
Using libscg version ‘schily-0.8’.
SCSI buffer size: 32768
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'Polaroid’
Identifikation : 'BurnMAX52 '
Revision : ‘001H’
Device seems to be: Generic mmc CD-RW.
Current: 0x0008
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008 (current)
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
FIFO size : 4194304 = 4096 KB
Track 01: data 697 MB
Total size: 801 MB (79:24.70) = 357353 sectors
Lout start: 801 MB (79:26/53) = 357353 sectors
cdrecord: Success. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: No disk / Wrong disk! <-----aucun cdr il trouver a l’ interieur

comment faire ? en root même probleme


#2

le fonctionnement des graveurs CDROM se passe normalement effectivement du module ide_cd, avec les noyaux > 2.6.5.
Déja, le fait que tu aies un resultat sur cdrecord -scanbus est anormal, c’est que d’une maniere ou d’une autre, tu charges le module, alors qu’il ne devrait pas l’etre.
pour plus d’info, si tu as la même version que moi de cdrecord, ou de cdrecord-doc (les dernieres en sarge), tu devrais avoir dans
/usr/share/doc/cdrecord/README.ATAPI.setup
une doc qui dit [code]
Kernel 2.6.*

Usually you would not want to use ide-scsi with Kernel 2.6 for
CD-writing, the new kernel provides a (from a user’s point of view)
superior access method that finally supports DMA access when writing
Audio-CDs or using -raw.

If you are converting from ide-scsi first undo the steps 2-7 described above.

  1. Become root, find out the virtual SCSI ID of your device, running:
    cdrecord dev=ATA: -scanbus

  2. Become root, setup cdrecord’s environment - edit /etc/default/cdrecord:
    CDR_DEVICE=cdrw
    cdrw=ATA:3,0,0 12 30m
    Insert the right values, the fields are described in the manpage
    of cdrecord. Alternatively, you may use this values as
    cdrecord-parameter or take a frontend with an own configuration
    scheme, then you don’t need to modify /etc/default/cdrecord.
    The columns must be separated by tabs.

  3. That’s it, ‘cdrecord -prcap’ should find your writer.

  4. If you wish to allow non-root users to write CDs, you must give them
    permissions to do so. Run “dpkg-reconfigure cdrecord” to set suid-root
    permissions on the executable, then add your users to the cdrom group
    (“adduser user cdrom”) and let the user completely logout and re-login.
    [/code]
    je n’ai pas encore testé, donc dis moi si ca marche…