Gentoo Kernel Problems (2.6.8-openvz-022.077) Panics Immediately - "kernel too old" [message #4577] |
Sat, 15 July 2006 04:49 |
Registered User
Messages: 2 Registered: July 2006
|
Junior Member |
|
|
I have emerged the current stable version of the openvz-sources 2.6.8-022.077 in gentoo and compiled the kernel using the options as described in the gentoo howto, in the openvz howto, using the openvz config for that version, and every time I restart the system I get a kernel failure immediately following the mount of filesystem as read only:
VFS: mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memeory: 208K freed
FATAL: kernel too old
Kerel Panic: Attempted to kill init!
I have tried using the devel version of 2.6.16s, 2.6.8-022.076, 2.6.8-022.078, all with the same problem.
Any help would be appreciated. I am rather frustrated and baning my head against the wall.
Searches of these forums suggest the solution is here...
/http://forum.openvz.org/index.php?t=msg&th=398&#msg _2269
However, I cannot even boot to write to /proc nor can I write to proc under my non-openvz kernel even thought it is mounted (rw):
proc on /proc type proc (rw)
echo 2.6.9 > /proc/sys/kernel/virt_osrelease
-bash: /proc/sys/kernel/virt_osrelease: No such file or directory
[Updated on: Sat, 15 July 2006 04:53] Report message to a moderator
|
|
|
|
|
|
Re: Gentoo Kernel Problems (2.6.8-openvz-022.077) Panics Immediately - "kernel too old" [message #4610 is a reply to message #4592] |
Tue, 18 July 2006 06:17 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
The problem is that your glibc is compiled with "kernel version flag" >= 2.6.17.
You can do the following to solve it:
add in /etc/make.conf the string
PORTDIR_OVERLAY="/usr/local/portage"
then
mkdir /usr/local/portage
mkdir /usr/local/portage/sys-libs
mkdir /usr/local/portage/sys-libs/glibc
copy to the folder above the contents of
/usr/portage/sys-libs/glibc
edit glibc-2.3.6-r4.ebuild (actually your version is `emerge --pretend glibc`): replabe >=2.6.17 на >=2.6.8.
then
ebuild /usr/local/portage/sys-libs/glibc/glibc-2.3.6-r4.ebuild digest
emerge glibc
reboot in openvz kernel.
Good luck.
[Updated on: Tue, 18 July 2006 06:17] Report message to a moderator
|
|
|