Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade 4.4.111-r1 to 4.4.150 does not boot on HyperV*SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Duncan Mac Leod
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 236
Location: Germany

PostPosted: Sun Oct 14, 2018 6:22 pm    Post subject: Upgrade 4.4.111-r1 to 4.4.150 does not boot on HyperV*SOLVED Reply with quote

I upgraded my kernel from 4.4.111-r1 to 4.4.150 and now I have problems to boot on Hyper-V -> it hangs, don't know why.

only difference is:

< # Linux/x86 4.4.111-gentoo-r1 Kernel Configuration
---
> # Linux/x86 4.4.150-gentoo Kernel Configuration
48d47
< CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx"
191a191
> CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
383a384
> CONFIG_X86_FAST_FEATURE_TESTS=y
385a387
> CONFIG_RETPOLINE=y
1434a1437
> CONFIG_DST_CACHE=y
1460a1464
> CONFIG_GENERIC_CPU_VULNERABILITIES=y
2374a2379
> CONFIG_USB_NET_CDC_SUBSET_ENABLE=m
3033c3038
< # CONFIG_TCG_CRB is not set
---
> CONFIG_TCG_CRB=y
5464d5468
< # CONFIG_X86_DEBUG_STATIC_CPU_HAS is not set

Any ideas?


Last edited by Duncan Mac Leod on Sun Oct 14, 2018 7:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5473
Location: Removed by Neddy

PostPosted: Sun Oct 14, 2018 6:34 pm    Post subject: Reply with quote

do you have any out of kernel tree drivers? RAID cards for instance

The kernel has booted and has handed over to init so the question is... what else was updated? gcc ? what hasn't been rebuilt?
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Duncan Mac Leod
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 236
Location: Germany

PostPosted: Sun Oct 14, 2018 6:37 pm    Post subject: Reply with quote

No, there are no out of kernel tree drivers.

Selecting the old kernel via Grub still boots the system without any problems.
Back to top
View user's profile Send private message
Duncan Mac Leod
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 236
Location: Germany

PostPosted: Sun Oct 14, 2018 7:28 pm    Post subject: Reply with quote

CONFIG_RETPOLINE was the problem.

Recompiled with CONFIG_RETPOLINE not set -> works!

I assume if they gonna fix it upstream, it won't be backported to 4.4.x kernel tree.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5473
Location: Removed by Neddy

PostPosted: Sun Oct 14, 2018 7:51 pm    Post subject: Reply with quote

good its solved, that was teh one option I was going to say might be off.

I can't remember but repoline might have needed gcc update as well to work, hence the query about other updates. If this is for a HyperV you might want this though (depending on the guests and who uses them)
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Duncan Mac Leod
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 236
Location: Germany

PostPosted: Sun Oct 14, 2018 8:15 pm    Post subject: Reply with quote

Found this googleling around: https://lore.kernel.org/patchwork/patch/872009/

and if I check the 4.4.161 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/include/asm/mshyperv.h?h=v4.4.161
against the newest 4.18.14 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/include/asm/mshyperv.h?h=v4.18.14
there is a lot of new code and it seems they have applied the provided patch.

IIRC the 4.4.x tree is on long term support til Feb 2022, so I hope that Greg will backport the missing Hyper-V support for RETPOLINE.
...and I hope that Gentoo will provide support for gentoo-sources-4.4.x too ..! :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum