You are not logged in.

#126 2018-08-29 06:57:46

LK001
Member
Registered: 2018-08-29
Posts: 5

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Hello, after yesterday update I have the same problem, freezing on boot, on either regular or fallback image. Problem disappear if I boot with acpi=off parameter.

Architecture: x86_64, CPU(s): 4, CPU family: 6, Model: 23
Model name: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz

BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d64fe3c3-a144-4b79-b463-75fb0c5e025f rw acpi=off

Linux 4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018 x86_64 GNU/Linux

Offline

#127 2018-08-29 07:22:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,213

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

So many much better options have been found in this thread and you go for disabling the kitchen sink? Does changing the clocksource not suffice for your case?

Offline

#128 2018-08-29 07:36:45

benoliver999
Member
From: Sheffield
Registered: 2014-02-01
Posts: 39
Website

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Is everyone suffering from this on an x200 running libreboot?

Offline

#129 2018-08-29 08:02:37

nic3-14159
Member
Registered: 2018-08-20
Posts: 18

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

benoliver999 wrote:

Is everyone suffering from this on an x200 running libreboot?

Nope. Running a Dell Latitude E6400 with the normal Dell BIOS.
Also have seen a Lenovo SL500, Dell M4400, Dell E6500, and a HP G61 on this thread. But there does seem to be quite a few people using x200s

Offline

#130 2018-08-29 08:09:27

gregfrankenstein
Member
Registered: 2015-09-12
Posts: 26

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

MrLinuxFish wrote:

I can boot on the kernel 4.18.5 if I add nosmp to the boot parameters, however, my laptop only recognizes 1 cpu when running nproc. I also get a message about my bios being broken (libreboot), but I think I have been getting this message since changing over to libreboot. When I tried using the acpi=off boot parameter, the laptop boots, but I cannot log in because the keyboard stops working.

From one Libreboot user to another, you can fix the "bios is broken" message by adding the intremap=off parameter.

https://bbs.archlinux.org/viewtopic.php?id=205008

Offline

#131 2018-08-29 08:26:30

LK001
Member
Registered: 2018-08-29
Posts: 5

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

V1del wrote:

So many much better options have been found in this thread and you go for disabling the kitchen sink? Does changing the clocksource not suffice for your case?

Yes, works:

clocksource=tsc -> boot freeze

---

clocksource=hpet -> boot ok

cat /sys/devices/system/clocksource/clocksource0/current_clocksource
hpet

cat /sys/devices/system/clocksource/clocksource0/available_clocksource
hpet acpi_pm

---

clocksource=acpi_pm -> boot ok

cat /sys/devices/system/clocksource/clocksource0/current_clocksource
acpi_pm

cat /sys/devices/system/clocksource/clocksource0/available_clocksource
hpet acpi_pm

---

acpi=off -> boot ok

cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc

cat /sys/devices/system/clocksource/clocksource0/available_clocksource
tsc hpet

Offline

#132 2018-08-29 18:46:55

hamelg
Member
From: France
Registered: 2008-06-19
Posts: 129

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

viktorj wrote:

.Looking at the hardware from the users in this thread, I have the impression that the problem seems to occur with old Intel Core 2 Duo and related CPUs (I have a Core 2 Duo E8400). Therefore I looked for related changes in the kernel version 4.18 and I found out that there were at least these changes regarding the boot process on x86:
https://git.kernel.org/pub/scm/linux/ke … 7578ec1a71

I've just seen this issue on phoronix.
I have the same CPU and don't have the issue. My system is using the clocksource tsc.

$ head /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping        : 10
microcode       : 0xa0b
cpu MHz         : 2201.065
cache size      : 6144 KB
physical id     : 0
$ cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc

Offline

#133 2018-08-29 21:44:13

loqs
Member
Registered: 2014-03-06
Posts: 18,047

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Offline

#134 2018-08-29 22:07:39

MrLinuxFish
Member
Registered: 2016-11-23
Posts: 23

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

My computer is using hpet as the clock source. I have no idea if this is something which needs to be changed... For the time being, I've downgraded to kernel 4.17.14-arch1-1-ARCH as it is the newest kernel which recognizes both cores on my laptop. (It's nearly impossible to use firefox with only one cpu core.

Offline

#135 2018-08-30 12:05:25

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

E-Mails have been sent to the kernel developers and LKML.
Should not take long before it gets fixed.

I also wanted to mention that if a new issue on the kernel.org bugzilla is submitted,
the bugtracker will notify the subsystem maintainers per e-mail automatically.

So, there is not just an idle bugzilla entry, at least in our case, which we knew was related to 'timers'.

Offline

#136 2018-08-30 12:22:23

progandy
Member
Registered: 2012-05-17
Posts: 5,263

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

NiceGuy wrote:

E-Mails have been sent to the kernel developers and LKML.

Here is the mail: https://lkml.org/lkml/2018/8/30/341


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#137 2018-08-30 13:14:20

LK001
Member
Registered: 2018-08-29
Posts: 5

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

progandy wrote:
NiceGuy wrote:

E-Mails have been sent to the kernel developers and LKML.

Here is the mail: https://lkml.org/lkml/2018/8/30/341

Subject REGRESSION: boot stalls on several old dual core Intel CPUs

Hmm, I have quad core (Q9550).

Offline

#138 2018-08-30 13:24:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,213

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Still likely to be the same/similar underlying core architecture, so it's unsurprising you are affected as well.

Offline

#139 2018-08-30 13:40:51

LK001
Member
Registered: 2018-08-29
Posts: 5

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Yes, I meant with my post that probably better would be to describe it as "Core 2" problem instead of "old dual core" for clarity reasons. But may be it is sufficient for them.

Offline

#140 2018-08-30 13:44:23

loqs
Member
Registered: 2014-03-06
Posts: 18,047

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Depends if the kernel developers are able to reproduce the issue https://lore.kernel.org/lkml/2018083013 … s-ass.net/

Offline

#141 2018-08-30 15:32:19

latalante1
Member
Registered: 2018-08-30
Posts: 110

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Booting and works properly.

$ uname -srv
Linux 4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018

$ lscpu
Model name:          Intel(R) Core(TM)2 CPU         T5300  @ 1.73GHz

$ cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc

Offline

#142 2018-08-30 15:44:55

phi_delta
Member
Registered: 2018-08-30
Posts: 1

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

nic3-14159 wrote:
benoliver999 wrote:

Is everyone suffering from this on an x200 running libreboot?

Nope. Running a Dell Latitude E6400 with the normal Dell BIOS.
Also have seen a Lenovo SL500, Dell M4400, Dell E6500, and a HP G61 on this thread. But there does seem to be quite a few people using x200s

You may add the Dell Latitude XT2 with ye olde Intel(R) Core(TM)2 Duo CPU U9600 @ 1.60GHz to that list. No bueno in 4.18.5 (and .4) except for fallback mode.

Offline

#143 2018-08-30 16:09:34

loqs
Member
Registered: 2014-03-06
Posts: 18,047

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Those affected are you using intel-ucode.img and what flags does lscpu show?

Offline

#144 2018-08-30 16:14:56

progandy
Member
Registered: 2012-05-17
Posts: 5,263

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Since the fallback image boots fine, maybe you can try different compression algorithms for the image?

The weirdest thing about this bug is that the same kernel works fine with the fallback image but fails with the default.
Edit: Maybe loqs is onto something. I don't have a Core 2 and no bug either, but I remembered that I only added intel-ucode to my default boot entry. The fallback option does not load the microcode.

Last edited by progandy (2018-08-30 16:19:26)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#145 2018-08-30 16:42:09

LK001
Member
Registered: 2018-08-29
Posts: 5

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

NO, fallback image doesnt work for me as I already posted. Also delete microcode image from cmdline in grub doesnt work for me.

in addition from 'journalctl --boot':
microcode: microcode updated early to revision 0xa0b, date = 2010-09-28

Last edited by LK001 (2018-08-30 16:45:50)

Offline

#146 2018-08-30 16:50:48

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

microcode: intel-ucode loaded and used: yes

journalctl:
microcode: microcode updated early to revision 0x60f, date = 2010-09-29
microcode: Microcode Update Driver: v2.2
microcode: sig=0x10676, pf=0x1, revision=0x60f

lscpu Flags:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm pti tpr_shadow vnmi flexpriority dtherm

Last edited by NiceGuy (2018-08-30 17:36:37)

Offline

#147 2018-08-30 17:34:29

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

I tested without the microcode package intel-ucode, made sure it's also completely removed by pacman.

In all cases with 4.18.5 I have to use "clocksource=hpet" or "clocksource=acpi_pm" with both normal and fallback initrd or it is stalling.
"clocksource=tsc" also stalls and does not work for me.

Offline

#148 2018-08-30 17:45:22

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

I'm also intrigued to do a test install of Fedora 29; different distribution, different .config for the kernel also at version 4.18.5.
I report back if this issue persists across distributions. Might be far fetched, but I'm willing to try.

Offline

#149 2018-08-30 18:07:29

loqs
Member
Registered: 2014-03-06
Posts: 18,047

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Do the boot options tsc=unstable or tsc=reliable have any effect?

Offline

#150 2018-08-30 19:30:19

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] CPU stall on boot, Intel Core 2 Processors

Indeed: tsc=unstable works, tsc=reliable fails to boot and stalls.

Offline

Board footer

Powered by FluxBB