From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: Lin Ming <ming.m.lin@intel.com>
Cc: Jeff Garzik <jgarzik@redhat.com>, Tejun Heo <tj@kernel.org>,
linux-ide@vger.kernel.org
Subject: Re: DMA doesn't work since "make ata port as parent device of scsi host"
Date: Thu, 15 Mar 2012 08:48:35 +0100 [thread overview]
Message-ID: <20120315074835.GA18295@alea.gnuu.de> (raw)
In-Reply-To: <1331781968.3436.43.camel@minggr>
[-- Attachment #1: Type: text/plain, Size: 2105 bytes --]
Lin Ming hat am Thu 15. Mar, 11:26 (+0800) geschrieben:
> On Thu, 2012-03-15 at 09:59 +0800, Lin Ming wrote:
> > On Thu, 2012-03-15 at 02:48 +0100, Jörg Sommer wrote:
> > > Hi,
> > >
> > > I'm getting these messages in a KVM virtualized host and the access to
> > > the disks is very slow. Using libata.dma=0 suppresses the warnings, but
> > > the disks are still slow.
> >
> > Hi Jörg,
> >
> > Let me try to reproduce this issue first.
>
> I tried below commands on x86_32, but can't reproduce it.
>
> qemu-system-i386 -kernel /root/vmlinuz-3.3.0-rc7 -append "root=/dev/sda1
> zcache" -hda /root/debian-32.img -hdb /root/data.img
>
> Maybe because i386 uses different ata controller than ppc(ata_piix vs
> pata-macio).
>
> I'll try qemu-system-ppc.
>
> Did you need to run some workload to trigger these warings?
> Or did you get these warnings right after booting the VM?
These warnings come up before »INIT started«. I don't have to do
anything, just wait and see.
# truncate -s100M /mnt/data/new
# mke2fs -Fq /mnt/data/new
# mount -o loop /mnt/data/new /mnt/other
# cp --parents /bin/zsh-static /mnt/other/zsh
# umount /mnt/other
# qemu-system-ppc -enable-kvm -M mac99 -cpu G4 -k de -kernel /boot/vmlinuz-3.3.0-rc5-04520-g8d233c0 -append 'root=/dev/sda ro console=ttyPZ0 init=/zsh' -hda /mnt/data/new
I've uploaded my config and the kernel:
http://alioth.debian.org/~jo-guest/config-3.3.0-rc5-04520-g8d233c0
http://alioth.debian.org/~jo-guest/vmlinuz-3.3.0-rc5-04520-g8d233c0
You have to switch to the serial console (Ctrl-Alt-3 or with -nographic
Ctrl-a c). All kernel messages arrive there.
> Would you please try to disable ata port runtime pm?
> You can disable it by, for example,
Is this also possible with a kernel parameter? It takes very long until I
get a shell prompt.
Bye, Jörg.
--
But in the case of "git revert", it should be an ancestor (or the user
is just insane, in which case it doesn't matter - insane people can do
insane things)
Linus Torvalds <alpine.LFD.1.00.0801041031590.2811@woody.linux-foundation.org>
[-- Attachment #2: Digital signature http://en.wikipedia.org/wiki/OpenPGP --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-03-15 7:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 1:48 DMA doesn't work since "make ata port as parent device of scsi host" Jörg Sommer
2012-03-15 1:59 ` Lin Ming
2012-03-15 3:26 ` Lin Ming
2012-03-15 7:48 ` Jörg Sommer [this message]
2012-03-15 8:19 ` Lin Ming
2012-03-15 15:59 ` Jörg Sommer
2012-03-19 8:55 ` Lin Ming
2012-03-21 1:25 ` Lin Ming
2012-03-21 19:40 ` Jörg Sommer
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=20120315074835.GA18295@alea.gnuu.de \
--to=joerg@alea.gnuu.de \
--cc=jgarzik@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=ming.m.lin@intel.com \
--cc=tj@kernel.org \
/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