4gb seg fixup errors on Debian Lenny Xen domU

4gb seg fixup errors on Debian Lenny Xen domU

November 9, 2008 5:18 am 8 comments

I run CompleteFusion, and several other sites, on a virtual server hosted at VPSLink.  Recently, I upgraded the server from Debian Etch to Lenny.  After the upgrade, I've noticed errors like the following in the output from dmesg:

4gb seg fixup, process imap-login (pid 29663), cs:ip 73:002d9226
printk: 121 messages suppressed.

Some basic investigation revealed that this is apparently a fairly common issue with Xen domU instances, but it should be easy to fix:

  • First, make sure libc6-xen is installed: apt-get install libc6-xen
  • If /lib/tls exists on your system (it didn't on mine): mv /lib/tls /lib/tls.disabled
  • echo 'hwcap 0 nosegneg' > /etc/ld.so.conf.d/libc6-xen.conf && ldconfig
  • Reboot your domU

8 Comments

  • Thanks for this. I'm also hosted on VPSLink and noticed my syslog filling up with the same error. The 'hwcap 0 nosegneg' bit did the trick for me.

  • admin

    Thanks for the feedback, Matthew. I'm glad my suggested fix helped you.

  • gumshoes

    I am curious about how you upgraded from etch to lenny on vpslink. Did you just re-install or did you mess with your sources.list and do a dist-upgrade?
    What I have found in the vpslink forums indicates that a dist-upgrade is not possible.

    Thanks.

  • admin

    @gumshoes: That's interesting. I definitely did a dist-upgrade, after changing my sources.list to the following:

    deb http://ftp.debian.org/debian/ lenny main contrib non-free
    deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
    deb http://security.debian.org/ lenny/updates main contrib
    deb-src http://security.debian.org/ lenny/updates main contrib

  • gumshoes

    Thanks, I used the VPS deb repo mirror and it worked (very fast):
    deb http://debrepo.mirror.vpslink.com/debian lenny main contrib non-free
    deb http://security.debian.org lenny/updates main contrib non-free

    Kernel is still
    2.6.18-ovz028stab039.1-smp #1 SMP Tue Jul 24 12:12:48 MSD 2007 i686 GNU/Linux
    Think that can't be upgraded without a rebuild.

  • admin

    @gumshoes: That's great that the upgrade worked for you. Looks like you're right about the kernel, as mine is still 2.6.18-53.1.13.el5xen

  • Just a quick note – if you copy and paste the commands as I did, they won't work because of the smartquotes that wordpress put in automatically. Make sure you use normal single-quotes around 'hwcap 0 nosegneg'.

    That "feature" has gotten in the way far too many times…

  • @Jonathan Addleman: Thanks for pointing that out! I added a plugin to remove WordPress' smart quotes :)

Leave a reply