** Description changed:
+ [Impact]
+
+ Missing model name, hardware revision etc. from /proc/cpuinfo.
+
+
+ [Test Case]
+
+ 'cat /proc/cpuinfo' should show something like:
+
+ Hardware : BCM2835
+ Revision : a02082
+ Serial : 00000000f13010a2
+
+
+ [Fix]
+
+ Backport commit 935eb6f9a319 ("arch/arm64: Add Revision, Serial, Model
+ to cpuinfo") from raspberry/linux rpi-4.19.y.
+
+ [Regression Potential]
+
+ Low. Isolated and simple fix.
+
+
+ [Original Description]
+
# OS
```
$ uname -a
Linux host-name 4.15.0-1033-raspi2 #35-Ubuntu SMP PREEMPT Fri Mar 15 15:53:58
UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
```
# expected cpuinfo
with "model name", "Hardware", "Revision" etc.
some example from raspbian armhf
```
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
.
.
.
Hardware : BCM2835
Revision : a02082
Serial : 00000000f13010a2
```
# actual cpuinfo
This causes golang unable to detect platform.
```
$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
```
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1823151
Title:
Raspberry Pi 3B plus cpuinfo
Status in linux-raspi2 package in Ubuntu:
Confirmed
Status in linux-raspi2 source package in Bionic:
New
Bug description:
[Impact]
Missing model name, hardware revision etc. from /proc/cpuinfo.
[Test Case]
'cat /proc/cpuinfo' should show something like:
Hardware : BCM2835
Revision : a02082
Serial : 00000000f13010a2
[Fix]
Backport commit 935eb6f9a319 ("arch/arm64: Add Revision, Serial, Model
to cpuinfo") from raspberry/linux rpi-4.19.y.
[Regression Potential]
Low. Isolated and simple fix.
[Original Description]
# OS
```
$ uname -a
Linux host-name 4.15.0-1033-raspi2 #35-Ubuntu SMP PREEMPT Fri Mar 15 15:53:58
UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
```
# expected cpuinfo
with "model name", "Hardware", "Revision" etc.
some example from raspbian armhf
```
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
.
.
.
Hardware : BCM2835
Revision : a02082
Serial : 00000000f13010a2
```
# actual cpuinfo
This causes golang unable to detect platform.
```
$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1823151/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp