|
Re: VE Kernel Version [message #15144 is a reply to message #15139] |
Fri, 20 July 2007 06:49 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hello.
0) you are using quite an old kernel, i advise to upgrade it.
1) it's strange if you didn't do anything the kernel version inside a VE should match kernel version (well, may be except for the architecture).
2) yes, there is a possibility to change a kernel version reported inside a VE: /proc/sys/kernel/virt_osrelease handles this.
Cat it and you'll see the kernel version which will be reported inside VEs (yes, it's not per-VE, it's global).
[HN]# cat /proc/version
Linux version 2.6.18-8.1.4.el5.028stab035.1 (root@rhel5-32-build) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Sat Jun 9 01:43:20 MSD 2007
[HN]# vzctl exec 101 uname -a
Linux dhcp0-56.sw.ru 2.6.18-8.1.4.el5.028stab035.1 #1 SMP Sat Jun 9 01:43:20 MSD 2007 i686 i686 i386 GNU/Linux
[HN]# cat /proc/sys/kernel/virt_osrelease
2.6.18-8.1.4.el5.028stab035.1
[HN]# echo "2.6.9-finist" > /proc/sys/kernel/virt_osrelease
[HN]# cat /proc/sys/kernel/virt_osrelease
2.6.9-finist
[HN]# vzctl start 101
...
[HN]# vzctl exec 101 uname -a
Linux dhcp0-56.sw.ru 2.6.9-finist #1 SMP Sat Jun 9 01:43:20 MSD 2007 i686 i686 i386 GNU/Linux
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
[Updated on: Fri, 20 July 2007 06:51] Report message to a moderator
|
|
|
|