lkml.org 
[lkml]   [1997]   [Jan]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Olaf Kaluza)
SubjectRe: Writing to CDR drive...
DateWed, 22 Jan 1997 13:57:13 +0100 (MET)
Paul Christenson wrote:

> I picked up a CDD2600 (the successor to the 2000), and am having a heck of
> a time.  So far, I've made nothing but a couple of frisbees and/or 
> coasters. (Apparently SCSI bus errors.  I think I have a bad host card; my
> tape drive doesn't work right, either.)

Have you test it with cdwrite -y ? I think this is a cheaper hardwaretest. :)

> Since I'm now in the market for a new SCSI host adapter.  What do you have
> that works so well?  (And are you using an IDE or SCSI HD for your staging
> drive?)

I am using an Asus-SC200 NCR-Hostadapter. My Hardisk is SCSI on the
same adapter and the CD-Rom, too.

> One last question.. What's the best way to duplicate a 9660 disk?  I've
> tried:
> 
> dd if=/dev/scd0 of=/dev/hdb1	# hdb1 is my staging partition
> cdwrite --device /dev/sgda /dev/hdb1
>
> Will this work??  (If not, what will?)

If there is only _one_ session on your masterdisk, try this:

--------------------------------
[root] ~: more burnhot
#! /bin/sh -
CDROM="/dev/scd0"

size=$(isosize $CDROM)

if (test $size = 2162688) then
    echo Keine Master-CD im Laufwerk!
    exit
fi
echo "CD-Groesse:"  $size Bytes

cat $CDROM | buffer  -p 75 -m 10M | cdwrite   -v -b $size -s 2 - &
renice -20 buffer
renice -20 cdwrite
-----------------------------
The writer is a HP4020i (CD2000) and the cdrom is a Toshiba 3601
quadspeed.

I have done more then ten cdr by this script without a problem. I can
use the computer very hard when I am burning. It works like a dream!!


BTW: This works only if there is one session on a the mastercdr. If
there are more sessions than you got only the first one. Perhaps a
kernelproblem? I can't understand why cat /dev/scd0 not give the full
cdr.


And now a look inside of my computer when I cut a CDR. (486DX133)


 12:44pm  up  3:20,  9 users,  load average: 2.38, 2.07, 1.51
61 processes: 55 sleeping, 6 running, 0 zombie, 0 stopped
CPU states: 68.5% user, 23.2% system, 84.3% nice,  9.3% idle
Mem:  30820K av, 30364K used,   456K free, 34904K shrd,  3076K buff
Swap: 41964K av,  7172K used, 34792K free                4380K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 2151 root      18   0   960  888   260 R       0 49.2  2.8  17:59 l3enc
 2009 root       4   0 10356 8228  1036 R       0 22.5 26.6   3:43 X
 2293 olaf       6   0   676  676   320 R       0  3.7  2.1   0:06 top
 2193 root     -18 -20   600  440    80 S <     0  3.2  1.4   0:28 cdwrite
 2196 root       1   0 10556 10552 10356 S       0  2.3 34.2   0:30 buffer
 2191 root       1   0   352  276    76 S       0  1.9  0.8   0:26 cat
 2308 uucp       2   0   624  624   308 S       0  1.4  2.0   0:00 uuxqt
 2192 root       0   0 10556 10552 10356 S       0  1.2 34.2   0:13 buffer
 2317 olaf       5   0   604  604   284 D       0  1.2  1.9   0:00 procmail
 2168 root       0   0  2920 1812  1128 S       0  1.0  5.8   0:23 xmcpustate
 2321 uucp      13   0   524  524   220 R       0  0.9  1.7   0:00 rmail
 2318 root      15   0   788  788   424 S       0  0.7  2.5   0:00 smail
 2312 root       2   0   792  792   424 S       0  0.5  2.5   0:00 smail
 2012 olaf       0   0   884  840   492 S       0  0.3  2.7   0:01 fvwm
 2256 uucp       0   0   876  844   412 R       0  0.3  2.7   0:00 uucico
   13 root       0   0   356  284    84 S       0  0.1  0.9   0:01 update
 2021 olaf       0   0   364  332    88 S       0  0.1  1.0   0:00 FvwmAudio
 2161 root       0   0  1496 1312   776 S       0  0.1  4.2   0:02 color_xterm
 2306 news       0   0   860  860   480 S       0  0.1  2.7   0:00 bash
    1 root       0   0   408  328   120 S       0  0.0  1.0   0:06 init
    2 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kflushd
    3 root     -12 -12     0    0     0 SW<     0  0.0  0.0   0:01 kswapd
    4 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 nfsiod
    5 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 nfsiod
    6 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 nfsiod
    7 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 nfsiod


Cut a CDR by Windows? ROTFL!

Olaf

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.125 / U:0.020 seconds]
©2003-2008 Jasper Spaans