lkml.org 
[lkml]   [2004]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.6.10-ac1
On Dec 28 2004, Alan Cox wrote:
> Correct - IDE lacks "disconnect" so when the bus is locked during
> something like a CD verify during a burn you don't get access to the
> other device.

Yes, that was the problem that I was trying to circumvent.

> > > As it was a nuisance, I decided to put the CD-Writer on the Promise
> > > controller, which is an UDMA100 controller and, thus, I thought
> > > things would only get better.
> >
> > I remember reading somewhere that one should not connect ATAPI devices
> > to the Promise controller.
>
> Again exactly right - some promise controllers don't support ATAPI DMA.

Is there any way to circumvent the limitations via software? I have already
upgraded the firmware of my motherboard (and, if I understood it correctly,
it also upgraded the firmware of the Promise controller).

The funny thing is that right after the Power On Self Test, the devices are
probed and then the Promise controller says that the drive supports UDMA2.
Then, when Linux boots, I see this:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PDC20265: IDE controller at PCI slot 0000:00:11.0
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI interrupt 0000:00:11.0[A] -> GSI 10 (level, low) -> IRQ 10
PDC20265: chipset revision 2
PDC20265: 100%% native mode on irq 10
PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
ide2: BM-DMA at 0x7400-0x7407, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x7408-0x740f, BIOS settings: hdg:pio, hdh:pio
hdf: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

> As a general rule:
> Put disks on the host first so they avoid the PCI bus overhead and
> dont fill it
> Put CD burners on host if you can
> Use external controllers for slower stuff

Ok, so if this is indeed buggy hardware, one way to make the system not
slow to a crawl would be to have:

* on ide0 the first HD and the DVD reader;
* on ide1 the second HD and the CD-Writer.

Since both ide0 and ide1 are VIA controllers, they would be able to cope
with DMA. It will be really a deception with this motherboard if I can't
use the Promise controller (which claimed to be ATA/100 when I bought it
and paid a good deal of money). :-(


Thanks for all your feedback and suggestions, Rogério Brito.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:2.495 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site