* Re: [BUG] Kernel disables DMA on RICOH CD-R/RW
[not found] <20041116124656.82075.qmail@web52601.mail.yahoo.com>
@ 2004-11-16 13:01 ` Bartlomiej Zolnierkiewicz
2004-11-17 15:54 ` Alan Cox
0 siblings, 1 reply; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-11-16 13:01 UTC (permalink / raw)
To: Srihari Vijayaraghavan; +Cc: linux-kernel, linux-ide, Jens Axboe, Alan Cox
On Tue, 16 Nov 2004 23:46:56 +1100 (EST), Srihari Vijayaraghavan
<sriharivijayaraghavan@yahoo.com.au> wrote:
> As of 2.6.9-rc4 (I have verified this to be case all
> the way up to 2.6.10-rc2), kernel displays this
> message:
>
> Uniform Multi-Platform E-IDE driver Revision:
> 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes;
> override with idebus=xx
> VP_IDE: IDE controller at PCI slot 0000:00:0f.1
> ACPI: PCI interrupt 0000:00:0f.1[A] -> GSI 20 (level,
> low) -> IRQ 20
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on
> pci0000:00:0f.1
> ide0: BM-DMA at 0xcc00-0xcc07, BIOS settings:
> hda:DMA, hdb:pio
> ide1: BM-DMA at 0xcc08-0xcc0f, BIOS settings:
> hdc:DMA, hdd:DMA
> Probing IDE interface ide0...
> hda: ST3120026A, ATA DISK drive
> Using anticipatory io scheduler
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> hdc: Pioneer DVD-ROM ATAPIModel DVD-113 0113, ATAPI
> CD/DVD-ROM drive
> hdd: RICOH CD-R/RW MP7083A, ATAPI CD/DVD-ROM drive
> hdd: Disabling (U)DMA for RICOH CD-R/RW MP7083A
> (blacklisted)
>
> The kernel disables DMA on the CD-R/RW (/dev/hdd) and
> of course it would not let me enable it manually
> either. Up until 2.6.9-rc3 the drive worked in DMA
> mode just fine.
>
> (I have been using this drive for more than 4 years. I
> have used it under 2.2.x, 2.4.x, >=2.5.50 in DMA mode
> just fine. Although I have changed everything else in
> the computer in those long years: CPU, M/B, RAM, HDD
> etc., save this great CD-R/RW drive, which has been
> working fine.)
>
> So the question is: why?
> (And what can I do to enable DMA again?)
Previously VIA IDE driver ignored DMA blacklists completely
(which was of course wrong), it was fixed.
Probably this drive should be removed from the blacklist.
Does anybody remember why was it added there?
Bartlomiej
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] Kernel disables DMA on RICOH CD-R/RW
2004-11-16 13:01 ` [BUG] Kernel disables DMA on RICOH CD-R/RW Bartlomiej Zolnierkiewicz
@ 2004-11-17 15:54 ` Alan Cox
2004-11-17 21:06 ` Jens Axboe
0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2004-11-17 15:54 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: Srihari Vijayaraghavan, Linux Kernel Mailing List, linux-ide,
Jens Axboe
On Maw, 2004-11-16 at 13:01, Bartlomiej Zolnierkiewicz wrote:
> Previously VIA IDE driver ignored DMA blacklists completely
> (which was of course wrong), it was fixed.
>
> Probably this drive should be removed from the blacklist.
> Does anybody remember why was it added there?
As I said before almost all of our blacklist is junk from when the IDE
ATAPI DMA bug wasn't fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] Kernel disables DMA on RICOH CD-R/RW
2004-11-17 15:54 ` Alan Cox
@ 2004-11-17 21:06 ` Jens Axboe
2004-11-17 22:16 ` Srihari Vijayaraghavan
0 siblings, 1 reply; 5+ messages in thread
From: Jens Axboe @ 2004-11-17 21:06 UTC (permalink / raw)
To: Alan Cox
Cc: Bartlomiej Zolnierkiewicz, Srihari Vijayaraghavan,
Linux Kernel Mailing List, linux-ide
On Wed, Nov 17 2004, Alan Cox wrote:
> On Maw, 2004-11-16 at 13:01, Bartlomiej Zolnierkiewicz wrote:
> > Previously VIA IDE driver ignored DMA blacklists completely
> > (which was of course wrong), it was fixed.
> >
> > Probably this drive should be removed from the blacklist.
> > Does anybody remember why was it added there?
>
> As I said before almost all of our blacklist is junk from when the IDE
> ATAPI DMA bug wasn't fixed.
I sure don't remember why, so sounds plausible.
--
Jens Axboe
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] Kernel disables DMA on RICOH CD-R/RW
2004-11-17 21:06 ` Jens Axboe
@ 2004-11-17 22:16 ` Srihari Vijayaraghavan
2004-11-17 22:20 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 5+ messages in thread
From: Srihari Vijayaraghavan @ 2004-11-17 22:16 UTC (permalink / raw)
To: Jens Axboe
Cc: Alan Cox, Bartlomiej Zolnierkiewicz, Linux Kernel Mailing List,
linux-ide
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
On Thu, 18 Nov 2004 08:06 am, Jens Axboe wrote:
> On Wed, Nov 17 2004, Alan Cox wrote:
> > On Maw, 2004-11-16 at 13:01, Bartlomiej Zolnierkiewicz wrote:
> > > Previously VIA IDE driver ignored DMA blacklists completely
> > > (which was of course wrong), it was fixed.
> > >
> > > Probably this drive should be removed from the blacklist.
> > > Does anybody remember why was it added there?
> >
> > As I said before almost all of our blacklist is junk from when the IDE
> > ATAPI DMA bug wasn't fixed.
>
> I sure don't remember why, so sounds plausible.
Could you please accept this patch? (against vanilla 2.6.10-rc2)
I have tested my RICOH CD-R/RW with this patch (on CD Reading/Writing), and it
works just fine with DMA enabled.
(Unfortunately I do not have any other drive in the DMA disabled list, and
hence I could not test for them.)
Thank you.
Hari.
[-- Attachment #2: patch-ide-dma-for-ricoh --]
[-- Type: text/x-diff, Size: 420 bytes --]
--- 2.6.10-rc2/drivers/ide/ide-dma.c.orig 2004-11-18 08:50:03.000000000 +1100
+++ 2.6.10-rc2/drivers/ide/ide-dma.c 2004-11-18 08:50:24.000000000 +1100
@@ -129,7 +129,6 @@
{ "CD-532E-A" , "ALL" },
{ "E-IDE CD-ROM CR-840", "ALL" },
{ "CD-ROM Drive/F5A", "ALL" },
- { "RICOH CD-R/RW MP7083A", "ALL" },
{ "WPI CDD-820", "ALL" },
{ "SAMSUNG CD-ROM SC-148C", "ALL" },
{ "SAMSUNG CD-ROM SC-148F", "ALL" },
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] Kernel disables DMA on RICOH CD-R/RW
2004-11-17 22:16 ` Srihari Vijayaraghavan
@ 2004-11-17 22:20 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-11-17 22:20 UTC (permalink / raw)
To: Srihari Vijayaraghavan
Cc: Jens Axboe, Alan Cox, Linux Kernel Mailing List, linux-ide
On Thu, 18 Nov 2004 09:16:27 +1100, Srihari Vijayaraghavan
<sriharivijayaraghavan@yahoo.com.au> wrote:
> On Thu, 18 Nov 2004 08:06 am, Jens Axboe wrote:
>
>
> > On Wed, Nov 17 2004, Alan Cox wrote:
> > > On Maw, 2004-11-16 at 13:01, Bartlomiej Zolnierkiewicz wrote:
> > > > Previously VIA IDE driver ignored DMA blacklists completely
> > > > (which was of course wrong), it was fixed.
> > > >
> > > > Probably this drive should be removed from the blacklist.
> > > > Does anybody remember why was it added there?
> > >
> > > As I said before almost all of our blacklist is junk from when the IDE
> > > ATAPI DMA bug wasn't fixed.
> >
> > I sure don't remember why, so sounds plausible.
>
> Could you please accept this patch? (against vanilla 2.6.10-rc2)
>
> I have tested my RICOH CD-R/RW with this patch (on CD Reading/Writing), and it
> works just fine with DMA enabled.
>
> (Unfortunately I do not have any other drive in the DMA disabled list, and
> hence I could not test for them.)
applied
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-17 22:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20041116124656.82075.qmail@web52601.mail.yahoo.com>
2004-11-16 13:01 ` [BUG] Kernel disables DMA on RICOH CD-R/RW Bartlomiej Zolnierkiewicz
2004-11-17 15:54 ` Alan Cox
2004-11-17 21:06 ` Jens Axboe
2004-11-17 22:16 ` Srihari Vijayaraghavan
2004-11-17 22:20 ` Bartlomiej Zolnierkiewicz
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).