Linux Newbie help
 help / color / mirror / Atom feed
From: David Yeu <dyeu@tulane.edu>
To: linux-newbie@vger.kernel.org
Subject: Re: SCSI Emulation w/ DMA
Date: Tue, 20 Aug 2002 09:22:54 -0500	[thread overview]
Message-ID: <3D6250BE.10202@tulane.edu> (raw)
In-Reply-To: 5.1.0.14.1.20020819153832.020ec500@celine

Thanks for the help Ray...

To answer your questions:
I'm using a Plextor 24X with the command, 'cdrdao write toc.file',
and I'm burning a mix of isos and music cds.
Under Windows, this process never seemed to take more than three
and a half minutes, but with Linux, average burn times hover around
four and change.  Now I know, thirty seconds isn't much to whine over,
but I was just curious to see if it was something I had failed to do.
I read both the CD-ROM HOW-TO, and the CD-Writing HOW-TO, but I must
have missed the illuminating section.

More interestingly, the burner I have at work is a generic Lite-On
24/10/40, and it usually takes anywhere from 8-10 minutes to burn
a cd, under both Windows and Linux.  I never gave it much thought,
however, because hey I'm at work, and I might as well take the
opportunity to grab a coffee and a cigarette.

Dave.


Ray Olszewski wrote:
> Even though you have scsi emulation enabled, there is an ide driver 
> hidden in the demimonde of your system that the scsi emulator 
> communicates through. It is the ide driver, the part that actually talks 
> to the hardware, that either has DMA on or off.
> 
> Almost surely, the message you are seeing means that DMA is off. To 
> check it, run "hdparm /dev/hdc" and see that the resulting report says 
> about DMA. If you want to turn it on, run (as root) "hdparm -d 1 
> /dev/hdc". If you always want it on, add that line to one of the 
> system's  init scripts (probably whatever corresponds to rclocal on your 
> system).
> 
> Now I am not at all sure about this next part ... but I doubt that the 
> DMA setting is what is making your CD burns slow. How are you burning 
> (what is the actual command-line string you send)? What speed is your 
> drive? How long is it taking to burn (your "a little slow" could be 
> someone else's "fast")? What are you burning (iso images? copies of 
> music CDs? VCDs?)
> 
> At 04:57 PM 8/19/02 -0500, David Yeu wrote:
> 
>> Hi everyone,
>>
>> I have SCSI emulation on my CDR drive in order to burn and the like,
>> but I was confused by the following entries in /var/log/messages...
>>
>> ----------------------------------------------------------------------
>> Aug  5 12:18:48 localhost kernel: SCSI subsystem driver Revision: 1.00
>> Aug  5 12:18:19 localhost rc.sysinit: Setting clock  (localtime): Mon
>> Aug  5 12:18:13 UTC 2002 succeeded
>> Aug  5 12:18:49 localhost kernel: scsi0 : SCSI host adapter emulation
>> for IDE ATAPI devices
>> Aug  5 12:18:19 localhost rc.sysinit: Loading default keymap succeeded
>> Aug  5 12:18:49 localhost kernel:   Vendor: LITE-ON   Model: LTR-24102B
>>         Rev: 5S0J
>> Aug  5 12:18:19 localhost rc.sysinit: Setting default font (lat0-sun16):
>>   succeeded
>> Aug  5 12:18:49 localhost kernel:   Type:   CD-ROM        ANSI SCSI
>> revision: 02
>> Aug  5 12:18:19 localhost rc.sysinit: Activating swap partitions:  
>> succeeded
>> Aug  5 12:18:49 localhost kernel: hdc: DMA disabled
>> -----------------------------------------------------------------------
>>
>> The last line says that DMA is disabled, but it refers to hdc.  Since
>> my /dev/cdrom is linked to /dev/scd0, and /dev/cdrecorder is linked
>> to /dev/sg0, does that mean DMA is working anyhow?  How can I tell?
>>
>> (I was prompted into peeking around after burning seemed a little
>> slow..)



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2002-08-20 14:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-19 21:57 SCSI Emulation w/ DMA David Yeu
2002-08-19 22:48 ` Ray Olszewski
2002-08-19 23:36   ` starting X with different XF86Configs James & Tatiana Miller
     [not found]   ` <Pine.LNX.4.44.0208191830520.25454-100000@localhost.localdo main>
2002-08-19 23:58     ` Ray Olszewski
2002-08-20 14:30       ` Matthias Schweinoch
2002-08-20 15:39         ` James & Tatiana Miller
2002-08-20 15:56           ` pa3gcu
2002-08-20 15:30       ` James & Tatiana Miller
     [not found]       ` <Pine.LNX.4.44.0208201026040.26541-100000@localhost.localdo main>
2002-08-20 15:44         ` Ray Olszewski
2002-08-20 14:22   ` David Yeu [this message]
2002-08-20 14:38     ` SCSI Emulation w/ DMA Ray Olszewski

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=3D6250BE.10202@tulane.edu \
    --to=dyeu@tulane.edu \
    --cc=linux-newbie@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