FS#52246 - [linux] 4.9 freezes on initramfs loading.
Attached to Project:
Arch Linux
Opened by Frederic Bezies (fredbezies) - Thursday, 22 December 2016, 23:21 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 27 January 2017, 06:57 GMT
Opened by Frederic Bezies (fredbezies) - Thursday, 22 December 2016, 23:21 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 27 January 2017, 06:57 GMT
|
Details
Description: I cannot get past loading initramfs with linux
kernel 4.9-1 on my Toshiba L300-2CZ laptop. Linux 4.8.xx and
Linux 4.4.xx LTS is booting flawlessly. I thought first it
was related to missing firmware in linux-firmware
package.
I created another initramfs with fixed linux-firmware package, and still stuck on loading initramfs. Systemd is never launched. Only workaround ? Installing and booting on linux-lts. Additional info: Linux 4.9-1 linux-firmware 20161222.4b9559f-2 Steps to reproduce: See description. Will add lspci in order to give more information on my computer which is intel based for both processeur and GPU. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Friday, 27 January 2017, 06:57 GMT
Reason for closing: Fixed
Additional comments about closing: 4.9.6
Friday, 27 January 2017, 06:57 GMT
Reason for closing: Fixed
Additional comments about closing: 4.9.6
Note : tried linux-zen 4.9 ? Same problem. Looks like my computer is not compatible with linux 4.9 :(
https://wiki.archlinux.org/index.php/General_troubleshooting#Boot_problems
So far I have the following tested:
Lenovo Laptop W540 Ivy Bridge i7-4700 MQ - Boot Failed
Lenovo Laptop W520 Sandy Bridge i7-2720QM - OK
Desktop Ivy Bridge I7-4770 - OK
Desktop Ivy Bridge i7-4790 - OK
Desktop Ivy Bridge i7-4771 - OK
Desktop Core i7 Lynnfield (860) - OK
Desktop Ivy Bridge i7-4770K - OK
Desktop Skylake i5-6260U - OK (except i do have continued Display port Problems - have to reboot 1 - 10 times before it works)
egrep 'model name' /proc/cpuinfo
Thanks.
gene
model name : Pentium(R) Dual-Core CPU T4200 @ 2.00GHz
model name : Pentium(R) Dual-Core CPU T4200 @ 2.00GHz
Penryn generation I think?
1) adding intel-ucode package
2) disabling CONFIG_MODVERSIONS as stated on this invalid bug : https://bugs.archlinux.org/task/51856
Any other ideas? Thanks.
Normaly my biggest Problem would be the Geforce 840M with Optimus configuration but this one doesn't even get to decrypring the harddisk..
1) Make an Archlinux installation USB key.
2) Boot on it with a working connection
3) mount both /boot and / partitions
4) arch-chroot /mnt
5) pacman -Syy
6) pacman -s linux-lts
7) grub-mkconfig -o /boot/grub/grub.cfg
8) reboot and choose advanced options to see if you have both lts and last release listed in grub boot.
I might be onto something here
IT WORKS :) whew, that was a lot for a little update, kernel 4.9 is running, wishing you all a happy holliday or kernelupdate or whatever you want to celebrate :)
Could it lead to something interesting or is it useless ?
Edit : I started successfully Manjaro 17.0 alpha on my desktop (with and AMD Athlon X2 CPU), and I grabbed all ACPI config options in a file with zcat /proc/config.gz | grep ACPI > config-manjaro.log
Done the same on my archlinux desktop computer : zcat /proc/config.gz | grep ACPI > config-manjaro.log
Looks like these are the same options used.
After looking at this commit https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=4e41212d7ab49bc785eba7302dd1a9c0285fa41e I noticed the only new ACPI option was CONFIG_ACPI_WATCHDOG
Could it be related to this freeze ? Also, looks like package 4.9.0-2 will add some more WATCHDOG related options : https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=7e19b29f9b72ca0b93898900acd776adf1fbe614
"+CONFIG_WATCHDOG_PRETIMEOUT_GOV=y
+# CONFIG_WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP is not set
+CONFIG_WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC=y
+CONFIG_WATCHDOG_PRETIMEOUT_GOV_NOOP=m
+CONFIG_WATCHDOG_PRETIMEOUT_GOV_PANIC=y"
Maybe the answer ?
config-manjaro.log (2.2 KiB)
If it is https://bugzilla.kernel.org/show_bug.cgi?id=191121 then 8e80632fb23f021ce5a6957f2edcdae4645a7030 has been identified as the cause from one bisection already but can not be cleanly reverted.
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8e80632fb23f021ce5a6957f2edcdae4645a7030
shows it's parent ( the previous commit as it only has a single parent) is 31ce8cc68180803aa481c0c1daac29d8eaceca9d
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=31ce8cc68180803aa481c0c1daac29d8eaceca9d
Checking out 31ce8cc68180803aa481c0c1daac29d8eaceca9d should produced a kernel that boots while applying 8e80632fb23f021ce5a6957f2edcdae4645a7030 should produced the bug assuming it is 191121
Although a full bisection would still probably be preferred by upstream and would identify the first bad commit if the cause is different.
Hope things will move a little.
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=a035dc674dd477e61e5b917c60c30622b6d083f8
Found on this forum thread :
https://bbs.archlinux.org/viewtopic.php?id=221538
Another upstream bug closed as unreproducible :
https://bugzilla.kernel.org/show_bug.cgi?id=188221
Or apply / revert the patch found in this bug report? Applied it, build a kernel and still no luck :(
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=8b355e3bc1408be238ae4695fb6318ae502cae8e
Will try to revert it and see what is happening. Keeping fingers crossed!
Any hope, while waiting for a fix (which could be included in 4.10-rc4 - see https://bugzilla.kernel.org/show_bug.cgi?id=192111#c13 - to try a revert of this commit?
I'll try to see if my main computer (AMD athlonX2 based one) still boot with the kernel I built in order to test commit removal. And I'll do a report asap.
Edit : I'm writing the "modified" 4.9.2 linux kernel I built this morning. So far, so good.
https://bugzilla.kernel.org/attachment.cgi?id=251331
Both my laptop (used for this bug report) and my main computer (AMD AthlonX2 215 based) are running with a patched linux 4.9.3 kernel.
Here is the linux 4.9.5 lkml release message : https://lkml.org/lkml/2017/1/20/161
And you can see this commit was not added for 4.9.5... :(
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=52d7e48b86fc108e45a656d8e53e4237993c481d
Let's keep fingers crossed for 4.9.6.
"added patches:
rcu-narrow-early-boot-window-of-illegal-synchronous-grace-periods.patch
rcu-remove-cond_resched-from-tiny-synchronize_sched.patch
sunrpc-don-t-call-sleeping-functions-from-the-notifier-block-callbacks.patch
x86-pci-ignore-_crs-on-supermicro-x8dth-i-6-if-6f.patch"
First commit listed is the one fixing the bug :)
$ egrep 'model name' /proc/cpuinfo
model name : Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
model name : Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
Cf : https://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/commit/?id=d72ebd1eb855e56138e171475376d4c4e9defe79
Well, looks like archlinux build server will have some work soon :)
I just get a freeze after refind loads the kernel.
By the way, my laptop can boot on official linux 4.9.6 kernel package. At least! Bug is fixed for me.