From: "J.A. Magallón" <jamagallon@ono.com>
To: Stephen.Clark@seclark.us
Cc: "Björn Steinbrink" <B.Steinbrink@gmx.de>,
"Mark Lord" <lkml@rtr.ca>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Abysmal PATA IDE performance
Date: Thu, 9 Nov 2006 09:40:14 +0100 [thread overview]
Message-ID: <20061109094014.1c8b6bed@werewolf-wl> (raw)
In-Reply-To: <4552A638.4010207@seclark.us>
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
next prev parent reply other threads:[~2006-11-09 8:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-08 16:33 Abysmal PATA IDE performance Stephen Clark
2006-11-08 23:50 ` Mark Lord
2006-11-09 0:35 ` Stephen Clark
2006-11-09 2:07 ` Björn Steinbrink
2006-11-09 3:53 ` Stephen Clark
2006-11-09 8:40 ` J.A. Magallón [this message]
2006-11-09 8:58 ` Arjan van de Ven
2006-11-09 14:39 ` Stephen Clark
2006-11-09 14:54 ` Arjan van de Ven
2006-11-09 17:24 ` Stephen Clark
2006-11-09 17:33 ` Stephen Clark
2006-11-09 18:23 ` Arjan van de Ven
2006-11-09 19:01 ` Stephen Clark
2006-11-09 19:31 ` Stephen Clark
2006-11-09 20:23 ` Luca Tettamanti
2006-11-09 20:31 ` Stephen Clark
2006-11-09 21:52 ` Luca Tettamanti
2006-11-09 22:16 ` Stephen Clark
2006-11-09 22:43 ` Luca Tettamanti
2006-11-09 23:00 ` Tejun Heo
2006-11-09 23:52 ` Stephen Clark
2006-11-10 3:50 ` Stephen Clark
2006-11-09 15:17 ` Alessandro Suardi
2006-11-09 7:52 ` Alan Cox
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=20061109094014.1c8b6bed@werewolf-wl \
--to=jamagallon@ono.com \
--cc=B.Steinbrink@gmx.de \
--cc=Stephen.Clark@seclark.us \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@rtr.ca \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox