CDRW IDE, IDE-SCSI

From: Nerijus (nerijus@sat.lt)
Date: Mon Apr 24 2000 - 12:21:29 EST


I wrote a RH 6.2 install CD from iso image with cdrecord
and it did not 'fixate' disk. I can mount it with kernel 2.2.14
without using IDE-SCSI emulation and cannot mount it at all
with 2.3.99-pre5.

2.2 with IDE-SCSI (mount fails):
kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
kernel: attempt to access beyond end of device
kernel: 0b:00: rw=0, want=33, limit=2
kernel: dev 0b:00 blksize=1024 blocknr=32 sector=64 size=1024 count=1
kernel: isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=32

2.2 without IDE-SCSI (mount succeeds):
kernel: hdd: packet command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: packet command error: error=0x50
kernel: ATAPI device hdd:
kernel: Error: Illegal request -- (Sense key=0x05)
kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
kernel: The failed "Read TOC" packet command was:
kernel: "43 02 00 00 00 00 00 00 0c 40 00 00 "
kernel: hdd: packet command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: packet command error: error=0x50
kernel: ATAPI device hdd:
kernel: Error: Illegal request -- (Sense key=0x05)
kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
kernel: The failed "Read TOC" packet command was:
kernel: "43 02 00 00 00 00 00 00 0c 40 00 00 "

2.3 with IDE-SCSI (mount fails):
kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
kernel: attempt to access beyond end of device
kernel: 0b:00: rw=0, want=34, limit=2
kernel: isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, block=16

2.3 without IDE-SCSI (mount fails):
kernel: hdd: packet command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: packet command error: error=0x50
kernel: ATAPI device hdd:
kernel: Error: Illegal request -- (Sense key=0x05)
kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
kernel: The failed "Test Unit Ready" packet command was:
kernel: "00 00 00 00 00 00 00 00 00 00 00 00 "
kernel: hdd: packet command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdd: packet command error: error=0x50
kernel: ATAPI device hdd:
kernel: Error: Illegal request -- (Sense key=0x05)
kernel: Invalid field in command packet -- (asc=0x24, ascq=0x00)
kernel: The failed "Test Unit Ready" packet command was:
kernel: "00 00 00 00 00 00 00 00 00 00 00 00 "
kernel: isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32

This CD is only readable with CDRW (tried with Philips and Mitsumi).
If I try to mount it with Teac CD it fails. But with CDRW I can even
boot from this CD. Why only 2.2 kernel without IDE-SCSI works?

P.S. I tried to fixate disk, but it failed. Is it possible to fix it?

Cdrecord 1.8.1a05 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Using libscg version 'schily-0.1'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'MITSUMI '
Identifikation : 'CR-4804TE '
Revision : '2.6C'
Device seems to be: Philips CDD-522.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 1343488 = 1312 KB

Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: 3
  ATIP start of lead in: -11324 (97:31/01)
  ATIP start of lead out: 336225 (74:45/00)
Disk type: Long strategy type (Cyanine, AZO or similar)
Manuf. index: 22
Manufacturer: Ritek Co.
Blocks total: 336225 Blocks current: 8034 Blocks remaining: 8184
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 9 seconds.

Performing OPC...

Writing time: 2.710s
Fixating...

CDB: 5B 00 02 00 00 00 00 00 00 00
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 72 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x04 (empty or partially written reserved track) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 480s

cdrecord: Input/output error. close track/session: scsi sendcmd: retryable error
status: 0x2 (CHECK CONDITION)

Fixating time: 0.014s

Error, exit status: 254

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:08 EST