Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Strange results from /proc/cpuinfo



Just noticed the following - note the vendor_id string, and the cpu family, model, and stepping fields.

processor       : 0
vendor_id       : B`<80>
cpu family      : 0
model           : 0
model name      : Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz
stepping        : 0
...

(The vendor_id string actually contains four additional y-umlaut chars, but xterm cut&paste won't copy them.)

Here's the hexdump equivalent:

00000000  70 72 6f 63 65 73 73 6f  72 09 3a 20 30 0a 76 65  |processor.: 0.ve|
00000010  6e 64 6f 72 5f 69 64 09  3a 20 d0 42 60 80 ff ff  |ndor_id.: .B`...|
00000020  ff ff 0a 63 70 75 20 66  61 6d 69 6c 79 09 3a 20  |...cpu family.: |
00000030  30 0a 6d 6f 64 65 6c 09  09 3a 20 30 0a 6d 6f 64  |0.model..: 0.mod|
00000040  65 6c 20 6e 61 6d 65 09  3a 20 49 6e 74 65 6c 28  |el name.: Intel(|
00000050  52 29 20 43 6f 72 65 28  54 4d 29 20 69 37 2d 36  |R) Core(TM) i7-6|
00000060  39 30 30 4b 20 43 50 55  20 40 20 33 2e 32 30 47  |900K CPU @ 3.20G|
00000070  48 7a 0a 73 74 65 70 70  69 6e 67 09 3a 20 30 0a  |Hz.stepping.: 0.|
00000080  63 70 75 20 4d 48 7a 09  09 3a 20 33 31 39 38 2e  |cpu MHz..: 3198.|

Interestingly, it gets the 'model name' field correct even though the family and model are zero.

Also interestingly, cpuctl(8) gets everything correct:

cpu0: "Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz"
cpu0: Intel Xeon E[57] v4 (Broadwell), Core i7-69xx Extreme (686-class), 3198.24 MHz
cpu0: family 0x6 model 0x4f stepping 0x1 (id 0x406f1)


Anyone else seeing this?  Anyone got any idea what's broken?



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index