Subject: port-i386/19163: VIA C3 processor isn't recognized correctly
To: None <>
From: Takahiro Kambe <>
List: netbsd-bugs
Date: 11/26/2002 00:15:45
>Number:         19163
>Category:       port-i386
>Synopsis:       VIA C3 processor isn't recognized correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 07:16:01 PST 2002
>Originator:     Takahiro Kambe
>Release:        NetBSD 1.6K
System: NetBSD 1.6K NetBSD 1.6K (NS) #98: Thu Nov 21 23:13:42 JST 2002 i386
Architecture: i386
Machine: i386
	VIA C3 processor dosen't recognized correctly on NetBSD.

	NetBSD 1.6K recognizes it as "IDT Pentium Pro compatible".

NetBSD 1.6K (NS) #98: Thu Nov 21 23:13:42 JST 2002
total memory = 253 MB
avail memory = 232 MB
using 3271 buffers containing 13084 KB of memory
BIOS32 rev. 0 found at 0xfb370
PCI BIOS rev. 2.1 found at 0xfb3a0
pcibios: config mechanism [1][x], special cycles [1][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfdc70, size 112 bytes (5 entries)
PCI Interrupt Router at 000:00:0
PCI Exclusive IRQs: 10 11
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: IDT Pentium Pro compatible (686-class), 533.39 MHz
cpu0: features 803035<FPU,DE,TSC,MSR,MTRR>
cpu0: features 803035<PGE,MMX>

	But OpenBSD recognizes correctly.

OpenBSD 3.1 (RAMDISK_CD) #242: Sat Apr 13 15:35:54 MDT 2002
cpu0: VIA C3 Samuel 2 ("CentaurHauls" 686-class) 533 MHz
real mem  = 265924608 (259692K)
avail mem = 241459200 (235800K)
using 3271 buffers containing 13398016 bytes (13084K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(30) BIOS, date 03/18/02, BIOS32 rev. 0 @ 0xfb370
apm0 at bios0: Power Management spec V1.2

	Import from CPU recognition code from OpenBSD?  It seems to
	support more CPU flags.

	And it recognizes Rise Technology's CPU (