bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Neat trick to rescue Hurd systems


From: Justus Winter
Subject: Re: Neat trick to rescue Hurd systems
Date: Sat, 13 Dec 2014 09:14:38 +0100
User-agent: alot/0.3.5

Quoting Svante Signell (2014-12-11 22:57:49)
> On Thu, 2014-12-11 at 22:25 +0100, Svante Signell wrote:
> > On Wed, 2014-12-10 at 15:02 +0100, Justus Winter wrote:
> > > Hello,
> > > 
> > > I came up with a neat trick to rescue hanging Hurd systems.  Or
> > > rather, the filesystems.  When we kill an essential task from the
> > > kernel debugger, /hurd/startup will reboot the system:
> > > 
> > > <ctrl-alt-d>
> > > Stopped  at  machine_idle+0xe:   leave
> > > db> call task_terminate($task4)
> > >  0
> > > db> c
> > > /hurd/startup: Crashing system; essential task proc died
> > > startup: notifying ext2fs device:hd0s1 of reboot...done
> > > startup: rebooting Mach (flags 0)...
> > 
> > Hi, I tried your trick but got:
> > no more room for vm_map_enter in f5cbbf80
> > Stopped at eip 0x80109422: ret
> > call task_terminate($task4)
> > Kernel page fault trap, eip 0x801474de
> > Caught page fault (14), code = 0, pc = 801474de

Yes, it doesn't always work.

> > I saw somewhere that you wrote how to list all processes but cannot find
> > it right now.
> 
> Found out myself: show all threads

There is also `show all tasks' which is less verbose.

Justus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]