LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "meaty biscuit" <meatybiscuit@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Fwd: DMA problems in ide-scsi
Date: Wed, 10 Jan 2007 17:53:28 -0700	[thread overview]
Message-ID: <948ae28c0701101653n572d0c63n2145e9b4208a6e5b@mail.gmail.com> (raw)
In-Reply-To: <948ae28c0701101559j1e750d61g1f810feb04c1c4fb@mail.gmail.com>

I know there are lots of people that are glad to be done with
ide-scsi, but I'm hoping there is someone out there that has some
experience with this driver that my be able to help.  I would happily
switch modules and start using ide-cd, but I have a few pieces of
software that rely on ide-scsi to work properly and I don't have
enough time to change my software to work with ide-cd before my
product release deadline.

I am working with a mainline kernel, version 2.6.15.7 (I cannot change
kernel versions either).  If DMA is enabled and I try to write to a
CD, I get a kernel panic.  However, reading from a CD with DMA enabled
works fine.  If DMA is disabled and programmed IO is used, I can both
read and write CDs but the fact that PIO uses so much of the CPU
causes my application to have some problems and again, I don't have
time to go through several application release cycles to make them
work with PIO.

I have noticed that writing to CD (with DMA enabled) in 2.6.9 works
fine, it seems as though the breakage of ide-scsi occured in 2.6.10.
Also, burning a CD using DMA with ide-scsi in 2.6.19 seems to work as
well.  I have looked through the ide-scsi code for hours, and I have
also done a fair amount of debugging looking for the problem but I
have had no success.  I tried contacting Bartlomiej and have been
unsuccessful in getting a hold of him.  Does anyone know of a patch
floating around that may fix this problem?  Does anyone that is more
familiar with the ide, scsi, or dma subsystems have any suggestions
for me?  I am willing to put in the time and effort to fix this
problem and I would be more than happy to submit a fix back into the
open source world, but I am stuck and need any help I can get.

Thanks for your time.

       reply	other threads:[~2007-01-11  0:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <948ae28c0701101559j1e750d61g1f810feb04c1c4fb@mail.gmail.com>
2007-01-11  0:53 ` meaty biscuit [this message]
2007-01-11  2:00   ` Bartlomiej Zolnierkiewicz
2007-01-11 21:08     ` meaty biscuit

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=948ae28c0701101653n572d0c63n2145e9b4208a6e5b@mail.gmail.com \
    --to=meatybiscuit@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Fwd: DMA problems in ide-scsi' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).