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

[debian-users:52277] Re: [lenny] Buffer I/O error on device sr0 とか SATA の exception とか



渡辺です。

SATA の光学ドライブを
	新しい方(ATAPI   iHAS120   6)
	古い方(TSSTcorpCD/DVDW TS-H653A)
ともに再テストしてみました。
(iHAS120  を ata5 に
 TS-H653A を ata6 に接続しました)

まず結果から:
         読み取り 書き込み
iHAS120  OK       OK
TS-H653A OK       OK

TS-H653A の書き込みテスト:
空の DVD-R を入れてから
$ wodim -v -dummy video.iso 
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.Device was not specified. Trying to find an appropriate drive...
Looking for a DVD-R drive to store 4204.26 MiB...
Detected DVD-R drive: /dev/dvdrw
Using /dev/cdrom of unknown capabilities
scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
Driveropts: 'burnfree'
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identification : 'CD/DVDW TS-H653A'
Revision       : 'TI02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1048576 = 1024 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 12582912 = 12288 KB
Track 01: data  4204 MB        
Total size:     4828 MB (478:21.09) = 2152582 sectors
Lout start:     4828 MB (478:23/07) = 2152582 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 145914
Speed set to 11080 KB/s
Starting to write CD/DVD at speed   8.0 in dummy unknown mode for single session.
Last chance to quit, starting dummy write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01: 4204 of 4204 MB written (fifo 100%) [buf  99%]   8.4x.
Track 01: Total bytes read/written: 4408487936/4408487936 (2152582 sectors).
Writing  time:  437.057s
Average write speed   7.3x.
Min drive buffer fill was 68%
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time:   15.960s
wodim: fifo had 69439 puts and 69439 gets.
wodim: fifo was 0 times empty and 20080 times full, min fill was 92%.
$ wodim -v video.iso 
(実際に成功したので省略)

TS-H653A の読み取りテスト:
DVD-Video を入れてから
$ dd if=/dev/scd1 | md5sum
3ba300f31c2dc310f91897096b1e5a43  -
8610328+0 records in
8610328+0 records out
4408487936 bytes (4.4 GB) copied, 378.953 s, 11.6 MB/s
$ dmesg | tail -n 2
[ 3002.375519] UDF-fs: Partition marked readonly; forcing readonly mount
[ 3002.433822] UDF-fs INFO UDF: Mounting volume 'CDROM', timestamp 2009/04/02 17:31 (121c)

ありゃ?以前は失敗していたのが、今回、成功していますね。
壊れていなかったってことでしょうか。

iHAS120 の書き込みテスト:
$ wodim -v -dummy dev=/dev/scd0 video.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'ATAPI   '
Identification : 'iHAS120   6     '
Revision       : '7L0F'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1310720 = 1280 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 12582912 = 12288 KB
Track 01: data  4279 MB        
Total size:     4914 MB (486:54.12) = 2191059 sectors
Lout start:     4914 MB (486:56/09) = 2191059 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 107437
Speed set to 11080 KB/s
Starting to write CD/DVD at speed   8.0 in dummy unknown mode for single session.
Last chance to quit, starting dummy write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01: 4279 of 4279 MB written (fifo 100%) [buf  99%]   8.1x.
Track 01: Total bytes read/written: 4487288832/4487288832 (2191059 sectors).
Writing  time:  453.817s
Average write speed   7.2x.
Min drive buffer fill was 91%
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time:   19.067s
wodim: fifo had 70680 puts and 70680 gets.
wodim: fifo was 0 times empty and 20317 times full, min fill was 93%.
$ wodim -v dev=/dev/scd0 video.iso
(実際に成功したので省略)

うーむ。今回は、成功したか。

iHAS120 の読み取りテスト:
DVD-Video を入れてから
$ dd if=/dev/scd0 | md5sum
8469504+0 records in
8469504+0 records out
4336386048 bytes (4.3 GB) copied, 290.77 s, 14.9 MB/s
28d1b5ea4b081b24bf70ca096faf678e  -
$ dmesg | tail -n 2
[ 2094.576464] UDF-fs: Partition marked readonly; forcing readonly mount
[ 2094.602956] UDF-fs INFO UDF: Mounting volume 'CDROM', timestamp 2009/04/02 17:31 (121c)

以上、今回は問題が再現しませんでした。

ハードウェアの故障ではなさそうな気がするのですが、
どうでしょうか?(もしも、故障ならショップに言う必要があるので)

ところで、wodim の -dummy だと growisofs の -dry-run と違って、
事前に書き込みに失敗しそうか分かりそうですね。
これなら、コースターをこれ以上増やさなくて済みそうです。