Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424577 - sys-libs/glibc corei7-avr inside a app-emulation/xen domU - illegal opcode in libc
Summary: sys-libs/glibc corei7-avr inside a app-emulation/xen domU - illegal opcode in...
Status: RESOLVED DUPLICATE of bug 433884
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 01:21 UTC by Robert White
Modified: 2012-09-25 19:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info as requested (file_424577.txt,28.29 KB, text/plain)
2012-07-04 19:36 UTC, Robert White
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert White 2012-07-03 01:21:29 UTC
I have received a new work laptop with a corei7 sandybridge chipset (and then rebuilt world with -march=native) and now I get an illegal opcode fault in glibc when starting under xen (no problems booting the same kernel and initrd and system without xen).

I've seen several threads that report this to be an upstream problem with glibc's runtime detection or some such involving some of the avr operations (e.g. XSTOR or something like that).

Is this going to be addressed in gentoo?
Comment 1 Robert White 2012-07-03 01:23:53 UTC
Forgot to mention/set this is an AMD64 ARCH (64 bit multilib) problem.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-03 17:47:00 UTC
1) Please post your `emerge --info' output in a comment.
2) Please provide the command command line, command output and gdb backtrace of the program causing the SIGILL.
Comment 3 Marcel Pennewiß 2012-07-04 17:49:19 UTC
seems to be the same as in bug #402753?
Comment 4 Robert White 2012-07-04 19:36:34 UTC
Created attachment 317165 [details]
emerge --info as requested

I have attached emerge --info as requested.

I suspect the program running at the time is /bin/bash (non statically linked). The kernel is reporting the program as "/init" which is the boot script from the initramfs image.

The initramfs image I am using is the one generated by http://underdog.sourceforge.com which is (my soruceforge project, so I know that this is) the bash script in prototype/init from that project.

I know this is non-statically linked because that is part of the point of underdog. 8-).

I am trying to figure out how to get a core dump from early user context into any rational place where I can gdb it.  (Any ideas there?)
Comment 5 Robert White 2012-07-04 19:38:11 UTC
er... http://underdog.sourceforge.net (doh, typing too fast. 8-)
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-07 17:04:26 UTC
(In reply to comment #3)
> seems to be the same as in bug #402753?

That Summary seems to say it's about a kernel panic, and this is about a segmentation fault in glibc...
Comment 7 SpanKY gentoo-dev 2012-07-07 22:48:17 UTC
Comment on attachment 317165 [details]
emerge --info as requested

this isn't `emerge --info` ...
Comment 8 SpanKY gentoo-dev 2012-07-07 22:48:37 UTC
post /proc/cpuinfo and the output of running:
  gcc -march=native - -E -dD -P - </dev/null

do this inside & outside of the xen system
Comment 9 Marcel Pennewiß 2012-07-08 09:35:15 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > seems to be the same as in bug #402753?
> 
> That Summary seems to say it's about a kernel panic, and this is about a
> segmentation fault in glibc...

Please have a look at the screenshots attached in this bug...
Comment 10 SpanKY gentoo-dev 2012-07-09 12:33:54 UTC
there are no screenshots attached to this bug.  guess you meant bug 402753.
Comment 11 Norbert Marx 2012-07-09 19:30:05 UTC
may be the CFLAG -mno-avx help, but this problem is fixed in unstable upstream.
Comment 12 SpanKY gentoo-dev 2012-09-25 19:45:09 UTC

*** This bug has been marked as a duplicate of bug 433884 ***