[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:28903] Re: cdrecord(ATAPI)



こじまさん,

こんにちは.ありがとうございます.

Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 にして試してみました.
dev=2:0:0とdev=/dev/sr0 を試してみましたが同様のエラーが発生して書き込め
ませんでした(?).

> > cdrecord(Cdrecord-Clone 2.01) でSATA 接続のDVDRAM(HL-DT-ST DVDRAM
> > GSA-H62N) を使用してCD-ROM を焼こうとすると,
> 
> SATA な DVD ドライブをわざわざ ATAPI 経由で使う必要はありましたっけ?

このあたりは勉強不足でplamoの過去ログを調べたら,両方できることは分かっ
たのですが,,,

> > # cdrecord dev=ATAPI -scanbus
> 
> > Using libscg version 'schily-0.8'.
> > scsibus0:
> >         0,0,0     0) 'HL-DT-ST' 'DVDRAM GSA-H62N ' 'CL00' Removable
> > 		CD-ROM
> >         0,1,0     1) *
> 
> デバイスは SCSI BUS 上に見えているのだから,
> 
> > # cdrecord dev=ATAPI:0,0,0 -v speed=2 -data plamo-4.22_02.iso
> 
> わざわざ ATAPI 経由みたいな指定にしなくても,dev=0:0:0 でよさそうに思う
> のですが.
>
> # cdrecord の場合,元々は SCSI デバイスが前提で,Linux の場合は ATAPI
> # 接続なドライブに sg.o とかを経由して SCSI エミュレーションで書き込む
> # ような使い方だったので,使えるなら SCSI デバイスとして使う方がいいよ
> # うに思います.

最初下記を行いましたら,

# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C)
1995-2008 Jrg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open
or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

と言われましたので,SATA DVDRAM はSCSI デバイスとしてアクセスするには
sg.o をインストールしないといけないものと思っていました(?).

# modprobe ide_scsi  これは必要かどうか(?)
# modprobe sg

# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C)
1995-2008 Jrg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0     0) 'ATA     ' 'WDC WD3200AAKS-0' '12.0' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus2:
        2,0,0   200) 'HL-DT-ST' 'DVDRAM GSA-H62N ' 'CL00' Removable
		CD-ROM
        2,1,0   201) *
        2,2,0   202) *
        2,3,0   203) *
        2,4,0   204) *
        2,5,0   205) *
        2,6,0   206) *
        2,7,0   207) *
scsibus4:
        4,0,0   400) 'Generic-' 'Compact Flash   ' '1.00' Removable Disk
        4,1,0   401) *
        4,2,0   402) *
        4,3,0   403) *
        4,4,0   404) *
        4,5,0   405) *
        4,6,0   406) *
        4,7,0   407) *

> また,使えるかは不明だけど dev=/dev/scd0 とか /dev/sr0 とか SCSI なデバ
> イスとして指定してやる方が ATAPI 経由で SCSI エミュレーションするよりも
> よさげな気がします.

dev=2:0:0とdev=/dev/sr0 を試しましたが同様に下記のエラーが発生してうまく
書き込めませんでした(?).

-------------------------------------------------------
# cdrecord dev=2,0,0 -v speed=2 -data plamo-4.22_02.iso
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent
defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C)
1995-2008 Jrg Schilling
TOC Type: 1 = CD-ROM
scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-H62N '
Revision       : 'CL00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-R
Profile: DVD-RAM 
Profile: DVD-R sequential recording 
Profile: DVD-R/DL sequential recording 
Profile: DVD-R/DL layer jump recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD+RW 
Profile: DVD+R 
Profile: DVD+R/DL 
Profile: DVD-ROM 
Profile: CD-R (current)
Profile: CD-RW 
Profile: CD-ROM 
Profile: Removable Disk 
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 LAYER_JUMP
Drive buf size : 1053696 = 1029 KB
Drive pbuf size: 1966080 = 1920 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   579 MB        
Total size:      665 MB (65:56.64) = 296748 sectors
Lout start:      665 MB (65:58/48) = 296748 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
Disk Is not unrestricted
Disk 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

    Capacity  Blklen/Sparesz.  Format-type  Type
           0             2048         0x00  No Media Present or Unknown
           Capacity
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 63098
Starting to write CD/DVD/BD at speed 4 in real SAO 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...
Sending CUE sheet...
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Writing pregap for track 1 at -150
cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 80 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format)
           Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.001s timeout 200s
write track pad data: error after 0 bytes
BFree: 1029 K BSize: 1029 K
Starting new track at sector: 0
Track 01:    0 of  579 MB written.cdrecord: Input/output
           error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 80 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format)
           Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.002s timeout 200s

write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing  time:   70.585s
Average write speed  56.1x.
Fixating...
Fixating time:    0.003s
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.





Follow-Ups
[plamo:28906] Re: cdrecord(ATAPI), Mikio Tomioka
[plamo:28908] Re: cdrecord(ATAPI), Plamo螟ァ螂ス
References
[plamo:28900] cdrecord(ATAPI), Akira Matsui
[plamo:28901] Re: cdrecord(ATAPI), KOJIMA Mitsuhiro

[検索ページ] [メール一覧]
Plamo ML 公開システム