[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Neat trick to rescue Hurd systems
From: |
Svante Signell |
Subject: |
Re: Neat trick to rescue Hurd systems |
Date: |
Thu, 11 Dec 2014 22:57:49 +0100 |
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
>
> I saw somewhere that you wrote how to list all processes but cannot find
> it right now.
Found out myself: show all threads
tried to task_terminate some tasks, but the reply was the same as
above :(