OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 6:08 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 3:08 am 
Offline
Member
Member

Joined: Fri Apr 04, 2008 6:43 am
Posts: 357
In Bochs CVS you now could configure CPU functinality using .bochsrc, not through configure script.
Thus single Bochs binary could emulate many different CPUs and there is a point in supplying exact CPUID, matching real hardware processor with similar functionality.

For example:
CPU with SSE=SSE4_2, x86-64 and MOVBE matching Intel(R) Atom CPU and Bochs could present exact real Intel(R) Atom CPU CPUID to emulation.

I need you help with collecting CPUID database of Bochs. Please run CPUZ and supply its output to me or here in this thread.
For example my CPU:

Code:
CPU Thread 0   
   APIC ID         0
   Topology      Processor ID 0, Core ID 0, Thread ID 0
   Type         01008002h
   Max CPUID level      0000000Ah
   Max CPUID ext. level   80000008h
   Cache descriptor   Level 1, D, 32 KB, 1 thread(s)
   Cache descriptor   Level 1, I, 32 KB, 1 thread(s)
   Cache descriptor   Level 2, U, 6 MB, 2 thread(s)

   CPUID      
   0x00000000      0x0000000A   0x756E6547   0x6C65746E   0x49656E69
   0x00000001      0x00010676   0x00040800   0x0008E3BD   0xBFEBFBFF
   0x00000002      0x05B0B101   0x005657F0   0x00000000   0x2CB4304E
   0x00000003      0x00000000   0x00000000   0x00000000   0x00000000
   0x00000004      0x0C000121   0x01C0003F   0x0000003F   0x00000001
   0x00000004      0x0C000122   0x01C0003F   0x0000003F   0x00000001
   0x00000004      0x0C004143   0x05C0003F   0x00000FFF   0x00000001
   0x00000005      0x00000040   0x00000040   0x00000003   0x00000020
   0x00000006      0x00000001   0x00000002   0x00000001   0x00000000
   0x00000007      0x00000000   0x00000000   0x00000000   0x00000000
   0x00000008      0x00000400   0x00000000   0x00000000   0x00000000
   0x00000009      0x00000000   0x00000000   0x00000000   0x00000000
   0x0000000A      0x07280202   0x00000000   0x00000000   0x00000503
   0x80000000      0x80000008   0x00000000   0x00000000   0x00000000
   0x80000001      0x00000000   0x00000000   0x00000001   0x20100000
   0x80000002      0x65746E49   0x2952286C   0x726F4320   0x4D542865
   0x80000003      0x45203229   0x65727478   0x4320656D   0x58205550
   0x80000004      0x30373739   0x20402020   0x30322E33   0x007A4847
   0x80000005      0x00000000   0x00000000   0x00000000   0x00000000
   0x80000006      0x00000000   0x00000000   0x18008040   0x00000000
   0x80000007      0x00000000   0x00000000   0x00000000   0x00000000
   0x80000008      0x00003024   0x00000000   0x00000000   0x00000000

   MSR 0x0000001B      0x00000000   0xFEE00900
   MSR 0x00000017      0x0C100000   0x88C40825
   MSR 0x000000CD      0x00000000   0x00000806
   MSR 0x0000003F      0x00000000   0x00000000
   MSR 0x000000CE      0x001A0825   0x7F7F0716
   MSR 0x000001A0      0x00000040   0x62872489
   MSR 0x000000EE      0x00000000   0x877D4B00
   MSR 0x0000011E      0x00000000   0xBE702111
   MSR 0x00000194      0x00000000   0x00010825
   MSR 0x0000019C      0x00000000   0x882E0000
   MSR 0x00000198      0x061A0825   0x86000825
   MSR 0x00000199      0x00000000   0x00000825


Thanks,
Stanislav


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 4:27 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
Hi,

Please find attached the report from my work machine, truncated at the end of the Threads section. Home laptop to follow if nobody else submits that before I remember to do it this afternoon!

Cheers,
Adam


Attachments:
AJ.txt [5.67 KiB]
Downloaded 137 times
Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 4:30 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2008 2:34 pm
Posts: 548
Location: Belgium
Well, since I use Bochs almost every day emulating my OS, I'll contribute too then I guess. I've put it in an attachment because I included the dumps of all 4 cores (not sure if there are any differences between them, but if there are, you will know).


Attachments:
ThreadDumps.txt [7.98 KiB]
Downloaded 116 times

_________________
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 5:07 am 
Offline
Member
Member

Joined: Fri Apr 04, 2008 6:43 am
Posts: 357
Creature wrote:
Well, since I use Bochs almost every day emulating my OS, I'll contribute too then I guess. I've put it in an attachment because I included the dumps of all 4 cores (not sure if there are any differences between them, but if there are, you will know).


Creature, please tell also what CPU name Name/Codename you posted.

Thanks,
Stanislav


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 5:14 am 
Offline
Member
Member

Joined: Fri Apr 04, 2008 6:43 am
Posts: 357
2all: I also more interested in older CPUs CPUID, like Pentium, first P6, Penitum II, Pentium III or different P4 machines.
Nothing to say, modern Core2Duo CPUID is easier to find :)

Stanislav


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 7:28 am 
Offline
Member
Member
User avatar

Joined: Wed Nov 07, 2007 12:15 pm
Posts: 226
Location: Italy
Here's my core i7 950...


Attachments:
AlfaOmega.txt [23.09 KiB]
Downloaded 128 times

_________________
Please, correct my English...
Motherboard: ASUS Rampage II Extreme
CPU: Core i7 950 @ 3.06 GHz OC at 3.6 GHz
RAM: 4 GB 1600 MHz DDR3
Video: nVidia GeForce 210 GTS... it sucks...
Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 7:35 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2008 2:34 pm
Posts: 548
Location: Belgium
stlw wrote:
Creature wrote:
Well, since I use Bochs almost every day emulating my OS, I'll contribute too then I guess. I've put it in an attachment because I included the dumps of all 4 cores (not sure if there are any differences between them, but if there are, you will know).


Creature, please tell also what CPU name Name/Codename you posted.

Thanks,
Stanislav


Name: Intel Core 2 Quad Q6600
Code Name: Kentsfield

If you need anything else, just ask :).

_________________
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 9:41 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Will have to make a bootable floppy image for all those machines which don't have internet or a recent windows. (CPU-Z refuses to work on '98SE, enjoy your information maps for old hosts)
* Charon (Pentium Dual Core)
* Prometheus (Athlon64X2)
I'll try to manually grab old data later

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 11:12 am 
Offline
Member
Member

Joined: Fri Apr 04, 2008 6:43 am
Posts: 357
Combuster wrote:
Will have to make a bootable floppy image for all those machines which don't have internet or a recent windows. (CPU-Z refuses to work on '98SE, enjoy your information maps for old hosts)
* Charon (Pentium Dual Core)
* Prometheus (Athlon64X2)
I'll try to manually grab old data later


Pretty strange, I have CPUZ under Win98 SE here running inside by Bochs BOX ...

Stanislav


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 12:14 pm 
Offline
Member
Member

Joined: Fri Apr 04, 2008 6:43 am
Posts: 357
Combuster wrote:
Will have to make a bootable floppy image for all those machines which don't have internet or a recent windows. (CPU-Z refuses to work on '98SE, enjoy your information maps for old hosts)
* Charon (Pentium Dual Core)
* Prometheus (Athlon64X2)
I'll try to manually grab old data later


Combuster, for Win98 it is separate version of CPU-Z:

http://www.cpuid.com/download/cpuz/cpuz_153_win98.zip

Stanislav


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 4:11 pm 
Offline
Member
Member

Joined: Fri Oct 20, 2006 10:14 am
Posts: 313
I really would to post the cpuid infos of my old cpus (pentium, pentium mxx, k5, k6, k6-2, k6-3(+), cyrix), but I haven´t attached a harddrive on this mainboard, so I would need a floppydisk or cd image, from which I then could boot and could collect the info.


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sat Feb 27, 2010 8:46 pm 
Offline
Member
Member
User avatar

Joined: Wed Feb 07, 2007 1:45 pm
Posts: 1401
Location: Eugene, OR, US
Old PCs: Pentium with MMX (166MHz), K6-2 (266MHz), and a Celeron 2GHz.


Attachments:
bewing.zip [2.67 KiB]
Downloaded 142 times
Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sun Feb 28, 2010 4:59 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Some CPUID dumps from the computers without windows:

Code:
Intel Pentium 1-200
CPUID #   EAX       EBX       ECX       EDX
00000000  00000001  756e6547  6c65746e  49656e69
00000001  0000052c  00000000  00000000  000001bf

Intel Pentium 1-133
CPUID #   EAX       EBX       ECX       EDX
00000000  00000001  756e6547  6c65746e  49656e69
00000001  0000052c  00000000  00000000  000001bf

Intel Pentium 2
CPUID #   EAX       EBX       ECX       EDX
00000000  00000001  756e6547  6c65746e  49656e69
00000001  00000651  00000000  00000000  0183fbff
00000002  03020101  00000000  00000000  0c040843

AMD Am5x86
CPUID #   EAX       EBX       ECX       EDX
00000000  00000001  68747541  444d4163  69746e65
00000001  000004e4  00000000  00000000  00000001

Intel i486DX2-66
CPUID #   EAX       EBX       ECX       EDX
00000000  00000001  68747541  444d4163  69746e65
00000001  00000470  00000000  00000000  0000000b

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sun Feb 28, 2010 3:03 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2426
Location: Canada
I can't provide "CPU-Z" output.. this will have to suffice.
Code:
AMD Athlon(TM) XP 2600+
00000000: 00000001 68747541 444D4163 69746E65
00000001: 000006A0 00000000 00000000 0383FBFF
80000000: 80000008 68747541 444D4163 69746E65
80000001: 000007A0 00000000 00000000 C1C3FBFF
80000002: 20444D41 6C687441 54286E6F 5820294D
80000003: 36322050 002B3030 00000000 00000000
80000004: 00000000 00000000 00000000 00000000
80000005: 0408FF08 FF20FF10 40020140 40020140
80000006: 00000000 41004100 02008140 00000000
80000007: 00000000 00000000 00000000 00000001
80000008: 00002022 00000000 00000000 00000000

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.


Top
 Profile  
 
 Post subject: Re: Bochs: Looking for CPUID information from your CPUs
PostPosted: Sun Feb 28, 2010 11:27 pm 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

I've only got 2 computers that run a version of Windows. I've attached the results from CPU-z for both of them - Intel Celeron (Netburst) and AMD Phenom II X4.


Cheers,

Brendan


Attachments:
phenomii.txt [69.73 KiB]
Downloaded 99 times
p4.txt [39.69 KiB]
Downloaded 124 times

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group