Burning on Solaris with cdrtools-2.01

Burning on Solaris with cdrtools-2.01

Post by bl8n8 » Sun, 12 Dec 2004 00:23:15



Hello All.

I noticed something odd with cdrecord-2.01 and a USB Plextor
on a Blade 2000 running sun solaris 9.  Using [1] a speed of
16x cdrecord tells me DMA is too slow [2] and takes the speed
down [3] to 4x.  I'm guessing the DMA speed is low because of
the USB, and maybe the blade 2000 does not have hi-speed
usb..hmm..

After done burning [4] at 4x, cdrecord reports it used 16x, and there
were 44 predicted buffer underruns. hmmm...

Trying a burn at 4x (explicitly) [5], reports a burn speed of 4x, with
no underruns and that burnfree was not needed.

I'm grateful for all the work Mr. Schilling has done on the cdrtools
package. I am just curious if I need to use some different option to
burn with, or what is exactly happening.  Does anyone know for sure if
the Blade's are only USB 1.0 ?

I tried to keep the amount of post brief, so maybe I snipped out
some important info. Let me know.

Thanks!

----------------------------------------------------------------------------

[1]
/usr/local/bin/mkisofs -graft-points -f -R -r -l -J --
foo/=/foo_650M/|cdrecord -v -dummy -eject -pad dev=3,0,0 speed=16
fs=16m driveropts=burnfree -

[2]
Drive DMA Speed: 799 kB/s 4x CD 0x DVD

[3]
Starting to write CD/DVD at speed 4 in dummy TAO mode for single
session.

[4]
Cdrecord-Clone 2.01 (sparc-sun-solaris2.9) Copyright (C) 1995-2004
J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Warning: Using USCSI interface.
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'DVDR   P0042000B'
Revision       : '56'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.

<snip>

Total rockridge attributes bytes: 104666
Total directory bytes: 174080
Path table size(bytes): 1076
Max brk space used cc000
335331 extents written (654 MB)

Track 01:  654 MB written (fifo 100%) [buf  32%]   4.8x.

Track 01: writing 30 KB of pad data.
Track 01: Total bytes read/written: 686757888/686788608 (335346
sectors).
Writing time: 989.614s
Min drive buffer fill was 0%
Total of 44 possible drive buffer underruns predicted.
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time:    0.026s
Last selected write speed: 16x
Max media write speed:     16x
Last actual write speed:   16x
resid: 4
BURN-Free was 133 times used.
cdrecord: fifo had 10819 puts and 10819 gets.
cdrecord: fifo was 0 times empty and 9568 times full, min fill was 98%.

[5]
/usr/local/bin/mkisofs -graft-points -f -R -r -l -J -- foo/=/foo_650M/
| cdrecord -v -dummy -eject -pad dev=3,0,0 speed=4 fs=16m
driveropts=burnfree -

[6]
Total rockridge attributes bytes: 104666
Total directory bytes: 174080
Path table size(bytes): 1076
Max brk space used cc000
335331 extents written (654 MB)

Track 01:  654 MB written (fifo 100%) [buf  98%]   4.2x.

Track 01: writing 30 KB of pad data.
Track 01: Total bytes read/written: 686757888/686788608 (335346
sectors).
Writing time: 1126.231s
Min drive buffer fill was 98%
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time:    0.026s
Last selected write speed: 4x
Max media write speed:     16x
Last actual write speed:   4x
resid: 4
BURN-Free was never needed.
cdrecord: fifo had 10819 puts and 10819 gets.
cdrecord: fifo was 0 times empty and 9735 times full, min fill was 96%.

 
 
 

Burning on Solaris with cdrtools-2.01

Post by Joerg Schilli » Sun, 12 Dec 2004 00:45:25




>Hello All.

>I noticed something odd with cdrecord-2.01 and a USB Plextor
>on a Blade 2000 running sun solaris 9.  Using [1] a speed of
>16x cdrecord tells me DMA is too slow [2] and takes the speed
>down [3] to 4x.  I'm guessing the DMA speed is low because of
>the USB, and maybe the blade 2000 does not have hi-speed
>usb..hmm..

correct

Quote:>After done burning [4] at 4x, cdrecord reports it used 16x, and there
>were 44 predicted buffer underruns. hmmm...

No: you did not write at 4x but at 16x with many many buffer underruns.
If you did read the output you would know that there have been in fact
133 bufffer underruns.

Quote:>Trying a burn at 4x (explicitly) [5], reports a burn speed of 4x, with
>no underruns and that burnfree was not needed.

Correct.

Quote:>I'm grateful for all the work Mr. Schilling has done on the cdrtools
>package. I am just curious if I need to use some different option to
>burn with, or what is exactly happening.  Does anyone know for sure if
>the Blade's are only USB 1.0 ?

I don't know, but in order to get USB-2.0 support you need to install
at least Solaris 10 and have a USB-2.0 interface.

--



URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

 
 
 

Burning on Solaris with cdrtools-2.01

Post by Eric Edwar » Sun, 12 Dec 2004 03:03:36



Quote:>I don't know, but in order to get USB-2.0 support you need to install
>at least Solaris 10 and have a USB-2.0 interface.

What's the status of USB-2.0 in Solaris 9?  I thought that was fixed in
recent updates to the framework.   I am presently struggling with a Sony
USB DVD-RW attached to a Belkin USB 2.0 adapter.  I installed the
patches for the usb framework.  
http://sunsolve.sun.com/search/document.do?assetkey=1-21-115553-14-1

But I still can't seem to read or write to the device.

--
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org

 
 
 

Burning on Solaris with cdrtools-2.01

Post by frit » Sun, 12 Dec 2004 23:23:44


Quote:> I don't know, but in order to get USB-2.0 support you need to install
> at least Solaris 10 and have a USB-2.0 interface.

USB2.0 is supported on s8 (sparc), s9 (sparc and x86) and s10
but you have to plug in a usb2.0 card (belkin, orange micro, adaptec)
fritS
 
 
 

Burning on Solaris with cdrtools-2.01

Post by frit » Sun, 12 Dec 2004 23:27:12


the latest USB patch should work with the Sony USB DVD-RW.
Exactly which model are you using and what are the
problems?

fritS

 
 
 

Burning on Solaris with cdrtools-2.01

Post by AGT » Mon, 13 Dec 2004 02:06:49



Quote:> Hello All.

> I noticed something odd with cdrecord-2.01 and a USB Plextor
> on a Blade 2000 running sun solaris 9.  Using [1] a speed of
> 16x cdrecord tells me DMA is too slow [2] and takes the speed
> down [3] to 4x.  I'm guessing the DMA speed is low because of
> the USB, and maybe the blade 2000 does not have hi-speed
> usb..hmm..

Documented at Sunsolve if you grope around enough.

Quote:> Does anyone know for sure if
> the Blade's are only USB 1.0 ?

yes and no.

a) You have to be at a minimum mu or have relevant patches...
   I suggest mu7 with patches. That takes care of the drivers.
   But the onboard USB wont support high speed. Its been dumbed down
   for mouse and keyboard use and other low bandwidth devices.
b) You have to add a USB hub in one of your PCI slots,
   preferrably Sun qualified...
   I did a Google search as well as looking up HCLs at Sun.
   Addonics was a company that came up.
   The good news is the Addonics list price is 19.99 USD : >
   Bad news is their online shipping prices (30.00 minimum for me)

Quote:> I tried to keep the amount of post brief, so maybe I snipped out
> some important info. Let me know.

Whether you have a 2.0 USB hub installed, contents of /etc/release,
relevant USB lines in /var/adm/messages

Let us know how things go.

 
 
 

Burning on Solaris with cdrtools-2.01

Post by frit » Mon, 13 Dec 2004 06:41:11



> b) You have to add a USB hub in one of your PCI slots,
>    preferrably Sun qualified...

it is actually a USB 2.0 PCI host controller card

The only card that is Sun qualified is the one shipping in
SB2500 and Sb1500

THere are some Solaris Verified cards from Belkin

(www.sun.com/io)

Quote:>    I did a Google search as well as looking up HCLs at Sun.
>    Addonics was a company that came up.

Addonics controller is Solaris Ready. I haven't actually
tested this one myself and I don't know if it has a VIA or NEC
chip. I'll have to find out

Quote:>    The good news is the Addonics list price is 19.99 USD : >
>    Bad news is their online shipping prices (30.00 minimum for me)

you can try Belkin or Adaptec or Orangemicro cards but make sure
that it does not have the VIA chip
(on s10, we have disabled usb2.0 for this chip). On s8 and s9
it will probably hang

Quote:> > I tried to keep the amount of post brief, so maybe I snipped out
> > some important info. Let me know.

> Whether you have a 2.0 USB hub installed, contents of /etc/release,
> relevant USB lines in /var/adm/messages

s10 /var/adm/messages will now tell you at what speed the device
is running

fritS

 
 
 

Burning on Solaris with cdrtools-2.01

Post by Eric Edwar » Mon, 13 Dec 2004 08:10:30



Quote:>the latest USB patch should work with the Sony USB DVD-RW.
>Exactly which model are you using and what are the
>problems?

It's a DRU-710A hooked up to a Belkin 4 port USB 2.0 adapter.
Short problem description: device links are created but I can't mount
the volume or, as far as I can tell, access the device in any other way.

Long description is mostly cribbed from an earlier post to
comp.sys.sun.hardware

There are now device links in /dev/dsk/* and
/dev/rdsk/*.

vold finds the drive:

Wed Dec  8 15:20:28 2004 info: dso_load: loaded /usr/lib/vold/db_mem.so.1
Wed Dec  8 15:20:28 2004 info: label_cdrom: init
Wed Dec  8 15:20:28 2004 info: dso_load: loaded /usr/lib/vold/label_cdrom.so.1
Wed Dec  8 15:20:28 2004 info: dso_load: loaded /usr/lib/vold/label_dos.so.1
Wed Dec  8 15:20:28 2004 info: label_sun: init
Wed Dec  8 15:20:28 2004 info: dso_load: loaded /usr/lib/vold/label_sun.so.1
Wed Dec  8 15:20:28 2004 info: dso_load: loaded /usr/lib/vold/dev_cdrom.so.1
Wed Dec  8 15:20:28 2004 info: cdrom_use: /dev/rdsk/c3t0d0s2
Wed Dec  8 15:20:28 2004 info: dso_load: loaded /usr/lib/vold/dev_floppy.so.1
Wed Dec  8 15:20:28 2004 info: dso_load: loaded /usr/lib/vold/dev_rmdisk.so.1
Wed Dec  8 15:20:28 2004 info: rmdisk_use: /dev/rdsk/c3t0d0s2, rmdisk0
Wed Dec  8 15:20:28 2004 info: vold: running

And I can't mount it.  Not automatically with vold.  And not manually without.
(This is with a CDROM in the drive)

mount /dev/dsk/c3t0d0s2 /mnt
mount: No such device or address
mount: Cannot open /dev/dsk/c3t0d0s2

sudo format -e /dev/rdsk/c3t0d0s2
No disks found!

prtvtoc /dev/rdsk/c3t0d0s2
prtvtoc: /dev/rdsk/c3t0d0s2: Unable to read Disk geometry errno = 0x6

And yet:

/opt/schily/bin/cdrecord dev=3,0,0 -checkdrive
Cdrecord-Clone 2.01 (sparc-sun-solaris2.9) Copyright (C) 1995-2004 J<F6>rg Schilling
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Warning: Using USCSI interface.
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'SONY    '
Identifikation : 'DVD RW DRU-710A '
Revision       : 'BY01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
/opt/schily/bin/cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
/opt/schily/bin/cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
/opt/schily/bin/cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

DVD+RW-tools want a device file.  I have't figured out what to give them.                                                                                                                        

I am also struggling to use this adapter and drive combination with
Linux.  My Mandrake 10.0 (2.6 Kernel) machine would only recognize the
device after hotplugging.  Repeated reboots did not nothing even after I
booted into Windows (which picked up the DVD-R right away).

--
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org

 
 
 

Burning on Solaris with cdrtools-2.01

Post by AGT » Mon, 13 Dec 2004 23:48:27



Quote:> THere are some Solaris Verified cards from Belkin
> (www.sun.com/io)

I think the list has grown quite a bit since I last looked..

Quote:> Addonics controller is Solaris Ready. I haven't actually
> tested this one myself and I don't know if it has a VIA or NEC
> chip. I'll have to find out

I'd have to power down to tell you...

Usually it comes up as "sd31" which if you were to mount it by hand
you'd use device c3t0d0s0 but occasionally another controller #
like 4 or 5 will come up. Is this a feature ? : >

 
 
 

Burning on Solaris with cdrtools-2.01

Post by bl8n8 » Fri, 17 Dec 2004 02:28:36


Quote:>I  am also struggling to use this adapter and drive combination with
>Linux. My Mandrake 10.0 (2.6 Kernel) machine would only recognize
>the device after hotplugging. Repeated reboots did not nothing
>even booted into Windows (which picked up the DVD-R right away).

For me, the drive works perfectly under Mandrake 10.0 on an x86 box.
I setup cdrecord in a loop burning a 650M iso in -dummy mode for 4
hours straight at 16x over the usb (hi-speed) port.  No runs, no drips,
no errors - thank you Mr. schilly.
 
 
 

1. compile problem with cdrtools-2.01.01a03 on Solaris 10 x86

Hi,

I'm trying to compile cdrtools-2.01.01a03 on my Solaris 10 x86 system
without success. tsort complains about a loop:

----------------------------------------------------------------------
gdata.c:
        ==> COMPILING "OBJ/i386-sunos5-cc/data.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/block.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/low.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/file.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/btree.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/node.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/record.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/volume.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/hfs.o"
        ==> COMPILING "OBJ/i386-sunos5-cc/gdata.o"
        ==> ARCHIVING  "../libs/i386-sunos5-cc/libhfs.a"
tsort: -: input contains a loop:
tsort: OBJ/i386-sunos5-cc/volume.o
tsort: OBJ/i386-sunos5-cc/low.o
tsort: OBJ/i386-sunos5-cc/file.o
tsort: -: input contains a loop:
tsort: OBJ/i386-sunos5-cc/volume.o
tsort: OBJ/i386-sunos5-cc/low.o
tsort: OBJ/i386-sunos5-cc/file.o
tsort: -: input contains a loop:
...
----------------------------------------------------------------------

On my Solaris 10 SPARC system everything works without any problem.

I'm using smake and SunStudio11

Any help would be appricated

Willi

P.S. is there any difference in compiling cdrecord myself or using the
     binaries from cdrecord-prodvd-2.01.01* archivs?

2. kernel bulding errors

3. 01 01 01 01 01 01 01 01

4. Top posters of comp.os.linux.x

5. lilo li 01 01 01 01 01 01 01 01 solution

6. Try using static IP for @Home and RH 7.1

7. SuSE 7: 01 01 01 01 01 01 01 ...

8. AARRRRGG! No one can answer this question!!!

9. Problem burning Solaris 8 01/01

10. lilo won't start, sez: L01 01 01 01 01 01 01 01 01 01 01 01 01

11. LILO 01 01 01 01 01 01....

12. Linux installation problems - 01 01 01 01 01 01 ...

13. L01 01 01 01 01 01 01...