vine-users ML アーカイブ



[vine-users:069406] cdrecord でfixating時 にi/o error

  • From: Yasuhito Nemoto <nemoto@xxxxxxxxxxxxxxxxx>
  • Subject: [vine-users:069406] cdrecord でfixating時 にi/o error
  • Date: Tue, 28 Dec 2004 21:07:45 +0900
何時も貴重な情報有り難うございます。根本@高松と申します。
今回、職場でVINE 2.6r4環境で、CD−Rを焼く必要があり
TRYしておりましたが、行き詰まりまして、POSTしました。

CD-R DRIVEは、SONYのIDE CDU928Eという前時代的ものですが、
LINUX OPTIONで、ide-scsiの設定もしてあります。
iso9660イメージをmkisofsで作り、cdrecordにて焼くのですが
セッションの終了処理で、エラーになります。メディアを変えても
だめでした。

環境:CPU:Celleron 1GB
      MEM:256MB
      i810なマザー
      hda:red hat 9
      hdb:VINE 2.6r4
      hdc:cd-rom
      hdd:CD928E(CD-R)

      cdrtools-cdrecord-2.01-0.a24vl1
      cdrtools-mkisofs-2.01-0.a24vl1
                          ↑
       ちょっとバージョン番号は写し間違えたかもしれません。

で、長文になりますがやった作業を記載します。

******************** ここから *************************************

>***** -scanbus オプションで、デバイスの確認 *****

[root@KANSHI_PC root]# cdrecord -scanbus
Cdrecord-Clone 2.01a24 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jrg Sch
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'SONY    ' 'CD-R   CDU928E  ' '1.1n' Removable CD-ROM
        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) *

>***** dev=0,0,0 で、CDU928E が認識されていることを確認! *****

>***** mkisofs コマンドでisoイメージを作成 (/home/cd-r_root/cam11
>                                                          /cam12
>                                                          /cam21
>                                                          /cam22 が存在! *****

[root@KANSHI_PC root]# mkisofs -l -J -f -o 200412.iso /home/cd-r_root
mkisofs: Warning: -follow-links does not always work correctly; be careful
Warning: creating filesystem with (nonstandard) Joliet extensions
         but without (standard) Rock Ridge extensions.
         It is highly recommended to add Rock Ridge
  4.29% done, estimate finish Wed Dec 22 16:17:45 2004
  8.57% done, estimate finish Wed Dec 22 16:17:57 2004
 12.85% done, estimate finish Wed Dec 22 16:18:00 2004
 17.14% done, estimate finish Wed Dec 22 16:18:08 2004
 21.42% done, estimate finish Wed Dec 22 16:18:04 2004
 25.70% done, estimate finish Wed Dec 22 16:18:04 2004
 29.99% done, estimate finish Wed Dec 22 16:18:02 2004
 34.27% done, estimate finish Wed Dec 22 16:17:59 2004
 38.56% done, estimate finish Wed Dec 22 16:17:55 2004
 42.84% done, estimate finish Wed Dec 22 16:17:57 2004
 47.12% done, estimate finish Wed Dec 22 16:17:58 2004
 51.40% done, estimate finish Wed Dec 22 16:17:57 2004
 55.69% done, estimate finish Wed Dec 22 16:17:56 2004
 59.97% done, estimate finish Wed Dec 22 16:17:55 2004
 64.25% done, estimate finish Wed Dec 22 16:17:57 2004
 68.54% done, estimate finish Wed Dec 22 16:17:55 2004
 72.82% done, estimate finish Wed Dec 22 16:17:54 2004
 77.11% done, estimate finish Wed Dec 22 16:17:57 2004
 81.38% done, estimate finish Wed Dec 22 16:17:56 2004
 85.68% done, estimate finish Wed Dec 22 16:17:54 2004
 89.96% done, estimate finish Wed Dec 22 16:17:54 2004
 94.24% done, estimate finish Wed Dec 22 16:17:55 2004
 98.52% done, estimate finish Wed Dec 22 16:17:55 2004
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 368640
Path table size(bytes): 66
Max brk space used 344524
116733 extents written (227 Mb)

>*****  227MBの200412.iso が作成された! *****
>*****  試しにマウントポイント/cdrom にmount してみる。! *****

[root@KANSHI_PC /]# mount -t iso9660 -o ro,loop=/dev/loop0 /root/200412.iso /cdrom
[root@KANSHI_PC /]# cd /mnt/cdrom
[root@KANSHI_PC cdrom]# ls
cam11  cam12  cam21  cam22
[root@KANSHI_PC cdrom]# cd cam11
[root@KANSHI_PC cam11]# ls
SF_11_200410211348220000.jpg  SF_11_200411151903290749.jpg
.
.
.
.
.
.
.
.
>以下、省略

[root@KANSHI_PC cam11]# cd /

>***** ディレクトリ&その下のファイルも正常に見えている。 *****

[root@KANSHI_PC /]# umount /mnt/cdrom

>***** いよいよcdrecordで実際にcd-rに焼いてみる。 *****

[root@KANSHI_PC /]# cdrecord -v -eject -dev=0,0,0 /root/200412.iso
Cdrecord-Clone 2.01a24 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jrg Sch
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SONY    '
Identifikation : 'CD-R   CDU928E  '
Revision       : '1.1n'
Device seems to be: Sony CDU-924S.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (Sony 928 variant) (mmc_cdr_s
Driver flags   : MMC SWABAUDIO 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96
Drive buf size : 509952 = 498 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   227 MB        
Total size:      261 MB (25:56.46) = 116735 sectors
Lout start:      262 MB (25:58/35) = 116735 sectors
Current Secsize: 0
  ATIP start of lead in:  -11849 (97:24/01)
  ATIP start of lead out: 359848 (79:59/73)
Disk type:    Long strategy type (Cyanine, AZO or similar)
Manuf. index: 25
Manufacturer: Taiyo Yuden Company Limited
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 243113
Starting to write CD/DVD at speed 2 in real TAO 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...
Starting new track at sector: 0
Track 01:  227 of  227 MB written (fifo 100%) [buf  99%]   2.0x.
Track 01: Total bytes read/written: 239069184/239069184 (116733 sectors).
Writing  time:  783.886s
Average write speed   2.0x.
Min drive buffer fill was 99%
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: no error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>***** ここでエラー(メディアを変えても必ずここでエラーになる。) *****
CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 12 00 00 00 00 02 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 8.856s timeout 480s
cmd finished after 8.856s timeout 480s
cdrecord: Cannot fixate disk.
Fixating time:    8.860s
cdrecord: fifo had 3766 puts and 3766 gets.
cdrecord: fifo was 0 times empty and 3697 times full, min fill was 95%.
[root@KANSHI_PC /]# 

**************************** 以上ここまで *****************************

お気づきの点がありましたらどうか、ご教授をお願いします。

///////////////////////////////////
mailto:nemto@xxxxxxxxxxxxxxxxx
根本@高松
///////////////////////////////////