[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

[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 Bugs, which is subscribed to Ubuntu. -- ubuntu-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 Bugs, which is subsc

[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]

[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 Bugs, which is subscribed to Ubuntu.

[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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs maili

[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 Bugs, which is subscribed to Ubuntu. -- ubuntu-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 Bu

[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 receiv

[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 memb

[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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs maili

[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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ub

[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/427

[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/rev

[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(Jau

[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

[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 hand

[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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing l

[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 Bugs, which is subscribed to Ubuntu. --

[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.1

[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)

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

2009-09-11 Thread Steve Langasek
The eglibc side of this bug is fixed (or should be - the package just finished building on the buildds and looks correct, now it's a matter of testing that it all works together). To fix it in the EC2 images, the build will need to be updated to pull in both libc6-i686 and libc6-xen by default; I

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

2009-09-11 Thread Eric Hammond
https://bugs.launchpad.net/ubuntu/jaunty/+source/glibc/+bug/246625 talks about the kernel version where it changed from "hwcap 0 nosegneg" to "hwcap 1 nosegneg" along with other things which sound important and may or may not be related to this issue. The current bug has been marked "Fix Released"

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

2009-09-11 Thread Launchpad Bug Tracker
This bug was fixed in the package eglibc - 2.10.1-0ubuntu9 --- eglibc (2.10.1-0ubuntu9) karmic; urgency=low * debian/sysdeps/i386.mk: cherrypick fix from Debian, lost somewhere along the way, that prevents /etc/ld.so.conf.d/xen.conf being added to the libc6-xen package. LP:

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

2009-09-11 Thread Steve Langasek
** Package changed: linux (Ubuntu Karmic) => eglibc (Ubuntu Karmic) ** Changed in: eglibc (Ubuntu Karmic) Assignee: John Johansen (jjohansen) => Steve Langasek (vorlon) -- Karmic i386 EC2 kernel emulating unsupported memory accesses https://bugs.launchpad.net/bugs/427288 You received this b

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

2009-09-11 Thread Steve Langasek
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499366 suggests that the problem may be that this should be 'hwcap 1 nosegneg', not 'hwcap 0 nosegneg'. The libc6-xen package is supposed to ship the file ./etc/ld.so.conf.d/libc6-xen.conf. The Ubuntu package is missing this file. ** Bug watch add

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

2009-09-11 Thread Steve Langasek
current arch/x86/vdso/vdso32/note.S in linux-ec2 is doing this instead: ELFNOTE_START(GNU, 2, "a") .long 1 /* ncaps */ #ifdef CONFIG_PARAVIRT_XEN VDSO32_NOTE_MASK: /* Symbol used by arch/x86/xen/setup.c */ .long 0 /* mask */ #else

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

2009-09-11 Thread Steve Langasek
Explanation of how the 'nosegneg' hwcap is supposed to work is found here: http://lkml.org/lkml/2007/4/24/3 Upstream patch is here: http://lkml.org/lkml/2007/4/23/339 >From my testing, the linux-ec2 kernel does *not* set this hwcap in its vdso, therefore there's nothing to tell ld.so to use the

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

2009-09-11 Thread Matt Zimmerman
On Fri, Sep 11, 2009 at 08:13:57PM -, Eric Hammond wrote: > I may be biased (ok yes, I am biased) but it seems to me that if Xen > needs to be configured differently than KVM, then it should be and we > should be building separate images for EC2 and UEC. The EC2 images for > Ubuntu should be t

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

2009-09-11 Thread Eric Hammond
The xen-divert-tls-libc solution requires the user to know that special tweaking has been done to the system and causes problems in certain libc6 upgrades which require specialized manual intervention not necessary on standard Ubuntu. Remember that "upgrade" is a common practice when running EC2 i

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

2009-09-11 Thread Eric Hammond
I may be biased (ok yes, I am biased) but it seems to me that if Xen needs to be configured differently than KVM, then it should be and we should be building separate images for EC2 and UEC. The EC2 images for Ubuntu should be the best EC2 images possible without compromise. I can understand the

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

2009-09-11 Thread Scott Moser
some more information on the same system described above, doing additional things removes the warning: $ echo 'hwcap 0 nosegneg' | sudo tee -a /etc/ld.so.conf.d/libc6-xen.conf $ sudo ldconfig $ sudo apt-get --purge remove libc6-i686 Eric pointed at - http://groups.google.com/group/ec2ubuntu/b

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

2009-09-11 Thread Scott Moser
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 [l

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

2009-09-11 Thread Scott Moser
The next thing to be done here is to test if this bug is fixed with libc6-xen (http://packages.ubuntu.com/karmic/libc6-xen). I will test that. libc6-xen depends on libc6 and says "will be selected instead when running under Xen. " . Hopefully that means no negative affect if this package is inst

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

2009-09-11 Thread Matt Zimmerman
** Changed in: linux (Ubuntu Karmic) Status: New => Triaged -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mai

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

2009-09-11 Thread Scott Moser
>From Eric Hammond: | I ended up with the following code when I build images for EC2; | not sure if it fixes the bug just mentioned: | http://paste.ubuntu.com/268982/ |> chroot $imagedir apt-get install -y libc6-xen |> echo 'hwcap 0 nosegneg' > $imagedir/etc/ld.so.conf.d/libc6-xen.conf |>

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

2009-09-11 Thread Steve Langasek
** Also affects: linux (Ubuntu Karmic) Importance: Undecided Assignee: John Johansen (jjohansen) Status: New ** Changed in: linux (Ubuntu Karmic) Milestone: None => ubuntu-9.10-beta ** Changed in: linux (Ubuntu Karmic) Importance: Undecided => High -- Karmic i386 EC2 kerne

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

2009-09-11 Thread Scott Moser
** Tags added: ec2-images -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com ht

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

2009-09-10 Thread John Johansen
This appears to have 2 potential fixes. 1. is a kernel patch that disables fixup_4gb_segment in the kernel (attached) 2. is having glibc built with -mno-tls-direct-seg-refs Some relevant links with more information on this. http://wiki.xensource.com/xenwiki/XenSpecificGlibc http://wiki.xensourc