Re: [SeaBIOS] Reset bug in SeaBIOS / qemu?

2011-03-10 Thread Kevin O'Connor
Hi Matthew.  I'm forwarding your mail to the seabios list.  I'll also
take a look at this later on.

On Wed, Mar 09, 2011 at 06:29:20PM +, Matthew Bloch wrote:
 Hi Kevin -
 
 I'm not sure whether this is a qemu bug or SeaBIOS' but your commit
 244caf86f11f5f65d166d91704f64cb673167abc seems to have broken qemu's
 ability to reset the system.  I reported it on qemu's bug tracker as
 qemu behaves differently if KVM is turned on (i.e. you only see this
 behaviour with qemu, not kvm).
 
 I found that commenting this out in post.c seems to allow it to
 reboot properly - once:
 
 if (CONFIG_COREBOOT  HaveRunPost)
 // This is a soft reboot - invoke a hard reboot.
 tryReboot();
 
 The second reset seems to break the VGA but continues to boot, the
 third hangs at Scanning for VGA ROM.
 
 Hope that's useful, not entirely sure how to work around it at
 present, other than always use KVM.
 
 qemu is stil bundling a 0.5 build of seabios, but if they upgrade
 this is going to be a bit more visible.
 
 Regards,
 
 -- 
 Matthew Bloch

___
SeaBIOS mailing list
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios


Re: [SeaBIOS] [PATCH] Add config option to disable MTRR initialization.

2011-03-10 Thread Sebastian Herbszt

Kevin O'Connor wrote:

On Mon, Mar 07, 2011 at 09:37:59PM +0100, Sebastian Herbszt wrote:

Kevin O'Connor wrote:
Some versions of Bochs don't like the MTRR initialization, so add

Which versions don't?


I ran into it with the version fc14 has - Bochs v2.4.5.  I get:

00034041578i[CPU0 ] 0x01fe28e9 wrmsr  : 0F30
00034041578e[CPU0 ] exception(): 3rd (13) exception with no resolution, 
shutdown status is 00h, resetting
00034041578i[SYS  ] bx_pc_system_c::Reset(HARDWARE) called
00034041578i[CPU0 ] cpu hardware reset

and then the boot restarts.  The issue goes away if I disable the MTRR
init.

-Kevin


Can you please post your cpuid lines from your bochsrc file and the CPU 
configuration related
lines from the top of the bochsout.txt file?

Sebastian


___
SeaBIOS mailing list
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios