Re: errors mounting dvd+rw

Paul Smith <[email protected]> Thu, 25 Aug 2005 10:05:54 +0100
Newsgroups gmane.linux.suse.packet-writing
Message-ID <[email protected]>
On 8/25/05, David Walker <[email protected]> wrote:
> I've had this occur more than once. I mount a formatted dvd+rw and get these
> errors:
> 
> # mount /mnt/cdrw
> 
> Aug 21 21:09:13 tabatha kernel: pktcdvd: inserted media is DVD+RW
> Aug 21 21:09:13 tabatha kernel: pktcdvd: write speed 5540kB/s
> Aug 21 21:09:23 tabatha kernel: pktcdvd: 4590208kB available on disc
> Aug 21 21:10:23 tabatha kernel: ide-cd: cmd 0x28 timed out
> Aug 21 21:10:23 tabatha kernel: hda: DMA timeout retry
> Aug 21 21:10:23 tabatha kernel: hda: timeout waiting for DMA
> Aug 21 21:10:28 tabatha kernel: hda: status timeout: status=0xd0 { Busy }
> Aug 21 21:10:28 tabatha kernel: ide: failed opcode was: unknown
> Aug 21 21:10:28 tabatha kernel: hda: drive not ready for command
> Aug 21 21:10:28 tabatha kernel: hda: ATAPI reset complete
> Aug 21 21:11:31 tabatha kernel: ide-cd: cmd 0x28 timed out
> 
> ... many retries later
> 
> Aug 21 22:06:15 tabatha kernel: hda: ATAPI reset complete
> Aug 21 22:06:16 tabatha kernel: end_request: I/O error, dev hda, sector 1248
> Aug 21 22:07:16 tabatha kernel: ide-cd: cmd 0x28 timed out
> Aug 21 22:07:16 tabatha kernel: hda: irq timeout: status=0xd0 { Busy }
> Aug 21 22:07:16 tabatha kernel: ide: failed opcode was: unknown
> Aug 21 22:07:16 tabatha kernel: hda: ATAPI reset complete
> Aug 21 22:08:18 tabatha kernel: ide-cd: cmd 0x28 timed out
> Aug 21 22:08:18 tabatha kernel: hda: irq timeout: status=0xd0 { Busy }
> Aug 21 22:08:18 tabatha kernel: ide: failed opcode was: unknown
> Aug 21 22:08:18 tabatha kernel: hda: ATAPI reset complete
> Aug 21 22:08:19 tabatha kernel: end_request: I/O error, dev hda, sector 1024
> Aug 21 22:08:19 tabatha kernel: UDF-fs: No partition found (1)
> 
> # mount exits
> 
> After the mount command gets an error and exits I can try again and mount the
> dvd+rw without a problem (I didn't open the drive door) and diff all the files
> with no errors.
> 
> Aug 21 22:17:08 tabatha kernel: pktcdvd: inserted media is DVD+RW
> Aug 21 22:17:08 tabatha kernel: pktcdvd: write speed 5540kB/s
> Aug 21 22:17:10 tabatha kernel: pktcdvd: 4590208kB available on disc
> Aug 21 22:17:13 tabatha kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting
> volume 'LinuxUDF', timestamp 2005/08/11 16:41 (1e5c)
> 
> I've posted the whole log here:
> http://www.cosmicfires.com/packet-cd.log.html
> 
> Linux kernel 2.6.12.5 SMP
> 
> Info on drive and media:
> 
> # dvd+rw-mediainfo /dev/hda
> INQUIRY:                [LITE-ON ][DVDRW SOHW-1633S][BS0C]
> GET [CURRENT] CONFIGURATION:
>  Mounted Media:         1Ah, DVD+RW
>  Media ID:              RICOHJPN/W11
>  Current Write Speed:   4.0x1385=5540KB/s
>  Write Speed #0:        4.0x1385=5540KB/s
> GET [CURRENT] PERFORMANCE:
>  Write Performance:     4.0x1385=5540KB/s@[0 -> 2295103]
>  Speed Descriptor#0:    00/2295103 [email protected]=11072KB/s [email protected]=5540KB/s
> READ DVD STRUCTURE[#0h]:
>  Media Book Type:       92h, DVD+RW book [revision 2]
>  Legacy lead-out at:    2295104*2KB=4700372992
> READ DISC INFORMATION:
>  Disc status:           complete
>  Number of Sessions:    1
>  State of Last Session: complete
>  Number of Tracks:      1
>  BG Format Status:      suspended
> READ TRACK INFORMATION[#1]:
>  Track State:           complete
>  Track Start Address:   0*2KB
>  Free Blocks:           0*2KB
>  Track Size:            2295104*2KB
> FABRICATED TOC:
>  Track#1  :             14@0
>  Track#AA :             14@2295104
>  Multi-session Info:    #1@0
> READ CAPACITY:          2295104*2048=4700372992

I use the following single line to mount my dvd+rw and it works fine:

mount -t udf -o rw,noatime,exec,umask=0000,iocharset=iso8859-1
/dev/hdc /cdrom chmod a+rw /cdrom

Paul