Hi, When emerging sys-kernel/openvz-sources on a recent Gentoo having gcc 4.5.X or newest, we get a kernel panic during reboot (tested on x86-64 architecture). We must then install gcc 4.4.X and use it to compile the OpenVZ kernel. May be it would be a great idea to add gcc-4.4.X as a dependency and add the attached patch that is also used by Arch Linux. Thank you.
Created attachment 321926 [details, diff] A patch to force fo gcc-4.4 It is important to adapt the patch to the gcc version that will be marked as dependency of the ebuild
Comment on attachment 321926 [details, diff] A patch to force fo gcc-4.4 It should be fixed upstream to work with the newer gcc. Also, you could better show us what that panic looks like.
NOT confirm this bug. I,m use openvz been a long time slep@ashgabad ~ $ dmesg |head -5 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-openvz-044.11-el6-gentoo-slep-1 (root@ashgabad) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.0, pie-0.4.7) ) #2 SMP Sat Mar 17 12:45:31 EET 2012 [ 0.000000] Command line: root=/dev/md1 panic=5 nomodeset [ 0.000000] KERNEL supported cpus: uptime 12:02:04 up 2 days, 14:35, 1 user, load average: 0.00, 0.03, 0.19 Also, please add rion overlay an test latest openvz kernel. I,m bump this in rion due pva is busy in real life
http://bugzilla.openvz.org/show_bug.cgi?id=2012 N.B Peter in openvz bugzilla is pva
Now openvz kernel required gcc 4.4 to build propery kernel. now I've added this warning's in openvz-source ebuild. PLEASE, use it to build you kernel.
I've been using openvz 042 for months, got it working with 4.5 gcc and openvz supplied kernel config with these two changes on "kernel hacking": disable tracers disable compile kernel with debug info
Good news from upstream - this issue fixed in 2.6.32.79.1 ( testing tree ) I have wait to upstream include this patch in "stable" release ( possible in 2.6.32.80 or 8x)
Out
Guys, you can test latest intree kernel with gcc 4.7 due upstream resolve this bug