On Fri, Feb 27, 2015 at 02:08:23PM -0600, Bruce Dubbs wrote:
> Ken Moffat wrote:
> >
> >  I've had a slight setback in qemu: built an x86_64 xorg in qemu,
> >startx crashed qemu.  Went back in, seemed fine (no old Xorg log) and
> >working (modesetting).  Removed my conf file which forced
> >modesetting, hid the modesetting driver, came out, went back in
> >using -vga vmware, still ok.  Came out, the controlling term never
> >gave me a commandline.  Killed that, used a fresh term, grub
> >declined to boot, one of its modules was missing.  Rebuilding again,
> >from the "base" image (fortunately, I had saved that).  Some days,
> >testing is FUN.
> 
> Hmm.  I just built qemu yesterday and tested it with:
> 
> qemu -enable-kvm -boot c \
>      -drive file=/mnt/qemu/deb71.img \
>      -drive file=/mnt/qemu/lfs.img \
>      -m 2G \
>      -cpu host \
>      -smp 2 \
>      -vga std \
>      -machine type=pc,accel=kvm
> 
> I booted to debian because the lfs image didn't have Xorg, but everything
> seems OK to me.
> 

 I've now rebuilt Xorg in 64-bit 7.7.  With -vga std it works fine.

 My /usr/bin/qemu is a script, with a lot of options if I want to
change some of the values, and it reports what it will run just
before it invokes it.  On the good runs I am using:

qemu-system-x86_64 -enable-kvm -hda LFS7764desk0.img   -m 4G -usb
-usbdevice tablet -show-cursor -display sdl  -cpu kvm64 -monitor
stdio -smp 4 -vga std

 For cirrus and vmware, the final parameter gets changed.

 I have also added a vga=790 boot option, because the vmware option
needed that to give me a framebuffer and I think also requires it to
get xorg running with my kernel config.

 With -vga cirrus, qemu crashed as soon as I selected the normal
boot option, and the controlling term's screen showed
 kvm_set_phys_mem: error registering slot: Cannot allocate memory

 At that point, free showed 500MB free and 7.4GB available.

repeated, using cirrus and vga=790 - booted ok, but crashed in
startx and the controlling term was unresponsive.  Killed that term,
used a new one, confirmed that -vga std still booted.

 With -vga vmware, selecting vga=790 option the screen blanked as
soon as I did that.  After a few seconds I closed qemu but the
controlling terminal was again unusable.

 Closed that term, from a new one tried to start with -vga std but I
again get

 kvm_set_phys_mem: error registering slot: Cannot allocate memory

and the terminal was unusable.  Note that this is not the same
message as I got last night, and at the moment free reports 465MB
free and 7.4GB available.

 I'll stop trying to run qemu for the moment.  Got to eat, then get
back to some AV testing before I do some tags.

ĸen
-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to