[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-05-31 Thread Anastasios Koutian
Issue #121 has been updated by Anastasios Koutian.


I tried booting with kernel command line parameter idle=nomwait.
There were no freezes for 1 week, 5 days and 16 hours, which was not possible 
previously. 
After this, I powered down and removed the parameter to see what happens. The 
system froze after 15 hours and 7 minutes.
Intel PCM is showing no negative impact on idle power consumption with 
idle=nomwait.
I recommend to people following this bug to try this out and confirm if it 
works for them.


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1856

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-05-03 Thread Anastasios Koutian
Issue #121 has been updated by Anastasios Koutian.


The freezes have been quite random for me, sometimes happening within minutes 
of booting, sometimes hours, and sometimes days.
It is possible that there are two separate issues that have the same symptom.
You mentioned that using mrc.bin seems to also fix the freezes. Could you 
provide instructions on how to do that so I can confirm?



Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1824

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-05-03 Thread Patrick Rudolph
Issue #121 has been updated by Patrick Rudolph.


My X220 is stable for more than 48h, which wasn't possible before as it would 
crash within a couple of hours.
Since the issue doesn't appear any more I must assume it's fixed on my device.
There might be other settings causing a similar problem, however they won't 
show on my test system (until now).


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1823

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-05-01 Thread Anastasios Koutian
Issue #121 has been updated by Anastasios Koutian.


Anastasios Koutian wrote in #note-90:
> Patrick Rudolph wrote in #note-89:
> > I checked the vendor BIOS for (X220, T420 and T420s) and it hard-codes PSI2 
> > and PSI3 values to 0 in PowerManagment2.efi.
> > The X230 vendor BIOS does not hard-code those values in PowerManagment2.efi.
> > Thus this is likely a bug in the voltage regulator used on Sandy-Bridge 
> > platforms.
> > 
> > I've created https://review.coreboot.org/c/coreboot/+/82070 based on this, 
> > please test.
> 
> Hi Patrick, I have cherry-picked your commit on top of coreboot main and I am 
> testing on my T420. I will inform you of the results.

System froze again after a couple of days. Unfortunately, this does not seem to 
have fixed the bug, however being able to set VR config in device tree is a 
very useful feature.


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1822

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-04-28 Thread Patrick Rudolph
Issue #121 has been updated by Patrick Rudolph.


Jun Muta wrote in #note-91:
> Patrick Rudolph wrote in #note-89:
> > I checked the vendor BIOS for (X220, T420 and T420s) and it hard-codes PSI2 
> > and PSI3 values to 0 in PowerManagment2.efi.
> > The X230 vendor BIOS does not hard-code those values in PowerManagment2.efi.
> > Thus this is likely a bug in the voltage regulator used on Sandy-Bridge 
> > platforms.
> > 
> > I've created https://review.coreboot.org/c/coreboot/+/82070 based on this, 
> > please test.
> 
> Hi Patrick,
> I've recently started using Libreboot and I'm having this issue on my T430. 
> Do you happen to know what the values are for the T430?

I check PowerManagment2.efi in T430 vendor firmware and it does not hard-code 
PSI2 and PSI3 to 0.
It's likely a different problem, not related to the VR12 configuration.

It looks like this only applies to Sandy-Bridge series, as reported here it 
only affects X220, T420, T520, T420s.



Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1819

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-04-28 Thread Jun Muta
Issue #121 has been updated by Jun Muta.


Patrick Rudolph wrote in #note-89:
> I checked the vendor BIOS for (X220, T420 and T420s) and it hard-codes PSI2 
> and PSI3 values to 0 in PowerManagment2.efi.
> The X230 vendor BIOS does not hard-code those values in PowerManagment2.efi.
> Thus this is likely a bug in the voltage regulator used on Sandy-Bridge 
> platforms.
> 
> I've created https://review.coreboot.org/c/coreboot/+/82070 based on this, 
> please test.

Hi Patrick,
I've recently started using Libreboot and I'm having this issue on my T430. Do 
you happen to know what the values are for the T430?


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1818

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-04-28 Thread Anastasios Koutian
Issue #121 has been updated by Anastasios Koutian.


Patrick Rudolph wrote in #note-89:
> I checked the vendor BIOS for (X220, T420 and T420s) and it hard-codes PSI2 
> and PSI3 values to 0 in PowerManagment2.efi.
> The X230 vendor BIOS does not hard-code those values in PowerManagment2.efi.
> Thus this is likely a bug in the voltage regulator used on Sandy-Bridge 
> platforms.
> 
> I've created https://review.coreboot.org/c/coreboot/+/82070 based on this, 
> please test.

Hi Patrick, I have cherry-picked your commit on top of coreboot main and I am 
testing on my T420. I will inform you of the results.


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1817

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-04-28 Thread Patrick Rudolph
Issue #121 has been updated by Patrick Rudolph.


I checked the vendor BIOS for (X220, T420 and T420s) and it hard-codes PSI2 and 
PSI3 values to 0 in PowerManagment2.efi.
The X230 vendor BIOS does not hard-code those values in PowerManagment2.efi.
Thus this is likely a bug in the voltage regulator used on Sandy-Bridge 
platforms.

I've created https://review.coreboot.org/c/coreboot/+/82070 based on this, 
please test.


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1816

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2024-04-27 Thread Patrick Rudolph
Issue #121 has been updated by Patrick Rudolph.


I made good progress with https://review.coreboot.org/c/coreboot/+/81597
It allows to configure the VR12-compatible regulator adjusting the CPU core 
voltage.
Especially the PSI state are from interest, since those are using in Package C3 
or deeper.

My X220 is stable for 9hours while residing in Package C7 without freezes or 
shutdowns.

Since the VR12 configuration is mainboard specific the devicetree settings 
should not be copy pasted from existing board, but read from vendor firmware 
MSRs.
The values can be obtained from MSR 0x601 and MSR 0x602 for example using the 
`$ rdmsr` tool.
The devicetree values can be obtained using:

```
#!/bin/bash
echo "register \"pp0_current_limit\" = \"$(($(rdmsr -d -f 12:0 0x601) / 8))\""
echo "register \"pp1_current_limit\" = \"$(($(rdmsr -d -f 12:0 0x602) / 8))\""

echo "register \"pp0_psi[VR12_PSI1]\" = \"{$(($(rdmsr -d -f 41:39 0x601) + 1)), 
$(rdmsr -d -f 38:32 0x601)}\""
echo "register \"pp0_psi[VR12_PSI2]\" = \"{$(($(rdmsr -d -f 51:49 0x601) + 1)), 
$(rdmsr -d -f 48:42 0x601)}\""
echo "register \"pp0_psi[VR12_PSI3]\" = \"{$(($(rdmsr -d -f 61:59 0x601) + 1)), 
$(rdmsr -d -f 58:52 0x601)}\""

echo "register \"pp1_psi[VR12_PSI1]\" = \"{$(($(rdmsr -d -f 41:39 0x602) + 1)), 
$(rdmsr -d -f 38:32 0x602)}\""
echo "register \"pp1_psi[VR12_PSI2]\" = \"{$(($(rdmsr -d -f 51:49 0x602) + 1)), 
$(rdmsr -d -f 48:42 0x602)}\""
echo "register \"pp1_psi[VR12_PSI3]\" = \"{$(($(rdmsr -d -f 61:59 0x602) + 1)), 
$(rdmsr -d -f 58:52 0x602)}\""
```


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1815

* Author: Firstname Lastname
* Status: In Progress
* Priority: Normal
* Category: chipset configuration
* Start date: 2017-06-09
* Affected hardware: SNB, IVY
* Affected OS: -

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2023-09-24 Thread Patrick Rudolph
Issue #121 has been updated by Patrick Rudolph.


I compared the vendor ACPI code for T520 and T530:
- The T520 is missing _CST entries, thus the C-states are reported in FADT. I 
couldn't find a firmware dump that has a FADT.
- The T530 has _CST, but the latencies are higher: For C3 148usec, vs 63 in 
coreboot.
  It's possible that too short advertised exit latencies causes issues when 
meeting deadlines within the kernel.
  The kernel will pick deeper C-states, while it shouldn't, as it assumes that 
those wake much faster.



Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1666

* Author: Julz Buckton
* Status: New
* Priority: Normal
* Start date: 2017-06-09

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2023-09-24 Thread Patrick Rudolph
Issue #121 has been updated by Patrick Rudolph.


Does limiting the max C-state in MSR MSR_PKG_CST_CONFIG_CONTROL also work 
around the issue?
What setting is being used on vendor firmware for MSR 
MSR_PKG_CST_CONFIG_CONTROL?

Currently the code doesn't check if the processor supports C6/C3 sleep states, 
it just assumes it does.
According to the BWG, when bus masters, that cannot tolerate long bus master 
latency, are present, the BM_STS
avoidance must be used for C3/C6 states.

It sounds a bit like this could be the case here. The CPU is in C3/C6 and takes 
too long to wake in order to handle
the bus master request. If enabled the acpi_idle_bm_check() would then prevent 
the CPU from entering
a higher C-state (deeper sleep) when a bus master is active (similar to what 
intel_idle.max_cstate=2 does).


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1665

* Author: Julz Buckton
* Status: New
* Priority: Normal
* Start date: 2017-06-09

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2023-09-24 Thread Anastasios Koutian
Issue #121 has been updated by Anastasios Koutian.

File defconfig added

The issue is resolved for me after doing the following:

a) Change motherboards from FRU 04W2049 (dGPU + iGPU) to FRU 04W2045 (iGPU).
b) Update coreboot to 4.21 with EDK II (defconfig is attached).

System has been stable for 6+ hours with no c-state limit. Previously it would 
freeze after 1-3 hours.
Everything else is the same as my previous post.
I recommend anyone still facing this issue to try the above.


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1664

* Author: Julz Buckton
* Status: New
* Priority: Normal
* Start date: 2017-06-09

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)
defconfig (699 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2023-04-07 Thread Evgeny Zinoviev
Issue #121 has been updated by Evgeny Zinoviev.


On my x230 with gentoo, with recent kernel the situation has worsened 
significally. If on 5.x kernels it worked somewhat stable (I had crashes maybe 
once in a month or so and maybe it wasn't even coreboot related), now I after 
upgrade to 6.1.12-gentoo and it freezes like twice a day. 

This might be completely bug-121-unrelated, but limiting max cstate to c3 seems 
to fix the issue, so I decided to report here anyway... can anybody confirm the 
same? I mean that the newer kernel == more freezes/crashes


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1466

* Author: Julz Buckton
* Status: New
* Priority: Normal
* Start date: 2017-06-09

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org


[coreboot] [coreboot - Bug #121] T520: Hangs in OS

2023-03-29 Thread Anastasios Koutian
Issue #121 has been updated by Anastasios Koutian.

File defconfig added

Andrey A. wrote in #note-70:
> T420 and IVB cpu here again.
> After 9 months with intel_idle.max_cstate=4 (and last kernel and coreboot) I 
> get a full stable system without a freeze.

I have a similar setup:

Mainboard: T420
CPU: i7-3940XM
RAM: Corsair Vengeance 16 GB DDR3 1600 MHz (CMSX16GX3M2A1600C10)
iGPU: Intel HD Graphics 4000
dGPU: NVIDIA Quadro NVS 4200M

Coreboot version is CBET4000 4.16-1069-gf4905da14c using MrChromebox's old 
"corebootpayload" branch as payload (which is now deprecated, I think).
Intel ME was stripped. Coreboot config is attached.

With intel_idle.max_cstate=2 the system is stable. Any higher value results in 
the freezes as described above (sometimes with the glitch on the left side of 
the screen, sometimes without).

It's weird how intel_idle.max_cstate=4 doesn't work for me. If anyone is still 
looking into this, I would be happy to help.


Bug #121: T520: Hangs in OS 
https://ticket.coreboot.org/issues/121#change-1455

* Author: Julz Buckton
* Status: New
* Priority: Normal
* Start date: 2017-06-09

I have been running coreboot since 2017.04.15 and have experienced hangs ever 
since then. It was suggested by folk on the IRC that I run memtest to check for 
incorrect raminit causing errors, however I have run memtest for 12 hours 
straight with no errors.

Due to the ambiguous nature of the hangs (immediate freeze with no warning 
signs, audio gets stuck repeating the last 50ms or so of noise, not sure what 
this effect is called) I don't have much useful information other than the 
.config and dmesg. However one thing I can say with high confidence is that the 
hangs occur significantly more frequently in Linux (*buntu distros) than 
Windows 10. Within an hour of launching Linux a hang is likely, whereas Windows 
typically runs for many hours before a hang occurs. I considered this an 
insignificant anecdotal anomaly at first but over the course of the nearly 2 
months I have been running coreboot it seems to be a solid trend. The hangs 
occur anywhere, typically during mere desktop usage or basic web browsing.

Additionally there is another form of hang I experience where the screen goes 
black except for some sort of graphical corruption down the left side 
(http://i.imgur.com/4zWrlpX.jpg), whether this is related to the more common 
total freeze hangs I don't know but I figured I should include it nonetheless. 
These hangs only occur about 1:20 compared to the regular hangs.



---Files
config (20.7 KB)
dmesg.txt (57.3 KB)
cbmem-raminit.txt (62 KB)
lspci.txt (29.6 KB)
cpuinfo.txt (3.94 KB)
defconfig (1023 Bytes)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org