PymbleSoftware wrote:
recondas wrote:
My guess is that this *isn't* directly a controller or SATA issue. Both seem to have done what's expected of them - the LSI controller and the attached DVD-RW appear to IRIX when and where they should.
I'm starting to wonder if the underlying issue is IRIX's inability to correctly interpret/implement the use of <at least some> DVD-RW drives. The syslog error message complaining about an
invalid command code
is familiar - I got command code error messages when I connected a DVD-RW via one of the Yamaha SCSI>IDE adapters <and, as I recall, even with certain SCSI CD-RW drives>. I don't know enough about
SCSI command codes
to interpret how the implications of the command code error message <
[Alert] Illegal request: Invalid command code (asc=0x20, asq=0x0) CDB: 1a 0 3f 0 fe 0
>.
Its a mode sense command.
http://en.wikipedia.org/wiki/SCSI_Mode_Sense_Command
Its asking: "send me all your mode pages".. no more than 254 (0xfe) bytes.
The optical drive doesn't have SCSI mode pages... its SATA.
This error is usually
not
a show stopper.
It shouldn't fail because the device its talking to is not sharing its mode pages.
While I was back inside the
Fool
I re-attached the Pioneer DVD-Writer.
1) Yes, get that mesage with a small variation :
Code:
Select all
dksc2d2vol: [Alert] Illegal request: Invalid command code (asc=0x20, asq=0x0) CDB: 15 10 0 0 c 0
2) oddly, the desktop message when you double-click the icon is
Code:
Select all
DVD disk type is still being identified.
Double-click again when icon shows DVD type above drive.
Except the icon
does
show the DVD type above the drive and it
does
change properly when you go from DVD to CD. Or it oes this about as reliably as the normal SCSI DVD-ROM does, which ain't all that great.
3) Off we go to cdrecord. Mmm, good
Code:
Select all
fewel 10# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a35 (mips-sgi-irix6.5) Copyright (C) 1995-2007 Jörg Schilling
Using libscg version 'schily-0.9'.
scsibus0:
0,0,0 0) *
0,1,0 1) 'SEAGATE ' 'ST336706LW ' '0108' Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) *
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) 'HL-DT-ST' 'DVDRAM GSA-4167B' 'DL11' Removable CD-ROM
1,7,0 107) *
scsibus2:
2,0,0 200) 'ATA ' 'Hitachi HDP72505' 'A5CA' Disk
2,1,0 201) *
2,2,0 202) 'PIONEER ' 'DVD-RW DVR-216 ' '1.09' Removable CD-ROM
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
That's encouraging ...
Code:
Select all
fewel 15# cdrecord dev=2,2,0 -prcap
Cdrecord-ProDVD-ProBD-Clone 2.01.01a35 (mips-sgi-irix6.5) Copyright (C) 1995-2007 Jörg Schilling
scsidev: '2,2,0'
scsibus: 2 target: 2 lun: 0
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-216 '
Revision : '1.09'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Drive capabilities, per MMC-3 page 2A:
Does read CD-R media
Does write CD-R media
Does read CD-RW media
Does write CD-RW media
Does read DVD-ROM media
Does read DVD-R media
Does write DVD-R media
Does read DVD-RAM media
Does write DVD-RAM media
Does support test writing
Does read Mode 2 Form 1 blocks
Does read Mode 2 Form 2 blocks
Does read digital audio blocks
Does restart non-streamed digital audio reads accurately
Does support Buffer-Underrun-Free recording
Does read multi-session CDs
Does read fixed-packet CD media using Method 2
Does not read CD bar code
Does not read R-W subcode information
Does read raw P-W subcode data from lead in
Does return CD media catalog number
Does return CD ISRC information
Does support C2 error pointers
Does not deliver composite A/V data
Does play audio CDs
Number of volume control levels: 256
Does support individual volume control setting for each channel
Does support independent mute setting for each channel
Does not support digital output on port 1
Does not support digital output on port 2
Loading mechanism type: tray
Does support ejection of CD via START/STOP command
Does not lock media on power up via prevent jumper
Does allow media to be locked in the drive via PREVENT/ALLOW command
Is not currently in a media-locked state
Does not support changing side of disk
Does not have load-empty-slot-in-changer feature
Does not support Individual Disk Present feature
Maximum read speed: 7056 kB/s (CD 40x, DVD 5x, BD 1x)
Current read speed: 7056 kB/s (CD 40x, DVD 5x, BD 1x)
Maximum write speed: 7056 kB/s (CD 40x, DVD 5x, BD 1x)
Current write speed: 5644 kB/s (CD 32x, DVD 4x, BD 1x)
Rotational control selected: CLV/PCAV
Buffer size in KB: 2000
Copy management revision supported: 1
Number of supported write speeds: 8
Write speed # 0: 8467 kB/s CLV/PCAV (CD 48x, DVD 6x, BD 1x)
Write speed # 1: 7056 kB/s CLV/PCAV (CD 40x, DVD 5x, BD 1x)
Write speed # 2: 5644 kB/s CLV/PCAV (CD 32x, DVD 4x, BD 1x)
Write speed # 3: 4233 kB/s CLV/PCAV (CD 24x, DVD 3x, BD 0x)
Write speed # 4: 3528 kB/s CLV/PCAV (CD 20x, DVD 2x, BD 0x)
Write speed # 5: 2822 kB/s CLV/PCAV (CD 16x, DVD 2x, BD 0x)
Write speed # 6: 1764 kB/s CLV/PCAV (CD 10x, DVD 1x, BD 0x)
Write speed # 7: 705 kB/s CLV/PCAV (CD 4x, DVD 0x, BD 0x)
Current performance according to MMC get performance:
Maximum performance according to MMC get performance:
End LBA: 281335
Read Speed: 8468 == 48x CD
Write Speed: 8468 == 48x CD
End LBA: 281335
Read Speed: 7056 == 40x CD
Write Speed: 7056 == 40x CD
End LBA: 281335
Read Speed: 5645 == 32x CD
Write Speed: 5645 == 32x CD
End LBA: 281335
Read Speed: 4234 == 24x CD
Write Speed: 4234 == 24x CD
End LBA: 281335
Read Speed: 3528 == 20x CD
Write Speed: 3528 == 20x CD
End LBA: 281335
Read Speed: 2823 == 16x CD
Write Speed: 2823 == 16x CD
End LBA: 281335
Read Speed: 1764 == 10x CD
Write Speed: 1764 == 10x CD
End LBA: 281335
Read Speed: 706 == 4x CD
Write Speed: 706 == 4x CD
Supported CD-RW media types according to MMC-4 feature 0x37:
Does write multi speed CD-RW media
Does write high speed CD-RW media
Does write ultra high speed CD-RW media
Does write ultra high speed+ CD-RW media
Supported profiles according to MMC-4 feature list:
Current: CD-ROM
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: Removable Disk
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM (current)
Supported features according to MMC-4 feature list:
Feature: 'Profile List' (current) (persistent)
Feature: 'Core' (current) (persistent)
Feature: 'Morphing' (current) (persistent)
Feature: 'Removable Medium' (current) (persistent)
Feature: 'Write Protect'
Feature: 'Random Readable' (current)
Feature: 'Multi Read' (current)
Feature: 'CD Read' (current)
Feature: 'DVD Read'
Feature: 'Random Writable'
Feature: 'Incremental Streaming Writable'
Feature: 'Formattable'
Feature: 'Defect Management'
Feature: 'Restricted Overwrite'
Feature: 'DVD+RW'
Feature: 'DVD+R'
Feature: 'Rigid Restricted Overwrite'
Feature: 'CD Track at Once'
Feature: 'CD Mastering'
Feature: 'DVD-R/-RW Write'
Feature: 'Layer Jump Recording'
Feature: 'CD-RW Write'
Feature: 'DVD+R/DL Read'
Feature: 'Power Management' (current) (persistent)
Feature: 'S.M.A.R.T.'
Feature: 'CD Audio analog play'
Feature: 'Microcode Upgrade'
Feature: 'Time-out' (current) (persistent)
Feature: 'DVD-CSS'
Feature: 'Real Time Streaming' (current)
Feature: 'Logical Unit Serial Number' (current) (persistent) Serial: 'HLDL081621CN'
Feature: 'Disk Control Blocks'
Feature: 'DVD CPRM'
even more encouraging ...
Code:
Select all
fewel 17# cdrecord dev=2,2,0 -minfo
Cdrecord-ProDVD-ProBD-Clone 2.01.01a35 (mips-sgi-irix6.5) Copyright (C) 1995-2007 Jörg Schilling
scsidev: '2,2,0'
scsibus: 2 target: 2 lun: 0
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-216 '
Revision : '1.09'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
WARNING: Phys disk size 2314080 differs from rzone size 2236704! Prerecorded disk?
WARNING: Phys start: 200704 Phys end 2514783
Mounted media class: DVD
Mounted media type: DVD-RAM
Disk Is erasable
data type: standard
disk status: illegal
session status: complete
BG format status: none
first track: 1
number of sessions: 1
first track in last sess: 1
last track in last sess: 1
Disk Is not unrestricted
Disk type: DVD, HD-DVD or BD
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Data 0 2236703 2236704
Last session start address: 0
Last session leadout start address: 2236704
Here's an interesting thing ...
Code:
Select all
fewel 20# cdrecord dev=1,6,0 -minfo
Cdrecord-ProDVD-ProBD-Clone 2.01.01a35 (mips-sgi-irix6.5) Copyright (C) 1995-2007 Jörg Schilling
scsidev: '1,6,0'
scsibus: 1 target: 6 lun: 0
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4167B'
Revision : 'DL11'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
cdrecord: I/O error. get performance: scsi sendcmd: retryable error
CDB: AC 00 00 00 00 00 00 00 00 01 03 00
status: 0xff 0x0 (Reserved)
Sense Bytes:
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.015s timeout 40s
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
WARNING: Phys disk size 2314080 differs from rzone size 2236704! Prerecorded disk?
WARNING: Phys start: 200704 Phys end 2514783
Mounted media class: DVD
Mounted media type: DVD-RAM
Disk Is erasable
data type: standard
disk status: illegal
session status: complete
BG format status: none
first track: 1
number of sessions: 1
first track in last sess: 1
last track in last sess: 1
Disk Is not unrestricted
Disk type: DVD, HD-DVD or BD
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Data 0 2236703 2236704
Last session start address: 0
Last session leadout start address: 2236704
That's from the LG IDE DVD-Writer via a Yamaha adapter. That one is a
total
pain in the ass to use for DVD-writing but I have been successful with it.
So next time I get a moment I'll try writing to the SATA drive with cdrecord. It
seems
to be talking nicely to the drive, even better than the yamadapted drive.
Seems likely there's something goofed up in the graphical desktop rather than the underlying system. Damned graphical methods totally screw up formatting a DVD-RAM, too.
One question for people with two CD-ROM drives - do you have a /CDROM2 entry in the file system ? I do not .... altho hinv shows :
Code:
Select all
Integral SCSI controller 3: Version IEEE1394 SBP2
Disk drive / removable media: unit 2 on SCSI controller 3
Integral SCSI controller 2: Version SAS/SATA LS1064
Disk drive: unit 0 on SCSI controller 2 (unit 0)
CDROM: unit 2 on SCSI controller 2
Integral SCSI controller 0: Version QL12160, low voltage differential
Disk drive: unit 1 on SCSI controller 0 (unit 1)
Integral SCSI controller 1: Version QL12160, single ended
CDROM: unit 6 on SCSI controller 1
definitely recognized ...
Code:
Select all
fewel 4# scsicontrol -i /dev/scsi/sc*
/dev/scsi/sc0d1l0: Disk SEAGATE ST336706LW 0108
ANSI vers 3, ISO ver: 0, ECMA ver: 0; supports: 16bit synch linkedcmds cmdqueing
Device is ready
/dev/scsi/sc1d6l0: CD-ROM HL-DT-STDVDRAM GSA-4167BDL11
ANSI vers 2, ISO ver: 0, ECMA ver: 0; supports:
Device is ready
/dev/scsi/sc2d0l0: Disk ATA Hitachi HDP72505A5CA
ANSI vers 5, ISO ver: 0, ECMA ver: 0; supports: cmdqueing
Device is ready
/dev/scsi/sc2d2l0: CD-ROM PIONEER DVD-RW DVR-216 1.09
ANSI vers 0, ISO ver: 0, ECMA ver: 0; supports:
Device is ready
Just doesn't work so far ...