Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432290 - <sys-kernel/openvz-sources-2.6.32.80.0 with >sys-devel/gcc-4.5 - kernel panic during the boot
Summary: <sys-kernel/openvz-sources-2.6.32.80.0 with >sys-devel/gcc-4.5 - kernel panic...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreis Vinogradovs ( slepnoga )
URL: http://bugzilla.openvz.org/show_bug.c...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2012-08-22 12:03 UTC by Nassim K.
Modified: 2013-09-30 07:29 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch to force fo gcc-4.4 (bugfix_gcc44.patch,700 bytes, patch)
2012-08-22 12:06 UTC, Nassim K.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nassim K. 2012-08-22 12:03:21 UTC
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.
Comment 1 Nassim K. 2012-08-22 12:06:50 UTC
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 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-22 14:34:48 UTC
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.
Comment 3 Andreis Vinogradovs ( slepnoga ) 2012-10-09 09:05:08 UTC
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
Comment 4 Andreis Vinogradovs ( slepnoga ) 2012-10-09 09:24:21 UTC
http://bugzilla.openvz.org/show_bug.cgi?id=2012

N.B Peter in openvz bugzilla is pva
Comment 5 Andreis Vinogradovs ( slepnoga ) 2013-01-14 18:40:36 UTC
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.
Comment 6 Jordi Marqués 2013-01-24 15:16:39 UTC
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
Comment 7 Andreis Vinogradovs ( slepnoga ) 2013-07-13 18:51:30 UTC
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)
Comment 8 Andreis Vinogradovs ( slepnoga ) 2013-08-01 11:31:59 UTC
Out
Comment 9 Andreis Vinogradovs ( slepnoga ) 2013-08-01 11:37:05 UTC
Guys, you can test latest intree kernel with gcc 4.7 due upstream resolve this bug