[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2010-10-28 Thread Kostas Chatzikokolakis
This problem is still present in lucid when using imagemagick (and I
presume other packages), even though it does not appear when booting.

To reproduce
- launch "ami-a403f7cd" (latest lucid 32bit). dmesg output is clean
- install the 'imagemagick' package
- run 'convert' without any argument. The command takes 10+ seconds to run. 
After finishing dmesg output contains the following:

** WARNING: Currently emulating unsupported memory accesses  ** 
**  in /lib/tls glibc libraries. The emulation is** 
**  slow. To ensure full performance you should  ** 
**  install a 'xen-friendly' (nosegneg) version of   ** 
**  the library, or disable tls support by executing ** 
**  the following as root:   ** 
**  mv /lib/tls /lib/tls.disabled** 
** Offending process: convert (pid=910)  ** 

Deleting /lib/tls does not help.
Interestingly, the issue does _not_ appear in the latest maverick.

ldd /usr/bin/convert output:
linux-gate.so.1 =>  (0xb78e2000) 
libMagickCore.so.2 => /usr/lib/libMagickCore.so.2 (0xb76a3000) 
libMagickWand.so.2 => /usr/lib/libMagickWand.so.2 (0xb758e000) 
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb755a000) 
libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb74fe000) 
libc.so.6 => /lib/tls/i686/nosegneg/libc.so.6 (0xb73a) 
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb732a000) 
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7309000) 
libXext.so.6 => /usr/lib/libXext.so.6 (0xb72f9000) 
libXt.so.6 => /usr/lib/libXt.so.6 (0xb72a5000) 
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7293000) 
libz.so.1 => /lib/libz.so.1 (0xb727e000) 
libpthread.so.0 => /lib/tls/i686/nosegneg/libpthread.so.0 
(0xb7265000) 
libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb725c000) 
libdl.so.2 => /lib/tls/i686/nosegneg/libdl.so.2 (0xb7258000) 
libSM.so.6 => /usr/lib/libSM.so.6 (0xb724e000) 
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7235000) 
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7118000) 
libgomp.so.1 => /usr/lib/libgomp.so.1 (0xb710a000) 
libm.so.6 => /lib/tls/i686/nosegneg/libm.so.6 (0xb70e4000) 
/lib/ld-linux.so.2 (0xb78e3000) 
libuuid.so.1 => /lib/libuuid.so.1 (0xb70de000) 
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb70c4000) 
librt.so.1 => /lib/tls/i686/nosegneg/librt.so.1 (0xb70bb000) 
libXau.so.6 => /usr/lib/libXau.so.6 (0xb70b7000) 
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb70b1000) 


Any ideas? I would prefer to avoid upgrading to maverick because of this.

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-14 Thread Scott Moser
** Also affects: vmbuilder
   Importance: Undecided
   Status: New

** Also affects: vm-builder (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: vm-builder (Ubuntu Karmic)
   Importance: Undecided => High

** Changed in: vm-builder (Ubuntu Karmic)
 Assignee: (unassigned) => Scott Moser (smoser)

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-14 Thread Scott Moser
I've just tested on ami-a40fefcd , which uses the kernel in question
that installing libc6-xen fixes this problem in ec2.

I booted the instance, then 'apt-get update && apt-get install
libc6-xen'.  After a reboot, I have:

$ uname -r
2.6.31-300-ec2
$ dpkg -l "libc6*" | grep ^ii
ii  libc6   2.10.1-0ubuntu11  GNU C Library: Shared libraries
ii  libc6-i686  2.10.1-0ubuntu11  GNU C Library: Shared libraries [i686 optimi
ii  libc6-xen   2.10.1-0ubuntu11  GNU C Library: Shared libraries [Xen version
$ ldd /bin/bash
linux-gate.so.1 =>  (0xb7ef6000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7eb5000)
libdl.so.2 => /lib/libdl.so.2 (0xb7eb1000)
libc.so.6 => /lib/libc.so.6 (0xb7d54000)
/lib/ld-linux.so.2 (0xb7ef7000)
$ dmesg | grep "\*\*.*WARN" || echo "no warnings"
no warnings
$ time perl -e 'glob("xxx*")'
real0m0.007s
user0m0.000s
sys 0m0.000s

Steve successfully debugged that /etc/ld.so.nohwcap existed and was
causing the problems.  After removal of that file and 'ldconfig', a ldd
/bin/bash will show 'libc.so.6 => /lib/tls/i686/nosegneg/libc.so.6'

** Changed in: eglibc (Ubuntu Karmic)
   Status: Fix Released => In Progress

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-toolchain/glibc/eglibc-2.10-pkg

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-14 Thread Steve Langasek
** Changed in: eglibc (Ubuntu Karmic)
   Status: In Progress => Fix Committed

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-14 Thread Launchpad Bug Tracker
This bug was fixed in the package eglibc - 2.10.1-0ubuntu12

---
eglibc (2.10.1-0ubuntu12) karmic; urgency=low

  [ Steve Langasek ]
  * Restore missing depends/conflicts/replaces handling for findutils and
belocs-locales-bin, lost in the latest merge.
  * Move ldconfig trigger handling to libc-bin postinst, since that's where
ldconfig and the trigger are actually located.
  * Drop debian/local/etc_init.d from the source, which is no longer shipped
in the package having been dropped in Debian
  * debian/rules.d/debhelper.mk: revert breakage from Debian experimental;
pulling in file substitutions from script.in has to happen before
substituting other tokens, since script.in/nohwcap.sh contains other
tokens that have to be replaced. LP: #427288.

  [ Matthias Klose ]
  * Don't apply hppa patches, don't apply
any/local-linuxthreads-kill_other.diff.

 -- Steve LangasekMon, 14 Sep 2009
16:16:10 -0700

** Changed in: eglibc (Ubuntu Karmic)
   Status: Fix Committed => Fix Released

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-15 Thread Scott Moser
I tested this on ami-a40fefcd (alpha5.1)

I verified that before  install of libc6-xen, ldd reports bash to be
using /lib/tls/i686/cmov/libc.so.6 . after install, it shows
/lib/tls/i686/nosegneg/libdl.so.2.

However, after a reboot, I still see the message.  I suspect this is
coming from initrd, or some early boot, and not used after that.

See attachment for a log of testing/verification.

** Attachment added: "bug427288-verify.txt"
   http://launchpadlibrarian.net/31842535/bug427288-verify.txt

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-15 Thread Scott Moser
Because of the state of the archive, I can't test it right now, but the
patch we need to vmbuilder is

--- VMBuilder/plugins/ubuntu/karmic.py.orig 2009-09-15 16:09:51.0 
-0400
+++ VMBuilder/plugins/ubuntu/karmic.py  2009-09-15 16:09:57.0 -0400
@@ -27,9 +27,10 @@ class Karmic(Jaunty):
 self.vm.addpkg += ['ec2-init',
   'openssh-server',
   'standard^',
   'ec2-ami-tools',
-  'update-motd']
+  'update-motd',
+  'libc6-xen']
 
 def update_passwords(self):
 # Set the user password, using using defaults from /etc/login.defs 
(ie, no need to specify '-m')
 self.run_in_target('chpasswd', stdin=('%s:%s\n' % (self.vm.user, 
getattr(self.vm, 'pass'


** Changed in: vm-builder (Ubuntu Karmic)
   Status: New => In Progress

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-15 Thread Scott Moser
flipping this back to fix-committed.  I'll mark fix-released when we get
a build output with libc6-xen in it.

** Changed in: vm-builder (Ubuntu Karmic)
   Status: Fix Released => Fix Committed

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-15 Thread Scott Moser
 Never mind. I manually merged them.
 And pushed them to nectarine.

"them" is in reference to [1] and [2], which fixes bug 420581 and this
one (bug 427288) respectively.  The next nightly builds at [3] should
have libc6-xen in them.

[1] http://bazaar.launchpad.net/~ubuntu-virt/vmbuilder/trunk/revision/338
[2] http://bazaar.launchpad.net/~ubuntu-virt/vmbuilder/trunk/revision/339
[3] http://uec-images.ubuntu.com/karmic/

** Changed in: vm-builder (Ubuntu Karmic)
   Status: In Progress => Fix Released

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-18 Thread Eric Hammond
** Changed in: vmbuilder
   Status: New => Invalid

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-21 Thread Scott Moser
** Changed in: vmbuilder
   Status: Invalid => Fix Committed

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-22 Thread Scott Moser
For the hopefully final record, the images do indeed still show a
warning like above, but it is only for bug dbus programs (bug 432718).

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-25 Thread Scott Moser
This is fixed in 0.11.1-0ubuntu1.

** Changed in: vm-builder (Ubuntu Karmic)
   Status: Fix Released => Fix Committed

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-25 Thread Steve Langasek
** Changed in: vmbuilder
   Status: Fix Committed => Fix Released

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-25 Thread Steve Langasek
dbus has been fixed; the only required vmbuilder change was made long
ago, so closing this out.

** Changed in: vm-builder (Ubuntu Karmic)
   Status: Fix Committed => Fix Released

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-25 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu-seeds/ubuntu.karmic

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-09-25 Thread Steve Langasek
** Changed in: vm-builder (Ubuntu Karmic)
   Status: Fix Committed => Fix Released

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2009-12-27 Thread Shlomo
I'm running the Canonical base Karmic 32-bit AMI-1515f67c in EC2.

I get this in /var/log/syslog from boot:

Dec 27 12:57:29 ubuntu kernel: [7.011383]   
***
Dec 27 12:57:29 ubuntu kernel: [7.011388]   
***
Dec 27 12:57:29 ubuntu kernel: [7.011392]   ** WARNING: Currently emulating 
unsupported memory accesses  **
Dec 27 12:57:29 ubuntu kernel: [7.011396]   **  in /lib/tls glibc 
libraries. The emulation is**
Dec 27 12:57:29 ubuntu kernel: [7.011400]   **  slow. To ensure 
full performance you should  **
Dec 27 12:57:29 ubuntu kernel: [7.011404]   **  install a 
'xen-friendly' (nosegneg) version of   **
Dec 27 12:57:29 ubuntu kernel: [7.011408]   **  the library, or 
disable tls support by executing **
Dec 27 12:57:29 ubuntu kernel: [7.011412]   **  the following as 
root:   **
Dec 27 12:57:29 ubuntu kernel: [7.011415]   **  mv /lib/tls 
/lib/tls.disabled**
Dec 27 12:57:29 ubuntu kernel: [7.011420]   ** Offending process: apache2 
(pid=929)  **
Dec 27 12:57:29 ubuntu kernel: [7.011424]   
***
Dec 27 12:57:29 ubuntu kernel: [7.011428]   
***

Should this be fixed in this AMI?

And, how can I tell what fixes have made it into each AMI?

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2010-01-01 Thread Scott Moser
Shlomo,
  Please see comment 21 above.  You'll see the warning, but it will only affect 
dbus programs.

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 427288] Re: Karmic i386 EC2 kernel emulating unsupported memory accesses

2010-06-30 Thread Greg Coit
** Also affects: pantheon
   Importance: Undecided
   Status: New

-- 
Karmic i386 EC2 kernel emulating unsupported memory accesses
https://bugs.launchpad.net/bugs/427288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs