lkml.org 
[lkml]   [2006]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Abysmal PATA IDE performance
On Wed, 08 Nov 2006 22:53:28 -0500, Stephen Clark <Stephen.Clark@seclark.us> wrote:

> Björn Steinbrink wrote:
>
> >On 2006.11.08 19:35:45 -0500, Stephen Clark wrote:
> >
> >
> >>Mark Lord wrote:
> >>
> >>
> >>
> >>>Remove the drivers/ide stuff from you system and let libata (ata_piix)
> >>>manage the ICH7. That should speed things up quite a bit.
> >>>
> >>>-ml
> >>>
> >>>
> >>>
> >>>
> >>>
> >>Isn't already enabled?
> >>
> >>ata_piix 0000:00:1f.2: version 2.00
> >>ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
> >>ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 233
> >>ata: 0x170 IDE port busy
> >>PCI: Setting latency timer of device 0000:00:1f.2 to 64
> >>ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
> >>scsi0 : ata_piix
> >>
> >>
> >>
> >
> >Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> >ide: Assuming 33MHz system bus speed for PIO modes; override with
> >idebus=xx
> >ide0: I/O resource 0x1F0-0x1F7 not free.
> >ide0: ports already in use, skipping probe
> >Probing IDE interface ide1...
> >hdc: HTS721060G9AT00, ATA DISK drive
> >
> >Appears first and that's where the other driver has taken control of the
> >drives. I had the same issue on my thinkpad, getting rid of the whole
> >IDE stuff solved the problem (because the other drivers does no longer
> >grab the drive).
> >
> >This ThinkWiki entry should apply to your laptop just as well, just
> >replace /dev/hda with /dev/hdc.
> >http://www.thinkwiki.org/wiki/Problems_with_SATA_and_Linux#No_DMA_on_system_hard_disk
> >
> >
> >
> >>also this laptop has nothing on ide0 - both the harddrive and dvdrom are
> >>on ide1.
> >>is this confusing things?
> >>
> >>
> >
> >Probably ide0 is pure SATA, while ide1 has the PATA adapters (just a
> >guess).
> >
> >Björn
> >
> >
> >
> Thank Bjorn,
>
> I tried this and the kernel couldn't find the root volumegroup - so i
> got a kernel panic.
> I am not sure on how to tell the system the volumegroup is now on sd?
> This is a
> fc6 installation.
>

Probably your drives are renamed.
Before you had (wild guess, look at your boot log messages):
- ata bus -> hdc,hdd
- sata -> sda (if you really have any sata bus...)

Now all hdX become sdX, and PATA is detected _before_ SATA, so you names
probaly became:
- ata via libata -> sda (HD), sr0 (CDROM)
- sata -> sdb.

So boot with root=/dev/sda. And don't forget to update lilo/grub config.
And /dev/cdrom links if udev doesn't.

Hope this helps.

PD: It would be very nice if libata had some parameter like 'sata_before_pata=1'
or the like...

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.1 (Cooker) for i586
Linux 2.6.18-jam12 (gcc 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #1 SMP PREEMPT
-
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: 2006-11-09 09:43    [W:0.061 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site