Re: [gentoo-user] System borked after emerge -e world (SOLVED)

2017-04-27 Thread wabe
Rasmus Thomsen  wrote:

> Hi,
> "Invalid Machine command" (forgot the exact error message) usually
> happened to me when I passed the wrong -march to GCC (e.g.
> -march=haswell on sandybridge cpus)

I'm using -march native since many years. After restarting my machine 
everything works fine again.

--
Regards
wabe
 
> Regards,
> Rasmus
> 
> 
> On 27 Apr 2017 7:43 pm, wabe  wrote:
> 
> "J. Roeleveld"  wrote:
> 
> > On April 27, 2017 7:20:29 PM GMT+02:00, wabe 
> > wrote:  
> > >Hi folks,
> > >
> > >it seems that my system is broken after recompiling everything with
> > >the new gcc5.
> > >
> > >I even cannot execute any command or start new programs. It is also
> > >not possible to open a terminal or to login on console.
> > >
> > >When I type something in an already opened Xterm it says
> > >"Ungültiger Maschinenbefehl" (in English probably something like
> > >"invalid machine command").
> > >
> > >On tty12 I can see messages like this:
> > >
> > >traps: ls[4055] trap invalid opcode ip:3cd3d91e024 sp:3d6a804abb0
> > >error:0 in libc-2.23.so[3cd3d865000+19d000]
> > >grsec: Illegal instruction occured at 03cd3d91e026 in
> > >/bin/ls[ls:4055] uid/euid:0/0 gid/egid:0/0, parent...
> > >
> > >kernel is 4.8.17-hardened-r2
> > >
> > >(uname -a is still working).
> > >
> > >I don't dare to reboot my system because I'm not sure that it will
> > >boot.
> > >
> > >I don't even know if this email will reach the list, because claws
> > >mail
> > >
> > >also dropped some errors about "bogofilter doesn't work".
> > >
> > >Any help would really appreciated.
> > >
> > >--
> > >Regards
> > >wabe  
> >
> > Did you run the revdep-rebuild command?
> > Keep running that until it completes succesfully.  
> 
> Can't execute it. "Invalid command".
> 
> There is one terminal (gnome-terminal) still open. This is the one
> that I used to recompile everything. I'm logged in there as root.
> But I cannot open another terminal. I don't even see what I'm typing
> (no echo). I can only see the output.
> 
> > Do NOT use binaries to speed things up. That didn't work for me.  
> 
> AFAIK I don't have any binaries installed on my system.
> 
> --
> Regards
> wabe
> 
> 




Re: [gentoo-user] System borked after emerge -e world (SOLVED)

2017-04-27 Thread wabe
I tried to reboot the system. But even this did not work. So I 
toggled the power. The system booted without problems and it 
seems that everything works well again.

I wonder what caused the trouble. The last package that was
compiled successfully was media-plugins/frei0r-plugins-1.5.0.
The next package, which failed, was media-libs/libmypaint-1.3.0.
After that, the system was broken.

Now I resume the emerge process. 15 Packages are left. Right now
media-libs/libmypaint-1.3.0 was successful compiled. Waiting
for the rest.

Thanks for all answers. 

--
Regards
wabe

Floyd Anderson  wrote:

> On Do, 27 Apr 19:43:46 +0200
> wabe  wrote:
> >"J. Roeleveld"  wrote:
> >  
> >> On April 27, 2017 7:20:29 PM GMT+02:00, wabe 
> >> wrote:  
> >On tty12 I can see messages […]  
> Try to switch to an other virtual terminal (with Ctrl+Alt+2) and
> start from there.

Couldn't login to any terminal.
 
> >But I cannot open another terminal. I don't even see what I'm typing
> >(no echo). I can only see the output.  
> Try to reset the terminal by invoking `reset`.

Did not work.