View previous topic :: View next topic |
Author |
Message |
C5ace Guru
Joined: 23 Dec 2013 Posts: 472 Location: Brisbane, Australia
|
Posted: Tue Apr 26, 2016 1:49 pm Post subject: [SOLVED] Kernel upgrade to 4.4.6 hangs without logs. |
|
|
Kernel upgrade to 4.4.6 hangs without logs.
Tried to upgrade the kernels of my desktop and notebook fron kernel 4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6. No dmsg, No messages logs. Previous kernel upgrades always worked smooth as silk.
Using: OpenRC, eudev, Xfce,
Desktop configration:
Genkernel with /etc/genkernel.conf additional options:
MENUCONFIG="yes"
MAKEOPTS="-j5"
MDADM="yes"
MDADM_CONFIG="/etc/mdadm.conf"
DISKLABEL="yes"
KNAME="genkernel-G_ROOT"
Boot: Grub-static
grub.conf:
title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo
root (hd0,0)
kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 domdadm real_root=LABEL=G_ROOT
initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo
No error reported in genkernel.log
------------------
Notebook configration:
Genkernel with /etc/genkernel.conf additional options:
MENUCONFIG="yes"
MAKEOPTS="-j5"
DISKLABEL="yes"
KNAME="genkernel-HP_ROOT"
Boot: Grub-static
grub.conf:
title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo
root (hd0,0)
kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 real_root=LABEL=HP_ROOT
initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo
No error reported in genkernel.log
------------------- |
|
Back to top |
|
|
C5ace Guru
Joined: 23 Dec 2013 Posts: 472 Location: Brisbane, Australia
|
Posted: Fri Apr 29, 2016 3:55 pm Post subject: |
|
|
[SOLVED]
Cause:
/usr/src/linux-4.4.6-gentoo/include/linux/string.h line 117:
'char *strreplace(char *s, char old, char new);' causes compile failure.
"new" is a C++ keyword.
Fix:
Changing to 'char *strreplace(char *s, char oldstr, char newstr);' and rebuilding the kernel and app-emulation/virtualbox and related fixes the problem.
VirtualBox.
VirtualBbox internal runtime and build compilers and assemblers use the kernel sources. |
|
Back to top |
|
|
slamp n00b
Joined: 11 Jun 2009 Posts: 3
|
Posted: Sun May 01, 2016 1:36 pm Post subject: |
|
|
I confirmed this bug and this solution.
I got it when doing
emerge x11-drivers/xf86-video-virtualbox
Cause:
/usr/src/linux-4.4.6-gentoo/include/linux/string.h line 117:42
'char *strreplace(char *s, char old, char new);' causes compile failure.
I applied the same fix as c5ace
Changing to 'char *strreplace(char *s, char oldstr, char newstr);'
I found a reference also here: https://www.virtualbox.org/pipermail/vbox-dev/2015-August/013368.html |
|
Back to top |
|
|
smalldog n00b
Joined: 13 Nov 2005 Posts: 10
|
Posted: Tue Aug 23, 2016 3:21 pm Post subject: emerge drivers/xf86-video-virtualbox-4.3.32 fail |
|
|
C5ace wrote: | [SOLVED]
Cause:
/usr/src/linux-4.4.6-gentoo/include/linux/string.h line 117:
'char *strreplace(char *s, char old, char new);' causes compile failure.
"new" is a C++ keyword.
Fix:
Changing to 'char *strreplace(char *s, char oldstr, char newstr);' and rebuilding the kernel and app-emulation/virtualbox and related fixes the problem.
VirtualBox.
VirtualBbox internal runtime and build compilers and assemblers use the kernel sources. |
You save my life. Thanks so much |
|
Back to top |
|
|
|
|
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
|
|