Comment 4 for bug 427288

Revision history for this message
Scott Moser (smoser) wrote :

I did a quick test to see if simple installation of libc6-xen would solve
this issue. It appears not. See below for details:

[localsys]$ ec2-run-instances --user-data foo \
   --kernel aki-9c04e4f5 --ramdisk ari-9e04e4f7 ami-3520c05c

# note '--user-data foo' is just to work around bug 419306

[localsys]$ ssh -i ${keypair_key_us} ubuntu@ec2...
$ dmesg | grep ' \*\*'
[ 1.795832] ***************************************************************
[ 1.795836] ***************************************************************
[ 1.795840] ** WARNING: Currently emulating unsupported memory accesses **
[ 1.795844] ** in /lib/tls glibc libraries. The emulation is **
[ 1.795848] ** slow. To ensure full performance you should **
[ 1.795852] ** install a 'xen-friendly' (nosegneg) version of **
[ 1.795855] ** the library, or disable tls support by executing **
[ 1.795859] ** the following as root: **
[ 1.795863] ** mv /lib/tls /lib/tls.disabled **
[ 1.795867] ** Offending process: init (pid=1012) **
[ 1.795871] ***************************************************************
[ 1.795874] ***************************************************************

$ sudo apt-get update
$ sudo apt-get install libc6-xen
...
Get:1 http://us.ec2.archive.ubuntu.com karmic/universe libc6-xen 2.10.1-0ubuntu8 [1253kB]
...
$ sudo reboot

[localsys]$ ssh -i ${keypair_key_us} ubuntu@ec2...

$ dmesg | grep ' \*\*'
...
[ 1.795840] ** WARNING: Currently emulating unsupported memory accesses **
[ 1.795844] ** in /lib/tls glibc libraries. The emulation is **
...
[ 1.795867] ** Offending process: init (pid=1012) **
...