CDrecord problems (Debian Sarge / 2.6.8 kernel)

From: Hans Poppe (hpoppe_at_online.no)
Date: 02/23/05

  • Next message: Hans Poppe: "Re: PCMCIA vs Bridge!"
    Date: Wed, 23 Feb 2005 12:00:35 +0100
    
    

    I've been troubled by cdrecord after a dist-upgrade, and now I'm hoping
    someone can help :-)
    I thought that ide-scsi no longer should be used with 2.6 kernel (I'm
    running 2.6.8-1-386 on Debian Sarge. If I do not modprobe ide-scsi cdrecord
    aborts with error. I'm running this from the root account.
    (don,t ask why I want to burn NT4 server, it's a 120 day version used for
    educational purpouses). Earlier I entered the command: cdrecord
    dev=ATA:0,2,0, but this no longer works. I've tried cdrecord dev=/dev/hdb,
    no luck. The error says "could not open /dev/pg0, no such device (it is not
    in dev), could not open SCSI driver.
    If I run modprobe ide-scsi, and then try cdrecord again I get this output:

    3etage:/home/hpoppe/IsoImages# modprobe ide-scsi
    3etage:/home/hpoppe/IsoImages# cdrecord dev=0,0,0 -v -eject NT4svr.iso
    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.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
    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
    <cdrtools@packages.debian.org>.
          The original author should not be bothered with problems of this
    version.

    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,0,0'
    scsibus: 0 target: 0 lun: 0
    Linux sg driver version: 3.5.31
    Using libscg version 'schily-0.8'.
    SCSI buffer size: 64512
    atapi: 1
    Device type : Removable CD-ROM
    Version : 2
    Response Format: 2
    Capabilities :
    Vendor_info : 'ASUS '
    Identifikation : 'CRW-3212A '
    Revision : '1.0 '
    Device seems to be: Generic mmc CD-RW.
    Current: 0x0009
    Profile: 0x000A
    Profile: 0x0009 (current)
    Profile: 0x0008
    Profile: 0x0002 (current)
    Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
    Driver flags : MMC-3 SWABAUDIO BURNFREE
    Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    Drive buf size : 1966272 = 1920 KB
    FIFO size : 4194304 = 4096 KB
    Track 01: data 478 MB
    Total size: 549 MB (54:25.20) = 244890 sectors
    Lout start: 549 MB (54:27/15) = 244890 sectors
    Current Secsize: 2048
    ATIP info from disk:
      Indicated writing power: 5
      Is not unrestricted
      Is not erasable
      Disk sub type: Medium Type A, high Beta category (A+) (3)
      ATIP start of lead in: -11634 (97:26/66)
      ATIP start of lead out: 359846 (79:59/71)
    Disk type: Short strategy type (Phthalocyanine or similar)
    Manuf. index: 3
    Manufacturer: CMC Magnetics Corporation
    Blocks total: 359846 Blocks current: 359846 Blocks remaining: 114956
    Starting to write CD/DVD at speed 32 in real TAO 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 OFF.
    Performing OPC...
    Starting new track at sector: 0
    Track 01: 478 of 478 MB written (fifo 100%) [buf 100%] 33.5x.
    Track 01: Total bytes read/written: 501530624/501530624 (244888 sectors).
    Writing time: 155.291s
    Average write speed 22.1x.
    Min drive buffer fill was 99%
    Fixating...
    Fixating time: 23.797s
    cdrecord: fifo had 7900 puts and 7900 gets.
    cdrecord: fifo was 0 times empty and 5865 times full, min fill was 82%.
    3etage:/home/hpoppe/IsoImages#

    This looks good, but the recordable CD is blank. No data on it. The red
    light on the CD-burner blinks and I've tried it in another (Windows)
    machine and the device works. It also worked on the Linuxmachine earlier.

    I did at one time edit the /boot/grub/menu.list so that default boot option
    now is:

    title Debian GNU/Linux, kernel 2.6.8-1-386
    root (hd0,0)
    kernel /vmlinuz-2.6.8-1-386 root=/dev/hda3 ro hdb=ide-scsi
    max_scsi_luns=1
    initrd /initrd.img-2.6.8-1-386
    savedefault
    boot

    Should I take away the hdb=ide-scsi max_scsi_luns=1 part of the kernel
    options? Earlier cdrecord didn't work witout these parameters.
    I'm sure there is some GUI application that would do this, but I'm a CLI
    enthusiast, and I want it to work just for the fun and challenge :-D

    Any input would be appreciated.

    -- 
    **************
    C:\DOS
    C:\DOS\RUN
    RUN\DOS\RUN
    

  • Next message: Hans Poppe: "Re: PCMCIA vs Bridge!"

    Relevant Pages

    • Re: Cdrecord-2.01.01a09 fertig
      ... Brenner: NEC ND-3550A, Kernel 2.4.32 ... Profile: DVD-R/DL sequential recording ... Waiting for reader process to fill input buffer ... ... cdrecord: A write error occured. ...
      (de.comp.hardware.laufwerke.brenner)
    • cdrecord problem
      ... This version is an unofficial version with DVD support ... The author of cdrecord should not be bothered with problems in this ... Profile: 0x001B ... Waiting for reader process to fill input buffer ... ...
      (Fedora)
    • cdrecord in suse
      ... cdrecord: No write mode specified. ... Profile: DVD-R sequential recording ... Profile: Removable Disk ... Waiting for reader process to fill input buffer ... ...
      (comp.os.linux.misc)
    • Re: [libata] Problem with burning and pata
      ... Cannot open SCSI driver. ... cdrecord: For possible targets try 'cdrecord -scanbus'. ... Profile: DVD-RAM ... Waiting for reader process to fill input buffer ... ...
      (comp.os.linux.hardware)
    • Re: cdrtools-2.01.01a28 fertig
      ... Profile: DVD+RW ... Profile: DVD-R/DL sequential recording ... Waiting for reader process to fill input buffer ... ... cdrecord: Input buffer error, aborting. ...
      (de.comp.hardware.laufwerke.brenner)