FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 07-27-2010, 04:36 AM
Ben Hutchings
 
Default Bug#590532: linux-image-2.6.32-5-686: IDE DMA doesn't work in pata_pdc202xx_old

On Tue, 2010-07-27 at 05:34 +0200, Michal Pokrywka wrote:
> Package: linux-2.6
> Version: 2.6.32-18
> Severity: normal
>
>
> When using 2.6.32-5-686 Linux kernel (package version 2.6.32-18) IDE controller
> doesn't seem to be using DMA (about 4MB/sec from hdparm disk read).
> When booted older kernel 2.6.32-3-686 which uses old ide modules, promise IDE
> works flawlessly.
> Attached dmesg-s from both kernels

The relevant controller is:

[...]
> 00:0c.0 Mass storage controller [0180]: Promise Technology, Inc. PDC20262 (FastTrak66/Ultra66) [105a:4d38] (rev 01)
[...]
> Kernel driver in use: Promise_Old_IDE
> Kernel modules: pdc202xx_old
[...]

Seagate ST380021A HD is connected as bus 0 master, using UDMA/66 mode.
DMA operations fail with the pata_pdc202xx_old driver, which then falls
back to PIO.

There have been some fixes to pata_pdc202xx_old in later kernel versions
that should deal with this, so I'll apply those.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 07-27-2010, 10:09 PM
Michal Pokrywka
 
Default Bug#590532: linux-image-2.6.32-5-686: IDE DMA doesn't work in pata_pdc202xx_old

2010/7/27 Ben Hutchings <ben@decadent.org.uk>:
> There have been some fixes to pata_pdc202xx_old in later kernel versions
> that should deal with this, so I'll apply those.

I can take patches or even full pata_pdc202xx_old.c file to compile locally
to test and skip whole distribution kernel package processing.
Or maybe you have some private package repository or pata_pdc202xx_old.ko
to try?

Thanks,

Michal



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimP=w4uNaFgmWdzXXzm+0vdX=FktSNG=tapi3RQ@mail .gmail.com">http://lists.debian.org/AANLkTimP=w4uNaFgmWdzXXzm+0vdX=FktSNG=tapi3RQ@mail .gmail.com
 
Old 07-27-2010, 10:20 PM
Ben Hutchings
 
Default Bug#590532: linux-image-2.6.32-5-686: IDE DMA doesn't work in pata_pdc202xx_old

On Wed, 2010-07-28 at 00:09 +0200, Michal Pokrywka wrote:
> 2010/7/27 Ben Hutchings <ben@decadent.org.uk>:
> > There have been some fixes to pata_pdc202xx_old in later kernel versions
> > that should deal with this, so I'll apply those.
>
> I can take patches or even full pata_pdc202xx_old.c file to compile locally
> to test and skip whole distribution kernel package processing.
> Or maybe you have some private package repository or pata_pdc202xx_old.ko
> to try?

I've attached the patches, to be applied in this order:

+ bugfix/all/pata_pdc202xx_old-fix-UDMA-mode-for-Promise-UDMA33.patch
+ bugfix/all/pata_pdc202xx_old-fix-UDMA-mode-for-PDC2026x-chipset.patch

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 07-28-2010, 12:24 AM
Michal Pokrywka
 
Default Bug#590532: linux-image-2.6.32-5-686: IDE DMA doesn't work in pata_pdc202xx_old

2010/7/28 Ben Hutchings <ben@decadent.org.uk>:
> I've attached the patches, to be applied in this order:
>
> + bugfix/all/pata_pdc202xx_old-fix-UDMA-mode-for-Promise-UDMA33.patch
> + bugfix/all/pata_pdc202xx_old-fix-UDMA-mode-for-PDC2026x-chipset.patch
>
> Ben.

I compiled patched driver, regenerated initramfs with patched module, rebooted
and drive connected to promise ide now works perfectly (hdparm test confirms).
Many thanks for your work.

Regards,
Michal



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTin+BGaM9NRNDt1UimGp-hYZVBoHibWv2okKBohP@mail.gmail.com">http://lists.debian.org/AANLkTin+BGaM9NRNDt1UimGp-hYZVBoHibWv2okKBohP@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 11:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org