kernel: 4gb seg fixup на xen VPS
Форум
  1. Forums
  2. General
  3. General Discussion
  1. Marie
  2. Wednesday, 11 August 2010
  3.  Subscribe via email
Hi there,

I just got a trial key and I\'m now playing with CL.
First issue that I can\'t fix is this message that fills up the /var/log/messages.

The fix is easy on centos, but doesn\'t work with CL :
echo hwcap 0 nosegneg > /etc/ld.so.conf.d/kernelcap-`uname -r`.conf
ldconfig
reboot

Any suggestion ?

Thanks :)
Rate this post:
  1. 11.08.2010 11:08:33
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1196
Joined: 09.02.2010
0
Votes
Undo
I don\'t have a Xen server available right now to test, but have you tried doing this:
http://wiki.vpslink.com/Xen_Error:_4gb_seg_fixup
  1. 11.08.2010 11:08:46
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1196
Joined: 09.02.2010
0
Votes
Undo
Here is from XenFaq:

4. Running Linux on Xen

4.1. A large warning message is displayed when I boot Linux, saying something about \'/lib/tls\'. What should I do?

Do as the message advises! Some modern distributions ship with a \'TLS\' version of glibc that is not fully compatible with Xen. To use Xen reliably and with maximum performance you must disable the incompatible glibc. You can easily do this by moving the /lib/tls directory (e.g., mv /lib/tls /lib/tls.disabled).

http://wiki.xensource.com/xenwiki/XenFaq
  1. 11.08.2010 11:08:37
  2. # 3
Marie Accepted Answer
Posts: 7
Joined: 11.08.2010
0
Votes
Undo
Thank you for the lightening fast answer :)

/lib/tls is already disabled and there is no libc6-xen available for centos/CL :

[17:07:29] [email protected] [~]# yum search libc6
Loaded plugins: fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Warning: No matches found for: libc6
No Matches found
  1. 11.08.2010 11:08:12
  2. # 4
Igor Seletskiy Accepted Answer
Posts: 1196
Joined: 09.02.2010
0
Votes
Undo
I wish it would be helpful as well..
The package is libc6-xen -- but either way it is not provided by either us or CentOS. Maybe we should start.
Is this 32bit system?
If you are running glibc i686, you can try downgrading to i386 version -- which is supposed to work fine.
To check if you are running i686, do:
rpm -q glibc.i686
If you see the package -- it means you are running it.
You can try installing i368 version via:
yumdownloader glibc.i386
rpm -Uvh --force glibc*rpm

My best guess -- reboot will be needed. If you would like -- we can try to solve it inhouse first, and give you the solution. Yet, it might take a few days.
  1. 11.08.2010 12:08:56
  2. # 5
Marie Accepted Answer
Posts: 7
Joined: 11.08.2010
0
Votes
Undo
I\'m getting dependencies errors...
I\'ll wait for your solution as I miss the time to work on it in deep :)
  1. 11.08.2010 15:08:19
  2. # 6
Igor Seletskiy Accepted Answer
Posts: 1196
Joined: 09.02.2010
0
Votes
Undo
Here is what you can do (the idea is to install glibc.i386 which should work in such environment, unlike glibc.i686)


[[email protected] ~]# rpm -q glibc.i386
package glibc.i386 is not installed
[[email protected] ~]# rpm -q glibc.i686
glibc-2.5-42

This means that you have i686 version -- and you need to install i386 version

[[email protected] ~]# yumdownloader glibc.i386
Loaded plugins: fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
glibc-2.5-49.el5_5.4.i386.rpm
| 4.5 MB 00:15
./glibc-2.5-49.el5_5.4.i386.rpm already exists and appears to be
complete
[[email protected] ~]# yum update ./glibc-2.5-49.el5_5.4.i386.rpm

yum will install load file that you just downloaded, with all the dependencies

Loaded plugins: fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
Setting up Update Process
Examining ./glibc-2.5-49.el5_5.4.i386.rpm: glibc-2.5-49.el5_5.4.i386
Marking ./glibc-2.5-49.el5_5.4.i386.rpm as an update to
glibc-2.5-42.i686
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: glibc = 2.5-42 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-42 for package: glibc-headers
--> Processing Dependency: glibc = 2.5-42 for package: nscd
---> Package glibc.i386 0:2.5-49.el5_5.4 set to be updated
--> Processing Dependency: glibc-common = 2.5-49.el5_5.4 for package:
glibc
--> Running transaction check
---> Package glibc-common.i386 0:2.5-49.el5_5.4 set to be updated
---> Package glibc-devel.i386 0:2.5-49.el5_5.4 set to be updated
---> Package glibc-headers.i386 0:2.5-49.el5_5.4 set to be updated
---> Package nscd.i386 0:2.5-49.el5_5.4 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================
Package Arch Version
Repository Size
===============================================================================================================
Updating:
glibc i386
2.5-49.el5_5.4 /glibc-2.5-49.el5_5.4.i386 10 M
Updating for dependencies:
glibc-common i386 2.5-49.el5_5.4
cloudlinux-i386-server-5 16 M
glibc-devel i386 2.5-49.el5_5.4
cloudlinux-i386-server-5 2.0 M
glibc-headers i386 2.5-49.el5_5.4
cloudlinux-i386-server-5 602 k
nscd i386 2.5-49.el5_5.4
cloudlinux-i386-server-5 165 k

Transaction Summary
===============================================================================================================
Install 0 Package(s)
Update 5 Package(s)
Remove 0 Package(s)

Total size: 30 M
Total download size: 19 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): nscd-2.5-49.el5_5.4.i386.rpm
| 165 kB 00:00
(2/4): glibc-headers-2.5-49.el5_5.4.i386.rpm
| 602 kB 00:02
(3/4): glibc-devel-2.5-49.el5_5.4.i386.rpm
| 2.0 MB 00:05
(4/4): glibc-common-2.5-49.el5_5.4.i386.rpm
| 16 MB 00:18
---------------------------------------------------------------------------------------------------------------
Total
666 kB/s | 19 MB 00:29
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
.......

Updated:
glibc.i386
0:2.5-49.el5_5.4

Dependency Updated:
glibc-common.i386 0:2.5-49.el5_5.4 glibc-devel.i386 0:2.5-49.el5_5.4
glibc-headers.i386 0:2.5-49.el5_5.4
nscd.i386 0:2.5-49.el5_5.4

Complete!
[[email protected] ~]# rpm -q glibc.i386
glibc-2.5-49.el5_5.4
[[email protected] ~]# rpm -q glibc.i686
package glibc.i686 is not installed
[[email protected] ~]#

which shows that only i386 glibc library is installed now
  1. 11.08.2010 17:08:05
  2. # 7
Marie Accepted Answer
Posts: 7
Joined: 11.08.2010
0
Votes
Undo
Awesome ! For the record, I had to downgrade glibc-common and glibc first, but your version 386 does the trick :)

Great support here, thank you so much !
  1. 18.11.2010 15:11:50
  2. # 8
Marie Accepted Answer
Posts: 7
Joined: 11.08.2010
0
Votes
Undo
Unfortunately, this workaround no longer works :

[21:42:11] [email protected] [~]# yum upd ate glibc-2.5-49.el5_5.6.cloudlinux.i386.rpm
Loaded plugins: fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Setting up Upd ate Process
Examining glibc-2.5-49.el5_5.6.cloudlinux.i386.rpm: glibc-2.5-49.el5_5.6.cloudlinux.i386
Marking glibc-2.5-49.el5_5.6.cloudlinux.i386.rpm as an update to glibc-2.5-49.el5_5.5.cloudlinux.i686
Resolving Dependencies
--> Running transaction check
---> Package glibc.i386 0:2.5-49.el5_5.6.cloudlinux se t to be updated
--> Processing Dependency: glibc-common = 2.5-49.el5_5.6.cloudlinux for package: glibc
--> Running transaction check
---> Package glibc-common.i386 0:2.5-49.el5_5.6.cloudlinux se t to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version X Repository X Size
====================================================================================================================================
Updating:
glibc i386 2.5-49.el5_5.6.cloudlinux /glibc-2.5-49.el5_5.6.cloudlinux.i386 10 M
Updating for dependencies:
glibc-common i386 2.5-49.el5_5.6.cloudlinux cloudlinux-i386-server-5 16 M

Transaction Summary
====================================================================================================================================
Install 0 Package(s)
Upgrade 2 Package(s)

Total size: 27 M
Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
glibc-common-2.5-49.el5_5.6.cloudlinux.i386.rpm X | 16 MB 00:05
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : glibc-common X 1/4
Updating : glibc X 2/4
/usr/sbin/glibc_post_upgrade: While trying to execute /usr/sbin/iconvconfig.i386 child terminated abnormally
error: %post(glibc-2.5-49.el5_5.6.cloudlinux.i386) scriptlet failed, exit status 115
Cleanup : glibc-common X 3/4

Updated:
glibc.i386 0:2.5-49.el5_5.6.cloudlinux X

Dependency Updated:
glibc-common.i386 0:2.5-49.el5_5.6.cloudlinux X

Complete!


Any other suggestion for fixing this 4gb seg fixup error on a xen VPS ?

Thank you :)
  1. 18.11.2010 16:11:30
  2. # 9
Igor Seletskiy Accepted Answer
Posts: 1196
Joined: 09.02.2010
0
Votes
Undo
What happened to break it again?
Any chance you have non production Xen VM where this happening?

If not -- could you give me more info no how you are running this VM?
  1. 18.11.2010 16:11:11
  2. # 10
Marie Accepted Answer
Posts: 7
Joined: 11.08.2010
0
Votes
Undo
Hi Igor :)

Nothing happened, this is a fresh cloudlinux installation on a test VPS before going for production testing.
Would you like the login information to see by yourself ?
  1. 18.11.2010 21:11:43
  2. # 11
Igor Seletskiy Accepted Answer
Posts: 1196
Joined: 09.02.2010
0
Votes
Undo
Marie,

Yes, please, login info would be great. If we can reboot that VPS -- even better.
Please forward it to my email, or via support.
  1. 19.11.2010 07:11:32
  2. # 12
Marie Accepted Answer
Posts: 7
Joined: 11.08.2010
0
Votes
Undo
Email sent. Thank you Igor :)
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.