Archive

Archive for April, 2010

Xen: 4gb seg fixup messages in syslog

April 25th, 2010 No comments

This from Xen wiki:

These messages are from a glibc that was built with negative GS register offsets. Xen can run with negative GS register references, but it must “trap and emulate” this condition, which is relatively resource intensive, and quite slow.

If you don’t have a patched glibc, see the no-tls-direct-seg-refs patch mentioned in XenSpecificGlibc.

Most newer distributions are shipped with a “-mno-tls-direct-seg-refs” compiled glibc, but it might not be enabled by default.

Some newer distributions like the RHEL5 Beta1/Beta2 require the ld.so.conf.d trick below to refer to the patched glibc.

Some slightly older distributions like Ubuntu Dapper can be fixed with a simple rebuild of glibc: (see UbuntuDapperHowTo).

echo ‘hwcap 0 nosegneg’ > /etc/ld.so.conf.d/libc6-xen.conf && ldconfig

Reference Link: https://lists.xensource.com/archives/html/xen-users/2006-11/msg00026.html and https://www.mail-archive.com/[email protected]/msg00041.html

Categories: Uncategorized Tags:

Latest Firefox for Ubuntu

April 5th, 2010 No comments

To ride the bleeding edge with Firefox, check out this site:
https://www.ubuntu-inside.me/2009/05/daily-firefox-35-36-repository-for.html

Summary of ubuntu-inside page: The released and nightly versions of firefox can be installed side-by-side, although only one can run at a time. The repository has 2 firefox packages: the usual branded Firefox package, called firefox-3.5 or 3.6, and the other is abrowser-3.5 or 3.6 which refers to an unbranded build of firefox. Install either one.

Be warned! This is DAILY mozila repository.

Edit sources.list to add the appropriate repository, depending on your Ubuntu release :

$sudo gedit /etc/apt/sources.list

And add one of them which matches with your Ubuntu you are using :

For Ubuntu Karmic Koala :

deb https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu karmic main
deb-src https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu karmic main

For Ubuntu Jaunty :

deb https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main
deb-src https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main

For Ubuntu Intrepid :

deb https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu intrepid main
deb-src https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu intrepid main

For Ubuntu Hardy :

deb https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main
deb-src https://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu hardy main

While binbash at ubuntu-inside.me describes explains how to install public keys using a script here, I was able to get away with:

$ gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys EF4186FE247510BE
$ gpg --export --armor EF4186FE247510BE | sudo apt-key add -

Then update your index :

$sudo apt-get update

Install Firefox 3.6 you can install 3.6 or abrowser instead of firefox, that is your choice) :

$sudo apt-get install firefox-3.6 firefox-3.6-gnome-support

To run from command line: firefox-3.6
Or from menu: Applications > Internet > Namoroka Web Browser.
To use as default firefox, create link from firefox-3.6 to firefox

Categories: Uncategorized Tags: