Gentoo Archives: gentoo-user

From: Hans <linux@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.
Date: Fri, 29 Apr 2016 12:57:49
Message-Id: nfvlno$bp2$1@ger.gmane.org
In Reply to: [gentoo-user] Re: Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs. by Hans
1 On 28/04/16 22:22, Hans wrote:
2 > On 27/04/16 21:33, J. Roeleveld wrote:
3 >> On April 27, 2016 12:59:18 PM GMT+02:00, Hans <linux@×××××.com> wrote:
4 >>> Tried to upgrade the kernels of my desktop and notebook fron kernel
5 >>> 4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6.
6 >>>
7 >>> No dmsg, No messages logs. Previous kernel upgrades always worked
8 >>> smooth
9 >>> as silk.
10 >>>
11 >>> Using: OpenRC, eudev, Xfce,
12 >>>
13 >>> Desktop configration:
14 >>> Genkernel with /etc/genkernel.conf additional options:
15 >>> MENUCONFIG="yes"
16 >>> MAKEOPTS="-j5"
17 >>> MDADM="yes"
18 >>> MDADM_CONFIG="/etc/mdadm.conf"
19 >>> DISKLABEL="yes"
20 >>> KNAME="genkernel-G_ROOT"
21 >>>
22 >>> Boot: Grub-static
23 >>> grub.conf:
24 >>> title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo
25 >>> root (hd0,0)
26 >>> kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0
27 >>> root=/dev/ram0 domdadm real_root=LABEL=G_ROOT
28 >>> initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo
29 >>>
30 >>> No error reported in genkernel.log
31 >>> ------------------
32 >>>
33 >>> Notebook configration:
34 >>> Genkernel with /etc/genkernel.conf additional options:
35 >>> MENUCONFIG="yes"
36 >>> MAKEOPTS="-j5"
37 >>> DISKLABEL="yes"
38 >>> KNAME="genkernel-HP_ROOT"
39 >>>
40 >>> Boot: Grub-static
41 >>> grub.conf:
42 >>> title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo
43 >>> root (hd0,0)
44 >>> kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0
45 >>>
46 >>> root=/dev/ram0 real_root=LABEL=HP_ROOT
47 >>> initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo
48 >>>
49 >>> No error reported in genkernel.log
50 >>> -------------------
51 >>
52 >> Why are you specifying root=/dev/ram0?
53 >>
54 >> Modern kernels use initramfs and you normally specify the real root
55 >> device there.
56 >>
57 > "root=/dev/ram0" is a leftover from the original installation from a
58 > long time ago. Removing it makes no difference.
59 >
60 > Am at the moment making a new test installation in VirtualBox. So far
61 > its working with kernel 4.4.6. If Xfce works tomorrow, it's either a
62 > configuration or driver problem. I will then do a re-install of Gentoo
63 > on my desktop and the notebook using a external drive.
64 >
65 Kernel 4.4.6 as a bug. x11-drivers/xf86-video-virtualbox does not compile.
66 Reason:
67 /usr/src/linux-4.4.6-gentoo/include/linux/string.h
68 'char *strreplace(char *s, char old, char new);' causes compile failure.
69 "new" is a C++ keyword.
70 Changing tp 'char *strreplace(char *s, char oldstr, char newstr);' fixes
71 the problem.

Replies