From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: Qemu-PPC problems (was [Qemu-devel] Just to add one single point)
Date: Thu, 12 Apr 2007 22:20:18 +0200 [thread overview]
Message-ID: <1176409219.6333.33.camel@rapid> (raw)
In-Reply-To: <461E551E.9030803@windriver.com>
On Thu, 2007-04-12 at 10:49 -0500, Jason Wessel wrote:
> J. Mayer wrote:
> > On Wed, 2007-04-11 at 17:49 -0400, Rob Landley wrote:
> >
> >> qemu-system-ppc -M prep -nographic -kernel zImage-powerpc -append \
> >> "console=/dev/ttyS0"
> >>
> >
> > You cannot append anything to the command line this way, with the PPC
> > firmware...
> > You can append options when using yaboot, not with the -kernel option.
> > Then, you should use the CONFIG_CMDLINE kernel option to add the option
> > you absolutely need to boot.
> >
> If you do not modify the prep loader, then it is impossible to pass
> arguments
You can compile the kernel arguments you need into the CONFIG_CMDLINE
kernel option. No need for a patch for this to work.
> or load a kernel that expands to > 4meg. With respect to
> using an unmodified prep loader, you have to build the boot arguments
> you want into the kernel itself with the .config file options.
A kernel > 4 MB ? Even on my amd64 I usually have kernels smaller than
this. Is there any need to have such a big kernel for anyone ?
> > [...]
> >
> >>> It also seems that most Linux 2.6 kernels support has been broken. It
> >>> used to run too, with some versions having a great problem in
> >>> frame-buffer mode (writing black on black is not really usable). Using
> >>> the serial console always allowed me to follow the boot until X starts.
> >>>
> >> I'm trying to use serial console.
> >>
> >
> > I tried and the kernel seem to hang before reaching the start_kernel
> > routine. That why I said there may now be a CPU emulation bug that broke
> > everything.... Must do more checks with a debug kernel (with traces,
> > this time. Using early_printk may help a lot !).
> >
> > [...]
> >
> >
> > you may try to boot kernels in PREP format as they look like regular boot partitions...
> > It may help.
> >
> >
>
> While I am sure folks have the objective to be able to boot something
> that is not modified, my objective was to modify the kernel to work with
> qemu until that first objective is met. If you use a 2.6.21rc candidate
> you can use the attached patches to boot. I provided a .config file as
> well. The frame buffer is definitely broken, but I had not really
> looked into why because I was more interested in simply using the ppc
> instruction sets.
The problem with the frame-buffer is quite simple: it works (well, it
used to work, I did not check with such a recent kernel...) but the
kernel uses a black font on a black background.
Unfortunatelly, the reason of this bug seems not obvious (or I was not
so lucky to find it !).
> Note I startup with the following and it works perfectly fine with my
> modified kernels:
> qemu-system-ppc -nographic -kernel zImage.prep -s -M prep -append
> "console=ttyS0 ip=dhcp root=/dev/nfs nfsroot=10.0.2.2:/export/ppc rw
> netdev=9,0x300,eth0"
>
> There is a new regression between Apr 9 and Apr 10 in the QEMU CVS HEAD
> where tcp checksums are failing again. :-(
> I stand corrected it not the TCP check sums. The new PPC pic code
does
> not work so as to allow the ethernet device driver to receive packets.
> I guess the question should be is if we would have expected more to work
> than breaks or if different cases actually work now with the new PPC pic
> code, or if they are all broken.
Did it really work before this patch ? Because IRQs were broken _before_ the IRQ scheme patches, for the PREP platform, which is the reason I cannot test it.
It seem to have been broken in September and the problem seems to be somewhere in the PCI bridge code...
[...]
--
J. Mayer <l_indien@magic.fr>
Never organized
next prev parent reply other threads:[~2007-04-12 20:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-08 10:00 [Qemu-devel] Just to add one single point J. Mayer
2007-04-08 14:11 ` Thiemo Seufer
2007-04-08 16:03 ` J. Mayer
2007-04-08 23:19 ` Paul Brook
2007-04-09 1:22 ` Mike Frysinger
2007-04-09 10:06 ` J. Mayer
2007-04-09 21:26 ` Rob Landley
2007-04-09 22:32 ` J. Mayer
2007-04-11 21:49 ` Rob Landley
2007-04-12 7:56 ` Re:Qemu-PPC problems (was [Qemu-devel] Just to add one single point) J. Mayer
2007-04-12 15:49 ` Qemu-PPC " Jason Wessel
2007-04-12 16:34 ` Jason Wessel
2007-04-12 20:20 ` J. Mayer [this message]
2007-04-12 21:23 ` Jason Wessel
2007-04-14 21:28 ` Rob Landley
2007-04-18 21:34 ` Rob Landley
2007-04-14 19:50 ` Rob Landley
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=1176409219.6333.33.camel@rapid \
--to=l_indien@magic.fr \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).