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

Sebastian Herbszt herbszt at gmx.de
Mon Mar 14 23:22:17 CET 2011


Kevin O'Connor wrote:
> On Thu, Mar 10, 2011 at 10:50:30PM +0100, Sebastian Herbszt wrote:
>> 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
>> >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.
>> 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?
> 
> I don't have a bochsrc - I just run:
> 
> bochs -q 'floppya: 1_44=odin1440.img, status=inserted' 'romimage: file=../seabios/out/bios.bin'
> 
> and then select option '6'.  Below is the system config output:
> 
> 00000000000i[     ] Bochs x86 Emulator 2.4.5.cvs
> 00000000000i[     ]   Build from CVS snapshot, after release 2.4.5
> 00000000000i[     ] System configuration
> 00000000000i[     ]   processors: 1 (cores=1, HT threads=1)
> 00000000000i[     ]   A20 line support: yes
> 00000000000i[     ] CPU configuration
> 00000000000i[     ]   level: 6
> 00000000000i[     ]   SMP support: no
> 00000000000i[     ]   APIC support: yes
> 00000000000i[     ]   FPU support: yes
> 00000000000i[     ]   MMX support: yes
> 00000000000i[     ]   3dnow! support: yes
> 00000000000i[     ]   SEP support: yes
> 00000000000i[     ]   SSE support: sse2
> 00000000000i[     ]   XSAVE support: no
> 00000000000i[     ]   AES support: no
> 00000000000i[     ]   MOVBE support: no
> 00000000000i[     ]   x86-64 support: no
> 00000000000i[     ]   MWAIT support: no
> 00000000000i[     ]   VMX support: no
> 
> -Kevin

Stanislav, you happen to know why WRMSR is not recognized here?

Sebastian




More information about the SeaBIOS mailing list