The fusion of technology, business, and life

4gb seg fixup errors on Debian Lenny Xen domU

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

Related Posts

  1. Virtualization: VServer and Xen on Debian Etch
  2. Debian Lenny apt-cacher reporting bug
  3. SSL load balancing with HAProxy and stunnel on Debian
8 comments

8 Comments so far

  1. Matthew March 5th, 2009 10:56 am

    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.

  2. admin March 5th, 2009 11:01 am

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

  3. gumshoes April 29th, 2009 7:35 pm

    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.

  4. admin April 29th, 2009 7:49 pm

    @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

  5. gumshoes May 1st, 2009 6:37 am

    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.

  6. admin May 1st, 2009 7:06 am

    @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

  7. Jonathan Addleman January 22nd, 2010 4:41 pm

    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…

  8. admin February 18th, 2010 10:24 am

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

Leave a reply