Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 1998 19:13:50 +0200
From:      Stephane Bortzmeyer <stephane@sources.org>
To:        aic7xxx Mailing List <AIC7xxx@FreeBSD.ORG>
Subject:   CD recording problem (Ricoh drive, Linux)
Message-ID:  <199809271713.TAA00659@ludwigV.sources.org>

next in thread | raw e-mail | index | archive | help
 
I record CD on many different machines, with many different drives, and I 
always thought I knew how to use cdrecord. But I have a problem which I cannot 
solve. Since the drive is connected to an Adaptec 294X, and since I use the 
same model of drive without trouble with a 284X, there is may be a SCSI 
adapter problem and that's why I write on this list, after an unsuccesful 
attempt on comp.os.linux.hardware.

On one machine, recording seems to be fine (cdrecord doesn't complain) but 
reading the disk makes many errors in the kernel.

For an ext2 disk:

scsi0: MEDIUM ERROR on channel 0, id 5, lun 0, CDB: Read (6) 03 50 06 01 00 
Current error sr0b:00: sense key Medium Error
Additional sense indicates No seek complete
CD-ROM I/O error: dev 0b:00, sector 868378
EXT2-fs error (device 0b:00): ext2_read_inode: unable to read inode block - 
inode=107745, block=434189

For an ISO one:

Max size:128716   Log zone size:2048
First datazone:32   Root inode number 65536
ISO9660 Extensions: RRIP_1991A
.. Directory not in first block of directory.
Backlink not properly set 150 a9b70.

The problem is reproducible. I've never been able to record one CD properly.

I believe I tried everything, reading xcdroast and cdrecord documentation, as 
well as <http://mp6200.home.ml.org/>:

- driver Adaptec 4, 5.0 or 5.1 up to pre11,
- lowering speed of the drive in the Adaptec BIOS setup (since the Ricoh is 
asynchronous, I believe it is useless?),
- checking that disconnection is indeed enabled,
- checking termination several times (the other disks on the bus have no 
problems).

Here is the current setup:

ludwigV:~> cdrecord -version
Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: WDIGTL   Model: WDE4360-1807A3   Rev: 1.80
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: WDIGTL   Model: WDE4360-1807A3   Rev: 1.80
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: NEC      Model: CD-ROM DRIVE:464 Rev: 1.04
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: RICOH    Model: MP6200S          Rev: 2.03
  Type:   CD-ROM                           ANSI SCSI revision: 02


And this is wht the driver says:

Adaptec AIC7xxx driver version: 5.1.0pre11/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 15
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Enabled

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
                           Ultra Wide Controller
    PCI MMAPed I/O Base: 0xfafff000
      Adaptec SCSI BIOS: Enabled
                    IRQ: 11
                   SCBs: Active 1, Max Active 3,
                         Allocated 15, HW 16, Page 255
             Interrupts: 7622
      BIOS Control Word: 0x18b6
   Adapter Control Word: 0x0012
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0023
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:
(scsi0:0:0:0)
  Device using Wide/Sync transfers at
  40.0 MByte/sec, offset 8
    Total transfers 2920 (2189 read;731 written)
      blks(512) rd=10179; blks(512) wr=2113
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0    225   1351    104    274    225      8      2      0      0 
Writes:     0      1    547    159     16      8      0      0      0      0 

(scsi0:0:1:0)
  Device using Wide/Sync transfers at
  40.0 MByte/sec, offset 8
    Total transfers 3952 (3458 read;494 written)
      blks(512) rd=24129; blks(512) wr=1346
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      1   1932    114    635    752     14      9      1      0 
Writes:     0      0    417     58     15      4      0      0      0      0 

(scsi0:0:5:0)
  Device using Narrow/Sync transfers at
  20.0 MByte/sec, offset 15
    Total transfers 510 (510 read;0 written)
      blks(512) rd=5346; blks(512) wr=0
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      2      0    381      6     12    109      0      0      0 
Writes:     0      0      0      0      0      0      0      0      0      0 

(scsi0:0:6:0)
  Device using Narrow/Async transfers.
    Total transfers 10 (10 read;0 written)
      blks(512) rd=31; blks(512) wr=0
        < 512 512-1K   1-2K   2-4K   4-8K  8-16K 16-32K 32-64K 64-128K >128K
 Reads:     0      3      0      7      0      0      0      0      0      0 
Writes:     0      0      0      0      0      0      0      0      0      0 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-aic7xxx" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809271713.TAA00659>