[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
Yeah, upstart never actually used the threading features of libnih - it made sense to permit disabling it since it makes the binary smaller/faster ** Changed in: xen-source (Ubuntu) Status: Needs Info = Fix Released -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
A recent update in upstart (0.3.8-1) disabled the use of thread (and thus of __thread). I can confirm the 4gb fixup warning does not fire anymore for init and logd (I've disabled the patch in latest xen-source which hides the warning) -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
I'm re-affecting this bug here to be sure it will not be abandonned and it gets a sufficient audience. Can someone confirm : - he or she is experiencing the same problem (if using xen 3.0.3, there should be only one fat tls warning without the name of the process, not plenty of seg fixup warning) - the problem does not shows up with non upstarted distros (this can be checked in domUs) - the problem does not shows up with upstart rebuilt with -mno-tls-direct-seg-ref - the problem does not shows up for any other processes then upstart ones ** Changed in: upstart (Ubuntu) Sourcepackagename: upstart = xen-3.0 Assignee: (unassigned) = Cedric Schieli Status: Rejected = Needs Info -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
That's just silly, sorry. I'm rejecting this as an Upstart bug ** Changed in: upstart (Ubuntu) Status: Confirmed = Rejected -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
Have you installed libc6-xen? ** Changed in: xen-3.0 (Ubuntu) Assignee: Cedric Schieli = ChuckShort -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
Yes, libc6-xen (2.5-0ubuntu11) is installed. There is absolutely no problem for processes other than those from upstart (precisely init and logd). If I uninstall libc6-xen, I have plenty of fixup warning for apt-get (for example), none with libc6-xen installed. With standard upstart (0.3.5-2) and libc6-xen : [184425.327059] 4gb seg fixup, process init (pid 1), cs:ip 73:0805565e [184425.327070] 4gb seg fixup, process init (pid 1), cs:ip 73:b7e7a146 [184425.327149] 4gb seg fixup, process init (pid 1), cs:ip 73:0805565e [184425.327154] 4gb seg fixup, process init (pid 1), cs:ip 73:b7ed9ee0 [184425.331306] 4gb seg fixup, process init (pid 1), cs:ip 73:08057a53 [184425.331315] 4gb seg fixup, process init (pid 1), cs:ip 73:b7e7a146 [184425.331321] 4gb seg fixup, process init (pid 1), cs:ip 73:08057a6c [184425.331326] 4gb seg fixup, process init (pid 1), cs:ip 73:b7e7a146 [184425.331332] 4gb seg fixup, process init (pid 1), cs:ip 73:08057ab4 [184425.331337] 4gb seg fixup, process init (pid 1), cs:ip 73:b7e7a146 Those messages just vanish with my rebuilt upstart (0.3.5-2sdrik1) -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
Nothing to do with upstart everything to do with the kernel. Will be fixed in the next upload. ** Changed in: xen-3.0 (Ubuntu) Sourcepackagename: xen-3.0 = xen-source -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
Glad to hear this. Can you explain what kind of problem is in the kernel ? (I have same behaviour with kernels derived from other sources) -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
Frankly, this sounds like a Xen problem. I shouldn't need random C flags just for something plain to work on Xen ** Changed in: upstart (Ubuntu) Sourcepackagename: upstart = xen -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
Yes, this is a well known Xen (upstream) problem, but the only (well known) solution is clearly to build code that uses the __thread attribute with the no-tls-direct-seg-ref flag (see http://wiki.xensource.com/xenwiki/XenSpecificGlibc). That's why even glibc provides a libc6-xen. So, the solution to our problem is either compile upstart with this flag (to provide an alternative upstart-xen package), or get rid of the __thread attribute (relying on glibc for tls) and include libc6-xen in initramfs when needed. I don't want to start a re-affect war but this cannot be fixed without upstart's help (and also initramfs-tools) ** Changed in: xen (Ubuntu) Sourcepackagename: xen = upstart -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 77972] Re: mkinitramfs does not bulid a xen-friendly initrd
I've tracked down this problem to upstart. With xen-3.0.4, I have a lot of kernel messages like this : 4gb seg fixup, process init (pid 1), cs:ip 73:08051546 4gb seg fixup, process logd (pid 2429), cs:ip 73:0804b0da The only processes generating such warnings are init and logd, both of which come from the upstart package. By recompiling upstart with CFLAGS=-mno-tls-direct-seg-ref those messages disapeared. I don't know if it is the proper way of fixing this, but it WorksForMe(tm) I attach a debdiff against upstart 0.3.1-1 (from Feisty) The packages are available in my Xen 3.0.4 for Feisty repository : deb http://cedric.gabriello.fr/ubuntu feisty xen deb-src http://cedric.gabriello.fr/ubuntu feisty xen ** Attachment added: upstart debdiff http://librarian.launchpad.net/6387494/upstart_0.3.1-1sdrik1.debdiff ** Changed in: initramfs-tools (Ubuntu) Sourcepackagename: initramfs-tools = upstart Status: Unconfirmed = Confirmed -- mkinitramfs does not bulid a xen-friendly initrd https://launchpad.net/bugs/77972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs