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

dvd+rw tools: what is special about LBA 320h? Feature 21?




I have a backup script that writes a series of DVDs, and I have been trying
a new variant which uses growisofs.

The script generates an ext2 file system image in a file using a loop mount. The
image is normally ~4.3Gb so that they fit on a DVD-R(W). But the last volume
is usually smaller.

Be that as it may, as each such file is filled, the script uses 
growisofs -Z /dev/dev=ext2_file_just_filled
to write the DVD-RW.

In most cases, a full backup produces 4 such DVDs (afio and lzop are used).

My first backup with growisofs shows on at least 3 of the volumes while burning the
same message:-

:-[ the LUN appears to be stuck writing LBA 320h, retry in ... ]

Always LBA 320h? What is special about this 320? See below for an example.
It recovers, but I report it here for interest and possible bug hunting.
(Op system and kernel details later.)

Further, the last volume (4 out of 4) reports FEATURE 21h is not on. The first 3 
burns did not have that. Same media, treated the same way, etc. So that looks 
nondeterministic. I saw it a couple of time while testing as well.
The media were all blanked by dvd+rw-format (the script does that as well).

Here is part of the report for burning the last DVD:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/dev/dvd: FEATURE 21h is not on, engaging DAO...
/dev/dvd: reserving 863200 blocks
/dev/dvd: "Current Write Speed" is 1.0x1385KBps.
   1638400/1767822336 ( 0.1%) @0.3x, remaining 125:45
   1638400/1767822336 ( 0.1%) @0.0x, remaining 179:39
   1638400/1767822336 ( 0.1%) @0.0x, remaining 233:33
   1638400/1767822336 ( 0.1%) @0.0x, remaining 305:25
   1638400/1767822336 ( 0.1%) @0.0x, remaining 359:19
   1638400/1767822336 ( 0.1%) @0.0x, remaining 413:13
   1638400/1767822336 ( 0.1%) @0.0x, remaining 485:05
   1638400/1767822336 ( 0.1%) @0.0x, remaining 538:59
   1638400/1767822336 ( 0.1%) @0.0x, remaining 592:53
   1638400/1767822336 ( 0.1%) @0.0x, remaining 664:45
   1638400/1767822336 ( 0.1%) @0.0x, remaining 718:39
   1638400/1767822336 ( 0.1%) @0.0x, remaining 790:31
   1638400/1767822336 ( 0.1%) @0.0x, remaining 844:25
   1638400/1767822336 ( 0.1%) @0.0x, remaining 898:19
   1638400/1767822336 ( 0.1%) @0.0x, remaining 970:11
   1638400/1767822336 ( 0.1%) @0.0x, remaining 1024:05
   1638400/1767822336 ( 0.1%) @0.0x, remaining 1077:59
   1638400/1767822336 ( 0.1%) @0.0x, remaining 1149:51
   1638400/1767822336 ( 0.1%) @0.0x, remaining 1203:45
   1638400/1767822336 ( 0.1%) @0.0x, remaining 1257:39
   1638400/1767822336 ( 0.1%) @0.0x, remaining 1329:31
:-[ the LUN appears to be stuck writing LBA 320h, retry in 577ms ]
   1638400/1767822336 ( 0.1%) @0.0x, remaining 1383:25
   3899392/1767822336 ( 0.2%) @0.5x, remaining 603:08
   8585216/1767822336 ( 0.5%) @1.0x, remaining 286:52
  13434880/1767822336 ( 0.8%) @1.0x, remaining 189:20
  18186240/1767822336 ( 1.0%) @1.0x, remaining 144:18
  22904832/1767822336 ( 1.3%) @1.0x, remaining 119:21
  27721728/1767822336 ( 1.6%) @1.0x, remaining 101:28
  32538624/1767822336 ( 1.8%) @1.0x, remaining 88:52
  37421056/1767822336 ( 2.1%) @1.0x, remaining 80:09
     ... [snip]...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Details: Linux 2.6.0-test11, using ide-cd without ide-scsi. That is
growisofs -Z /dev/dvd=ext2_file
where dvd is a symbolic link to hdc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Report on that last DVD after successful burning:-

# dvd+rw-mediainfo /dev/dvd
INQUIRY:                [PIONEER ][DVD-RW  DVR-104 ][1.41]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         14h, DVD-RW Sequential
READ DVD STRUCTURE[#0eh]:
 MediaID:               OPTODISCK001
 Current Write Speed:   1.0x1385=1385KB/s
 Write Speed #0:        1.0x1385=1385KB/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:       32h, DVD-RW book [revision 2]
 Legacy lead-out at:    863200*2KB=1767833600
READ DISC INFORMATION:
 Disc status:           complete
 Number of Sessions:    1
 State of Last Session: complete
 Number of Tracks:      1
READ TRACK INFORMATION[#1]:
 Track State:           complete
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            863200*2KB
 Last Recorded Address: 863199*2KB
FABRICATED TOC:
 Track#1  :             14@0
 Track#AA :             14@863200
 Multi-session Info:    #1@0

The reports on the other DVDs from the set are similar apart from the track sizes
etc.



Reply to: