Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-06-29 Thread Dominique Dumont

Hello Bill

Sorry for the late reply.

Bill Davidsen <[EMAIL PROTECTED]> writes:

> On the chance that I was unclear with my question:
>   mount -r /dev/hdc /mnt/cdrom
>   cd /mnt/cdrom
>   find . -type f -print0 | xargs -0 md5sum | grep FAIL
> obviously modified to fit you device and mountpoint names.

I can't mount the dvd on my dvdrw drive.

On the other hand I can mount it my dvdr-rom drive. The command 
  find . -type f -print0 | xargs -0 md5sum | grep FAIL
does not find problem, but I get I/O errors in syslog:

Jun 29 15:33:23 gandalf kernel: ide: failed opcode was: unknown
Jun 29 15:33:23 gandalf kernel: end_request: I/O error, dev hdd, sector 4945660
Jun 29 15:33:23 gandalf kernel: Buffer I/O error on device hdd, logical block 
1236415
Jun 29 15:33:30 gandalf kernel: hdd: media error (bad sector): status=0x51 { 
DriveReady SeekComplete Error }
Jun 29 15:33:30 gandalf kernel: hdd: media error (bad sector): error=0x34 { 
AbortedCommand LastFailedSense=0x03 }
Jun 29 15:33:30 gandalf kernel: ide: failed opcode was: unknown

And now the drive seems to be stuck. Even a plain 'ls' hangs. I guess that
I'll have to reboot soon.

Anyway, I'll trash the faulty dvds.

Thanks for your help.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-06-29 Thread Dominique Dumont

Hello Volker

Sorry for the late reply.

Volker Kuhlmann <[EMAIL PROTECTED]> writes:
> The other thing which comes to mind is that the burner may still have
> certain media parameters cached. This is flushed on eject, when the disk
> is inserted again the drive needs to "re-acquire".

Agreed

> I can only come to one of these 3 conclusions: 1) the drive is faulty.
> 2) The media is faulty to start with, and is certainly faulty now. 3)
> The drive is unable to burn that particular media correctly, but it's
> close to borderline (otherwise there would be a total failure).

Since my dvd burner is able to burn other brands of dvd correctly and
that I can burn the dubious media on an HP burner without problem, I
tend towards the 3) explanation.

> In either of these cases the burnt disk is a coaster and not
> suitable as backup.

Yes.

> Whenever there is read trouble and you're unsuere whether it's to do
> with the filesystem, *always* disregard the filesystem and read with dd
> directly from the device, like dd bs=2k if=/dev/dvdrecorder
> of=/dev/null. You're allowed *one* I/O error at the very end of the
> recording. Any more, and either or both drive and disk are faulty. There
> is basically no leeway for other options here if you care about your
> data.

I get plenty of IO errors on the rw drive and no problem on the
read-only drive. 

Anyway, I'll trash the moviestyle dvds and use another brand.

Thanks for your help.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-06-01 Thread Volker Kuhlmann
> The only thing which comes to mind on that is that the directory 
> structure might still be in memory. Seems unlikely, but there's no 
> reason why it should work only until eject. If you force a read of all 
> files, like an md5sum or such, are they all readable?

The other thing which comes to mind is that the burner may still have
certain media parameters cached. This is flushed on eject, when the disk
is inserted again the drive needs to "re-acquire".

I can only come to one of these 3 conclusions: 1) the drive is faulty.
2) The media is faulty to start with, and is certainly faulty now. 3)
The drive is unable to burn that particular media correctly, but it's
close to borderline (otherwise there would be a total failure).

In either of these cases the burnt disk is a coaster and not suitable as
backup.

Whenever there is read trouble and you're unsuere whether it's to do
with the filesystem, *always* disregard the filesystem and read with dd
directly from the device, like dd bs=2k if=/dev/dvdrecorder
of=/dev/null. You're allowed *one* I/O error at the very end of the
recording. Any more, and either or both drive and disk are faulty. There
is basically no leeway for other options here if you care about your
data.

Volker

-- 
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-06-01 Thread Bill Davidsen




Dominique Dumont wrote:

  Bill Davidsen <[EMAIL PROTECTED]> writes:

  
  
The only thing which comes to mind on that is that the directory
structure might still be in memory. Seems unlikely, but there's no
reason why it should work only until eject. If you force a read of all
files, like an md5sum or such, are they all readable? 

  
  
You mean reading the while disc before eject ? I'll have to try
that. I'll get back to you later.
  


On the chance that I was unclear with my question:
  mount -r /dev/hdc
/mnt/cdrom
  cd /mnt/cdrom
  find . -type f -print0 | xargs -0 md5sum | grep FAIL
obviously modified to fit you device and mountpoint names.

-- 
bill davidsen <[EMAIL PROTECTED]>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979





Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-06-01 Thread Dominique Dumont
Bill Davidsen <[EMAIL PROTECTED]> writes:

> The only thing which comes to mind on that is that the directory
> structure might still be in memory. Seems unlikely, but there's no
> reason why it should work only until eject. If you force a read of all
> files, like an md5sum or such, are they all readable? 

You mean reading the while disc before eject ? I'll have to try
that. I'll get back to you later.

> And did you try manually setting the f/s type in the mount?

Yes, to no avail. I get a lot of error in kern.log.

Cheers


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-06-01 Thread Bill Davidsen

Dominique Dumont wrote:


Volker Kuhlmann <[EMAIL PROTECTED]> writes:

 


This sounds like an incompatability between your burner and your media.
No software will fix that, other than a firmware fix in the burner.
   



You're probably right. I've upgraded the firmware to no avail.

The only way to be sure is to try my burner with nero... If it's a
growisofs bug, it would be good to know.

 


Switch to different media which your burner can handle.
   



Yes. I'll stick with Prodye in the future. But what should I do now
with the 90 freesbee I'm left with ... :-/

 


If you're talking about reading the disks in consumer DVD players, some
of them aren't terribly good at dealing with some DVD formats. Try a
different type of DVD format.
   



No, I was mentionned simply mounting and reading the dvd *after* an
eject (mounting and reading the dvd *before* eject works perfectly
well).



The only thing which comes to mind on that is that the directory 
structure might still be in memory. Seems unlikely, but there's no 
reason why it should work only until eject. If you force a read of all 
files, like an md5sum or such, are they all readable? And did you try 
manually setting the f/s type in the mount?


Very odd!

--
bill davidsen <[EMAIL PROTECTED]>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-05-13 Thread Dominique Dumont
Volker Kuhlmann <[EMAIL PROTECTED]> writes:

> This sounds like an incompatability between your burner and your media.
> No software will fix that, other than a firmware fix in the burner.

You're probably right. I've upgraded the firmware to no avail.

The only way to be sure is to try my burner with nero... If it's a
growisofs bug, it would be good to know.

> Switch to different media which your burner can handle.

Yes. I'll stick with Prodye in the future. But what should I do now
with the 90 freesbee I'm left with ... :-/

> If you're talking about reading the disks in consumer DVD players, some
> of them aren't terribly good at dealing with some DVD formats. Try a
> different type of DVD format.

No, I was mentionned simply mounting and reading the dvd *after* an
eject (mounting and reading the dvd *before* eject works perfectly
well).

Cheers


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-05-12 Thread Volker Kuhlmann
> Note that growisofs is able to write the dvd, but I've a lot of
> trouble to read them afterwards.

This sounds like an incompatability between your burner and your media.
No software will fix that, other than a firmware fix in the burner.
Switch to different media which your burner can handle.

If you're taking about reading the disks in consumer DVD players, some
of them aren't terribly good at dealing with some DVD formats. Try a
different type of DVD format.

Volker

-- 
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-05-12 Thread Dominique Dumont
Dominique Dumont <[EMAIL PROTECTED]> writes:

> TOC Type: 1 = CD-ROM
> scsidev: 'ATAPI:0,0,0'
> devname: 'ATAPI'

Following Maik Zumstrull's advice, I've setup ide-scsi on Linux 2.6
for cdrecord-prodvd.

Unfortunately, I still cannot write to dvd due to the following error:
cdrecord-pro-dvd: 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 04 00 93 00 FE 0E 26 01 30 E6 08 01 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x01 (logical unit communication time-out) Fru 0x0
Sense flags: Blk 9634046 (not valid) 

Note that growisofs is able to write the dvd, but I've a lot of
trouble to read them afterwards.

Here's the complete output of cdrecord:

# /usr/local/bin/cdrecord -v -dao ghibli.iso 
Cdrecord-ProDVD-Clone 2.01b31 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
Unlocked features: ProDVD Clone 
Limited  features: 
This copy of cdrecord is licensed for: 
private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.32
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 2
Response Format: 2
Capabilities   : 
Vendor_info: 'PIONEER '
Identifikation : 'DVD-RW  DVR-106D'
Revision   : '1.07'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD+R
Profile: DVD+R (current)
Profile: DVD+RW 
Profile: DVD-RW sequential overwrite 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording 
Profile: DVD-ROM 
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1605632 = 1568 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  4108 MB
Total size: 4108 MB = 2103390 sectors
Current Secsize: 2048
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 191714
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01:0 of 4108 MB 
written./home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: 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 04 00 93 00 FE 0E 26 01 30 E6 08 01 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x01 (logical unit communication time-out) Fru 0x0
Sense flags: Blk 9634046 (not valid) 
cmd finished after 2.013s timeout 100s

write track data: error after 0 bytes
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: A write error occured.
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: Please properly read the 
error message above.
Writing  time:7.049s
Average write speed 441.6x.
Fixating...
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: Input/output error. 
close track/session: scsi sendcmd: no error
CDB:  5B 01 06 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 44 D6 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x44 Qual 0xD6 (internal target failure) [No matching qualifier] 
Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.824s timeout 1000s
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: Input/output error. 
close track/session: scsi sendcmd: no error
CDB:  5B 01 06 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 44 D6 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x44 Qual 0xD6 (internal target failure) [No matching qualifier] 
Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.824s timeout 1000s
cmd finished after 0.824s timeout 1000s
Trouble closing the last session
Fixating time:   13.942s
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: fifo had 64 puts and 1 
gets.
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: fifo was 0 times empty 
and 0 times full, min fill was 100%.


Cheers



Re: cdrecord-prodvd also fails to write Moviestyle dvd (was: Cannot read anymore dvd after eject and re-load)

2005-05-09 Thread Maik Zumstrull
Dominique Dumont <[EMAIL PROTECTED]> wrote:

> scsidev: 'ATAPI:0,0,0'
> devname: 'ATAPI'
> scsibus: 0 target: 0 lun: 0
> Warning: Using ATA Packet interface.
> Warning: The related Linux kernel interface code seems to be
> unmaintained. Warning: There is absolutely NO DMA, operations thus
> are slow. Using libscg version 'schily-0.8'.

> The part about no DMA is weird since hdparm reports that DMA is
> enabled: $ sudo hdparm /dev/hdc
> 
> /dev/hdc:
>  IO_support   =  0 (default 16-bit)
>  unmaskirq=  1 (on)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  readonly =  0 (off)
>  readahead= 256 (on)
>  HDIO_GETGEO failed: Invalid argument
> 
> Could someone tell me what's wrong ?

Reading the error/warning output could. I quoted the relevant part
above. You're using the unbelievably old, very, very deprecated "ATAPI"
device interface. This API does not support DMA at all. The fact that
using_dma is on is irrelevant; this API disables DMA no matter what.

Solution: Address the drive as "ATA:0,0,0" instead of "ATAPI:0,0,0".
Note: Noone can guarantee that DMA will work using ATA:. The Linux
kernel drivers seem to be generally crappy in this area. But with this
API, there's at least a theoretical chance for DMA.

@JÃrg: Is it actually useful to keep this interface around? Any
real-world reason to use it? I suggest removing it and aliasing ATAPI:
to ATA: in future versions.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



cdrecord-prodvd also fails to write Moviestyle dvd (was: Cannot read anymore dvd after eject and re-load)

2005-05-09 Thread Dominique Dumont

Hello

Following the problems I got with Moviestyles DVD+R, I've tried
cdrecord-pro.

In dummy mode everything looks fine. But, dvd-record failed to write
in readl mode: I ended with a mountable dvd with no data ?!?!?!

Here's the output of the dummy mode.

$ sudo cdrecord -v -dummy -dao ghibli-1.iso 
Cdrecord-ProDVD-Clone 2.01b31 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
Unlocked features: ProDVD Clone 
Limited  features: 
This copy of cdrecord is licensed for: 
private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'PIONEER '
Identifikation : 'DVD-RW  DVR-106D'
Revision   : '1.07'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD+R
Profile: DVD+R (current)
Profile: DVD+RW 
Profile: DVD-RW sequential overwrite 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording 
Profile: DVD-ROM 
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1605632 = 1568 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  4108 MB
Total size: 4108 MB = 2103369 sectors
Current Secsize: 2048
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 191735
Starting to write CD/DVD at speed 4 in dummy SAO mode for single session.
Last chance to quit, starting dummy write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01:   70 of 4108 MB written (fifo  98%) [buf  66%]   
4.2x./home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dv
d: Caught interrupt.
Writing  time:   27.435s
Min drive buffer fill was 61%

I interrupted the dummy to try the real write:

$ sudo cdrecord -v -dao ghibli-1.iso 
Cdrecord-ProDVD-Clone 2.01b31 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
Unlocked features: ProDVD Clone 
Limited  features: 
This copy of cdrecord is licensed for: 
private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'PIONEER '
Identifikation : 'DVD-RW  DVR-106D'
Revision   : '1.07'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD+R
Profile: DVD+R (current)
Profile: DVD+RW 
Profile: DVD-RW sequential overwrite 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording 
Profile: DVD-ROM 
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1605632 = 1568 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  4108 MB
Total size: 4108 MB = 2103369 sectors
Current Secsize: 2048
WARNING: Phys disk size 2295104 differs from rzone size 2331264! Prerecorded 
disk?
WARNING: Phys start: 196608 Phys end 2491711
Blocks total: 2331264 Blocks current: 2295104 Blocks remaining: 191735
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01:0 of 4108 MB 
written./home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: Input/output 
error. write_g
1: 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 0E 00 00 00 00 21 02 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.005s timeout 100s

write track data: error after 0 bytes
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: The current problem 
looks like a buffer underrun.
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: Try to use 
'driveropts=burnfree'.
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: Make sure that you are 
root, enable DMA and check your HW/OS 
set up.
Writing  time:5.041s
Average write speed 617.7x.
Fixating...
Fixating time:0.471s
/home/domi/freeware/cdrecord-pro-dvd/cdrecord-pro-dvd: fifo had 64 puts and 1 
get

Re: cdrecord-prodvd also fails to write Moviestyle dvd

2005-05-09 Thread Dominique Dumont
Dominique Dumont <[EMAIL PROTECTED]> writes:

> In dummy mode everything looks fine. But, dvd-record failed to write
> in readl mode: I ended with a mountable dvd with no data ?!?!?!

I have to add a small correction: cdrecord has written the beginning
of the iso image: I have the directory content and a small part of the
first file. The other files are empty:

Cheers



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]