2008年2月26日

[plamo:28939] Re: cdrecord(ATAPI)

こじまさん,

詳細で論理的な解説ありがとうございます.大変良く理解できました.
また実際に試して頂きありがとうございます.

私のマザーボードではSATA がオンボードですので,4つあるコネクタの内3つ
に差し替えて試してみました(一つはHDDが接続).他にPCI スロットにNICを挿し
ていますので,他のスロットに差し替えて試してみました.


SATAコネクタ:
現状 2,0,0
1,0,0 3,0,0 にして確認してみましたが,エラーの現象は同じでした.
NIC を異なるPCIスロットに差し替えてみましたが現象は同じでした.

> # dev=/dev/sr0 でも書き込めました.sg.o なモジュールは自動的に組み込ま
> # れているようです.

現象が違う点と言いますと,私の場合は,sg.o が自動的に組み込まれません.
ログとkernel のコンフィギュレーションは以下の通りです.

ログ:
bash-3.2# cdrecord dev=1,0,0 -vv speed=4 -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: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open
or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

.config 抜粋:
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_CHR_DEV_SCH=m

こじまさんのログと比較してみましたが,違う点は書き込みを開始したときに
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
というWARNING が出てから,
cdrecord: Input/output error.というエラーになるところくらいかと思います.

# 今回メディアをCD-RWにしています.

松井

--------------------------------------------------------------
# cdrecord blank=fast dev=1,0,0 -vv speed=4 -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: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
Using libscg transport code version 'schily-scsi-linux-sg.c-1.92'
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-RW
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
Profile: CD-RW (current)
Profile: CD-ROM (current)
Profile: Removable Disk
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' (current)
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' (current) (persistent)
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'
Feature: 'Logical Unit Serial Number' (current) (persistent) Serial:
'K5179QN0651 '
Feature: 'Disk Control Blocks'
Feature: 'DVD CPRM'
Feature: 'Microcode Information' (current) (persistent)
Supported CD-RW media types: 0F
Drive current speed: 4
Drive default speed: 4
Drive max speed : 4
Selected speed : 4
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 LAYE
R_JUMP
Drive buf size : 1053696 = 1029 KB
Drive pbuf size: 1966080 = 1920 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 579 MB
track: 1 start: 0 pregap: 150
Total size: 665 MB (65:56.64) = 296748 sectors
Lout start: 665 MB (65:58/48) = 296748 sectors
Track 1 start 0
Track 2 start 296748
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Disk Is not unrestricted
Disk Is erasable
ATIP start of lead in: -11940 (97:22/60)
ATIP start of lead out: 335975 (74:41/50)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 0 (reserved val 5) 2T speed high: 0 (reserved val 10)
power mult factor: 3 5
recommended erase/write power: 2
A1 values: 02 3A A0
A2 values: 5A A6 14
Disk type: Phase change
Manuf. index: 43
Manufacturer: Acer Media Technology, Inc.

Capacity Blklen/Sparesz. Format-type Type
296748 2048 0x00 Formatted Media
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.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time: 45.529s
Blocks total: 335975 Blocks current: 335975 Blocks remaining: 39227
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 90 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 90 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: 46.547s
Average write speed 85.1x.
Fixating...
Fixating time: 0.004s
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


投稿者 xml-rpc : 2008年2月26日 12:19
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/70365
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。