Re: [PARPORT] Freecom Traveller CD-RW [Re: ioctl ??]

From: Joerg Schilling (schilling@fokus.gmd.de)
Date: Sun Oct 14 2001 - 05:35:58 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] Freecom Traveller CD-RW [Re: ioctl ??]"

    >From owner-linux-parport@gear.torque.net Sat Oct 13 23:08:48 2001

    >On Thursday 11 October 2001 22:00, Tim Waugh <twaugh@redhat.com> wrote:

    >> > cdrecord: Inappropriate ioctl for device. Cannot send SCSI cmd via ioctl
    >> >    
    >>
    >> Upgrade cdrecord.

    >Yes, thanks, scanbus worked straight away with 1.11a08
    >I was amazed to find that RedHat 7.1 came with cdrecord 1.10, yet Suse 7.2
    >six months later had 1.09 and no update offered on website.

    >However I'm getting quite similar errors as I did with 1.10 under RedHat.
    >What do you make of all this?

    >myates:~ # cdrecord -v -dev=0,0,0 /mnt/myback/cdmm.img
    >Cdrecord 1.11a08 (i586-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
    >TOC Type: 1 = CD-ROM
    >scsidev: '0,0,0'
    >scsibus: 0 target: 0 lun: 0
    >Using libscg version 'schily-0.5'
    >atapi: 1
    >Device type : Removable CD-ROM
    >Version : 0
    >Response Format: 1
    >Vendor_info : 'TEAC '
    >Identifikation : 'CD-W54E '
    >Revision : '1.1B'
    >Device seems to be: Generic mmc CD-RW.
    >Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
    >Driver flags : SWABAUDIO
    >Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    >Drive buf size : 1300480 = 1270 KB
    >FIFO size : 4194304 = 4096 KB
    >Track 01: data 671 MB
    >Total size: 770 MB (76:22.10) = 343658 sectors
    >Lout start: 771 MB (76:24/08) = 343658 sectors
    >Current Secsize: 2048
    >ATIP info from disk:
    > Indicated writing power: 5
    > Is not unrestricted
    > Is not erasable
    > ATIP start of lead in: -11649 (97:26/51)
    > ATIP start of lead out: 359849 (79:59/74)
    >Disk type: Long strategy type (Cyanine, AZO or similar)
    >Manuf. index: 10
    >Manufacturer: Lead Data Inc.
    >Blocks total: 359849 Blocks current: 359849 Blocks remaining: 16191
    >Starting to write CD/DVD at speed 1 in write mode for single session.
    >Last chance to quit, starting real write in 0 seconds. Operation starts.
    >Waiting for reader process to fill input buffer ... input buffer ready.
    >Performing OPC...
    >Starting new track at sector: 0
    >Track 01: 7 of 671 MB written (fifo 1%).cdrecord: Input/output error.

    >write_g1: scsi sendcmd: no error
    >CDB: 2A 00 00 00 0E 10 00 00 10 00
    >status: 0x2 (CHECK CONDITION)
    >Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00
    >Sense Key: 0x5 Illegal Request, Segment 0
    >Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
    >Sense flags: Blk 0 (not valid)
    >resid: 32768
    >cmd finished after 0.003s timeout 40s

    This is a buffer underrun. If this is a writer on a parallel port, read
    README.parallel else read README.ATAPI. This is caused by a miss configuration.

    Jörg

     EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
           js@cs.tu-berlin.de (uni) If you don't have iso-8859-1
           schilling@fokus.gmd.de (work) chars I am J"org Schilling
     URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Sun Oct 14 2001 - 05:50:59 EDT