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

2017-04-28 Thread Mick
On Thursday 27 Apr 2017 18:31:36 Dale wrote:

> I have it on a small post-it-note stuck on the side of my monitor.  I'm
> not sure, may have been Neil or Alan, that posted it this way.
> 
> Reboot Even If System Utterly Broken.

Another mnemonic:

B U S I E R 
<=<=<=<=<=<

Of course, you're meant to key it in backwards.

I think Alan mentioned it once or twice on this list.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


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

2017-04-27 Thread Floyd Anderson

On Fr, 28 Apr 01:27:23 +0200
wabe  wrote:

Floyd Anderson  wrote:


On Do, 27 Apr 16:56:00 -0500
Dale  wrote:
>One thing about alt sysreq, once you get to a certain point, you
>have >to go "all the way" with it. I've found that just the R and E
>generally >gets things back to a point it is accessible and I don't
>have to go >through it all. I think once you get to the I or S, it's
>all or nothing at that point. Even after the E, you may have to
>start/restart some init processes. FYI, I'm pretty sure the S is
>what syncs the file systems and the U unmounts everything.  Of
>course, the B reboots.  I can't recall what the others do exactly.
With access to the kernel sources, you doesn’t have to remember what
the others do, see
‘/usr/src/linux/Documentation/admin-guide/sysrq.rst’.


This file doesn't exist on my system (not even the directory
"admin-guide").

I can find it under:

/usr/src/linux/Documentation/sysrq.txt
That’s interesting, I doesn’t expect that. Maybe we are using different 
kernel sources. Mine is ‘sys-kernel/gentoo-sources-4.10.12::gentoo’ but 
wait, I’ve found it also under ‘Documentation/sysrq.txt’ with version 
4.9.16 and it’s slightly a little bit different (in form not in content 
as far as I can see).


But in my case I even had no access to any file, because no command
was working anymore. So I think it is better to have these information
on a good old sheet of paper. ;-)
Ha, yes of course, a paper backup beats them all (under typical 
circumstances). ;-)



--
Regards,
floyd




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

2017-04-27 Thread Dale
wabe wrote:
> Neil Bothwick  wrote:
>
>> On Thu, 27 Apr 2017 16:56:00 -0500, Dale wrote:
>>
>>> One thing about alt sysreq, once you get to a certain point, you
>>> have to go "all the way" with it.  I've found that just the R and E
>>> generally gets things back to a point it is accessible and I don't
>>> have to go through it all.  I think once you get to the I or S,
>>> it's all or nothing at that point.  Even after the E, you may have
>>> to start/restart some init processes.  FYI, I'm pretty sure the S
>>> is what syncs the file systems and the U unmounts everything.  Of
>>> course, the B reboots.  I can't recall what the others do exactly.
>> R resets the keyboard. E sends a SIGTERM to all processes except PID1,
>> which is why you need to restart services after pressing it. I sends a
>> SIGKILL similarly. As you say S syncs ass filesystems, U unmounts
>> filesystems and remounts them readonly and B reboots.
>>
>> Once you have got to E, you need to restart stuff. You may get away
>> with switching runlevels to bring up all your services, or you may
>> decide that once the system has got itself into a state that has you
>> reaching for SysRq, a reboot is in order.
> Most of the keys are documented here:
>
> https://wiki.ubuntuusers.de/Magic_SysRQ/
>
> And even more in the kernel directory at Documentation/sysrq.txt.
>
> I will pin these synopsis onto the backside of my monitor. :-)
>
> --
> Regards
> wabe


I have it on a small post-it-note stuck on the side of my monitor.  I'm
not sure, may have been Neil or Alan, that posted it this way.

Reboot Even If System Utterly Broken. 

That sort of stuck with me.  Still, I look at the sticky note to be
sure.  I found it on linuxhowtos.org which ironically, was translated
from a site in your language I think.  lol 

Anyway, it's handy to have around, just in case, and a little safety is
needed when it seems the Sun just went dark.  I wish I had that when I
did the hal thing.  Let's not go to far into that tho. 

Dale

:-)  :-) 



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

2017-04-27 Thread wabe
Floyd Anderson  wrote:

> On Do, 27 Apr 16:56:00 -0500
> Dale  wrote:
> >One thing about alt sysreq, once you get to a certain point, you
> >have >to go "all the way" with it. I've found that just the R and E
> >generally >gets things back to a point it is accessible and I don't
> >have to go >through it all. I think once you get to the I or S, it's
> >all or nothing at that point. Even after the E, you may have to
> >start/restart some init processes. FYI, I'm pretty sure the S is
> >what syncs the file systems and the U unmounts everything.  Of
> >course, the B reboots.  I can't recall what the others do exactly.  
> With access to the kernel sources, you doesn’t have to remember what
> the others do, see
> ‘/usr/src/linux/Documentation/admin-guide/sysrq.rst’.

This file doesn't exist on my system (not even the directory 
"admin-guide"). 

I can find it under:

/usr/src/linux/Documentation/sysrq.txt

But in my case I even had no access to any file, because no command 
was working anymore. So I think it is better to have these information
on a good old sheet of paper. ;-)

--
Regards
wabe



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

2017-04-27 Thread Floyd Anderson

On Do, 27 Apr 16:56:00 -0500
Dale  wrote:
One thing about alt sysreq, once you get to a certain point, you have 
to go "all the way" with it. I've found that just the R and E generally 
gets things back to a point it is accessible and I don't have to go 
through it all. I think once you get to the I or S, it's all or nothing

at that point. Even after the E, you may have to start/restart some
init processes. FYI, I'm pretty sure the S is what syncs the file
systems and the U unmounts everything.  Of course, the B reboots.  I
can't recall what the others do exactly.
With access to the kernel sources, you doesn’t have to remember what the 
others do, see ‘/usr/src/linux/Documentation/admin-guide/sysrq.rst’.



--
Regards,
floyd




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

2017-04-27 Thread wabe
Neil Bothwick  wrote:

> On Thu, 27 Apr 2017 16:56:00 -0500, Dale wrote:
> 
> > One thing about alt sysreq, once you get to a certain point, you
> > have to go "all the way" with it.  I've found that just the R and E
> > generally gets things back to a point it is accessible and I don't
> > have to go through it all.  I think once you get to the I or S,
> > it's all or nothing at that point.  Even after the E, you may have
> > to start/restart some init processes.  FYI, I'm pretty sure the S
> > is what syncs the file systems and the U unmounts everything.  Of
> > course, the B reboots.  I can't recall what the others do exactly.
> 
> R resets the keyboard. E sends a SIGTERM to all processes except PID1,
> which is why you need to restart services after pressing it. I sends a
> SIGKILL similarly. As you say S syncs ass filesystems, U unmounts
> filesystems and remounts them readonly and B reboots.
> 
> Once you have got to E, you need to restart stuff. You may get away
> with switching runlevels to bring up all your services, or you may
> decide that once the system has got itself into a state that has you
> reaching for SysRq, a reboot is in order.

Most of the keys are documented here:

https://wiki.ubuntuusers.de/Magic_SysRQ/

And even more in the kernel directory at Documentation/sysrq.txt.

I will pin these synopsis onto the backside of my monitor. :-)

--
Regards
wabe


pgpiR79ue9efn.pgp
Description: Digitale Signatur von OpenPGP


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

2017-04-27 Thread Neil Bothwick
On Thu, 27 Apr 2017 16:56:00 -0500, Dale wrote:

> One thing about alt sysreq, once you get to a certain point, you have to
> go "all the way" with it.  I've found that just the R and E generally
> gets things back to a point it is accessible and I don't have to go
> through it all.  I think once you get to the I or S, it's all or nothing
> at that point.  Even after the E, you may have to start/restart some
> init processes.  FYI, I'm pretty sure the S is what syncs the file
> systems and the U unmounts everything.  Of course, the B reboots.  I
> can't recall what the others do exactly.

R resets the keyboard. E sends a SIGTERM to all processes except PID1,
which is why you need to restart services after pressing it. I sends a
SIGKILL similarly. As you say S syncs ass filesystems, U unmounts
filesystems and remounts them readonly and B reboots.

Once you have got to E, you need to restart stuff. You may get away with
switching runlevels to bring up all your services, or you may decide that
once the system has got itself into a state that has you reaching for
SysRq, a reboot is in order.


-- 
Neil Bothwick

Top Oxymorons Number 44: Advanced BASIC


pgpQs3XTs9zxg.pgp
Description: OpenPGP digital signature


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

2017-04-27 Thread Dale
wabe wrote:
> Dale  wrote:
>
>> 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
>>>
>>> .
>>>  
>> I wonder if this is related.  When I did my switch, I hit a point
>> where I had to start the alt sysreq key sequence.  I only had to do
>> the R and E part to get my console back tho.  At the time, I thought
>> it may just be some weird occurrence but now I wonder if it was
>> related to some update.  Once I got my console and login screen, I
>> was able to login and carry on, after getting all the services back
>> running that got killed off.  I got the login screen back after
>> hitting the E part. 
>>
>> I wonder, will others run into this sort of problem?  If so, what is
>> the best way to get back to normal?  For you, rebooting helped.  For
>> me, just starting the alt sysreq did the trick.  It makes one wonder. 
> Hi Dale,
>
> thanks for this hint. Although I know about this "magic stuff", I don't
> even have it enabled in my kernel. At the moment I'm happy that my 
> system is working again so that I can do some other urgent tasks. But 
> I will look closely at these function within the next time. Even when 
> it is not possible to "repair" the system in the case of a crash, it is 
> helpful to be able to write the cache to disk and reboot the system.
>
> --
> Regards
> wabe
>
>


It's rare that I have to go "all the way" with this but at least it does
flush things through the system and properly unmounts file systems
first.  That alone is some comfort.  I switched to ext4 which is
supposed to handle those things pretty well BUT why risk it if you can
unmount them properly, even if it is brute force. 

One thing about alt sysreq, once you get to a certain point, you have to
go "all the way" with it.  I've found that just the R and E generally
gets things back to a point it is accessible and I don't have to go
through it all.  I think once you get to the I or S, it's all or nothing
at that point.  Even after the E, you may have to start/restart some
init processes.  FYI, I'm pretty sure the S is what syncs the file
systems and the U unmounts everything.  Of course, the B reboots.  I
can't recall what the others do exactly.

I wonder if some guru that is familiar with this could shine some light
and share some wisdom. 

Dale

:-)  :-) 



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

2017-04-27 Thread wabe
Dale  wrote:

> 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
> >
> > .
> >  
> 
> I wonder if this is related.  When I did my switch, I hit a point
> where I had to start the alt sysreq key sequence.  I only had to do
> the R and E part to get my console back tho.  At the time, I thought
> it may just be some weird occurrence but now I wonder if it was
> related to some update.  Once I got my console and login screen, I
> was able to login and carry on, after getting all the services back
> running that got killed off.  I got the login screen back after
> hitting the E part. 
> 
> I wonder, will others run into this sort of problem?  If so, what is
> the best way to get back to normal?  For you, rebooting helped.  For
> me, just starting the alt sysreq did the trick.  It makes one wonder. 

Hi Dale,

thanks for this hint. Although I know about this "magic stuff", I don't
even have it enabled in my kernel. At the moment I'm happy that my 
system is working again so that I can do some other urgent tasks. But 
I will look closely at these function within the next time. Even when 
it is not possible to "repair" the system in the case of a crash, it is 
helpful to be able to write the cache to disk and reboot the system.

--
Regards
wabe



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

2017-04-27 Thread Dale
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
>
> .
>

I wonder if this is related.  When I did my switch, I hit a point where
I had to start the alt sysreq key sequence.  I only had to do the R and
E part to get my console back tho.  At the time, I thought it may just
be some weird occurrence but now I wonder if it was related to some
update.  Once I got my console and login screen, I was able to login and
carry on, after getting all the services back running that got killed
off.  I got the login screen back after hitting the E part. 

I wonder, will others run into this sort of problem?  If so, what is the
best way to get back to normal?  For you, rebooting helped.  For me,
just starting the alt sysreq did the trick.  It makes one wonder. 

Dale

:-)  :-) 



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

2017-04-27 Thread Rasmus Thomsen
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)

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.



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

2017-04-27 Thread Floyd Anderson

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.



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`.

--
Regards,
floyd




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

2017-04-27 Thread wabe
"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

2017-04-27 Thread wabe
Ian Bloss  wrote:

> Try rebooting, worst thing you'll have to do if it doesn't want to
> reboot is boot a rescue image and mount it to repair it

I don't know how to repair it because I don't know what exactly is 
broken. At the moment I can at least ask the M/L. I don't wanna lose
also this possibility.

I will wait for some time. Maybe someone else can give me a hint. If
not, I will reboot the system.

--
Regards
wabe
 
> On Thu, Apr 27, 2017, 10:22 AM 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
> >
> >  




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

2017-04-27 Thread J. Roeleveld
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.

Do NOT use binaries to speed things up. That didn't work for me.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



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

2017-04-27 Thread Ian Bloss
Try rebooting, worst thing you'll have to do if it doesn't want to reboot
is boot a rescue image and mount it to repair it

On Thu, Apr 27, 2017, 10:22 AM 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
>
>