mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hamish Whittal <hamish@QEDux.co.za>
To: linux-kernel@vger.kernel.org
Subject: Multiple CDR's on an IDE based system
Date: Tue, 01 Jun 2004 09:54:23 +0000	[thread overview]
Message-ID: <1086083663.925.114.camel@defender.QEDux.co.za> (raw)

Hi list,

I have tried, without success to solve this for the last couple of
weeks, so I am trying the guru's as a last resort.....

Here is the problem:

I have a machine that has 3 CDRW's in it. I have tried many different
configurations of these drives on various IDE controllers, but am still
having some problems.

I will try to sketch the scenario:
CDRW1 slave on controller with HDD
CDRW2 as master on second on-board IDE controller
CDRW3 as master on additional PCI IDE controller

(I have also tried adding 2 PCI IDE controllers, and putting each CDRW
as master on each of these controllers, but I get the FIFO buffer
dropping to 0% very soon after starting a write).

In this configuration, provided the writers are writing no faster than
16x (CDRW can write up to 52x) they seem to complete  - reading and
writing the correct number of bytes from the HDD and to the CDR. Any
other configuration seems to fail almost immediately. 

I am writing ISO images (from the HDD) to the CDR's simultaneously using
a parallel perl script which just calls the cdrecord program to actually
do the writing.

Problem is now though, that although cdrecord claims to have
read/written the correct number of bytes from the HDD to the CDR (which
I don't dispute since the files are all there), when I install, the
install seems to go fine bar a couple of files. It would seem that the
files are the same each time. Although they seem to be fine (in terms of
file size), they produce an Input/Output error when I try to install
just those files, or even just copy them.

I have tried writing the single ISO that seems problematic "by hand"
(i.e. not in parallel) and the problem does not seems to be present. It
only seems to raise it's head when I am writing the images
simultaneously. To me this indicates there may be interference on the
IDE bus - but this is a layman speaking(;

I did lots of searching on the Internet about this problem, and only
have found a couple of references to similar problems. (I also tried to
subscribe to the cdrecord mailing list, but seem to be getting emails
bounced saying that the email address I am sending to does not exist -
so not sure whether the list is still alive).

My machine is a Debian linux IDE based machine. The specs of the machine
are as follows:
CPU      : Intel(R) Pentium(R) 4 CPU 2.80GHz
2 IDE controllers, single 120GB HDD.
Additional PCI IDE controller

Kernel: 2.4.25-1-686

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: AOPEN    Model: CD-RW CRW5224    Rev: 1.07
Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: AOPEN    Model: CD-RW CRW5224    Rev: 1.07
Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: AOPEN    Model: CD-RW CRW5224    Rev: 1.07
Type:   CD-ROM                           ANSI SCSI revision: 02

CD record version:
Cdrecord-Clone 2.01a26 (i686-pc-linux-gnu)

cdrecord called as follows:
cdrecord -immed gracetime=2 -eject -v -tao dev=0,0,0
/distros/Debian/1Disc.iso

Naturally the other two drives are called with dev=0,1,0 and dev=0,2,0

I actually restrict the speed to 20x as if it writes faster the FIFO
buffer empties very quickly with the understood consequences.

Thanks for ANY help,

Kindest,

Hamish


             reply	other threads:[~2004-06-01  7:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-01  9:54 Hamish Whittal [this message]
2004-06-02 12:03 ` Erik Mouw
2004-06-02 11:43 Piszcz, Justin Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1086083663.925.114.camel@defender.QEDux.co.za \
    --to=hamish@qedux.co.za \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®