intel / intel/Intel-Linux-Processor-Microcode-Data-Files

[hw bug][i7-8750H][linux][lenovo-laptop] AE_AML_OPERAND_TYPE OpcodeName unavailable

未關閉
#49 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
沒有語言資料
星號
818
分支
86
PR 合併指標
30 天內沒有已合併 PR

描述

Hello.

Last few days I'm trying to update my linux kernel to 5.8.7 from source.
So, I spend a lot's of time to configure the kernel, but, after reboot it always fall.

First what i noticed was strange sound from motherboard after grub start initdr. like sound of
beeping power supply when it not plugged to device.
Input devices don't work, so, i can't enter my LUKS pw.
![image](https://user-images.githubusercontent.com/62266948/101987409-94909480-3c9c-11eb-9f94-8e120df48724.png)

Then, after a lot's of times of compilation the kernel and including all drivers - I'm get able to enter LUKS password, and start boot. When i see Xorg and KDE w lightdm screen - keyboard and touchpad dont react at all. only blinking cursor in `user` field.
And, after 10 seconds deadlock or full freeze. nothing, only hard reset via power button. And strange beeping all the time.

So, I try to recompile kernel with debug output and boot-tracing options.

Here is one moment - after one of my trying I check BIOS and was happy a lot! - in the BIOS appear "Advanced" tab.
![image](https://user-images.githubusercontent.com/62266948/101987414-9bb7a280-3c9c-11eb-8b8b-7d3724dd3d70.png)
Even JTAG configuration appears!
![image](https://user-images.githubusercontent.com/62266948/101987420-a114ed00-3c9c-11eb-8bad-057b1ff86419.png)
![image](https://user-images.githubusercontent.com/62266948/101987431-bb4ecb00-3c9c-11eb-8fba-01b74b7e65a0.png)
WOW!

So, closer to bug. When I boot with trace I see next:
![image](https://user-images.githubusercontent.com/62266948/101987515-26989d00-3c9d-11eb-9114-c129cb32413b.png)

May be it can be some mitigation technique? I'm talking about UEFI certs and my setup, where I'm using old good legacy.
By the way, in kernel options I try both y/n on cert's support - with no luck.

So, I enable few configuration options, like:
```
CONFIG_LEDS_APU=y
CONFIG_PCENGINES_APU2=y
```

compile, install modules, install, update initramfs, reboot, and:
video device with shadowed rom?
![image](https://user-images.githubusercontent.com/62266948/101989615-379bdb00-3caa-11eb-9a15-2c3eeb0fda76.png) interesting, but not now :+1:
Ah! about max_cpu_qlen
![image](https://user-images.githubusercontent.com/62266948/101987583-a0c92180-3c9d-11eb-9f8f-e3f33d9b1694.png)
In menuconfig I read that I can set it to 1000 for best latency. After a lot's of falls I set it to 300 - but it change nothing.

Okey, I give it drivers to usb and hid devices.
I give it all drivers which can be used it my setup.
And, i enable `reboot on hangs/freezes` and `freezes/hangs detector` in `kernel debug` or `kernel hacking` menu.
Also, some more `ktrace` were enabled.

![image](https://user-images.githubusercontent.com/62266948/101989654-a5e09d80-3caa-11eb-9bfd-2bcd9720adf2.png)
1)
![image](https://user-images.githubusercontent.com/62266948/101987664-467c9080-3c9e-11eb-9fde-3860542b6833.png)
2)
![image](https://user-images.githubusercontent.com/62266948/101987503-1680bd80-3c9d-11eb-9130-3cde37f4f9a6.png)
3)
![image](https://user-images.githubusercontent.com/62266948/101987728-a115ec80-3c9e-11eb-9fc4-20baf0385ce6.png)
and boom! system halted!
As I understand - `reboot on hangs/freezes` works.

The most strange is fact, that I'm using at the moment pre-build 5.8.7 kernel.
And this is how it boot on current kernel - on which one I'm now typing this post:
`Linux o 5.8.0-1-amd64 #1 SMP Debian 5.8.7-1 (2020-09-05) x86_64 GNU/Linux`
installed from debian repo as binary package.
![image](https://user-images.githubusercontent.com/62266948/101987363-52ffe980-3c9c-11eb-8f1e-dc6787a38d38.png)

The same kernel version builded from src - hangs.
I try 5.9.9 and 5.9.11 and 5.8.7 builded from source - the same story. Freeze/hang.
***The last few trys were builded with default (from /boot/config) configuration of working kernel from debian repo!***
The only one effect is that BIOS is default again :(
I really don't have full understanding how I enables that feature. I think is somewhere in
```
Cpuidle Driver for Intel Processors
or
CPU Frequency scaling
```
![image](https://user-images.githubusercontent.com/62266948/101988368-d112bf00-3ca1-11eb-8e76-7808c837f6fd.png)

All the time my firmware were:
```
[ 0.000000] microcode: microcode updated early to revision 0xd6, date = 2020-04-27
[ 1.205619] microcode: sig=0x906ea, pf=0x20, revision=0xd6
[ 1.205929] microcode: Microcode Update Driver: v2.2.
```
and just now I update it to:
```
[11406.202370] platform microcode: firmware: direct-loading firmware intel-ucode/06-9e-0a
[11406.207868] microcode: updated to revision 0xde, date = 2020-05-25
[11406.207910] microcode: Reload completed, microcode revision: 0xde
```
will try again with new microcodes.

Also, cut from current dmesg:
```
[19431.120544] ACPI Debug: "=====PROJECT_QUERY_20====="
[19431.120581] ACPI Error: Needed [Integer/String/Buffer], found [Reference] 000000002d24f561 (20200528/exresop-388)
[19431.120595] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20200528/dswexec-431)
[19431.120604] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0._Q20 due to previous error (AE_AML_OPERAND_TYPE) (20200528/psparse-529)
[19835.025171] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=2101789 end=2101790) time 347 us, min 1062, max 1079, scanline start 1023, end 1083
[19904.161162] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=2111745 end=2111746) time 261 us, min 1062, max 1079, scanline start 1034, end 1080
[19911.917818] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=2112862 end=2112863) time 306 us, min 1062, max 1079, scanline start 1031, end 1085
```

So... Sorry if my English is bad, I'm not native speaker.
And, thanks.

p.s. current .config: https://pastebin.ubuntu.com/p/CckP8ZgfV9/

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。