All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: kvm-ppc@vger.kernel.org
Subject: Re: Ubuntu
Date: Thu, 12 Nov 2009 10:28:15 +0000	[thread overview]
Message-ID: <1258021695.2140.342.camel@pasglop> (raw)
In-Reply-To: <1257986097.2140.70.camel@pasglop>

On Thu, 2009-11-12 at 11:19 +0100, Alexander Graf wrote:
> Am 12.11.2009 um 01:34 schrieb Benjamin Herrenschmidt <benh@kernel.crashing.org 
>  >:
> 
> > Hoy !
> >
> > So it seems to be making fwd progress in fact in the karmic installer,
> > but it's -extremely- slow. Not sure what's up yet, haven't had a  
> > chance
> > to really instrument it yet.
> >
> > Let me know if you want to toy with it. Basically, what I do to get
> > debug is that I take the initrd out of the ISO, and I run with:
> >
> > ./qemu-system-ppc [-enable-kvm ... or not] -cdrom <path_to_the_iso>
> > -boot order=d -m 512 -initrd=<path to their initrd copied to your  
> > disk>
> > -kernel <path to a kernel to test with so you can add debug etc...>
> > -append "file=/cdrom/preseed/ubuntu.seed debug="
> >
> > In a few places it looks stuck, but it's just terribly slow. However
> > it's not using much CPU on the host, seems to be sleeping mostly.  
> > Could
> > be something wrong with decrementer emulation ?
> 
> Oh, right. At one point in time something wrt interrupts broke, so  
> you'll see that it's waiting for a dma request.
> 
> Boy how I hate this whole qdev conversion.

Hehehe ok. Well, without -enable-kvm works :-) Let me know if you find
something, I won't have time to dig until next week. BTW. I've been
toying about some ideas to improve the DEC emulation too, we'll talk
about it later too. But base idea is when DEC is written, you calculate
the "target" timebase value and store that. Makes it easy to re-evaluate
on exit whether you need to trigger a DEC interrupt by comparing with
the current TB...

Cheers,
Ben.

> Alex
> 
> >
> > Cheers,
> > Ben.
> >
> >



  parent reply	other threads:[~2009-11-12 10:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12  0:34 Ubuntu Benjamin Herrenschmidt
2009-11-12 10:19 ` Ubuntu Alexander Graf
2009-11-12 10:28 ` Benjamin Herrenschmidt [this message]
2009-11-12 10:34 ` Ubuntu Alexander Graf
2009-11-12 10:53 ` Ubuntu Benjamin Herrenschmidt
2009-11-12 10:59 ` Ubuntu Alexander Graf
2009-11-12 20:07 ` Ubuntu Benjamin Herrenschmidt

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=1258021695.2140.342.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=kvm-ppc@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.