On Mon, Mar 05, 2007 at 10:09:33AM -0800, J?rgen Keil wrote:
> > > I have noticed, but have not investigated, that QEMU seems to be broken
> > > post-dboot:  it seems that it wants to boot the 64-bit kernel, even
> > > though the virtual GRUB should be detecting a 32-bit (virtual) CPU.  (The
> > > dboot project extended GRUB with a new $ISADIR variable, that is somehow
> > > erroneously being set to amd64 in the 32-bit QEMU case.)
> > 
> > Hmm, using 32-bit qemu binaries, it boots into the 32-bit kernel for me 
> > when I use
> > the $QEMU_HOME/bin/qemu binary, and it boots into the 64-bit kernel when I 
> > use
> > $QEMU_HOME/bin/qemu-system-x86_64.
> > 
> > In this test I didn't used the kqemu module.  qemu was compiled from CVS.
> > Host is a current Nevada box, using an amd64 X2 socket AM2 cpu.
> > 
> > Guest is a snv_55b install, bfu'ed to opensolaris 2007-03-02.
> > 
> > So, at least with this combination, I'm unable to reproduce the issue...
> 
> I've now repeated these tests with kqemu installed:
> 
> - 32-bit kernel booted, qemu binary: boots into 32-bit Solaris kernel
> - 64-bit kernel booted, qemu-system-x86_64 binary: boots into 64-bit
>   Solaris kernel
> 
> Still not reproducible...

It was only broken for me attempting on freshly installed post-dboot bits,
so BFU'ing post-dboot may not reproduce the problem.  But this isn't stock
ON, so there might be a problem on my end; I'll reattempt the experiment 
sometime this week...

Also:  is the qemu-system-x86_64 considered ready for prime time?  I would
much rather use that if it's considered to be beyond the experimental
phase...

        - Bryan

--------------------------------------------------------------------------
Bryan Cantrill, Solaris Kernel Development.       http://blogs.sun.com/bmc

Reply via email to