public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] "Illegal instruction" error
@ 2010-10-11 20:39 Alan McKinnon
  2010-10-11 21:02 ` Mark Knecht
  2010-10-11 21:24 ` Daniel Pielmeier
  0 siblings, 2 replies; 12+ messages in thread
From: Alan McKinnon @ 2010-10-11 20:39 UTC (permalink / raw
  To: gentoo-user

Uh-oh.

genlop started failing today with the mysterious error "Illegal instruction", 
and it's consistent - every time. That's all the message, nothing else:

$ genlop -t portage
Illegal instruction

Now emerge dbus-glib fails similarly:

/bin/sh: line 21:  1084 Illegal instruction     /usr/bin/gtkdoc-rebase --
relative --dest-dir=/var/tmp/portage/dev-libs/dbus-glib-0.88/image/ --html-
dir=${installdir}


I don't really know where to start looking.....
I just know Google is going to give me millions of useless hits with that 
search, but I'll hope over to b.g.o. meanwhile and poke around unless someone 
else has a better idea.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 20:39 [gentoo-user] "Illegal instruction" error Alan McKinnon
@ 2010-10-11 21:02 ` Mark Knecht
  2010-10-11 22:21   ` Alan McKinnon
  2010-10-11 21:24 ` Daniel Pielmeier
  1 sibling, 1 reply; 12+ messages in thread
From: Mark Knecht @ 2010-10-11 21:02 UTC (permalink / raw
  To: gentoo-user

On Mon, Oct 11, 2010 at 1:39 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> Uh-oh.
>
> genlop started failing today with the mysterious error "Illegal instruction",
> and it's consistent - every time. That's all the message, nothing else:
>
> $ genlop -t portage
> Illegal instruction
>
> Now emerge dbus-glib fails similarly:
>
> /bin/sh: line 21:  1084 Illegal instruction     /usr/bin/gtkdoc-rebase --
> relative --dest-dir=/var/tmp/portage/dev-libs/dbus-glib-0.88/image/ --html-
> dir=${installdir}
>
>
> I don't really know where to start looking.....
> I just know Google is going to give me millions of useless hits with that
> search, but I'll hope over to b.g.o. meanwhile and poke around unless someone
> else has a better idea.

Alan,
   Consider (if possible - is this a desktop or some in service
server?) powering down your machine, reseating your memory DIMMs,
powering back up and if possible running memtest86 (assuming it's an
x86 machine) and then seeing if the error goes away.

   I've run into this a couple of times when memory problems have appeared.

Good luck and best wishes,
Mark



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 20:39 [gentoo-user] "Illegal instruction" error Alan McKinnon
  2010-10-11 21:02 ` Mark Knecht
@ 2010-10-11 21:24 ` Daniel Pielmeier
  2010-10-11 22:26   ` Alan McKinnon
  1 sibling, 1 reply; 12+ messages in thread
From: Daniel Pielmeier @ 2010-10-11 21:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

Alan McKinnon schrieb am 11.10.2010 22:39:
> Uh-oh.
> 
> genlop started failing today with the mysterious error "Illegal instruction", 
> and it's consistent - every time. That's all the message, nothing else:
> 
> $ genlop -t portage
> Illegal instruction
> 
> Now emerge dbus-glib fails similarly:
> 
> /bin/sh: line 21:  1084 Illegal instruction     /usr/bin/gtkdoc-rebase --
> relative --dest-dir=/var/tmp/portage/dev-libs/dbus-glib-0.88/image/ --html-
> dir=${installdir}
> 
> 
> I don't really know where to start looking.....
> I just know Google is going to give me millions of useless hits with that 
> search, but I'll hope over to b.g.o. meanwhile and poke around unless someone 
> else has a better idea.
> 
> 

Google has something to say about this.

Recently changed CFLAGS.
Wrong CFLAGS.
Compiler has problems with march native.
Glibc corruption.

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 21:02 ` Mark Knecht
@ 2010-10-11 22:21   ` Alan McKinnon
  2010-10-11 22:57     ` Mark Knecht
  0 siblings, 1 reply; 12+ messages in thread
From: Alan McKinnon @ 2010-10-11 22:21 UTC (permalink / raw
  To: gentoo-user; +Cc: Mark Knecht

Apparently, though unproven, at 23:02 on Monday 11 October 2010, Mark Knecht 
did opine thusly:

> On Mon, Oct 11, 2010 at 1:39 PM, Alan McKinnon <alan.mckinnon@gmail.com> 
wrote:
> > Uh-oh.
> > 
> > genlop started failing today with the mysterious error "Illegal
> > instruction", and it's consistent - every time. That's all the message,
> > nothing else:
> > 
> > $ genlop -t portage
> > Illegal instruction
> > 
> > Now emerge dbus-glib fails similarly:
> > 
> > /bin/sh: line 21:  1084 Illegal instruction     /usr/bin/gtkdoc-rebase --
> > relative --dest-dir=/var/tmp/portage/dev-libs/dbus-glib-0.88/image/
> > --html- dir=${installdir}
> > 
> > 
> > I don't really know where to start looking.....
> > I just know Google is going to give me millions of useless hits with that
> > search, but I'll hope over to b.g.o. meanwhile and poke around unless
> > someone else has a better idea.
> 
> Alan,
>    Consider (if possible - is this a desktop or some in service
> server?) powering down your machine, reseating your memory DIMMs,
> powering back up and if possible running memtest86 (assuming it's an
> x86 machine) and then seeing if the error goes away.
> 
>    I've run into this a couple of times when memory problems have appeared.


Yes, that was it - memtest failed almost immediately. It's my notebook, with 
2 x 2G memory banks - either one in either position works fine. With both, 
memtest fails and always at the same place - step 48 of whatever.

So I guess it's the motherboard and I'll be calling Dell Support in the 
morning. Am I glad the company insists we buy 3 year next-day on-site 
corporate support for all hardware right now? You betcha!


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 21:24 ` Daniel Pielmeier
@ 2010-10-11 22:26   ` Alan McKinnon
  2010-10-11 22:40     ` Daniel Pielmeier
  2010-10-11 23:06     ` Iain Buchanan
  0 siblings, 2 replies; 12+ messages in thread
From: Alan McKinnon @ 2010-10-11 22:26 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 23:24 on Monday 11 October 2010, Daniel 
Pielmeier did opine thusly:

> Alan McKinnon schrieb am 11.10.2010 22:39:
> > Uh-oh.
> > 
> > genlop started failing today with the mysterious error "Illegal
> > instruction", and it's consistent - every time. That's all the message,
> > nothing else:
> > 
> > $ genlop -t portage
> > Illegal instruction
> > 
> > Now emerge dbus-glib fails similarly:
> > 
> > /bin/sh: line 21:  1084 Illegal instruction     /usr/bin/gtkdoc-rebase --
> > relative --dest-dir=/var/tmp/portage/dev-libs/dbus-glib-0.88/image/
> > --html- dir=${installdir}
> > 
> > 
> > I don't really know where to start looking.....
> > I just know Google is going to give me millions of useless hits with that
> > search, but I'll hope over to b.g.o. meanwhile and poke around unless
> > someone else has a better idea.
> 
> Google has something to say about this.
> 
> Recently changed CFLAGS.
> Wrong CFLAGS.
> Compiler has problems with march native.
> Glibc corruption.


It's none of those apparently. I checked CFLAGS set by the ebuild in the 
emerge log before posting and they looked fine. gcc was last updated a month 
ago and the machine gets updated almost daily. 

glibc seems possible but it's a moot point, especially as after investigating 
memory at Mark's suggestion, genlop runs fine now, world updates successfully 
and 2 ./configure errors about aclocal (that I didn't even mention before) 
have gone away.

I should probably start treating this poor machine more like a notebook and 
less like a high performance machine - running flat out almost 24/7 is 
probably outside of it's design spec :-)


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 22:26   ` Alan McKinnon
@ 2010-10-11 22:40     ` Daniel Pielmeier
  2010-10-11 22:58       ` Alan McKinnon
  2010-10-11 23:06     ` Iain Buchanan
  1 sibling, 1 reply; 12+ messages in thread
From: Daniel Pielmeier @ 2010-10-11 22:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

Alan McKinnon schrieb am 12.10.2010 00:26:
> 
> It's none of those apparently. I checked CFLAGS set by the ebuild in the 
> emerge log before posting and they looked fine. gcc was last updated a month 
> ago and the machine gets updated almost daily. 
> 
> glibc seems possible but it's a moot point, especially as after investigating 
> memory at Mark's suggestion, genlop runs fine now, world updates successfully 
> and 2 ./configure errors about aclocal (that I didn't even mention before) 
> have gone away.
> 
> I should probably start treating this poor machine more like a notebook and 
> less like a high performance machine - running flat out almost 24/7 is 
> probably outside of it's design spec :-)
> 

Glad the reason for your problem was found. Time make use of Dell's NBD
support then :)

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 22:21   ` Alan McKinnon
@ 2010-10-11 22:57     ` Mark Knecht
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Knecht @ 2010-10-11 22:57 UTC (permalink / raw
  To: Alan McKinnon; +Cc: gentoo-user

On Mon, Oct 11, 2010 at 3:21 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> Apparently, though unproven, at 23:02 on Monday 11 October 2010, Mark Knecht
> did opine thusly:
>
>> On Mon, Oct 11, 2010 at 1:39 PM, Alan McKinnon <alan.mckinnon@gmail.com>
> wrote:
>> > Uh-oh.
>> >
>> > genlop started failing today with the mysterious error "Illegal
>> > instruction", and it's consistent - every time. That's all the message,
>> > nothing else:
>> >
>> > $ genlop -t portage
>> > Illegal instruction
>> >
>> > Now emerge dbus-glib fails similarly:
>> >
>> > /bin/sh: line 21:  1084 Illegal instruction     /usr/bin/gtkdoc-rebase --
>> > relative --dest-dir=/var/tmp/portage/dev-libs/dbus-glib-0.88/image/
>> > --html- dir=${installdir}
>> >
>> >
>> > I don't really know where to start looking.....
>> > I just know Google is going to give me millions of useless hits with that
>> > search, but I'll hope over to b.g.o. meanwhile and poke around unless
>> > someone else has a better idea.
>>
>> Alan,
>>    Consider (if possible - is this a desktop or some in service
>> server?) powering down your machine, reseating your memory DIMMs,
>> powering back up and if possible running memtest86 (assuming it's an
>> x86 machine) and then seeing if the error goes away.
>>
>>    I've run into this a couple of times when memory problems have appeared.
>
>
> Yes, that was it - memtest failed almost immediately. It's my notebook, with
> 2 x 2G memory banks - either one in either position works fine. With both,
> memtest fails and always at the same place - step 48 of whatever.
>
> So I guess it's the motherboard and I'll be calling Dell Support in the
> morning. Am I glad the company insists we buy 3 year next-day on-site
> corporate support for all hardware right now? You betcha!
>

Not glad for the problem but glad I could help.

Best wishes getting it fixed fast and back on your lap.

Cheers,
Mark



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 22:40     ` Daniel Pielmeier
@ 2010-10-11 22:58       ` Alan McKinnon
  2010-10-11 23:08         ` Dale
  0 siblings, 1 reply; 12+ messages in thread
From: Alan McKinnon @ 2010-10-11 22:58 UTC (permalink / raw
  To: gentoo-user; +Cc: Daniel Pielmeier

Apparently, though unproven, at 00:40 on Tuesday 12 October 2010, Daniel 
Pielmeier did opine thusly:

> Alan McKinnon schrieb am 12.10.2010 00:26:
> > It's none of those apparently. I checked CFLAGS set by the ebuild in the
> > emerge log before posting and they looked fine. gcc was last updated a
> > month ago and the machine gets updated almost daily.
> > 
> > glibc seems possible but it's a moot point, especially as after
> > investigating memory at Mark's suggestion, genlop runs fine now, world
> > updates successfully and 2 ./configure errors about aclocal (that I
> > didn't even mention before) have gone away.
> > 
> > I should probably start treating this poor machine more like a notebook
> > and less like a high performance machine - running flat out almost 24/7
> > is probably outside of it's design spec :-)
> 
> Glad the reason for your problem was found. Time make use of Dell's NBD
> support then :)


:-)

This is what happens with modern reliable hardware - I should have gone for 
the memory as the very very first step. It's been so long since I've had to 
deal with dodgy memory on anything, it just didn't occur to me....

I was ready to start looking for weird flags using weird cpu instructions.



-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 22:26   ` Alan McKinnon
  2010-10-11 22:40     ` Daniel Pielmeier
@ 2010-10-11 23:06     ` Iain Buchanan
  1 sibling, 0 replies; 12+ messages in thread
From: Iain Buchanan @ 2010-10-11 23:06 UTC (permalink / raw
  To: gentoo-user

On Tue, 2010-10-12 at 00:26 +0200, Alan McKinnon wrote:

> glibc seems possible

glibc is my cause of illegal instructions atm, although I haven't tried
memtest...

> I should probably start treating this poor machine more like a notebook and 
> less like a high performance machine - running flat out almost 24/7 is 
> probably outside of it's design spec :-)

naaah.  Flog it.  If it can't handle it, it's a design fault ;)

-- 
Iain Buchanan <iaindb at netspace dot net dot au>

"It ain't over until it's over."
-- Casey Stengel




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 22:58       ` Alan McKinnon
@ 2010-10-11 23:08         ` Dale
  2010-10-11 23:53           ` Alan McKinnon
  0 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2010-10-11 23:08 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> Apparently, though unproven, at 00:40 on Tuesday 12 October 2010, Daniel
> Pielmeier did opine thusly:
>
> :-)
>
> This is what happens with modern reliable hardware - I should have gone for
> the memory as the very very first step. It's been so long since I've had to
> deal with dodgy memory on anything, it just didn't occur to me....
>
> I was ready to start looking for weird flags using weird cpu instructions.
>
>    

Glad to know I am not the only one to miss the obvious from time to 
time.  lol

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 23:08         ` Dale
@ 2010-10-11 23:53           ` Alan McKinnon
  2010-10-12  6:29             ` Daniel Pielmeier
  0 siblings, 1 reply; 12+ messages in thread
From: Alan McKinnon @ 2010-10-11 23:53 UTC (permalink / raw
  To: gentoo-user; +Cc: Dale

Apparently, though unproven, at 01:08 on Tuesday 12 October 2010, Dale did 
opine thusly:

> Alan McKinnon wrote:
> > Apparently, though unproven, at 00:40 on Tuesday 12 October 2010, Daniel
> > 
> > Pielmeier did opine thusly:
> > :-)
> > 
> > This is what happens with modern reliable hardware - I should have gone
> > for the memory as the very very first step. It's been so long since I've
> > had to deal with dodgy memory on anything, it just didn't occur to
> > me....
> > 
> > I was ready to start looking for weird flags using weird cpu
> > instructions.
> 
> Glad to know I am not the only one to miss the obvious from time to
> time.  lol


To top it off, I missed the obvious three other times today, all completely 
different.....

I blame it on the 'flu. OK, it's a head cold. Everyone in Joburg has a head 
cold all the time. Mine just got much worse for a few days



-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] "Illegal instruction" error
  2010-10-11 23:53           ` Alan McKinnon
@ 2010-10-12  6:29             ` Daniel Pielmeier
  0 siblings, 0 replies; 12+ messages in thread
From: Daniel Pielmeier @ 2010-10-12  6:29 UTC (permalink / raw
  To: gentoo-user

2010/10/12 Alan McKinnon <alan.mckinnon@gmail.com>:
>
> To top it off, I missed the obvious three other times today, all completely
> different.....

It is always the obvious things we miss. I should have thought of this
too, as just recently we had one machine failing two times within
weeks because of kaput memory. Thank goodness there is NBD support :)

> I blame it on the 'flu. OK, it's a head cold. Everyone in Joburg has a head
> cold all the time. Mine just got much worse for a few days

Spring time is flu time. Get well soon!

-- 
Daniel Pielmeier



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-10-12  6:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-11 20:39 [gentoo-user] "Illegal instruction" error Alan McKinnon
2010-10-11 21:02 ` Mark Knecht
2010-10-11 22:21   ` Alan McKinnon
2010-10-11 22:57     ` Mark Knecht
2010-10-11 21:24 ` Daniel Pielmeier
2010-10-11 22:26   ` Alan McKinnon
2010-10-11 22:40     ` Daniel Pielmeier
2010-10-11 22:58       ` Alan McKinnon
2010-10-11 23:08         ` Dale
2010-10-11 23:53           ` Alan McKinnon
2010-10-12  6:29             ` Daniel Pielmeier
2010-10-11 23:06     ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox