Re: [Dvdrtools-users] Problem burning to LG DVDRAM GSA-4167B

2005-12-29 Thread Bryan J. Smith
On Thu, 2005-12-29 at 20:36 +1100, Samson Lee wrote:
 Apparently dvdrtools does not support the LG GSA-4167
 http://lists.gnu.org/archive/html/dvdrtools-users/2005-10/msg7.html
 Is there any other way I can burn a pre-mastered ISO-image to DVD?

The stock, GPL CDRecord 2.0 + DVD-patch in the overwhelming majority of
stock distros support this drive.  Try just using cdrecord --version
and noting if it is indeed the modified version.

E.g., (from Fedora Core 3 / Red Hat Enterprise Linux 4)
  $ cdrecord --version
  Cdrecord-Clone 2.01-dvd (--) Copyright (C) 1995-2004 Jörg Schilling
  Note: This version is an unofficial (modified) version with DVD support
  Note: and therefore may have bugs that are not present in the original.
  Note: Please send bug reports or support requests to 
http://bugzilla.redhat.com/bugzilla
  Note: The author of cdrecord should not be bothered with problems in this 
version.

DVD Record is based on an old CDRecord 1.x release, and was only
designed for Pioneer DVD-R drives or direct licensees/implementations.

 The closest solution I have so far is to use growisofs. First, I had to 
 mount the dvd.iso into a folder and then use growisofs -Z /dev/dvd 
 -dvd-video /mnt/mountediso ... mounting the iso before burning is not 
 always suitable

The LG GSA-4167 is not only universally format compatible, but it is
virtually supported by every single Linux method ...

- Character (byte-by-byte) recording with cdrecord+DVDpatch (GPL) or
cdrecord-ProDVD (commercial) to DVD-R

- Block record/rewrite with the kernel block driver to DVD-R/+R
(growisofs) and DVD+RW (direct mount), respectively

- Block rewriting with verify with the kernel block driver to DVD-RAM
(direct mount -- for optical archiving, not consumer usage, long story)


-- 
Bryan J. Smith   mailto:[EMAIL PROTECTED]
http://thebs413.blogspot.com
--
Some things (or athletes) money can't buy.
For everything else there's ManningCard.




___
Dvdrtools-users mailing list
Dvdrtools-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dvdrtools-users


Re: [Dvdrtools-users] Problem burning to LG DVDRAM GSA-4167B

2005-12-29 Thread Samson Lee

Bryan J. Smith wrote:

The LG GSA-4167 is not only universally format compatible, but it is
virtually supported by every single Linux method ...

- Character (byte-by-byte) recording with cdrecord+DVDpatch (GPL) or
cdrecord-ProDVD (commercial) to DVD-R

- Block record/rewrite with the kernel block driver to DVD-R/+R
(growisofs) and DVD+RW (direct mount), respectively

- Block rewriting with verify with the kernel block driver to DVD-RAM
(direct mount -- for optical archiving, not consumer usage, long story)


I tried cdrecord-prodvd from ftp://ftp.berlios.de/pub/cdrecord/ProDVD 
and it seems to write to my lg gsa-4167 ..


However, a I noticed a few problems:

1. The software reports Drive buf size : 1114112 = 1088 KB, but the 
drive actually has 2MB buffer


2. When writing starts, the software says, Starting to write CD/DVD at 
speed 8 ..., but during writing, the reported speed ranges between 1.0x 
and 2.1x - maybe this is because the drive buffer is too small and 
frequently drops below 10% full?


Thanks for all your help!

--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender 
immediately and delete this message. Any views expressed in this message 
are those of the individual sender, except where the sender expressly, and 
with authority, states them to be the views the University of Technology, 
Sydney. Before opening any attachments, please check them for viruses and 
defects.



___
Dvdrtools-users mailing list
Dvdrtools-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dvdrtools-users


Re: [Dvdrtools-users] Problem burning to LG DVDRAM GSA-4167B

2005-12-29 Thread Bryan J. Smith
Samson Lee [EMAIL PROTECTED] wrote:
 H.. Just to confirm, are you also using cdrecord-prodvd
 2.01b31 with LG GSA4167? Or are you using one of the
 'unofficial' dvd patches?

Unofficial because it works flawlessly with the GSA-408x and
GSA-416x series.

 The drive is on secondary master. The hard drive with the
 .iso is on secondary slave. All devices are running udma2.

Bam!  That's your problem.  You will run into a noticable
performance issue when you are doing DMA from one device to
another on the same channel.  Especially from the
all-important latency aspect.

And that's assuming the ATA v. ATAPI devices and their
different vendor/model quirks aren't already in-fighting and
reseting the ATA bus (which is detrimental to performance).
Trust me on this, put each device on their own channel, and
you will avoid performance issues.  You should _only_ use the
master/slave relationship for PIO (which is slow and CPU
intensive), and _never_ for DMA -- or in the worst case,
never for transfers occurring from both devices on the same
channel simultaneously.

ATA is not SCSI.  It does _not_ do device-to-device
transfers.  One ATA device must take control of the bus,
setup the registers for transfer, transfer to memory and give
up the bus -- while the other device then does the same.  The
acquisition of the bus is the main issue -- especially when
data is trying to be fed to the recorder in real-time, while
the HD is trying to transfer into memory.

 # hdparm -i /dev/hdc
 /dev/hdc:
   Model=HL-DT-ST DVDRAM GSA-4167B, FwRev=DL10,
 ...  
   UDMA modes: udma0 udma1 *udma2
   AdvancedPM=no
   Drive conforms to: device does not report version:
   * signifies the current active mode

And hdparm -i /dev/hdd?



-- 
Bryan J. Smith Professional, Technical Annoyance  
[EMAIL PROTECTED]  http://thebs413.blogspot.com

*** Speed doesn't kill, difference in speed does ***


___
Dvdrtools-users mailing list
Dvdrtools-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dvdrtools-users


Re: [Dvdrtools-users] Problem burning to LG DVDRAM GSA-4167B

2005-12-29 Thread Samson Lee

Bryan J. Smith wrote:

The drive is on secondary master. The hard drive with the
.iso is on secondary slave. All devices are running udma2.


Bam!  That's your problem.  You will run into a noticable
performance issue when you are doing DMA from one device to
another on the same channel.  Especially from the
all-important latency aspect.


Okay, I moved the .iso file onto my other hard drive on hda (udma5). 
Tried burning it and same problem :(



1. The software reports Drive buf size : 1114112 = 1088 KB,

but the drive actually has 2MB buffer


Actually, mine says 1,8xx-something.


About the drive buffer size problem, if I enter the command without a 
disc in the drive, it says Drive buf size : 1966080 = 1920 KB  The 
disc is 8x DVD+R ...


(without blank disc in drive)
# cdrecord-wrapper.sh -v -sao dev=/dev/dvd dvd.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: '/dev/dvd'
devname: '/dev/dvd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
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: 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4167B'
Revision   : 'DL10'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: none
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: Unknown
Profile: Unknown
Profile: DVD-RW sequential overwrite
Profile: DVD-RW restricted overwrite
Profile: DVD+RW
Profile: DVD+R
Profile: Unknown
Profile: DVD-ROM
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1966080 = 1920 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  3571 MB
Total size: 4102 MB (406:24.00) = 1828800 sectors
Lout start: 4102 MB (406:26/00) = 1828800 sectors
cdrecord-ProDVD: Success. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 10 00 00 BB 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 200s
cdrecord-ProDVD: No disk / Wrong disk!

(with blank disc in drive)
# cdrecord-wrapper.sh -v -sao dev=/dev/dvd dvd.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: '/dev/dvd'
devname: '/dev/dvd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
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: 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4167B'
Revision   : 'DL10'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD+R
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: Unknown
Profile: Unknown
Profile: DVD-RW sequential overwrite
Profile: DVD-RW restricted overwrite
Profile: DVD+RW
Profile: DVD+R (current)
Profile: Unknown
Profile: DVD-ROM
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
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 : 1114112 = 1088 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  3571 MB
Total size: 3571 MB = 1828800 sectors
Current Secsize: 2048
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 466304
Starting to write CD/DVD at speed 8 in real SAO mode for single session.
Last chance to quit, starting real write8 seconds.



# hdparm -i /dev/hdc
/dev/hdc:
 Model=HL-DT-ST DVDRAM GSA-4167B, FwRev=DL10,
   ...  
 UDMA modes: udma0 udma1 *udma2

 AdvancedPM=no
 Drive conforms to: device does not report version:
 * signifies the current active mode


And hdparm -i /dev/hdd?


# hdparm -i /dev/hda

/dev/hda:

 Model=ST3200822A, FwRev=3.01, SerialNo=5LJ0XEA0
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs RotSpdTol.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5